From 84016466457f23700973d2155f365566b7181696 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Fri, 12 Jul 2024 13:34:59 -0400 Subject: [PATCH 01/17] Add terraform catalog entry point selection --- .../provision-entry-point/index.jsx | 75 +++++++++++++++++++ .../terraform-template-catalog-form.schema.js | 64 ++++++++++++++++ .../workflows/workflow-entry-points.jsx | 40 +++++++--- .../forms/mappers/componentMapper.jsx | 2 + app/stylesheet/workflows.scss | 13 ++++ 5 files changed, 182 insertions(+), 12 deletions(-) create mode 100644 app/javascript/components/provision-entry-point/index.jsx diff --git a/app/javascript/components/provision-entry-point/index.jsx b/app/javascript/components/provision-entry-point/index.jsx new file mode 100644 index 00000000000..104b1d1370f --- /dev/null +++ b/app/javascript/components/provision-entry-point/index.jsx @@ -0,0 +1,75 @@ +import React, { useState, useEffect } from 'react'; +import PropTypes from 'prop-types'; +import { Button, TextInput } from 'carbon-components-react'; +import { TreeViewAlt16 } from '@carbon/icons-react'; +import { useFieldApi } from '@@ddf'; +import WorkflowEntryPoints from '../workflows/workflow-entry-points'; + +const ProvisionEntryPoint = (props) => { + console.log(props); + const { + label, initialValue, id, field, selected, type, + } = props; + const { input } = useFieldApi(props); + + const [showModal, setShowModal] = useState(false); + const [selectedValue, setSelectedValue] = useState({}); + const [textValue, setTextValue] = useState(''); + + useEffect(() => { + if (selectedValue && selectedValue.name && selectedValue.name.text) { + setTextValue(selectedValue.name.text); + } else { + setTextValue(''); + } + }, [selectedValue]); + + useEffect(() => { + if (selectedValue && selectedValue.name && selectedValue.name.text) { + selectedValue.name.text = textValue; + } + input.onChange(selectedValue); + }, [textValue]); + + return ( +
+ {showModal ? ( + + ) : undefined} +
+
+ setTextValue(value.target.value)} value={textValue} /> +
+
+
+
+
+ ); +}; +ProvisionEntryPoint.propTypes = { + id: PropTypes.string.isRequired, + label: PropTypes.string.isRequired, + initialValue: PropTypes.string, + field: PropTypes.string.isRequired, + selected: PropTypes.string, + type: PropTypes.string.isRequired, +}; + +ProvisionEntryPoint.defaultProps = { + initialValue: '', + selected: '', +}; + +export default ProvisionEntryPoint; diff --git a/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js b/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js index 861d3565eac..51a3e3582e8 100644 --- a/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js +++ b/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js @@ -109,6 +109,70 @@ const provisionTabSchema = ( name: 'provisioning-tab', label: __('Provisioning'), fields: [ + { + component: componentTypes.SELECT, + id: 'provisioning_entry_point_type', + name: 'provisioning_entry_point_type', + label: __('Provisioning Entry Point'), + initialValue: 'embedded_automate', + options: [{ value: 'embedded_automate', label: __('Embedded Automate') }, { value: 'embedded_workflow', label: __('Embedded Workflow') }], + }, + { + component: componentTypes.TEXT_FIELD, + id: 'provisioning_entry_point_automate', + name: 'provisioning_entry_point_automate', + label: __('Provisioning Entry Point'), + initialValue: '/Service/Generic/StateMachines/GenericLifecycle/provision', + condition: { + when: 'provisioning_entry_point_type', + is: 'embedded_automate', + }, + }, + { + component: 'provision-entry-point', + id: 'provisioning_entry_point_workflow', + name: 'provisioning_entry_point_workflow', + label: 'Provisioning Entry Point', + field: 'fqname', + selected: '', + type: 'provision', + condition: { + when: 'provisioning_entry_point_type', + is: 'embedded_workflow', + }, + }, + { + component: componentTypes.SELECT, + id: 'retirement_entry_point_type', + name: 'retirement_entry_point_type', + label: __('Retirement Entry Point'), + initialValue: 'embedded_automate', + options: [{ value: 'embedded_automate', label: __('Embedded Automate') }, { value: 'embedded_workflow', label: __('Embedded Workflow') }], + }, + { + component: componentTypes.TEXT_FIELD, + id: 'retirement_entry_point_automate', + name: 'retirement_entry_point_automate', + label: __('Retirement Entry Point'), + initialValue: '/Service/Generic/StateMachines/GenericLifecycle/Retire_Basic_Resource', + condition: { + when: 'retirement_entry_point_type', + is: 'embedded_automate', + }, + }, + { + component: 'provision-entry-point', + id: 'retirement_entry_point_workflow', + name: 'retirement_entry_point_workflow', + label: 'Retirement Entry Point', + field: 'retire_fqname', + selected: '', + type: 'retire', + condition: { + when: 'provisioning_entry_point_type', + is: 'embedded_workflow', + }, + }, { component: componentTypes.SELECT, id: 'config_info.provision.repository_id', diff --git a/app/javascript/components/workflows/workflow-entry-points.jsx b/app/javascript/components/workflows/workflow-entry-points.jsx index df75c9c6eb7..e7435a3f6a6 100644 --- a/app/javascript/components/workflows/workflow-entry-points.jsx +++ b/app/javascript/components/workflows/workflow-entry-points.jsx @@ -5,7 +5,10 @@ import MiqDataTable from '../miq-data-table'; import { workflowsEntryPoints } from './helper'; import { http } from '../../http_api'; -const WorkflowEntryPoints = ({ field, selected, type }) => { +const WorkflowEntryPoints = ({ + field, selected, type, setShowModal, setSelectedValue, +}) => { + console.log(selected); const [data, setData] = useState({ isLoading: true, list: {}, selectedItemId: selected, }); @@ -44,24 +47,33 @@ const WorkflowEntryPoints = ({ field, selected, type }) => { } /** Function to handle the modal box close button click event. */ const onCloseModal = () => { - document.getElementById(`${type}-workflows`).innerHTML = ''; - http.post('/catalog/ae_tree_select_toggle?button=cancel', {}, { headers: {}, skipJsonParsing: true }); + if (setShowModal) { + setShowModal(false); + } else { + document.getElementById(`${type}-workflows`).innerHTML = ''; + http.post('/catalog/ae_tree_select_toggle?button=cancel', {}, { headers: {}, skipJsonParsing: true }); + } }; /** Function to handle the modal box apply button click event. */ const onApply = () => { const seletedItem = data.list.rows.find((item) => item.id === data.selectedItemId); const name = seletedItem.name.text; if (seletedItem) { - const nameField = document.getElementById(field); - const selectedField = document.getElementById(`${type}_configuration_script_id`); + if (setShowModal && setSelectedValue) { + setShowModal(false); + setSelectedValue(seletedItem); + } else { + const nameField = document.getElementById(field); + const selectedField = document.getElementById(`${type}_configuration_script_id`); - if (nameField && selectedField) { - nameField.value = name; - selectedField.value = data.selectedItemId; - http.post('/catalog/ae_tree_select_toggle?button=submit&automation_type=workflow', {}, { headers: {}, skipJsonParsing: true }) - .then((_data) => { - document.getElementById(`${type}-workflows`).innerHTML = ''; - }); + if (nameField && selectedField) { + nameField.value = name; + selectedField.value = data.selectedItemId; + http.post('/catalog/ae_tree_select_toggle?button=submit&automation_type=workflow', {}, { headers: {}, skipJsonParsing: true }) + .then((_data) => { + document.getElementById(`${type}-workflows`).innerHTML = ''; + }); + } } } }; @@ -95,10 +107,14 @@ WorkflowEntryPoints.propTypes = { field: PropTypes.string.isRequired, type: PropTypes.string.isRequired, selected: PropTypes.string, + setShowModal: PropTypes.func, + setSelectedValue: PropTypes.func, }; WorkflowEntryPoints.defaultProps = { selected: '', + setShowModal: undefined, + setSelectedValue: undefined, }; export default WorkflowEntryPoints; diff --git a/app/javascript/forms/mappers/componentMapper.jsx b/app/javascript/forms/mappers/componentMapper.jsx index c2fa1cd0f94..767d4d00a99 100644 --- a/app/javascript/forms/mappers/componentMapper.jsx +++ b/app/javascript/forms/mappers/componentMapper.jsx @@ -11,6 +11,7 @@ import { TreeViewField, TreeViewSelector } from '../../components/tree-view'; import MultiSelectWithSelectAll from '../../components/multiselect-with-selectall'; import FontIconPicker from '../../components/fonticon-picker'; import FontIconPickerDdf from '../../components/fonticon-picker/font-icon-picker-ddf'; +import ProvisionEntryPoint from '../../components/provision-entry-point'; const mapper = { ...componentMapper, @@ -18,6 +19,7 @@ const mapper = { 'edit-password-field': EditPasswordField, 'file-upload': FileUploadComponent, 'password-field': PasswordField, + 'provision-entry-point': ProvisionEntryPoint, 'validate-credentials': AsyncCredentials, 'tree-view': TreeViewField, 'tree-selector': TreeViewSelector, diff --git a/app/stylesheet/workflows.scss b/app/stylesheet/workflows.scss index 8d709ee1667..a7284e11e64 100644 --- a/app/stylesheet/workflows.scss +++ b/app/stylesheet/workflows.scss @@ -32,3 +32,16 @@ } } +.entry-point-wrapper { + display: inline-flex; + width: 100%; + + .entry-point-text-input { + width: 80%; + margin-right: 20px; + } + + .entry-point-buttons { + margin-top: 20px; + } +} From ccd04a99df4e7a1f0a85909e9eeb927a1e1947b1 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Fri, 12 Jul 2024 13:50:50 -0400 Subject: [PATCH 02/17] Update snapshots --- .../__snapshots__/action-form.spec.js.snap | 2 ++ ...d-remove-security-groups-form.spec.js.snap | 2 ++ .../ansible-credentials-form.spec.js.snap | 4 +++ .../ansible-edit-catalog-form.spec.js.snap | 9 ++++++ .../c-and-u-collections-form.spec.js.snap | 2 ++ .../cloud-database-form.spec.js.snap | 2 ++ ...d-object-store-container-form.spec.js.snap | 6 ++++ .../cloud-volume-actions-form.spec.js.snap | 12 ++++++++ ...tach-detach-cloud-volume-form.spec.js.snap | 12 ++++++++ .../__snapshots__/datastore-form.spec.js.snap | 4 +++ .../diagnostics-collect-log-form.spec.js.snap | 6 ++++ ...ed-terraform-credentials-form.spec.js.snap | 4 +++ .../__snapshots__/evacuate-form.spec.js.snap | 6 ++++ .../generic-objects-form.spec.js.snap | 9 ++++++ .../host-aggregate-form.spec.js.snap | 2 ++ .../__snapshots__/host-edit-form.spec.js.snap | 6 ++++ .../host-initiator-group.spec.js.snap | 2 ++ .../live-migrate-form.spec.js.snap | 6 ++++ .../physical-storage-form.spec.js.snap | 4 +++ ...e-customization-template-form.spec.js.snap | 6 ++++ .../pxe-image-type-form.spec.js.snap | 4 +++ .../pxe-iso-datastore-form.spec.js.snap | 2 ++ .../pxe-iso-image-form.spec.js.snap | 2 ++ .../reconfigure-vm-form.spec.js.snap | 30 +++++++++++++++++++ .../__snapshots__/schedule-form.spec.js.snap | 6 ++++ .../service-request-default-form.spec.js.snap | 2 ++ .../settings-category-form.spec.js.snap | 2 ++ .../settings-time-profile-form.spec.js.snap | 2 ++ .../vm-floating-ips-form.spec.js.snap | 8 +++++ .../__snapshots__/vm-resize-form.spec.js.snap | 2 ++ ...kflow-credential-mapping-form.spec.js.snap | 3 ++ .../workflow-credentials-form.spec.js.snap | 4 +++ .../__snapshots__/zone-form.spec.js.snap | 2 ++ 33 files changed, 175 insertions(+) diff --git a/app/javascript/spec/action-form/__snapshots__/action-form.spec.js.snap b/app/javascript/spec/action-form/__snapshots__/action-form.spec.js.snap index 90cbda1e1fb..dd777557b65 100644 --- a/app/javascript/spec/action-form/__snapshots__/action-form.spec.js.snap +++ b/app/javascript/spec/action-form/__snapshots__/action-form.spec.js.snap @@ -827,6 +827,7 @@ exports[`Action Form Component should render adding a new action 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1538,6 +1539,7 @@ exports[`Action Form Component should render adding a new action 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/add-remove-security-groups-form/__snapshots__/add-remove-security-groups-form.spec.js.snap b/app/javascript/spec/add-remove-security-groups-form/__snapshots__/add-remove-security-groups-form.spec.js.snap index 601dcb307b5..bb2911321b1 100644 --- a/app/javascript/spec/add-remove-security-groups-form/__snapshots__/add-remove-security-groups-form.spec.js.snap +++ b/app/javascript/spec/add-remove-security-groups-form/__snapshots__/add-remove-security-groups-form.spec.js.snap @@ -141,6 +141,7 @@ exports[`Add/remove security groups form component should remove security group "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -204,6 +205,7 @@ exports[`Add/remove security groups form component should remove security group "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/ansible-credentials-form/__snapshots__/ansible-credentials-form.spec.js.snap b/app/javascript/spec/ansible-credentials-form/__snapshots__/ansible-credentials-form.spec.js.snap index 19d4211a2d1..131e5990a70 100644 --- a/app/javascript/spec/ansible-credentials-form/__snapshots__/ansible-credentials-form.spec.js.snap +++ b/app/javascript/spec/ansible-credentials-form/__snapshots__/ansible-credentials-form.spec.js.snap @@ -101,6 +101,7 @@ exports[`Ansible Credential Form Component should render adding a new credential "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -194,6 +195,7 @@ exports[`Ansible Credential Form Component should render adding a new credential "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1584,6 +1586,7 @@ exports[`Ansible Credential Form Component should render editing a credential 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1684,6 +1687,7 @@ exports[`Ansible Credential Form Component should render editing a credential 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/ansible-edit-catalog-form/__snapshots__/ansible-edit-catalog-form.spec.js.snap b/app/javascript/spec/ansible-edit-catalog-form/__snapshots__/ansible-edit-catalog-form.spec.js.snap index f4b3fd2abcd..691260ef873 100644 --- a/app/javascript/spec/ansible-edit-catalog-form/__snapshots__/ansible-edit-catalog-form.spec.js.snap +++ b/app/javascript/spec/ansible-edit-catalog-form/__snapshots__/ansible-edit-catalog-form.spec.js.snap @@ -1334,6 +1334,7 @@ exports[`Ansible playbook edit catalog Form Component should not render some fie "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3544,6 +3545,7 @@ exports[`Ansible playbook edit catalog Form Component should not render some fie "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5761,6 +5763,7 @@ exports[`Ansible playbook edit catalog Form Component should not render some fie "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -59586,6 +59589,7 @@ exports[`Ansible playbook edit catalog Form Component should render correct form "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -61805,6 +61809,7 @@ exports[`Ansible playbook edit catalog Form Component should render correct form "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -64031,6 +64036,7 @@ exports[`Ansible playbook edit catalog Form Component should render correct form "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -120781,6 +120787,7 @@ exports[`Ansible playbook edit catalog Form Component should render retirement p "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -122991,6 +122998,7 @@ exports[`Ansible playbook edit catalog Form Component should render retirement p "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -125208,6 +125216,7 @@ exports[`Ansible playbook edit catalog Form Component should render retirement p "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/c-and-u-collections-form/__snapshots__/c-and-u-collections-form.spec.js.snap b/app/javascript/spec/c-and-u-collections-form/__snapshots__/c-and-u-collections-form.spec.js.snap index 60dd95d7d99..80112d09465 100644 --- a/app/javascript/spec/c-and-u-collections-form/__snapshots__/c-and-u-collections-form.spec.js.snap +++ b/app/javascript/spec/c-and-u-collections-form/__snapshots__/c-and-u-collections-form.spec.js.snap @@ -107,6 +107,7 @@ exports[`DiagnosticsCURepairForm Component Should add a record from DiagnosticsC "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -216,6 +217,7 @@ exports[`DiagnosticsCURepairForm Component Should add a record from DiagnosticsC "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/cloud-database-form/__snapshots__/cloud-database-form.spec.js.snap b/app/javascript/spec/cloud-database-form/__snapshots__/cloud-database-form.spec.js.snap index 2cbf9b0cf7d..896f4ffc1b2 100644 --- a/app/javascript/spec/cloud-database-form/__snapshots__/cloud-database-form.spec.js.snap +++ b/app/javascript/spec/cloud-database-form/__snapshots__/cloud-database-form.spec.js.snap @@ -139,6 +139,7 @@ exports[`Cloud Database form component should render "Edit" form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -221,6 +222,7 @@ exports[`Cloud Database form component should render "Edit" form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/cloud-object-store-container-form/__snapshots__/cloud-object-store-container-form.spec.js.snap b/app/javascript/spec/cloud-object-store-container-form/__snapshots__/cloud-object-store-container-form.spec.js.snap index 1c91a0a2e39..156c66f3e2f 100644 --- a/app/javascript/spec/cloud-object-store-container-form/__snapshots__/cloud-object-store-container-form.spec.js.snap +++ b/app/javascript/spec/cloud-object-store-container-form/__snapshots__/cloud-object-store-container-form.spec.js.snap @@ -71,6 +71,7 @@ exports[`Cloud Object Store Container form component should add Amazon cloud obj "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -135,6 +136,7 @@ exports[`Cloud Object Store Container form component should add Amazon cloud obj "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -987,6 +989,7 @@ exports[`Cloud Object Store Container form component should add Openstack cloud "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1051,6 +1054,7 @@ exports[`Cloud Object Store Container form component should add Openstack cloud "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1879,6 +1883,7 @@ exports[`Cloud Object Store Container form component should render add cloud obj "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1943,6 +1948,7 @@ exports[`Cloud Object Store Container form component should render add cloud obj "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/cloud-volume-actions-form/__snapshots__/cloud-volume-actions-form.spec.js.snap b/app/javascript/spec/cloud-volume-actions-form/__snapshots__/cloud-volume-actions-form.spec.js.snap index b3487ae0b58..1a1ad6c2bbf 100644 --- a/app/javascript/spec/cloud-volume-actions-form/__snapshots__/cloud-volume-actions-form.spec.js.snap +++ b/app/javascript/spec/cloud-volume-actions-form/__snapshots__/cloud-volume-actions-form.spec.js.snap @@ -103,6 +103,7 @@ exports[`Cloud Volume Backup Create form component should render the cloud volum "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -195,6 +196,7 @@ exports[`Cloud Volume Backup Create form component should render the cloud volum "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1641,6 +1643,7 @@ exports[`Cloud Volume Backup Create form component when adding a new backup of c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1733,6 +1736,7 @@ exports[`Cloud Volume Backup Create form component when adding a new backup of c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3159,6 +3163,7 @@ exports[`Cloud Volume Restore from backup form component should render the cloud "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3231,6 +3236,7 @@ exports[`Cloud Volume Restore from backup form component should render the cloud "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4250,6 +4256,7 @@ exports[`Cloud Volume Restore from backup form component when restoring cloud vo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4322,6 +4329,7 @@ exports[`Cloud Volume Restore from backup form component when restoring cloud vo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5333,6 +5341,7 @@ exports[`Cloud Volume Snapshot Create form component should render the cloud vol "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5397,6 +5406,7 @@ exports[`Cloud Volume Snapshot Create form component should render the cloud vol "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -6182,6 +6192,7 @@ exports[`Cloud Volume Snapshot Create form component when adding a new snapshot "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -6246,6 +6257,7 @@ exports[`Cloud Volume Snapshot Create form component when adding a new snapshot "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/cloud-volume-form/__snapshots__/attach-detach-cloud-volume-form.spec.js.snap b/app/javascript/spec/cloud-volume-form/__snapshots__/attach-detach-cloud-volume-form.spec.js.snap index eb86f377754..73b440b1106 100644 --- a/app/javascript/spec/cloud-volume-form/__snapshots__/attach-detach-cloud-volume-form.spec.js.snap +++ b/app/javascript/spec/cloud-volume-form/__snapshots__/attach-detach-cloud-volume-form.spec.js.snap @@ -134,6 +134,7 @@ exports[`Attach / Detach form component should render Attach Cloud Volume to the "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -227,6 +228,7 @@ exports[`Attach / Detach form component should render Attach Cloud Volume to the "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1395,6 +1397,7 @@ exports[`Attach / Detach form component should render Attach Selected Cloud Volu "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1488,6 +1491,7 @@ exports[`Attach / Detach form component should render Attach Selected Cloud Volu "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2643,6 +2647,7 @@ exports[`Attach / Detach form component should render Detach Cloud Volume from t "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2723,6 +2728,7 @@ exports[`Attach / Detach form component should render Detach Cloud Volume from t "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3684,6 +3690,7 @@ exports[`Attach / Detach form component should render Detach Selected Cloud Volu "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3764,6 +3771,7 @@ exports[`Attach / Detach form component should render Detach Selected Cloud Volu "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4740,6 +4748,7 @@ exports[`Attach / Detach form component should submit Attach API call 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4833,6 +4842,7 @@ exports[`Attach / Detach form component should submit Attach API call 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5988,6 +5998,7 @@ exports[`Attach / Detach form component should submit Detach API call 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -6068,6 +6079,7 @@ exports[`Attach / Detach form component should submit Detach API call 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/data-store-fore/__snapshots__/datastore-form.spec.js.snap b/app/javascript/spec/data-store-fore/__snapshots__/datastore-form.spec.js.snap index a392aa4bdc0..4fc28f48a7d 100644 --- a/app/javascript/spec/data-store-fore/__snapshots__/datastore-form.spec.js.snap +++ b/app/javascript/spec/data-store-fore/__snapshots__/datastore-form.spec.js.snap @@ -176,6 +176,7 @@ exports[`Datastore form component Datastore domain form component should render "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -272,6 +273,7 @@ exports[`Datastore form component Datastore domain form component should render "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1762,6 +1764,7 @@ exports[`Datastore form component Datastore namespace form component should rend "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1861,6 +1864,7 @@ exports[`Datastore form component Datastore namespace form component should rend "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/diagnostics-collect-log-form/__snapshots__/diagnostics-collect-log-form.spec.js.snap b/app/javascript/spec/diagnostics-collect-log-form/__snapshots__/diagnostics-collect-log-form.spec.js.snap index 747bc061893..8d08fec6b03 100644 --- a/app/javascript/spec/diagnostics-collect-log-form/__snapshots__/diagnostics-collect-log-form.spec.js.snap +++ b/app/javascript/spec/diagnostics-collect-log-form/__snapshots__/diagnostics-collect-log-form.spec.js.snap @@ -114,6 +114,7 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -206,6 +207,7 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1657,6 +1659,7 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1749,6 +1752,7 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3205,6 +3209,7 @@ exports[`Diagnostics Collect Log form component should render new DiagnosticsCol "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3302,6 +3307,7 @@ exports[`Diagnostics Collect Log form component should render new DiagnosticsCol "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/embedded-terraform-credentials-form/__snapshots__/embedded-terraform-credentials-form.spec.js.snap b/app/javascript/spec/embedded-terraform-credentials-form/__snapshots__/embedded-terraform-credentials-form.spec.js.snap index 8f329917aef..98cd873dd9d 100644 --- a/app/javascript/spec/embedded-terraform-credentials-form/__snapshots__/embedded-terraform-credentials-form.spec.js.snap +++ b/app/javascript/spec/embedded-terraform-credentials-form/__snapshots__/embedded-terraform-credentials-form.spec.js.snap @@ -102,6 +102,7 @@ exports[`Embedded Terraform Credential Form Component should render adding a new "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -196,6 +197,7 @@ exports[`Embedded Terraform Credential Form Component should render adding a new "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1607,6 +1609,7 @@ exports[`Embedded Terraform Credential Form Component should render editing a cr "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1708,6 +1711,7 @@ exports[`Embedded Terraform Credential Form Component should render editing a cr "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/evacuate-form/__snapshots__/evacuate-form.spec.js.snap b/app/javascript/spec/evacuate-form/__snapshots__/evacuate-form.spec.js.snap index 0dd65d40030..6974c8c4644 100644 --- a/app/javascript/spec/evacuate-form/__snapshots__/evacuate-form.spec.js.snap +++ b/app/javascript/spec/evacuate-form/__snapshots__/evacuate-form.spec.js.snap @@ -128,6 +128,7 @@ exports[`evacuate form component should render evacuate form when hosts empty 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -239,6 +240,7 @@ exports[`evacuate form component should render evacuate form when hosts empty 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2059,6 +2061,7 @@ exports[`evacuate form component should render evacuate form with host options 1 "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2191,6 +2194,7 @@ exports[`evacuate form component should render evacuate form with host options 1 "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4370,6 +4374,7 @@ exports[`evacuate form component should render evacuate form with multiple insta "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4481,6 +4486,7 @@ exports[`evacuate form component should render evacuate form with multiple insta "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/generic-objects-form/__snapshots__/generic-objects-form.spec.js.snap b/app/javascript/spec/generic-objects-form/__snapshots__/generic-objects-form.spec.js.snap index 66f33b298f7..c80b5be1e74 100644 --- a/app/javascript/spec/generic-objects-form/__snapshots__/generic-objects-form.spec.js.snap +++ b/app/javascript/spec/generic-objects-form/__snapshots__/generic-objects-form.spec.js.snap @@ -41,6 +41,7 @@ exports[`Generic Object Form Component should render adding a new generic object "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -299,6 +300,7 @@ exports[`Generic Object Form Component should render adding a new generic object "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -560,6 +562,7 @@ exports[`Generic Object Form Component should render adding a new generic object "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4638,6 +4641,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4954,6 +4958,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5273,6 +5278,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -12259,6 +12265,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -12572,6 +12579,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -12888,6 +12896,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/host-aggregate-form/__snapshots__/host-aggregate-form.spec.js.snap b/app/javascript/spec/host-aggregate-form/__snapshots__/host-aggregate-form.spec.js.snap index 4d6557f87fa..effc3ed180b 100644 --- a/app/javascript/spec/host-aggregate-form/__snapshots__/host-aggregate-form.spec.js.snap +++ b/app/javascript/spec/host-aggregate-form/__snapshots__/host-aggregate-form.spec.js.snap @@ -97,6 +97,7 @@ exports[`Host aggregate form component should render add host form variant (remv "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -155,6 +156,7 @@ exports[`Host aggregate form component should render add host form variant (remv "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/host-edit-form/__snapshots__/host-edit-form.spec.js.snap b/app/javascript/spec/host-edit-form/__snapshots__/host-edit-form.spec.js.snap index 2fa98ecddcc..55b6cdd186d 100644 --- a/app/javascript/spec/host-edit-form/__snapshots__/host-edit-form.spec.js.snap +++ b/app/javascript/spec/host-edit-form/__snapshots__/host-edit-form.spec.js.snap @@ -42,6 +42,7 @@ exports[`Show Edit Host Form Component should render form for *one* host 1`] = ` "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -262,6 +263,7 @@ exports[`Show Edit Host Form Component should render form for *one* host 1`] = ` "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -489,6 +491,7 @@ exports[`Show Edit Host Form Component should render form for *one* host 1`] = ` "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5527,6 +5530,7 @@ exports[`Show Edit Host Form Component should render form for multiple hosts 1`] "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5586,6 +5590,7 @@ exports[`Show Edit Host Form Component should render form for multiple hosts 1`] "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5652,6 +5657,7 @@ exports[`Show Edit Host Form Component should render form for multiple hosts 1`] "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/host-initiator-group-form/__snapshots__/host-initiator-group.spec.js.snap b/app/javascript/spec/host-initiator-group-form/__snapshots__/host-initiator-group.spec.js.snap index e1e208cb81e..84da9cde00f 100644 --- a/app/javascript/spec/host-initiator-group-form/__snapshots__/host-initiator-group.spec.js.snap +++ b/app/javascript/spec/host-initiator-group-form/__snapshots__/host-initiator-group.spec.js.snap @@ -110,6 +110,7 @@ exports[`Host Initiator Group Form Loads data and renders 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -211,6 +212,7 @@ exports[`Host Initiator Group Form Loads data and renders 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/live-migrate-form/__snapshots__/live-migrate-form.spec.js.snap b/app/javascript/spec/live-migrate-form/__snapshots__/live-migrate-form.spec.js.snap index 0423aae64a9..286dc1c6d1d 100644 --- a/app/javascript/spec/live-migrate-form/__snapshots__/live-migrate-form.spec.js.snap +++ b/app/javascript/spec/live-migrate-form/__snapshots__/live-migrate-form.spec.js.snap @@ -120,6 +120,7 @@ exports[`Live Migrate form component should render live migrate form when hosts "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -229,6 +230,7 @@ exports[`Live Migrate form component should render live migrate form when hosts "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1995,6 +1997,7 @@ exports[`Live Migrate form component should render live migrate form with host o "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2125,6 +2128,7 @@ exports[`Live Migrate form component should render live migrate form with host o "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4250,6 +4254,7 @@ exports[`Live Migrate form component should render live migrate form with multip "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4359,6 +4364,7 @@ exports[`Live Migrate form component should render live migrate form with multip "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/physical-storage-form/__snapshots__/physical-storage-form.spec.js.snap b/app/javascript/spec/physical-storage-form/__snapshots__/physical-storage-form.spec.js.snap index 757082d3893..8697326b1ca 100644 --- a/app/javascript/spec/physical-storage-form/__snapshots__/physical-storage-form.spec.js.snap +++ b/app/javascript/spec/physical-storage-form/__snapshots__/physical-storage-form.spec.js.snap @@ -31,6 +31,7 @@ exports[`Physical storage form component should render adding form variant 1`] = "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -304,6 +305,7 @@ exports[`Physical storage form component should render editing form variant 1`] "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -552,6 +554,7 @@ exports[`Physical storage form component should render editing form variant 1`] "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -803,6 +806,7 @@ exports[`Physical storage form component should render editing form variant 1`] "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/pxe-customization-template-form/__snapshots__/pxe-customization-template-form.spec.js.snap b/app/javascript/spec/pxe-customization-template-form/__snapshots__/pxe-customization-template-form.spec.js.snap index 12563657d0e..fb455b6ed22 100644 --- a/app/javascript/spec/pxe-customization-template-form/__snapshots__/pxe-customization-template-form.spec.js.snap +++ b/app/javascript/spec/pxe-customization-template-form/__snapshots__/pxe-customization-template-form.spec.js.snap @@ -140,6 +140,7 @@ exports[`Pxe Customization Template Form Component should render adding a new px "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -266,6 +267,7 @@ exports[`Pxe Customization Template Form Component should render adding a new px "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2766,6 +2768,7 @@ exports[`Pxe Customization Template Form Component should render copying a pxe c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2901,6 +2904,7 @@ exports[`Pxe Customization Template Form Component should render copying a pxe c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5428,6 +5432,7 @@ exports[`Pxe Customization Template Form Component should render editing a pxe c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5563,6 +5568,7 @@ exports[`Pxe Customization Template Form Component should render editing a pxe c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/pxe-image-type-form/__snapshots__/pxe-image-type-form.spec.js.snap b/app/javascript/spec/pxe-image-type-form/__snapshots__/pxe-image-type-form.spec.js.snap index 5c1407c21e5..b17b06a5d44 100644 --- a/app/javascript/spec/pxe-image-type-form/__snapshots__/pxe-image-type-form.spec.js.snap +++ b/app/javascript/spec/pxe-image-type-form/__snapshots__/pxe-image-type-form.spec.js.snap @@ -95,6 +95,7 @@ exports[`Pxe Image Type Form Component should render adding a new pxe image type "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -182,6 +183,7 @@ exports[`Pxe Image Type Form Component should render adding a new pxe image type "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1593,6 +1595,7 @@ exports[`Pxe Image Type Form Component should render editing a pxe image type 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1686,6 +1689,7 @@ exports[`Pxe Image Type Form Component should render editing a pxe image type 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/pxe-iso-datastore-form/__snapshots__/pxe-iso-datastore-form.spec.js.snap b/app/javascript/spec/pxe-iso-datastore-form/__snapshots__/pxe-iso-datastore-form.spec.js.snap index 671eec67db8..02e298453bd 100644 --- a/app/javascript/spec/pxe-iso-datastore-form/__snapshots__/pxe-iso-datastore-form.spec.js.snap +++ b/app/javascript/spec/pxe-iso-datastore-form/__snapshots__/pxe-iso-datastore-form.spec.js.snap @@ -100,6 +100,7 @@ exports[`Pxe Iso Datastore Form Component should render adding a new iso datasto "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -180,6 +181,7 @@ exports[`Pxe Iso Datastore Form Component should render adding a new iso datasto "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/pxe-iso-image-form/__snapshots__/pxe-iso-image-form.spec.js.snap b/app/javascript/spec/pxe-iso-image-form/__snapshots__/pxe-iso-image-form.spec.js.snap index 0242d88782a..f2fa7af58f7 100644 --- a/app/javascript/spec/pxe-iso-image-form/__snapshots__/pxe-iso-image-form.spec.js.snap +++ b/app/javascript/spec/pxe-iso-image-form/__snapshots__/pxe-iso-image-form.spec.js.snap @@ -81,6 +81,7 @@ exports[`Pxe Edit Iso Image Form Component should render editing a iso image 1`] "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -152,6 +153,7 @@ exports[`Pxe Edit Iso Image Form Component should render editing a iso image 1`] "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/reconfigure-vm-form/__snapshots__/reconfigure-vm-form.spec.js.snap b/app/javascript/spec/reconfigure-vm-form/__snapshots__/reconfigure-vm-form.spec.js.snap index 4481ced8832..c7f8ee60656 100644 --- a/app/javascript/spec/reconfigure-vm-form/__snapshots__/reconfigure-vm-form.spec.js.snap +++ b/app/javascript/spec/reconfigure-vm-form/__snapshots__/reconfigure-vm-form.spec.js.snap @@ -103,6 +103,7 @@ exports[`Reconfigure VM form component should render form with only fields it ha "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -409,6 +410,7 @@ exports[`Reconfigure VM form component should render form with only fields it ha "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -720,6 +722,7 @@ exports[`Reconfigure VM form component should render form with only fields it ha "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -4587,6 +4590,7 @@ exports[`Reconfigure VM form component should render reconfigure form and click "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -4997,6 +5001,7 @@ exports[`Reconfigure VM form component should render reconfigure form and click "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -5412,6 +5417,7 @@ exports[`Reconfigure VM form component should render reconfigure form and click "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -15933,6 +15939,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -16045,6 +16052,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -16162,6 +16170,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -17402,6 +17411,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -17619,6 +17629,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -17841,6 +17852,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -21197,6 +21209,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -21414,6 +21427,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -21636,6 +21650,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -24971,6 +24986,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show h "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -25194,6 +25210,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show h "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -25422,6 +25439,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show h "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -30022,6 +30040,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show n "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -30164,6 +30183,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show n "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -30311,6 +30331,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show n "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -32125,6 +32146,7 @@ exports[`Reconfigure VM form component should render reconfigure form with datat "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -32536,6 +32558,7 @@ exports[`Reconfigure VM form component should render reconfigure form with datat "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -32952,6 +32975,7 @@ exports[`Reconfigure VM form component should render reconfigure form with datat "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -43646,6 +43670,7 @@ exports[`Reconfigure VM form component should render reconfigure form without da "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -43869,6 +43894,7 @@ exports[`Reconfigure VM form component should render reconfigure form without da "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -44097,6 +44123,7 @@ exports[`Reconfigure VM form component should render reconfigure form without da "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -48697,6 +48724,7 @@ exports[`Reconfigure VM form component should render reconfigure sub form and cl "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -49106,6 +49134,7 @@ exports[`Reconfigure VM form component should render reconfigure sub form and cl "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -49520,6 +49549,7 @@ exports[`Reconfigure VM form component should render reconfigure sub form and cl "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], diff --git a/app/javascript/spec/schedule-form/__snapshots__/schedule-form.spec.js.snap b/app/javascript/spec/schedule-form/__snapshots__/schedule-form.spec.js.snap index 5f66a742d81..773d7845ef8 100644 --- a/app/javascript/spec/schedule-form/__snapshots__/schedule-form.spec.js.snap +++ b/app/javascript/spec/schedule-form/__snapshots__/schedule-form.spec.js.snap @@ -732,6 +732,7 @@ exports[`Schedule form component should render edit form when filter_type is not "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1372,6 +1373,7 @@ exports[`Schedule form component should render edit form when filter_type is not "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -15545,6 +15547,7 @@ exports[`Schedule form component should render edit form when filter_type is nul "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -16327,6 +16330,7 @@ exports[`Schedule form component should render edit form when filter_type is nul "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -33733,6 +33737,7 @@ exports[`Schedule form component should render schedule add form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -34296,6 +34301,7 @@ exports[`Schedule form component should render schedule add form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/service-request-default-form/__snapshots__/service-request-default-form.spec.js.snap b/app/javascript/spec/service-request-default-form/__snapshots__/service-request-default-form.spec.js.snap index 118f031591c..618703ee48e 100644 --- a/app/javascript/spec/service-request-default-form/__snapshots__/service-request-default-form.spec.js.snap +++ b/app/javascript/spec/service-request-default-form/__snapshots__/service-request-default-form.spec.js.snap @@ -331,6 +331,7 @@ exports[`Show Service Request Page should render 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -532,6 +533,7 @@ exports[`Show Service Request Page should render 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/settings-category-form/__snapshots__/settings-category-form.spec.js.snap b/app/javascript/spec/settings-category-form/__snapshots__/settings-category-form.spec.js.snap index bc4902129a9..90d7d0ae679 100644 --- a/app/javascript/spec/settings-category-form/__snapshots__/settings-category-form.spec.js.snap +++ b/app/javascript/spec/settings-category-form/__snapshots__/settings-category-form.spec.js.snap @@ -142,6 +142,7 @@ exports[`SettingsCategoryForm Component should render a new SettingsCategoryForm "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -274,6 +275,7 @@ exports[`SettingsCategoryForm Component should render a new SettingsCategoryForm "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/settings-time-profile-form/__snapshots__/settings-time-profile-form.spec.js.snap b/app/javascript/spec/settings-time-profile-form/__snapshots__/settings-time-profile-form.spec.js.snap index c232ad39783..8e1ff0c04ff 100644 --- a/app/javascript/spec/settings-time-profile-form/__snapshots__/settings-time-profile-form.spec.js.snap +++ b/app/javascript/spec/settings-time-profile-form/__snapshots__/settings-time-profile-form.spec.js.snap @@ -502,6 +502,7 @@ exports[`VM common form component should render adding form variant add new time "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1000,6 +1001,7 @@ exports[`VM common form component should render adding form variant add new time "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/vm-floating-ips-form/__snapshots__/vm-floating-ips-form.spec.js.snap b/app/javascript/spec/vm-floating-ips-form/__snapshots__/vm-floating-ips-form.spec.js.snap index 9123718af98..ac864cd8311 100644 --- a/app/javascript/spec/vm-floating-ips-form/__snapshots__/vm-floating-ips-form.spec.js.snap +++ b/app/javascript/spec/vm-floating-ips-form/__snapshots__/vm-floating-ips-form.spec.js.snap @@ -64,6 +64,7 @@ exports[`Associate / Disassociate form component should render associate form va "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -127,6 +128,7 @@ exports[`Associate / Disassociate form component should render associate form va "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1090,6 +1092,7 @@ exports[`Associate / Disassociate form component should render disassociate form "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1153,6 +1156,7 @@ exports[`Associate / Disassociate form component should render disassociate form "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2143,6 +2147,7 @@ exports[`Associate / Disassociate form component should submit Associate API cal "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2206,6 +2211,7 @@ exports[`Associate / Disassociate form component should submit Associate API cal "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3049,6 +3055,7 @@ exports[`Associate / Disassociate form component should submit Disassociate API "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3112,6 +3119,7 @@ exports[`Associate / Disassociate form component should submit Disassociate API "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/vm-resize-form/__snapshots__/vm-resize-form.spec.js.snap b/app/javascript/spec/vm-resize-form/__snapshots__/vm-resize-form.spec.js.snap index a339a5241fd..e13ec35b7b9 100644 --- a/app/javascript/spec/vm-resize-form/__snapshots__/vm-resize-form.spec.js.snap +++ b/app/javascript/spec/vm-resize-form/__snapshots__/vm-resize-form.spec.js.snap @@ -74,6 +74,7 @@ exports[`vm resize form component should render a resize form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -138,6 +139,7 @@ exports[`vm resize form component should render a resize form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap b/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap index b42ce7709a4..0293537a128 100644 --- a/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap +++ b/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap @@ -67,6 +67,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -253,6 +254,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -442,6 +444,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/workflow-credentials-form/__snapshots__/workflow-credentials-form.spec.js.snap b/app/javascript/spec/workflow-credentials-form/__snapshots__/workflow-credentials-form.spec.js.snap index 3df6e3fe898..a3eb24c88e7 100644 --- a/app/javascript/spec/workflow-credentials-form/__snapshots__/workflow-credentials-form.spec.js.snap +++ b/app/javascript/spec/workflow-credentials-form/__snapshots__/workflow-credentials-form.spec.js.snap @@ -102,6 +102,7 @@ exports[`Workflow Credential Form Component should render adding a new credentia "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -196,6 +197,7 @@ exports[`Workflow Credential Form Component should render adding a new credentia "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1607,6 +1609,7 @@ exports[`Workflow Credential Form Component should render editing a credential 1 "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1708,6 +1711,7 @@ exports[`Workflow Credential Form Component should render editing a credential 1 "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/zone-form/__snapshots__/zone-form.spec.js.snap b/app/javascript/spec/zone-form/__snapshots__/zone-form.spec.js.snap index 84df0d15886..4bf0058a38f 100644 --- a/app/javascript/spec/zone-form/__snapshots__/zone-form.spec.js.snap +++ b/app/javascript/spec/zone-form/__snapshots__/zone-form.spec.js.snap @@ -316,6 +316,7 @@ exports[`zone Form Component should render editing a zone form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -486,6 +487,7 @@ exports[`zone Form Component should render editing a zone form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], + "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], From 187845fecec2e6cba2c0b65f9b3c38cb4f51a208 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Fri, 12 Jul 2024 14:25:50 -0400 Subject: [PATCH 03/17] Add spec --- .../provision-entry-point.spec.js.snap | 36 +++++++++++++++++++ .../provision-entry-point.spec.js | 28 +++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 app/javascript/spec/provision-entry-point/__snapshots__/provision-entry-point.spec.js.snap create mode 100644 app/javascript/spec/provision-entry-point/provision-entry-point.spec.js diff --git a/app/javascript/spec/provision-entry-point/__snapshots__/provision-entry-point.spec.js.snap b/app/javascript/spec/provision-entry-point/__snapshots__/provision-entry-point.spec.js.snap new file mode 100644 index 00000000000..8540e19955c --- /dev/null +++ b/app/javascript/spec/provision-entry-point/__snapshots__/provision-entry-point.spec.js.snap @@ -0,0 +1,36 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`CodeEditor component should render correctly 1`] = ` +
+
+
+ +
+
+
+
+
+`; diff --git a/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js b/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js new file mode 100644 index 00000000000..a3a31b0e37b --- /dev/null +++ b/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js @@ -0,0 +1,28 @@ +import React from 'react'; +import { shallow } from 'enzyme'; +import { shallowToJson } from 'enzyme-to-json'; + +import ProvisionEntryPoint from '../../components/provision-entry-point'; + +jest.mock('@@ddf', () => ({ + useFieldApi: (props) => ({ meta: {}, input: {}, ...props }), +})); + +describe('CodeEditor component', () => { + let initialProps; + beforeEach(() => { + initialProps = { + id: 'provisioning_entry_point_workflow', + name: 'provisioning_entry_point_workflow', + label: 'Provisioning Entry Point', + field: 'fqname', + selected: '', + type: 'provision', + }; + }); + + it('should render correctly', () => { + const wrapper = shallow(); + expect(shallowToJson(wrapper)).toMatchSnapshot(); + }); +}); From 2352bc824acc90c591047ea4c61484e80c9fb86d Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Fri, 12 Jul 2024 15:15:11 -0400 Subject: [PATCH 04/17] Add a remove button --- .../provision-entry-point/index.jsx | 28 +++++++++---- .../provision-entry-point.spec.js.snap | 39 ++++++++++++++----- app/stylesheet/workflows.scss | 5 +++ 3 files changed, 54 insertions(+), 18 deletions(-) diff --git a/app/javascript/components/provision-entry-point/index.jsx b/app/javascript/components/provision-entry-point/index.jsx index 104b1d1370f..8cd3b932cd1 100644 --- a/app/javascript/components/provision-entry-point/index.jsx +++ b/app/javascript/components/provision-entry-point/index.jsx @@ -1,7 +1,7 @@ import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { Button, TextInput } from 'carbon-components-react'; -import { TreeViewAlt16 } from '@carbon/icons-react'; +import { Close16, TreeViewAlt16 } from '@carbon/icons-react'; import { useFieldApi } from '@@ddf'; import WorkflowEntryPoints from '../workflows/workflow-entry-points'; @@ -46,13 +46,25 @@ const ProvisionEntryPoint = (props) => {
setTextValue(value.target.value)} value={textValue} />
-
-
+
+
diff --git a/app/javascript/spec/provision-entry-point/__snapshots__/provision-entry-point.spec.js.snap b/app/javascript/spec/provision-entry-point/__snapshots__/provision-entry-point.spec.js.snap index 8540e19955c..fe4c6667961 100644 --- a/app/javascript/spec/provision-entry-point/__snapshots__/provision-entry-point.spec.js.snap +++ b/app/javascript/spec/provision-entry-point/__snapshots__/provision-entry-point.spec.js.snap @@ -19,17 +19,36 @@ exports[`CodeEditor component should render correctly 1`] = `
-
+
+
diff --git a/app/stylesheet/workflows.scss b/app/stylesheet/workflows.scss index a7284e11e64..5d16efc11c5 100644 --- a/app/stylesheet/workflows.scss +++ b/app/stylesheet/workflows.scss @@ -42,6 +42,11 @@ } .entry-point-buttons { + display: inline-flex; margin-top: 20px; + + .entry-point-open { + margin-right: 10px; + } } } From 02eee384f52a5a91a5c5306268f3ac5f9a6f3672 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Fri, 12 Jul 2024 16:42:33 -0400 Subject: [PATCH 05/17] Change file names --- .../index.jsx | 9 +++++---- app/javascript/forms/mappers/componentMapper.jsx | 4 ++-- .../provision-entry-point/provision-entry-point.spec.js | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) rename app/javascript/components/{provision-entry-point => embedded-entry-point}/index.jsx (94%) diff --git a/app/javascript/components/provision-entry-point/index.jsx b/app/javascript/components/embedded-entry-point/index.jsx similarity index 94% rename from app/javascript/components/provision-entry-point/index.jsx rename to app/javascript/components/embedded-entry-point/index.jsx index 8cd3b932cd1..cdece3774d4 100644 --- a/app/javascript/components/provision-entry-point/index.jsx +++ b/app/javascript/components/embedded-entry-point/index.jsx @@ -5,7 +5,7 @@ import { Close16, TreeViewAlt16 } from '@carbon/icons-react'; import { useFieldApi } from '@@ddf'; import WorkflowEntryPoints from '../workflows/workflow-entry-points'; -const ProvisionEntryPoint = (props) => { +const EmbeddedEntryPoint = (props) => { console.log(props); const { label, initialValue, id, field, selected, type, @@ -70,7 +70,8 @@ const ProvisionEntryPoint = (props) => { ); }; -ProvisionEntryPoint.propTypes = { + +EmbeddedEntryPoint.propTypes = { id: PropTypes.string.isRequired, label: PropTypes.string.isRequired, initialValue: PropTypes.string, @@ -79,9 +80,9 @@ ProvisionEntryPoint.propTypes = { type: PropTypes.string.isRequired, }; -ProvisionEntryPoint.defaultProps = { +EmbeddedEntryPoint.defaultProps = { initialValue: '', selected: '', }; -export default ProvisionEntryPoint; +export default EmbeddedEntryPoint; diff --git a/app/javascript/forms/mappers/componentMapper.jsx b/app/javascript/forms/mappers/componentMapper.jsx index 767d4d00a99..a7651cb57c3 100644 --- a/app/javascript/forms/mappers/componentMapper.jsx +++ b/app/javascript/forms/mappers/componentMapper.jsx @@ -11,7 +11,7 @@ import { TreeViewField, TreeViewSelector } from '../../components/tree-view'; import MultiSelectWithSelectAll from '../../components/multiselect-with-selectall'; import FontIconPicker from '../../components/fonticon-picker'; import FontIconPickerDdf from '../../components/fonticon-picker/font-icon-picker-ddf'; -import ProvisionEntryPoint from '../../components/provision-entry-point'; +import EmbeddedEntryPoint from '../../components/embedded-entry-point'; const mapper = { ...componentMapper, @@ -19,7 +19,7 @@ const mapper = { 'edit-password-field': EditPasswordField, 'file-upload': FileUploadComponent, 'password-field': PasswordField, - 'provision-entry-point': ProvisionEntryPoint, + 'provision-entry-point': EmbeddedEntryPoint, 'validate-credentials': AsyncCredentials, 'tree-view': TreeViewField, 'tree-selector': TreeViewSelector, diff --git a/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js b/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js index a3a31b0e37b..8ab86af357d 100644 --- a/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js +++ b/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js @@ -2,7 +2,7 @@ import React from 'react'; import { shallow } from 'enzyme'; import { shallowToJson } from 'enzyme-to-json'; -import ProvisionEntryPoint from '../../components/provision-entry-point'; +import EmbeddedEntryPoint from '../../components/embedded-entry-point'; jest.mock('@@ddf', () => ({ useFieldApi: (props) => ({ meta: {}, input: {}, ...props }), @@ -22,7 +22,7 @@ describe('CodeEditor component', () => { }); it('should render correctly', () => { - const wrapper = shallow(); + const wrapper = shallow(); expect(shallowToJson(wrapper)).toMatchSnapshot(); }); }); From d1753b8e3fe7187c1018fabb40d13d95a48c3744 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Tue, 16 Jul 2024 13:06:31 -0400 Subject: [PATCH 06/17] Move component to basic tab --- .../terraform-template-catalog-form.schema.js | 128 +++++++++--------- .../forms/mappers/componentMapper.jsx | 2 +- 2 files changed, 65 insertions(+), 65 deletions(-) diff --git a/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js b/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js index 51a3e3582e8..b9905d232dd 100644 --- a/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js +++ b/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js @@ -30,6 +30,70 @@ const basicInformationTabSchema = (availableCatalogs, tenantTree, roleAllows, zo id: 'description', label: __('Description'), }, + { + component: componentTypes.SELECT, + id: 'provisioning_entry_point_type', + name: 'provisioning_entry_point_type', + label: __('Provisioning Entry Point'), + initialValue: 'embedded_automate', + options: [{ value: 'embedded_automate', label: __('Embedded Automate') }, { value: 'embedded_workflow', label: __('Embedded Workflow') }], + }, + { + component: componentTypes.TEXT_FIELD, + id: 'provisioning_entry_point_automate', + name: 'provisioning_entry_point_automate', + label: __('Provisioning Entry Point'), + initialValue: '/Service/Generic/StateMachines/GenericLifecycle/provision', + condition: { + when: 'provisioning_entry_point_type', + is: 'embedded_automate', + }, + }, + { + component: 'embedded-entry-point', + id: 'provisioning_entry_point_workflow', + name: 'provisioning_entry_point_workflow', + label: 'Provisioning Entry Point', + field: 'fqname', + selected: '', + type: 'provision', + condition: { + when: 'provisioning_entry_point_type', + is: 'embedded_workflow', + }, + }, + { + component: componentTypes.SELECT, + id: 'retirement_entry_point_type', + name: 'retirement_entry_point_type', + label: __('Retirement Entry Point'), + initialValue: 'embedded_automate', + options: [{ value: 'embedded_automate', label: __('Embedded Automate') }, { value: 'embedded_workflow', label: __('Embedded Workflow') }], + }, + { + component: componentTypes.TEXT_FIELD, + id: 'retirement_entry_point_automate', + name: 'retirement_entry_point_automate', + label: __('Retirement Entry Point'), + initialValue: '/Service/Generic/StateMachines/GenericLifecycle/Retire_Basic_Resource', + condition: { + when: 'retirement_entry_point_type', + is: 'embedded_automate', + }, + }, + { + component: 'embedded-entry-point', + id: 'retirement_entry_point_workflow', + name: 'retirement_entry_point_workflow', + label: 'Retirement Entry Point', + field: 'retire_fqname', + selected: '', + type: 'retire', + condition: { + when: 'retirement_entry_point_type', + is: 'embedded_workflow', + }, + }, { component: componentTypes.CHECKBOX, name: 'display', @@ -109,70 +173,6 @@ const provisionTabSchema = ( name: 'provisioning-tab', label: __('Provisioning'), fields: [ - { - component: componentTypes.SELECT, - id: 'provisioning_entry_point_type', - name: 'provisioning_entry_point_type', - label: __('Provisioning Entry Point'), - initialValue: 'embedded_automate', - options: [{ value: 'embedded_automate', label: __('Embedded Automate') }, { value: 'embedded_workflow', label: __('Embedded Workflow') }], - }, - { - component: componentTypes.TEXT_FIELD, - id: 'provisioning_entry_point_automate', - name: 'provisioning_entry_point_automate', - label: __('Provisioning Entry Point'), - initialValue: '/Service/Generic/StateMachines/GenericLifecycle/provision', - condition: { - when: 'provisioning_entry_point_type', - is: 'embedded_automate', - }, - }, - { - component: 'provision-entry-point', - id: 'provisioning_entry_point_workflow', - name: 'provisioning_entry_point_workflow', - label: 'Provisioning Entry Point', - field: 'fqname', - selected: '', - type: 'provision', - condition: { - when: 'provisioning_entry_point_type', - is: 'embedded_workflow', - }, - }, - { - component: componentTypes.SELECT, - id: 'retirement_entry_point_type', - name: 'retirement_entry_point_type', - label: __('Retirement Entry Point'), - initialValue: 'embedded_automate', - options: [{ value: 'embedded_automate', label: __('Embedded Automate') }, { value: 'embedded_workflow', label: __('Embedded Workflow') }], - }, - { - component: componentTypes.TEXT_FIELD, - id: 'retirement_entry_point_automate', - name: 'retirement_entry_point_automate', - label: __('Retirement Entry Point'), - initialValue: '/Service/Generic/StateMachines/GenericLifecycle/Retire_Basic_Resource', - condition: { - when: 'retirement_entry_point_type', - is: 'embedded_automate', - }, - }, - { - component: 'provision-entry-point', - id: 'retirement_entry_point_workflow', - name: 'retirement_entry_point_workflow', - label: 'Retirement Entry Point', - field: 'retire_fqname', - selected: '', - type: 'retire', - condition: { - when: 'provisioning_entry_point_type', - is: 'embedded_workflow', - }, - }, { component: componentTypes.SELECT, id: 'config_info.provision.repository_id', diff --git a/app/javascript/forms/mappers/componentMapper.jsx b/app/javascript/forms/mappers/componentMapper.jsx index a7651cb57c3..249c4820f3c 100644 --- a/app/javascript/forms/mappers/componentMapper.jsx +++ b/app/javascript/forms/mappers/componentMapper.jsx @@ -19,7 +19,7 @@ const mapper = { 'edit-password-field': EditPasswordField, 'file-upload': FileUploadComponent, 'password-field': PasswordField, - 'provision-entry-point': EmbeddedEntryPoint, + 'embedded-entry-point': EmbeddedEntryPoint, 'validate-credentials': AsyncCredentials, 'tree-view': TreeViewField, 'tree-selector': TreeViewSelector, From d5f78452ce684c09104acc0e9c57add15da651a7 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Tue, 16 Jul 2024 13:17:01 -0400 Subject: [PATCH 07/17] Update snapshots --- .../__snapshots__/action-form.spec.js.snap | 4 +- ...d-remove-security-groups-form.spec.js.snap | 4 +- .../ansible-credentials-form.spec.js.snap | 8 +-- .../ansible-edit-catalog-form.spec.js.snap | 18 +++--- .../c-and-u-collections-form.spec.js.snap | 4 +- .../cloud-database-form.spec.js.snap | 4 +- ...d-object-store-container-form.spec.js.snap | 12 ++-- .../cloud-volume-actions-form.spec.js.snap | 24 ++++---- ...tach-detach-cloud-volume-form.spec.js.snap | 24 ++++---- .../__snapshots__/datastore-form.spec.js.snap | 8 +-- .../diagnostics-collect-log-form.spec.js.snap | 12 ++-- ...ed-terraform-credentials-form.spec.js.snap | 8 +-- .../__snapshots__/evacuate-form.spec.js.snap | 12 ++-- .../generic-objects-form.spec.js.snap | 18 +++--- .../host-aggregate-form.spec.js.snap | 4 +- .../__snapshots__/host-edit-form.spec.js.snap | 12 ++-- .../host-initiator-group.spec.js.snap | 4 +- .../live-migrate-form.spec.js.snap | 12 ++-- .../physical-storage-form.spec.js.snap | 8 +-- ...e-customization-template-form.spec.js.snap | 12 ++-- .../pxe-image-type-form.spec.js.snap | 8 +-- .../pxe-iso-datastore-form.spec.js.snap | 4 +- .../pxe-iso-image-form.spec.js.snap | 4 +- .../reconfigure-vm-form.spec.js.snap | 60 +++++++++---------- .../__snapshots__/schedule-form.spec.js.snap | 12 ++-- .../service-request-default-form.spec.js.snap | 4 +- .../settings-category-form.spec.js.snap | 4 +- .../settings-time-profile-form.spec.js.snap | 4 +- .../vm-floating-ips-form.spec.js.snap | 16 ++--- .../__snapshots__/vm-resize-form.spec.js.snap | 4 +- ...kflow-credential-mapping-form.spec.js.snap | 6 +- .../workflow-credentials-form.spec.js.snap | 8 +-- .../__snapshots__/zone-form.spec.js.snap | 4 +- 33 files changed, 175 insertions(+), 175 deletions(-) diff --git a/app/javascript/spec/action-form/__snapshots__/action-form.spec.js.snap b/app/javascript/spec/action-form/__snapshots__/action-form.spec.js.snap index dd777557b65..13a42245c88 100644 --- a/app/javascript/spec/action-form/__snapshots__/action-form.spec.js.snap +++ b/app/javascript/spec/action-form/__snapshots__/action-form.spec.js.snap @@ -820,6 +820,7 @@ exports[`Action Form Component should render adding a new action 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -827,7 +828,6 @@ exports[`Action Form Component should render adding a new action 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1532,6 +1532,7 @@ exports[`Action Form Component should render adding a new action 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1539,7 +1540,6 @@ exports[`Action Form Component should render adding a new action 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/add-remove-security-groups-form/__snapshots__/add-remove-security-groups-form.spec.js.snap b/app/javascript/spec/add-remove-security-groups-form/__snapshots__/add-remove-security-groups-form.spec.js.snap index bb2911321b1..85e0c6fa04a 100644 --- a/app/javascript/spec/add-remove-security-groups-form/__snapshots__/add-remove-security-groups-form.spec.js.snap +++ b/app/javascript/spec/add-remove-security-groups-form/__snapshots__/add-remove-security-groups-form.spec.js.snap @@ -134,6 +134,7 @@ exports[`Add/remove security groups form component should remove security group "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -141,7 +142,6 @@ exports[`Add/remove security groups form component should remove security group "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -198,6 +198,7 @@ exports[`Add/remove security groups form component should remove security group "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -205,7 +206,6 @@ exports[`Add/remove security groups form component should remove security group "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/ansible-credentials-form/__snapshots__/ansible-credentials-form.spec.js.snap b/app/javascript/spec/ansible-credentials-form/__snapshots__/ansible-credentials-form.spec.js.snap index 131e5990a70..2cac9873b9d 100644 --- a/app/javascript/spec/ansible-credentials-form/__snapshots__/ansible-credentials-form.spec.js.snap +++ b/app/javascript/spec/ansible-credentials-form/__snapshots__/ansible-credentials-form.spec.js.snap @@ -94,6 +94,7 @@ exports[`Ansible Credential Form Component should render adding a new credential "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -101,7 +102,6 @@ exports[`Ansible Credential Form Component should render adding a new credential "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -188,6 +188,7 @@ exports[`Ansible Credential Form Component should render adding a new credential "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -195,7 +196,6 @@ exports[`Ansible Credential Form Component should render adding a new credential "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1579,6 +1579,7 @@ exports[`Ansible Credential Form Component should render editing a credential 1` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1586,7 +1587,6 @@ exports[`Ansible Credential Form Component should render editing a credential 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1680,6 +1680,7 @@ exports[`Ansible Credential Form Component should render editing a credential 1` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1687,7 +1688,6 @@ exports[`Ansible Credential Form Component should render editing a credential 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/ansible-edit-catalog-form/__snapshots__/ansible-edit-catalog-form.spec.js.snap b/app/javascript/spec/ansible-edit-catalog-form/__snapshots__/ansible-edit-catalog-form.spec.js.snap index 691260ef873..77abdeae73d 100644 --- a/app/javascript/spec/ansible-edit-catalog-form/__snapshots__/ansible-edit-catalog-form.spec.js.snap +++ b/app/javascript/spec/ansible-edit-catalog-form/__snapshots__/ansible-edit-catalog-form.spec.js.snap @@ -1326,6 +1326,7 @@ exports[`Ansible playbook edit catalog Form Component should not render some fie "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1334,7 +1335,6 @@ exports[`Ansible playbook edit catalog Form Component should not render some fie "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3537,6 +3537,7 @@ exports[`Ansible playbook edit catalog Form Component should not render some fie "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3545,7 +3546,6 @@ exports[`Ansible playbook edit catalog Form Component should not render some fie "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5755,6 +5755,7 @@ exports[`Ansible playbook edit catalog Form Component should not render some fie "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5763,7 +5764,6 @@ exports[`Ansible playbook edit catalog Form Component should not render some fie "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -59581,6 +59581,7 @@ exports[`Ansible playbook edit catalog Form Component should render correct form "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -59589,7 +59590,6 @@ exports[`Ansible playbook edit catalog Form Component should render correct form "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -61801,6 +61801,7 @@ exports[`Ansible playbook edit catalog Form Component should render correct form "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -61809,7 +61810,6 @@ exports[`Ansible playbook edit catalog Form Component should render correct form "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -64028,6 +64028,7 @@ exports[`Ansible playbook edit catalog Form Component should render correct form "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -64036,7 +64037,6 @@ exports[`Ansible playbook edit catalog Form Component should render correct form "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -120779,6 +120779,7 @@ exports[`Ansible playbook edit catalog Form Component should render retirement p "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -120787,7 +120788,6 @@ exports[`Ansible playbook edit catalog Form Component should render retirement p "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -122990,6 +122990,7 @@ exports[`Ansible playbook edit catalog Form Component should render retirement p "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -122998,7 +122999,6 @@ exports[`Ansible playbook edit catalog Form Component should render retirement p "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -125208,6 +125208,7 @@ exports[`Ansible playbook edit catalog Form Component should render retirement p "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -125216,7 +125217,6 @@ exports[`Ansible playbook edit catalog Form Component should render retirement p "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/c-and-u-collections-form/__snapshots__/c-and-u-collections-form.spec.js.snap b/app/javascript/spec/c-and-u-collections-form/__snapshots__/c-and-u-collections-form.spec.js.snap index 80112d09465..a253c271130 100644 --- a/app/javascript/spec/c-and-u-collections-form/__snapshots__/c-and-u-collections-form.spec.js.snap +++ b/app/javascript/spec/c-and-u-collections-form/__snapshots__/c-and-u-collections-form.spec.js.snap @@ -100,6 +100,7 @@ exports[`DiagnosticsCURepairForm Component Should add a record from DiagnosticsC "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -107,7 +108,6 @@ exports[`DiagnosticsCURepairForm Component Should add a record from DiagnosticsC "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -210,6 +210,7 @@ exports[`DiagnosticsCURepairForm Component Should add a record from DiagnosticsC "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -217,7 +218,6 @@ exports[`DiagnosticsCURepairForm Component Should add a record from DiagnosticsC "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/cloud-database-form/__snapshots__/cloud-database-form.spec.js.snap b/app/javascript/spec/cloud-database-form/__snapshots__/cloud-database-form.spec.js.snap index 896f4ffc1b2..bc13680888c 100644 --- a/app/javascript/spec/cloud-database-form/__snapshots__/cloud-database-form.spec.js.snap +++ b/app/javascript/spec/cloud-database-form/__snapshots__/cloud-database-form.spec.js.snap @@ -132,6 +132,7 @@ exports[`Cloud Database form component should render "Edit" form 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -139,7 +140,6 @@ exports[`Cloud Database form component should render "Edit" form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -215,6 +215,7 @@ exports[`Cloud Database form component should render "Edit" form 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -222,7 +223,6 @@ exports[`Cloud Database form component should render "Edit" form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/cloud-object-store-container-form/__snapshots__/cloud-object-store-container-form.spec.js.snap b/app/javascript/spec/cloud-object-store-container-form/__snapshots__/cloud-object-store-container-form.spec.js.snap index 156c66f3e2f..f7babf96184 100644 --- a/app/javascript/spec/cloud-object-store-container-form/__snapshots__/cloud-object-store-container-form.spec.js.snap +++ b/app/javascript/spec/cloud-object-store-container-form/__snapshots__/cloud-object-store-container-form.spec.js.snap @@ -64,6 +64,7 @@ exports[`Cloud Object Store Container form component should add Amazon cloud obj "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -71,7 +72,6 @@ exports[`Cloud Object Store Container form component should add Amazon cloud obj "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -129,6 +129,7 @@ exports[`Cloud Object Store Container form component should add Amazon cloud obj "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -136,7 +137,6 @@ exports[`Cloud Object Store Container form component should add Amazon cloud obj "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -982,6 +982,7 @@ exports[`Cloud Object Store Container form component should add Openstack cloud "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -989,7 +990,6 @@ exports[`Cloud Object Store Container form component should add Openstack cloud "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1047,6 +1047,7 @@ exports[`Cloud Object Store Container form component should add Openstack cloud "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1054,7 +1055,6 @@ exports[`Cloud Object Store Container form component should add Openstack cloud "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1876,6 +1876,7 @@ exports[`Cloud Object Store Container form component should render add cloud obj "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1883,7 +1884,6 @@ exports[`Cloud Object Store Container form component should render add cloud obj "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1941,6 +1941,7 @@ exports[`Cloud Object Store Container form component should render add cloud obj "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1948,7 +1949,6 @@ exports[`Cloud Object Store Container form component should render add cloud obj "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/cloud-volume-actions-form/__snapshots__/cloud-volume-actions-form.spec.js.snap b/app/javascript/spec/cloud-volume-actions-form/__snapshots__/cloud-volume-actions-form.spec.js.snap index 1a1ad6c2bbf..2d2a5d96e14 100644 --- a/app/javascript/spec/cloud-volume-actions-form/__snapshots__/cloud-volume-actions-form.spec.js.snap +++ b/app/javascript/spec/cloud-volume-actions-form/__snapshots__/cloud-volume-actions-form.spec.js.snap @@ -96,6 +96,7 @@ exports[`Cloud Volume Backup Create form component should render the cloud volum "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -103,7 +104,6 @@ exports[`Cloud Volume Backup Create form component should render the cloud volum "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -189,6 +189,7 @@ exports[`Cloud Volume Backup Create form component should render the cloud volum "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -196,7 +197,6 @@ exports[`Cloud Volume Backup Create form component should render the cloud volum "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1636,6 +1636,7 @@ exports[`Cloud Volume Backup Create form component when adding a new backup of c "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1643,7 +1644,6 @@ exports[`Cloud Volume Backup Create form component when adding a new backup of c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1729,6 +1729,7 @@ exports[`Cloud Volume Backup Create form component when adding a new backup of c "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1736,7 +1737,6 @@ exports[`Cloud Volume Backup Create form component when adding a new backup of c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3156,6 +3156,7 @@ exports[`Cloud Volume Restore from backup form component should render the cloud "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3163,7 +3164,6 @@ exports[`Cloud Volume Restore from backup form component should render the cloud "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3229,6 +3229,7 @@ exports[`Cloud Volume Restore from backup form component should render the cloud "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3236,7 +3237,6 @@ exports[`Cloud Volume Restore from backup form component should render the cloud "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4249,6 +4249,7 @@ exports[`Cloud Volume Restore from backup form component when restoring cloud vo "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4256,7 +4257,6 @@ exports[`Cloud Volume Restore from backup form component when restoring cloud vo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4322,6 +4322,7 @@ exports[`Cloud Volume Restore from backup form component when restoring cloud vo "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4329,7 +4330,6 @@ exports[`Cloud Volume Restore from backup form component when restoring cloud vo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5334,6 +5334,7 @@ exports[`Cloud Volume Snapshot Create form component should render the cloud vol "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5341,7 +5342,6 @@ exports[`Cloud Volume Snapshot Create form component should render the cloud vol "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5399,6 +5399,7 @@ exports[`Cloud Volume Snapshot Create form component should render the cloud vol "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5406,7 +5407,6 @@ exports[`Cloud Volume Snapshot Create form component should render the cloud vol "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -6185,6 +6185,7 @@ exports[`Cloud Volume Snapshot Create form component when adding a new snapshot "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -6192,7 +6193,6 @@ exports[`Cloud Volume Snapshot Create form component when adding a new snapshot "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -6250,6 +6250,7 @@ exports[`Cloud Volume Snapshot Create form component when adding a new snapshot "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -6257,7 +6258,6 @@ exports[`Cloud Volume Snapshot Create form component when adding a new snapshot "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/cloud-volume-form/__snapshots__/attach-detach-cloud-volume-form.spec.js.snap b/app/javascript/spec/cloud-volume-form/__snapshots__/attach-detach-cloud-volume-form.spec.js.snap index 73b440b1106..8683cbedbcb 100644 --- a/app/javascript/spec/cloud-volume-form/__snapshots__/attach-detach-cloud-volume-form.spec.js.snap +++ b/app/javascript/spec/cloud-volume-form/__snapshots__/attach-detach-cloud-volume-form.spec.js.snap @@ -127,6 +127,7 @@ exports[`Attach / Detach form component should render Attach Cloud Volume to the "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -134,7 +135,6 @@ exports[`Attach / Detach form component should render Attach Cloud Volume to the "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -221,6 +221,7 @@ exports[`Attach / Detach form component should render Attach Cloud Volume to the "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -228,7 +229,6 @@ exports[`Attach / Detach form component should render Attach Cloud Volume to the "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1390,6 +1390,7 @@ exports[`Attach / Detach form component should render Attach Selected Cloud Volu "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1397,7 +1398,6 @@ exports[`Attach / Detach form component should render Attach Selected Cloud Volu "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1484,6 +1484,7 @@ exports[`Attach / Detach form component should render Attach Selected Cloud Volu "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1491,7 +1492,6 @@ exports[`Attach / Detach form component should render Attach Selected Cloud Volu "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2640,6 +2640,7 @@ exports[`Attach / Detach form component should render Detach Cloud Volume from t "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2647,7 +2648,6 @@ exports[`Attach / Detach form component should render Detach Cloud Volume from t "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2721,6 +2721,7 @@ exports[`Attach / Detach form component should render Detach Cloud Volume from t "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2728,7 +2729,6 @@ exports[`Attach / Detach form component should render Detach Cloud Volume from t "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3683,6 +3683,7 @@ exports[`Attach / Detach form component should render Detach Selected Cloud Volu "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3690,7 +3691,6 @@ exports[`Attach / Detach form component should render Detach Selected Cloud Volu "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3764,6 +3764,7 @@ exports[`Attach / Detach form component should render Detach Selected Cloud Volu "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3771,7 +3772,6 @@ exports[`Attach / Detach form component should render Detach Selected Cloud Volu "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4741,6 +4741,7 @@ exports[`Attach / Detach form component should submit Attach API call 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4748,7 +4749,6 @@ exports[`Attach / Detach form component should submit Attach API call 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4835,6 +4835,7 @@ exports[`Attach / Detach form component should submit Attach API call 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4842,7 +4843,6 @@ exports[`Attach / Detach form component should submit Attach API call 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5991,6 +5991,7 @@ exports[`Attach / Detach form component should submit Detach API call 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5998,7 +5999,6 @@ exports[`Attach / Detach form component should submit Detach API call 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -6072,6 +6072,7 @@ exports[`Attach / Detach form component should submit Detach API call 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -6079,7 +6080,6 @@ exports[`Attach / Detach form component should submit Detach API call 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/data-store-fore/__snapshots__/datastore-form.spec.js.snap b/app/javascript/spec/data-store-fore/__snapshots__/datastore-form.spec.js.snap index 4fc28f48a7d..9266fa2de28 100644 --- a/app/javascript/spec/data-store-fore/__snapshots__/datastore-form.spec.js.snap +++ b/app/javascript/spec/data-store-fore/__snapshots__/datastore-form.spec.js.snap @@ -169,6 +169,7 @@ exports[`Datastore form component Datastore domain form component should render "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -176,7 +177,6 @@ exports[`Datastore form component Datastore domain form component should render "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -266,6 +266,7 @@ exports[`Datastore form component Datastore domain form component should render "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -273,7 +274,6 @@ exports[`Datastore form component Datastore domain form component should render "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1757,6 +1757,7 @@ exports[`Datastore form component Datastore namespace form component should rend "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1764,7 +1765,6 @@ exports[`Datastore form component Datastore namespace form component should rend "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1857,6 +1857,7 @@ exports[`Datastore form component Datastore namespace form component should rend "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1864,7 +1865,6 @@ exports[`Datastore form component Datastore namespace form component should rend "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/diagnostics-collect-log-form/__snapshots__/diagnostics-collect-log-form.spec.js.snap b/app/javascript/spec/diagnostics-collect-log-form/__snapshots__/diagnostics-collect-log-form.spec.js.snap index 8d08fec6b03..f5beb08a58a 100644 --- a/app/javascript/spec/diagnostics-collect-log-form/__snapshots__/diagnostics-collect-log-form.spec.js.snap +++ b/app/javascript/spec/diagnostics-collect-log-form/__snapshots__/diagnostics-collect-log-form.spec.js.snap @@ -107,6 +107,7 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -114,7 +115,6 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -200,6 +200,7 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -207,7 +208,6 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1652,6 +1652,7 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1659,7 +1660,6 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1745,6 +1745,7 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1752,7 +1753,6 @@ exports[`Diagnostics Collect Log form component should render edit DiagnosticsCo "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3202,6 +3202,7 @@ exports[`Diagnostics Collect Log form component should render new DiagnosticsCol "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3209,7 +3210,6 @@ exports[`Diagnostics Collect Log form component should render new DiagnosticsCol "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3300,6 +3300,7 @@ exports[`Diagnostics Collect Log form component should render new DiagnosticsCol "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3307,7 +3308,6 @@ exports[`Diagnostics Collect Log form component should render new DiagnosticsCol "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/embedded-terraform-credentials-form/__snapshots__/embedded-terraform-credentials-form.spec.js.snap b/app/javascript/spec/embedded-terraform-credentials-form/__snapshots__/embedded-terraform-credentials-form.spec.js.snap index 98cd873dd9d..0fe75dd667f 100644 --- a/app/javascript/spec/embedded-terraform-credentials-form/__snapshots__/embedded-terraform-credentials-form.spec.js.snap +++ b/app/javascript/spec/embedded-terraform-credentials-form/__snapshots__/embedded-terraform-credentials-form.spec.js.snap @@ -95,6 +95,7 @@ exports[`Embedded Terraform Credential Form Component should render adding a new "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -102,7 +103,6 @@ exports[`Embedded Terraform Credential Form Component should render adding a new "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -190,6 +190,7 @@ exports[`Embedded Terraform Credential Form Component should render adding a new "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -197,7 +198,6 @@ exports[`Embedded Terraform Credential Form Component should render adding a new "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1602,6 +1602,7 @@ exports[`Embedded Terraform Credential Form Component should render editing a cr "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1609,7 +1610,6 @@ exports[`Embedded Terraform Credential Form Component should render editing a cr "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1704,6 +1704,7 @@ exports[`Embedded Terraform Credential Form Component should render editing a cr "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1711,7 +1712,6 @@ exports[`Embedded Terraform Credential Form Component should render editing a cr "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/evacuate-form/__snapshots__/evacuate-form.spec.js.snap b/app/javascript/spec/evacuate-form/__snapshots__/evacuate-form.spec.js.snap index 6974c8c4644..2d5c47fe432 100644 --- a/app/javascript/spec/evacuate-form/__snapshots__/evacuate-form.spec.js.snap +++ b/app/javascript/spec/evacuate-form/__snapshots__/evacuate-form.spec.js.snap @@ -121,6 +121,7 @@ exports[`evacuate form component should render evacuate form when hosts empty 1` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -128,7 +129,6 @@ exports[`evacuate form component should render evacuate form when hosts empty 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -233,6 +233,7 @@ exports[`evacuate form component should render evacuate form when hosts empty 1` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -240,7 +241,6 @@ exports[`evacuate form component should render evacuate form when hosts empty 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2054,6 +2054,7 @@ exports[`evacuate form component should render evacuate form with host options 1 "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2061,7 +2062,6 @@ exports[`evacuate form component should render evacuate form with host options 1 "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2187,6 +2187,7 @@ exports[`evacuate form component should render evacuate form with host options 1 "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2194,7 +2195,6 @@ exports[`evacuate form component should render evacuate form with host options 1 "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4367,6 +4367,7 @@ exports[`evacuate form component should render evacuate form with multiple insta "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4374,7 +4375,6 @@ exports[`evacuate form component should render evacuate form with multiple insta "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4479,6 +4479,7 @@ exports[`evacuate form component should render evacuate form with multiple insta "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4486,7 +4487,6 @@ exports[`evacuate form component should render evacuate form with multiple insta "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/generic-objects-form/__snapshots__/generic-objects-form.spec.js.snap b/app/javascript/spec/generic-objects-form/__snapshots__/generic-objects-form.spec.js.snap index c80b5be1e74..84394edb375 100644 --- a/app/javascript/spec/generic-objects-form/__snapshots__/generic-objects-form.spec.js.snap +++ b/app/javascript/spec/generic-objects-form/__snapshots__/generic-objects-form.spec.js.snap @@ -33,6 +33,7 @@ exports[`Generic Object Form Component should render adding a new generic object "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -41,7 +42,6 @@ exports[`Generic Object Form Component should render adding a new generic object "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -292,6 +292,7 @@ exports[`Generic Object Form Component should render adding a new generic object "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -300,7 +301,6 @@ exports[`Generic Object Form Component should render adding a new generic object "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -554,6 +554,7 @@ exports[`Generic Object Form Component should render adding a new generic object "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -562,7 +563,6 @@ exports[`Generic Object Form Component should render adding a new generic object "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4633,6 +4633,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -4641,7 +4642,6 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4950,6 +4950,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -4958,7 +4959,6 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5270,6 +5270,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -5278,7 +5279,6 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -12257,6 +12257,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -12265,7 +12266,6 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -12571,6 +12571,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -12579,7 +12580,6 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -12888,6 +12888,7 @@ exports[`Generic Object Form Component should render editing a generic object wi "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -12896,7 +12897,6 @@ exports[`Generic Object Form Component should render editing a generic object wi "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/host-aggregate-form/__snapshots__/host-aggregate-form.spec.js.snap b/app/javascript/spec/host-aggregate-form/__snapshots__/host-aggregate-form.spec.js.snap index effc3ed180b..d57ecbb9af7 100644 --- a/app/javascript/spec/host-aggregate-form/__snapshots__/host-aggregate-form.spec.js.snap +++ b/app/javascript/spec/host-aggregate-form/__snapshots__/host-aggregate-form.spec.js.snap @@ -90,6 +90,7 @@ exports[`Host aggregate form component should render add host form variant (remv "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -97,7 +98,6 @@ exports[`Host aggregate form component should render add host form variant (remv "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -149,6 +149,7 @@ exports[`Host aggregate form component should render add host form variant (remv "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -156,7 +157,6 @@ exports[`Host aggregate form component should render add host form variant (remv "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/host-edit-form/__snapshots__/host-edit-form.spec.js.snap b/app/javascript/spec/host-edit-form/__snapshots__/host-edit-form.spec.js.snap index 55b6cdd186d..da83c1dceee 100644 --- a/app/javascript/spec/host-edit-form/__snapshots__/host-edit-form.spec.js.snap +++ b/app/javascript/spec/host-edit-form/__snapshots__/host-edit-form.spec.js.snap @@ -34,6 +34,7 @@ exports[`Show Edit Host Form Component should render form for *one* host 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -42,7 +43,6 @@ exports[`Show Edit Host Form Component should render form for *one* host 1`] = ` "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -255,6 +255,7 @@ exports[`Show Edit Host Form Component should render form for *one* host 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -263,7 +264,6 @@ exports[`Show Edit Host Form Component should render form for *one* host 1`] = ` "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -483,6 +483,7 @@ exports[`Show Edit Host Form Component should render form for *one* host 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -491,7 +492,6 @@ exports[`Show Edit Host Form Component should render form for *one* host 1`] = ` "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5522,6 +5522,7 @@ exports[`Show Edit Host Form Component should render form for multiple hosts 1`] "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5530,7 +5531,6 @@ exports[`Show Edit Host Form Component should render form for multiple hosts 1`] "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5582,6 +5582,7 @@ exports[`Show Edit Host Form Component should render form for multiple hosts 1`] "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5590,7 +5591,6 @@ exports[`Show Edit Host Form Component should render form for multiple hosts 1`] "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5649,6 +5649,7 @@ exports[`Show Edit Host Form Component should render form for multiple hosts 1`] "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5657,7 +5658,6 @@ exports[`Show Edit Host Form Component should render form for multiple hosts 1`] "password-field": [Function], "plain-text": [Function], "protocol-selector": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/host-initiator-group-form/__snapshots__/host-initiator-group.spec.js.snap b/app/javascript/spec/host-initiator-group-form/__snapshots__/host-initiator-group.spec.js.snap index 84da9cde00f..385a6ad5aeb 100644 --- a/app/javascript/spec/host-initiator-group-form/__snapshots__/host-initiator-group.spec.js.snap +++ b/app/javascript/spec/host-initiator-group-form/__snapshots__/host-initiator-group.spec.js.snap @@ -103,6 +103,7 @@ exports[`Host Initiator Group Form Loads data and renders 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -110,7 +111,6 @@ exports[`Host Initiator Group Form Loads data and renders 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -205,6 +205,7 @@ exports[`Host Initiator Group Form Loads data and renders 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -212,7 +213,6 @@ exports[`Host Initiator Group Form Loads data and renders 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/live-migrate-form/__snapshots__/live-migrate-form.spec.js.snap b/app/javascript/spec/live-migrate-form/__snapshots__/live-migrate-form.spec.js.snap index 286dc1c6d1d..62d85de95df 100644 --- a/app/javascript/spec/live-migrate-form/__snapshots__/live-migrate-form.spec.js.snap +++ b/app/javascript/spec/live-migrate-form/__snapshots__/live-migrate-form.spec.js.snap @@ -113,6 +113,7 @@ exports[`Live Migrate form component should render live migrate form when hosts "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -120,7 +121,6 @@ exports[`Live Migrate form component should render live migrate form when hosts "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -223,6 +223,7 @@ exports[`Live Migrate form component should render live migrate form when hosts "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -230,7 +231,6 @@ exports[`Live Migrate form component should render live migrate form when hosts "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1990,6 +1990,7 @@ exports[`Live Migrate form component should render live migrate form with host o "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1997,7 +1998,6 @@ exports[`Live Migrate form component should render live migrate form with host o "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2121,6 +2121,7 @@ exports[`Live Migrate form component should render live migrate form with host o "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2128,7 +2129,6 @@ exports[`Live Migrate form component should render live migrate form with host o "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4247,6 +4247,7 @@ exports[`Live Migrate form component should render live migrate form with multip "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4254,7 +4255,6 @@ exports[`Live Migrate form component should render live migrate form with multip "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -4357,6 +4357,7 @@ exports[`Live Migrate form component should render live migrate form with multip "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4364,7 +4365,6 @@ exports[`Live Migrate form component should render live migrate form with multip "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/physical-storage-form/__snapshots__/physical-storage-form.spec.js.snap b/app/javascript/spec/physical-storage-form/__snapshots__/physical-storage-form.spec.js.snap index 8697326b1ca..ae7bc24a9f6 100644 --- a/app/javascript/spec/physical-storage-form/__snapshots__/physical-storage-form.spec.js.snap +++ b/app/javascript/spec/physical-storage-form/__snapshots__/physical-storage-form.spec.js.snap @@ -24,6 +24,7 @@ exports[`Physical storage form component should render adding form variant 1`] = "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -31,7 +32,6 @@ exports[`Physical storage form component should render adding form variant 1`] = "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -298,6 +298,7 @@ exports[`Physical storage form component should render editing form variant 1`] "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -305,7 +306,6 @@ exports[`Physical storage form component should render editing form variant 1`] "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -547,6 +547,7 @@ exports[`Physical storage form component should render editing form variant 1`] "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -554,7 +555,6 @@ exports[`Physical storage form component should render editing form variant 1`] "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -799,6 +799,7 @@ exports[`Physical storage form component should render editing form variant 1`] "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -806,7 +807,6 @@ exports[`Physical storage form component should render editing form variant 1`] "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/pxe-customization-template-form/__snapshots__/pxe-customization-template-form.spec.js.snap b/app/javascript/spec/pxe-customization-template-form/__snapshots__/pxe-customization-template-form.spec.js.snap index fb455b6ed22..4f638f51b6e 100644 --- a/app/javascript/spec/pxe-customization-template-form/__snapshots__/pxe-customization-template-form.spec.js.snap +++ b/app/javascript/spec/pxe-customization-template-form/__snapshots__/pxe-customization-template-form.spec.js.snap @@ -133,6 +133,7 @@ exports[`Pxe Customization Template Form Component should render adding a new px "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -140,7 +141,6 @@ exports[`Pxe Customization Template Form Component should render adding a new px "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -260,6 +260,7 @@ exports[`Pxe Customization Template Form Component should render adding a new px "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -267,7 +268,6 @@ exports[`Pxe Customization Template Form Component should render adding a new px "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2761,6 +2761,7 @@ exports[`Pxe Customization Template Form Component should render copying a pxe c "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2768,7 +2769,6 @@ exports[`Pxe Customization Template Form Component should render copying a pxe c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2897,6 +2897,7 @@ exports[`Pxe Customization Template Form Component should render copying a pxe c "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2904,7 +2905,6 @@ exports[`Pxe Customization Template Form Component should render copying a pxe c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5425,6 +5425,7 @@ exports[`Pxe Customization Template Form Component should render editing a pxe c "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5432,7 +5433,6 @@ exports[`Pxe Customization Template Form Component should render editing a pxe c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -5561,6 +5561,7 @@ exports[`Pxe Customization Template Form Component should render editing a pxe c "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5568,7 +5569,6 @@ exports[`Pxe Customization Template Form Component should render editing a pxe c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/pxe-image-type-form/__snapshots__/pxe-image-type-form.spec.js.snap b/app/javascript/spec/pxe-image-type-form/__snapshots__/pxe-image-type-form.spec.js.snap index b17b06a5d44..c1da7ff9969 100644 --- a/app/javascript/spec/pxe-image-type-form/__snapshots__/pxe-image-type-form.spec.js.snap +++ b/app/javascript/spec/pxe-image-type-form/__snapshots__/pxe-image-type-form.spec.js.snap @@ -88,6 +88,7 @@ exports[`Pxe Image Type Form Component should render adding a new pxe image type "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -95,7 +96,6 @@ exports[`Pxe Image Type Form Component should render adding a new pxe image type "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -176,6 +176,7 @@ exports[`Pxe Image Type Form Component should render adding a new pxe image type "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -183,7 +184,6 @@ exports[`Pxe Image Type Form Component should render adding a new pxe image type "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1588,6 +1588,7 @@ exports[`Pxe Image Type Form Component should render editing a pxe image type 1` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1595,7 +1596,6 @@ exports[`Pxe Image Type Form Component should render editing a pxe image type 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1682,6 +1682,7 @@ exports[`Pxe Image Type Form Component should render editing a pxe image type 1` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1689,7 +1690,6 @@ exports[`Pxe Image Type Form Component should render editing a pxe image type 1` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/pxe-iso-datastore-form/__snapshots__/pxe-iso-datastore-form.spec.js.snap b/app/javascript/spec/pxe-iso-datastore-form/__snapshots__/pxe-iso-datastore-form.spec.js.snap index 02e298453bd..82a4a64947a 100644 --- a/app/javascript/spec/pxe-iso-datastore-form/__snapshots__/pxe-iso-datastore-form.spec.js.snap +++ b/app/javascript/spec/pxe-iso-datastore-form/__snapshots__/pxe-iso-datastore-form.spec.js.snap @@ -93,6 +93,7 @@ exports[`Pxe Iso Datastore Form Component should render adding a new iso datasto "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -100,7 +101,6 @@ exports[`Pxe Iso Datastore Form Component should render adding a new iso datasto "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -174,6 +174,7 @@ exports[`Pxe Iso Datastore Form Component should render adding a new iso datasto "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -181,7 +182,6 @@ exports[`Pxe Iso Datastore Form Component should render adding a new iso datasto "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/pxe-iso-image-form/__snapshots__/pxe-iso-image-form.spec.js.snap b/app/javascript/spec/pxe-iso-image-form/__snapshots__/pxe-iso-image-form.spec.js.snap index f2fa7af58f7..002153554de 100644 --- a/app/javascript/spec/pxe-iso-image-form/__snapshots__/pxe-iso-image-form.spec.js.snap +++ b/app/javascript/spec/pxe-iso-image-form/__snapshots__/pxe-iso-image-form.spec.js.snap @@ -74,6 +74,7 @@ exports[`Pxe Edit Iso Image Form Component should render editing a iso image 1`] "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -81,7 +82,6 @@ exports[`Pxe Edit Iso Image Form Component should render editing a iso image 1`] "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -146,6 +146,7 @@ exports[`Pxe Edit Iso Image Form Component should render editing a iso image 1`] "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -153,7 +154,6 @@ exports[`Pxe Edit Iso Image Form Component should render editing a iso image 1`] "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/reconfigure-vm-form/__snapshots__/reconfigure-vm-form.spec.js.snap b/app/javascript/spec/reconfigure-vm-form/__snapshots__/reconfigure-vm-form.spec.js.snap index c7f8ee60656..08b9f5a5682 100644 --- a/app/javascript/spec/reconfigure-vm-form/__snapshots__/reconfigure-vm-form.spec.js.snap +++ b/app/javascript/spec/reconfigure-vm-form/__snapshots__/reconfigure-vm-form.spec.js.snap @@ -96,6 +96,7 @@ exports[`Reconfigure VM form component should render form with only fields it ha "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -103,7 +104,6 @@ exports[`Reconfigure VM form component should render form with only fields it ha "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -403,6 +403,7 @@ exports[`Reconfigure VM form component should render form with only fields it ha "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -410,7 +411,6 @@ exports[`Reconfigure VM form component should render form with only fields it ha "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -715,6 +715,7 @@ exports[`Reconfigure VM form component should render form with only fields it ha "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -722,7 +723,6 @@ exports[`Reconfigure VM form component should render form with only fields it ha "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -4583,6 +4583,7 @@ exports[`Reconfigure VM form component should render reconfigure form and click "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4590,7 +4591,6 @@ exports[`Reconfigure VM form component should render reconfigure form and click "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -4994,6 +4994,7 @@ exports[`Reconfigure VM form component should render reconfigure form and click "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5001,7 +5002,6 @@ exports[`Reconfigure VM form component should render reconfigure form and click "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -5410,6 +5410,7 @@ exports[`Reconfigure VM form component should render reconfigure form and click "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5417,7 +5418,6 @@ exports[`Reconfigure VM form component should render reconfigure form and click "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -15932,6 +15932,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show c "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -15939,7 +15940,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -16045,6 +16045,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show c "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -16052,7 +16053,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -16163,6 +16163,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show c "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -16170,7 +16171,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show c "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -17404,6 +17404,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -17411,7 +17412,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -17622,6 +17622,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -17629,7 +17630,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -17845,6 +17845,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -17852,7 +17853,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -21202,6 +21202,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -21209,7 +21210,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -21420,6 +21420,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -21427,7 +21428,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -21643,6 +21643,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -21650,7 +21651,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show d "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -24979,6 +24979,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show h "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -24986,7 +24987,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show h "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -25203,6 +25203,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show h "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -25210,7 +25211,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show h "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -25432,6 +25432,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show h "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -25439,7 +25440,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show h "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -30033,6 +30033,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show n "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -30040,7 +30041,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show n "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -30176,6 +30176,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show n "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -30183,7 +30184,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show n "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -30324,6 +30324,7 @@ exports[`Reconfigure VM form component should render reconfigure form and show n "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -30331,7 +30332,6 @@ exports[`Reconfigure VM form component should render reconfigure form and show n "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -32139,6 +32139,7 @@ exports[`Reconfigure VM form component should render reconfigure form with datat "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -32146,7 +32147,6 @@ exports[`Reconfigure VM form component should render reconfigure form with datat "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -32551,6 +32551,7 @@ exports[`Reconfigure VM form component should render reconfigure form with datat "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -32558,7 +32559,6 @@ exports[`Reconfigure VM form component should render reconfigure form with datat "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -32968,6 +32968,7 @@ exports[`Reconfigure VM form component should render reconfigure form with datat "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -32975,7 +32976,6 @@ exports[`Reconfigure VM form component should render reconfigure form with datat "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -43663,6 +43663,7 @@ exports[`Reconfigure VM form component should render reconfigure form without da "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -43670,7 +43671,6 @@ exports[`Reconfigure VM form component should render reconfigure form without da "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -43887,6 +43887,7 @@ exports[`Reconfigure VM form component should render reconfigure form without da "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -43894,7 +43895,6 @@ exports[`Reconfigure VM form component should render reconfigure form without da "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -44116,6 +44116,7 @@ exports[`Reconfigure VM form component should render reconfigure form without da "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -44123,7 +44124,6 @@ exports[`Reconfigure VM form component should render reconfigure form without da "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -48717,6 +48717,7 @@ exports[`Reconfigure VM form component should render reconfigure sub form and cl "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -48724,7 +48725,6 @@ exports[`Reconfigure VM form component should render reconfigure sub form and cl "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -49127,6 +49127,7 @@ exports[`Reconfigure VM form component should render reconfigure sub form and cl "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -49134,7 +49135,6 @@ exports[`Reconfigure VM form component should render reconfigure sub form and cl "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], @@ -49542,6 +49542,7 @@ exports[`Reconfigure VM form component should render reconfigure sub form and cl "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -49549,7 +49550,6 @@ exports[`Reconfigure VM form component should render reconfigure sub form and cl "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "reconfigure-table": [Function], "select": [Function], diff --git a/app/javascript/spec/schedule-form/__snapshots__/schedule-form.spec.js.snap b/app/javascript/spec/schedule-form/__snapshots__/schedule-form.spec.js.snap index 773d7845ef8..5e5b74c0a96 100644 --- a/app/javascript/spec/schedule-form/__snapshots__/schedule-form.spec.js.snap +++ b/app/javascript/spec/schedule-form/__snapshots__/schedule-form.spec.js.snap @@ -725,6 +725,7 @@ exports[`Schedule form component should render edit form when filter_type is not "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -732,7 +733,6 @@ exports[`Schedule form component should render edit form when filter_type is not "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1366,6 +1366,7 @@ exports[`Schedule form component should render edit form when filter_type is not "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1373,7 +1374,6 @@ exports[`Schedule form component should render edit form when filter_type is not "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -15540,6 +15540,7 @@ exports[`Schedule form component should render edit form when filter_type is nul "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -15547,7 +15548,6 @@ exports[`Schedule form component should render edit form when filter_type is nul "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -16323,6 +16323,7 @@ exports[`Schedule form component should render edit form when filter_type is nul "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -16330,7 +16331,6 @@ exports[`Schedule form component should render edit form when filter_type is nul "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -33730,6 +33730,7 @@ exports[`Schedule form component should render schedule add form 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -33737,7 +33738,6 @@ exports[`Schedule form component should render schedule add form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -34294,6 +34294,7 @@ exports[`Schedule form component should render schedule add form 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -34301,7 +34302,6 @@ exports[`Schedule form component should render schedule add form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/service-request-default-form/__snapshots__/service-request-default-form.spec.js.snap b/app/javascript/spec/service-request-default-form/__snapshots__/service-request-default-form.spec.js.snap index 618703ee48e..97abc32be36 100644 --- a/app/javascript/spec/service-request-default-form/__snapshots__/service-request-default-form.spec.js.snap +++ b/app/javascript/spec/service-request-default-form/__snapshots__/service-request-default-form.spec.js.snap @@ -324,6 +324,7 @@ exports[`Show Service Request Page should render 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -331,7 +332,6 @@ exports[`Show Service Request Page should render 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -526,6 +526,7 @@ exports[`Show Service Request Page should render 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -533,7 +534,6 @@ exports[`Show Service Request Page should render 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/settings-category-form/__snapshots__/settings-category-form.spec.js.snap b/app/javascript/spec/settings-category-form/__snapshots__/settings-category-form.spec.js.snap index 90d7d0ae679..b0c1c3b98a7 100644 --- a/app/javascript/spec/settings-category-form/__snapshots__/settings-category-form.spec.js.snap +++ b/app/javascript/spec/settings-category-form/__snapshots__/settings-category-form.spec.js.snap @@ -135,6 +135,7 @@ exports[`SettingsCategoryForm Component should render a new SettingsCategoryForm "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -142,7 +143,6 @@ exports[`SettingsCategoryForm Component should render a new SettingsCategoryForm "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -268,6 +268,7 @@ exports[`SettingsCategoryForm Component should render a new SettingsCategoryForm "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -275,7 +276,6 @@ exports[`SettingsCategoryForm Component should render a new SettingsCategoryForm "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/settings-time-profile-form/__snapshots__/settings-time-profile-form.spec.js.snap b/app/javascript/spec/settings-time-profile-form/__snapshots__/settings-time-profile-form.spec.js.snap index 8e1ff0c04ff..bbc122235a0 100644 --- a/app/javascript/spec/settings-time-profile-form/__snapshots__/settings-time-profile-form.spec.js.snap +++ b/app/javascript/spec/settings-time-profile-form/__snapshots__/settings-time-profile-form.spec.js.snap @@ -495,6 +495,7 @@ exports[`VM common form component should render adding form variant add new time "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -502,7 +503,6 @@ exports[`VM common form component should render adding form variant add new time "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -994,6 +994,7 @@ exports[`VM common form component should render adding form variant add new time "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1001,7 +1002,6 @@ exports[`VM common form component should render adding form variant add new time "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/vm-floating-ips-form/__snapshots__/vm-floating-ips-form.spec.js.snap b/app/javascript/spec/vm-floating-ips-form/__snapshots__/vm-floating-ips-form.spec.js.snap index ac864cd8311..76c5ea65ff5 100644 --- a/app/javascript/spec/vm-floating-ips-form/__snapshots__/vm-floating-ips-form.spec.js.snap +++ b/app/javascript/spec/vm-floating-ips-form/__snapshots__/vm-floating-ips-form.spec.js.snap @@ -57,6 +57,7 @@ exports[`Associate / Disassociate form component should render associate form va "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -64,7 +65,6 @@ exports[`Associate / Disassociate form component should render associate form va "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -121,6 +121,7 @@ exports[`Associate / Disassociate form component should render associate form va "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -128,7 +129,6 @@ exports[`Associate / Disassociate form component should render associate form va "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1085,6 +1085,7 @@ exports[`Associate / Disassociate form component should render disassociate form "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1092,7 +1093,6 @@ exports[`Associate / Disassociate form component should render disassociate form "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1149,6 +1149,7 @@ exports[`Associate / Disassociate form component should render disassociate form "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1156,7 +1157,6 @@ exports[`Associate / Disassociate form component should render disassociate form "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2140,6 +2140,7 @@ exports[`Associate / Disassociate form component should submit Associate API cal "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2147,7 +2148,6 @@ exports[`Associate / Disassociate form component should submit Associate API cal "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -2204,6 +2204,7 @@ exports[`Associate / Disassociate form component should submit Associate API cal "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2211,7 +2212,6 @@ exports[`Associate / Disassociate form component should submit Associate API cal "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3048,6 +3048,7 @@ exports[`Associate / Disassociate form component should submit Disassociate API "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3055,7 +3056,6 @@ exports[`Associate / Disassociate form component should submit Disassociate API "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -3112,6 +3112,7 @@ exports[`Associate / Disassociate form component should submit Disassociate API "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3119,7 +3120,6 @@ exports[`Associate / Disassociate form component should submit Disassociate API "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/vm-resize-form/__snapshots__/vm-resize-form.spec.js.snap b/app/javascript/spec/vm-resize-form/__snapshots__/vm-resize-form.spec.js.snap index e13ec35b7b9..09e5a6bcb3d 100644 --- a/app/javascript/spec/vm-resize-form/__snapshots__/vm-resize-form.spec.js.snap +++ b/app/javascript/spec/vm-resize-form/__snapshots__/vm-resize-form.spec.js.snap @@ -67,6 +67,7 @@ exports[`vm resize form component should render a resize form 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -74,7 +75,6 @@ exports[`vm resize form component should render a resize form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -132,6 +132,7 @@ exports[`vm resize form component should render a resize form 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -139,7 +140,6 @@ exports[`vm resize form component should render a resize form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap b/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap index 0293537a128..4b1173b10f5 100644 --- a/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap +++ b/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap @@ -60,6 +60,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -67,7 +68,6 @@ exports[`Workflow Credential Form Component should render mapping credentials to "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -247,6 +247,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -254,7 +255,6 @@ exports[`Workflow Credential Form Component should render mapping credentials to "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -437,6 +437,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -444,7 +445,6 @@ exports[`Workflow Credential Form Component should render mapping credentials to "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/workflow-credentials-form/__snapshots__/workflow-credentials-form.spec.js.snap b/app/javascript/spec/workflow-credentials-form/__snapshots__/workflow-credentials-form.spec.js.snap index a3eb24c88e7..873fc1e6592 100644 --- a/app/javascript/spec/workflow-credentials-form/__snapshots__/workflow-credentials-form.spec.js.snap +++ b/app/javascript/spec/workflow-credentials-form/__snapshots__/workflow-credentials-form.spec.js.snap @@ -95,6 +95,7 @@ exports[`Workflow Credential Form Component should render adding a new credentia "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -102,7 +103,6 @@ exports[`Workflow Credential Form Component should render adding a new credentia "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -190,6 +190,7 @@ exports[`Workflow Credential Form Component should render adding a new credentia "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -197,7 +198,6 @@ exports[`Workflow Credential Form Component should render adding a new credentia "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1602,6 +1602,7 @@ exports[`Workflow Credential Form Component should render editing a credential 1 "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1609,7 +1610,6 @@ exports[`Workflow Credential Form Component should render editing a credential 1 "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -1704,6 +1704,7 @@ exports[`Workflow Credential Form Component should render editing a credential 1 "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1711,7 +1712,6 @@ exports[`Workflow Credential Form Component should render editing a credential 1 "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], diff --git a/app/javascript/spec/zone-form/__snapshots__/zone-form.spec.js.snap b/app/javascript/spec/zone-form/__snapshots__/zone-form.spec.js.snap index 4bf0058a38f..f4b2d81f690 100644 --- a/app/javascript/spec/zone-form/__snapshots__/zone-form.spec.js.snap +++ b/app/javascript/spec/zone-form/__snapshots__/zone-form.spec.js.snap @@ -309,6 +309,7 @@ exports[`zone Form Component should render editing a zone form 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -316,7 +317,6 @@ exports[`zone Form Component should render editing a zone form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], @@ -480,6 +480,7 @@ exports[`zone Form Component should render editing a zone form 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], + "embedded-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -487,7 +488,6 @@ exports[`zone Form Component should render editing a zone form 1`] = ` "multi-select": [Function], "password-field": [Function], "plain-text": [Function], - "provision-entry-point": [Function], "radio": [Function], "select": [Function], "slider": [Function], From 0d3545b971f8b332074741f461265e2af1a88e21 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Tue, 16 Jul 2024 13:17:27 -0400 Subject: [PATCH 08/17] Update snapshots --- app/javascript/components/embedded-entry-point/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/components/embedded-entry-point/index.jsx b/app/javascript/components/embedded-entry-point/index.jsx index cdece3774d4..8bf6ccbeb51 100644 --- a/app/javascript/components/embedded-entry-point/index.jsx +++ b/app/javascript/components/embedded-entry-point/index.jsx @@ -46,7 +46,7 @@ const EmbeddedEntryPoint = (props) => {
setTextValue(value.target.value)} value={textValue} />
-
+
+
+
+
+
+ + ); +}; + +EmbeddedWorkflowEntryPoint.propTypes = { + id: PropTypes.string.isRequired, + label: PropTypes.string.isRequired, + initialValue: PropTypes.string, + field: PropTypes.string.isRequired, + selected: PropTypes.string, + type: PropTypes.string.isRequired, +}; + +EmbeddedWorkflowEntryPoint.defaultProps = { + initialValue: '', + selected: '', +}; + +export default EmbeddedWorkflowEntryPoint; diff --git a/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js b/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js index 18b3d795400..abe29d84b38 100644 --- a/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js +++ b/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js @@ -50,7 +50,7 @@ const basicInformationTabSchema = (availableCatalogs, tenantTree, roleAllows, zo }, }, { - component: 'embedded-entry-point', + component: 'embedded-workflow-entry-point', id: 'provisioning_entry_point_workflow', name: 'provisioning_entry_point_workflow', label: 'Provisioning Entry Point', @@ -81,7 +81,7 @@ const basicInformationTabSchema = (availableCatalogs, tenantTree, roleAllows, zo }, }, { - component: 'embedded-entry-point', + component: 'embedded-workflow-entry-point', id: 'reconfigure_entry_point_workflow', name: 'reconfigure_entry_point_workflow', label: 'Reconfigure Entry Point', @@ -113,7 +113,7 @@ const basicInformationTabSchema = (availableCatalogs, tenantTree, roleAllows, zo }, }, { - component: 'embedded-entry-point', + component: 'embedded-workflow-entry-point', id: 'retirement_entry_point_workflow', name: 'retirement_entry_point_workflow', label: 'Retirement Entry Point', diff --git a/app/javascript/forms/mappers/componentMapper.jsx b/app/javascript/forms/mappers/componentMapper.jsx index 249c4820f3c..eb1a2862031 100644 --- a/app/javascript/forms/mappers/componentMapper.jsx +++ b/app/javascript/forms/mappers/componentMapper.jsx @@ -1,4 +1,3 @@ -import React from 'react'; import { componentMapper } from '@data-driven-forms/carbon-component-mapper'; import { componentTypes } from '@@ddf'; import AsyncCredentials from '../../components/async-credentials/async-credentials'; @@ -11,7 +10,7 @@ import { TreeViewField, TreeViewSelector } from '../../components/tree-view'; import MultiSelectWithSelectAll from '../../components/multiselect-with-selectall'; import FontIconPicker from '../../components/fonticon-picker'; import FontIconPickerDdf from '../../components/fonticon-picker/font-icon-picker-ddf'; -import EmbeddedEntryPoint from '../../components/embedded-entry-point'; +import EmbeddedWorkflowEntryPoint from '../../components/embedded-workflow-entry-point'; const mapper = { ...componentMapper, @@ -19,7 +18,7 @@ const mapper = { 'edit-password-field': EditPasswordField, 'file-upload': FileUploadComponent, 'password-field': PasswordField, - 'embedded-entry-point': EmbeddedEntryPoint, + 'embedded-workflow-entry-point': EmbeddedWorkflowEntryPoint, 'validate-credentials': AsyncCredentials, 'tree-view': TreeViewField, 'tree-selector': TreeViewSelector, diff --git a/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js b/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js index 8ab86af357d..5387a302138 100644 --- a/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js +++ b/app/javascript/spec/provision-entry-point/provision-entry-point.spec.js @@ -2,7 +2,7 @@ import React from 'react'; import { shallow } from 'enzyme'; import { shallowToJson } from 'enzyme-to-json'; -import EmbeddedEntryPoint from '../../components/embedded-entry-point'; +import EmbeddedWorkflowEntryPoint from '../../components/embedded-workflow-entry-point'; jest.mock('@@ddf', () => ({ useFieldApi: (props) => ({ meta: {}, input: {}, ...props }), @@ -22,7 +22,7 @@ describe('CodeEditor component', () => { }); it('should render correctly', () => { - const wrapper = shallow(); + const wrapper = shallow(); expect(shallowToJson(wrapper)).toMatchSnapshot(); }); }); From 571715801763b2907b291d627af63972dff527cd Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Wed, 13 Nov 2024 11:48:24 -0500 Subject: [PATCH 12/17] Add embedded automate react component --- app/controllers/catalog_controller.rb | 8 ++ .../automate-entry-points/index.jsx | 121 ++++++++++++++++++ .../embedded-automate-entry-point/index.jsx | 12 +- .../terraform-template-catalog-form.schema.js | 13 ++ .../workflows/workflow-entry-points.jsx | 1 - .../forms/mappers/componentMapper.jsx | 4 +- config/routes.rb | 1 + 7 files changed, 152 insertions(+), 8 deletions(-) create mode 100644 app/javascript/components/automate-entry-points/index.jsx diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index 3808add3528..94b406877c4 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -664,6 +664,14 @@ def ae_tree_select_toggle session[:edit] = @edit end + def ae_tree_load + assert_new_or_edit_by_service_type + + require 'byebug' + byebug + session[:edit] + end + # Method to open the workflows dialog box # params[:field] => :fqname || :retire_fqname || :reconfigure_fqname # params[:selected] => Holds the value of the *_configuration_script_id diff --git a/app/javascript/components/automate-entry-points/index.jsx b/app/javascript/components/automate-entry-points/index.jsx new file mode 100644 index 00000000000..5cd75e3fd1f --- /dev/null +++ b/app/javascript/components/automate-entry-points/index.jsx @@ -0,0 +1,121 @@ +import React, { useState, useEffect } from 'react'; +import PropTypes from 'prop-types'; +import { Loading, Modal, ModalBody } from 'carbon-components-react'; +import MiqDataTable from '../miq-data-table'; +import { http } from '../../http_api'; + +const AutomateEntryPoints = ({ + field, selected, type, setShowModal, setSelectedValue, +}) => { + const [data, setData] = useState({ + isLoading: true, list: {}, selectedItemId: selected, + }); + + const workflowTypes = { + provision: __('Provision'), + reconfigure: __('Reconfigure'), + retire: __('Retirement'), + }; + + useEffect(() => { + http.post(`/catalog/ae_tree_load?typ=${type}`, {}, { headers: {}, skipJsonParsing: true }) + .then((_data) => { + console.log(data); + API.get('/api/automate_domains?expand=resources') + .then((response) => { + console.log(response); + // API.get('/api/automate_workspaces?expand=resources').then((response) => { + // console.log(response); + // }); + setData({ + ...data, + isLoading: false, + }); + }); + }); + }, []); + + /** Function to handle a row's click event. */ + const onSelect = (selectedItemId) => { + setData({ + ...data, + selectedItemId: (data.selectedItemId === selectedItemId) ? undefined : selectedItemId, + }); + const params = `cfp-${encodeURIComponent(selectedItemId)}&tree=automate_catalog_tree&field=${field}`; + window.miqJqueryRequest(`/catalog/ae_tree_select/?id=${params}&typ=${type}`); + }; + if (data.isLoading) { + return (); + } + /** Function to handle the modal box close button click event. */ + const onCloseModal = () => { + if (setShowModal) { + setShowModal(false); + } else { + document.getElementById(`${type}-workflows`).innerHTML = ''; + http.post('/catalog/ae_tree_select_toggle?button=cancel', {}, { headers: {}, skipJsonParsing: true }); + } + }; + /** Function to handle the modal box apply button click event. */ + const onApply = () => { + const seletedItem = data.list.rows.find((item) => item.id === data.selectedItemId); + const name = seletedItem.name.text; + if (seletedItem) { + if (setShowModal && setSelectedValue) { + setShowModal(false); + setSelectedValue(seletedItem); + } else { + const nameField = document.getElementById(field); + const selectedField = document.getElementById(`${type}_configuration_script_id`); + + if (nameField && selectedField) { + nameField.value = name; + selectedField.value = data.selectedItemId; + http.post('/catalog/ae_tree_select_toggle?button=submit&automation_type=workflow', {}, { headers: {}, skipJsonParsing: true }) + .then((_data) => { + document.getElementById(`${type}-workflows`).innerHTML = ''; + }); + } + } + } + }; + return ( + + + onSelect(selectedRow.id)} + showPagination={false} + truncateText={false} + mode="automated-workflow-entry-points" + gridChecks={[data.selectedItemId]} + size="md" + /> + + + ); +}; +AutomateEntryPoints.propTypes = { + field: PropTypes.string.isRequired, + type: PropTypes.string.isRequired, + selected: PropTypes.string, + setShowModal: PropTypes.func, + setSelectedValue: PropTypes.func, +}; + +AutomateEntryPoints.defaultProps = { + selected: '', + setShowModal: undefined, + setSelectedValue: undefined, +}; + +export default AutomateEntryPoints; diff --git a/app/javascript/components/embedded-automate-entry-point/index.jsx b/app/javascript/components/embedded-automate-entry-point/index.jsx index 0c31312db0d..bb545d06de6 100644 --- a/app/javascript/components/embedded-automate-entry-point/index.jsx +++ b/app/javascript/components/embedded-automate-entry-point/index.jsx @@ -3,9 +3,9 @@ import PropTypes from 'prop-types'; import { Button, TextInput } from 'carbon-components-react'; import { Close16, TreeViewAlt16 } from '@carbon/icons-react'; import { useFieldApi } from '@@ddf'; -import WorkflowEntryPoints from '../workflows/workflow-entry-points'; +import AutomateEntryPoints from '../automate-entry-points'; -const EmbeddedEntryPoint = (props) => { +const EmbeddedAutomateEntryPoint = (props) => { const { label, initialValue, id, field, selected, type, } = props; @@ -33,7 +33,7 @@ const EmbeddedEntryPoint = (props) => { return (
{showModal ? ( - { ); }; -EmbeddedEntryPoint.propTypes = { +EmbeddedAutomateEntryPoint.propTypes = { id: PropTypes.string.isRequired, label: PropTypes.string.isRequired, initialValue: PropTypes.string, @@ -79,9 +79,9 @@ EmbeddedEntryPoint.propTypes = { type: PropTypes.string.isRequired, }; -EmbeddedEntryPoint.defaultProps = { +EmbeddedAutomateEntryPoint.defaultProps = { initialValue: '', selected: '', }; -export default EmbeddedEntryPoint; +export default EmbeddedAutomateEntryPoint; diff --git a/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js b/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js index abe29d84b38..57c2f2c6c15 100644 --- a/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js +++ b/app/javascript/components/terraform-template-catalog-form/terraform-template-catalog-form.schema.js @@ -49,6 +49,19 @@ const basicInformationTabSchema = (availableCatalogs, tenantTree, roleAllows, zo is: 'embedded_automate', }, }, + // { + // component: 'embedded-automate-entry-point', + // id: 'provisioning_entry_point_automate', + // name: 'provisioning_entry_point_automate', + // label: 'Provisioning Entry Point', + // field: 'fqname', + // selected: '', + // type: 'provision', + // condition: { + // when: 'provisioning_entry_point_type', + // is: 'embedded_automate', + // }, + // }, { component: 'embedded-workflow-entry-point', id: 'provisioning_entry_point_workflow', diff --git a/app/javascript/components/workflows/workflow-entry-points.jsx b/app/javascript/components/workflows/workflow-entry-points.jsx index e7435a3f6a6..ecb653b15ec 100644 --- a/app/javascript/components/workflows/workflow-entry-points.jsx +++ b/app/javascript/components/workflows/workflow-entry-points.jsx @@ -8,7 +8,6 @@ import { http } from '../../http_api'; const WorkflowEntryPoints = ({ field, selected, type, setShowModal, setSelectedValue, }) => { - console.log(selected); const [data, setData] = useState({ isLoading: true, list: {}, selectedItemId: selected, }); diff --git a/app/javascript/forms/mappers/componentMapper.jsx b/app/javascript/forms/mappers/componentMapper.jsx index eb1a2862031..3c195985ab6 100644 --- a/app/javascript/forms/mappers/componentMapper.jsx +++ b/app/javascript/forms/mappers/componentMapper.jsx @@ -10,15 +10,17 @@ import { TreeViewField, TreeViewSelector } from '../../components/tree-view'; import MultiSelectWithSelectAll from '../../components/multiselect-with-selectall'; import FontIconPicker from '../../components/fonticon-picker'; import FontIconPickerDdf from '../../components/fonticon-picker/font-icon-picker-ddf'; +import EmbeddedAutomateEntryPoint from '../../components/embedded-automate-entry-point'; import EmbeddedWorkflowEntryPoint from '../../components/embedded-workflow-entry-point'; const mapper = { ...componentMapper, 'code-editor': CodeEditor, + 'embedded-automate-entry-point': EmbeddedAutomateEntryPoint, + 'embedded-workflow-entry-point': EmbeddedWorkflowEntryPoint, 'edit-password-field': EditPasswordField, 'file-upload': FileUploadComponent, 'password-field': PasswordField, - 'embedded-workflow-entry-point': EmbeddedWorkflowEntryPoint, 'validate-credentials': AsyncCredentials, 'tree-view': TreeViewField, 'tree-selector': TreeViewSelector, diff --git a/config/routes.rb b/config/routes.rb index b0c5bbe1ac1..7a427b6187b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -310,6 +310,7 @@ ae_tree_select ae_tree_select_discard ae_tree_select_toggle + ae_tree_load atomic_form_field_changed atomic_st_edit automate_button_field_changed From 55b343c75d17ec2d526dd99248d35c9ed5b548bd Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Thu, 14 Nov 2024 13:12:21 -0500 Subject: [PATCH 13/17] Add tree and working demo --- app/controllers/catalog_controller.rb | 8 - .../automate-entry-points/checkbox.js | 31 ++ .../automate-entry-points/index.jsx | 419 +++++++++++++----- .../automate-entry-points/styles.css | 48 ++ .../components/visual-settings-form/index.jsx | 16 +- .../visual-settings-form.schema.js | 19 + config/routes.rb | 1 - package.json | 1 + 8 files changed, 427 insertions(+), 116 deletions(-) create mode 100644 app/javascript/components/automate-entry-points/checkbox.js create mode 100644 app/javascript/components/automate-entry-points/styles.css diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index 94b406877c4..3808add3528 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -664,14 +664,6 @@ def ae_tree_select_toggle session[:edit] = @edit end - def ae_tree_load - assert_new_or_edit_by_service_type - - require 'byebug' - byebug - session[:edit] - end - # Method to open the workflows dialog box # params[:field] => :fqname || :retire_fqname || :reconfigure_fqname # params[:selected] => Holds the value of the *_configuration_script_id diff --git a/app/javascript/components/automate-entry-points/checkbox.js b/app/javascript/components/automate-entry-points/checkbox.js new file mode 100644 index 00000000000..399c9294c85 --- /dev/null +++ b/app/javascript/components/automate-entry-points/checkbox.js @@ -0,0 +1,31 @@ +import React, { useState } from 'react'; +import PropTypes from 'prop-types'; + +const Checkbox = ({ defaultState = false, onChange, children }) => { + const [on, setOn] = useState(defaultState); + const handleChange = (e) => { + setOn(e.target.checked); + onChange && onChange(e.target.checked); + }; + return ( +
+ +
+ ); +}; + +Checkbox.propTypes = { + defaultState: PropTypes.bool, + onChange: PropTypes.func.isRequired, + children: PropTypes.arrayOf(PropTypes.any), +}; + +Checkbox.defaultProps = { + defaultState: false, + children: [], +}; + +export default Checkbox; diff --git a/app/javascript/components/automate-entry-points/index.jsx b/app/javascript/components/automate-entry-points/index.jsx index 5cd75e3fd1f..c65e722a3c2 100644 --- a/app/javascript/components/automate-entry-points/index.jsx +++ b/app/javascript/components/automate-entry-points/index.jsx @@ -1,121 +1,338 @@ -import React, { useState, useEffect } from 'react'; -import PropTypes from 'prop-types'; -import { Loading, Modal, ModalBody } from 'carbon-components-react'; -import MiqDataTable from '../miq-data-table'; -import { http } from '../../http_api'; - -const AutomateEntryPoints = ({ - field, selected, type, setShowModal, setSelectedValue, -}) => { - const [data, setData] = useState({ - isLoading: true, list: {}, selectedItemId: selected, - }); - - const workflowTypes = { - provision: __('Provision'), - reconfigure: __('Reconfigure'), - retire: __('Retirement'), +// import React, { useState, useEffect } from 'react'; +// import PropTypes from 'prop-types'; +// import { Loading, Modal, ModalBody } from 'carbon-components-react'; +// import MiqDataTable from '../miq-data-table'; +// import { http } from '../../http_api'; + +// const AutomateEntryPoints = ({ +// field, selected, type, setShowModal, setSelectedValue, +// }) => { +// const [data, setData] = useState({ +// isLoading: true, list: {}, selectedItemId: selected, +// }); + +// const workflowTypes = { +// provision: __('Provision'), +// reconfigure: __('Reconfigure'), +// retire: __('Retirement'), +// }; + +// useEffect(() => { +// API.get('/api/automate') +// .then((_data) => { +// console.log(data); +// setData({ +// ...data, +// isLoading: false, +// }); +// }); +// }, []); + +// /** Function to handle a row's click event. */ +// const onSelect = (selectedItemId) => { +// setData({ +// ...data, +// selectedItemId: (data.selectedItemId === selectedItemId) ? undefined : selectedItemId, +// }); +// const params = `cfp-${encodeURIComponent(selectedItemId)}&tree=automate_catalog_tree&field=${field}`; +// window.miqJqueryRequest(`/catalog/ae_tree_select/?id=${params}&typ=${type}`); +// }; +// if (data.isLoading) { +// return (); +// } +// /** Function to handle the modal box close button click event. */ +// const onCloseModal = () => { +// if (setShowModal) { +// setShowModal(false); +// } else { +// document.getElementById(`${type}-workflows`).innerHTML = ''; +// http.post('/catalog/ae_tree_select_toggle?button=cancel', {}, { headers: {}, skipJsonParsing: true }); +// } +// }; +// /** Function to handle the modal box apply button click event. */ +// const onApply = () => { +// const seletedItem = data.list.rows.find((item) => item.id === data.selectedItemId); +// const name = seletedItem.name.text; +// if (seletedItem) { +// if (setShowModal && setSelectedValue) { +// setShowModal(false); +// setSelectedValue(seletedItem); +// } else { +// const nameField = document.getElementById(field); +// const selectedField = document.getElementById(`${type}_configuration_script_id`); + +// if (nameField && selectedField) { +// nameField.value = name; +// selectedField.value = data.selectedItemId; +// http.post('/catalog/ae_tree_select_toggle?button=submit&automation_type=workflow', {}, { headers: {}, skipJsonParsing: true }) +// .then((_data) => { +// document.getElementById(`${type}-workflows`).innerHTML = ''; +// }); +// } +// } +// } +// }; +// return ( +// +// +// onSelect(selectedRow.id)} +// showPagination={false} +// truncateText={false} +// mode="automated-workflow-entry-points" +// gridChecks={[data.selectedItemId]} +// size="md" +// /> +// +// +// ); +// }; +// AutomateEntryPoints.propTypes = { +// field: PropTypes.string.isRequired, +// type: PropTypes.string.isRequired, +// selected: PropTypes.string, +// setShowModal: PropTypes.func, +// setSelectedValue: PropTypes.func, +// }; + +// AutomateEntryPoints.defaultProps = { +// selected: '', +// setShowModal: undefined, +// setSelectedValue: undefined, +// }; + +// export default AutomateEntryPoints; + +import React, { useEffect, useState } from 'react'; +import { FolderOpen16, Folder16, Document16 } from '@carbon/icons-react'; +import TreeView, { flattenTree } from 'react-accessible-treeview'; +import './styles.css'; + +const DirectoryTreeView = () => { +// const [treeData, setTreeData] = useState([{ +// id: 'root', +// name: '', +// children: [ +// { +// id: 'src_folder', +// name: 'src', +// }, +// ], +// }, +// ]); + + const folder = { + id: 'root', + name: '', + children: [ + { + id: 'src_folder', + name: 'src', + children: [ + { + id: 'index.js_file', + name: 'index.js', + metadata: { a: '1', b: '2', c: 'test' }, + }, + { + id: 'styles.css_file', + name: 'styles.css', + metadata: { a: '1', b: '2', c: 'test' }, + }], + }, + { + id: 'node_modules_folder', + name: 'node_modules', + children: [ + { + id: 'react-accessible-treeview-folder', + name: 'react-accessible-treeview', + children: [{ + id: 'index.js_file2', + name: 'index.js', + }], + }, + { + id: 'react_folder', + name: 'react', + children: [{ + id: 'index.js_file3', + name: 'index.js', + }], + }, + ], + }, + { + id: '.npmignore_file', + name: '.npmignore', + }, + { + id: 'package.json_file', + name: 'package.json', + }, + { + id: 'webpack.config.js_file', + name: 'webpack.config.js', + }, + ], }; + const data = flattenTree(folder); + console.log(data); + + const initialData = { + id: 'root', + name: '', + children: [ + { + id: 'root-node', + name: '', + }, + ], + }; + + const [rawTreeData, setRawTreeData] = useState(folder); + const [treeData, setTreeData] = useState(flattenTree(initialData)); + const [expandedIds, setExpandedIds] = useState([]); + const [key, setKey] = useState('initial'); + useEffect(() => { - http.post(`/catalog/ae_tree_load?typ=${type}`, {}, { headers: {}, skipJsonParsing: true }) - .then((_data) => { - console.log(data); - API.get('/api/automate_domains?expand=resources') - .then((response) => { - console.log(response); - // API.get('/api/automate_workspaces?expand=resources').then((response) => { - // console.log(response); - // }); - setData({ - ...data, - isLoading: false, - }); - }); - }); + setTreeData(data); }, []); - /** Function to handle a row's click event. */ - const onSelect = (selectedItemId) => { - setData({ - ...data, - selectedItemId: (data.selectedItemId === selectedItemId) ? undefined : selectedItemId, - }); - const params = `cfp-${encodeURIComponent(selectedItemId)}&tree=automate_catalog_tree&field=${field}`; - window.miqJqueryRequest(`/catalog/ae_tree_select/?id=${params}&typ=${type}`); + useEffect(() => { + console.log(rawTreeData); + setTreeData(flattenTree(rawTreeData)); + }, [rawTreeData]); + + useEffect(() => { + console.log(treeData); + if (treeData.length > 12) { + setExpandedIds(['src_folder']); + setKey('new'); + } + }, [treeData]); + + const FolderIcon = ({ isOpen }) => + (isOpen ? ( + + ) : ( + + )); + + const FileIcon = ({ filename }) => { + const extension = filename.slice(filename.lastIndexOf('.') + 1); + switch (extension) { + case 'js': + return ; + case 'css': + return ; + case 'json': + return ; + case 'npmignore': + return ; + default: + return ; + } }; - if (data.isLoading) { - return (); - } - /** Function to handle the modal box close button click event. */ - const onCloseModal = () => { - if (setShowModal) { - setShowModal(false); - } else { - document.getElementById(`${type}-workflows`).innerHTML = ''; - http.post('/catalog/ae_tree_select_toggle?button=cancel', {}, { headers: {}, skipJsonParsing: true }); + + const onSelect = (value) => { + if (value && value.isSelected === true) { + console.log(value); } }; - /** Function to handle the modal box apply button click event. */ - const onApply = () => { - const seletedItem = data.list.rows.find((item) => item.id === data.selectedItemId); - const name = seletedItem.name.text; - if (seletedItem) { - if (setShowModal && setSelectedValue) { - setShowModal(false); - setSelectedValue(seletedItem); - } else { - const nameField = document.getElementById(field); - const selectedField = document.getElementById(`${type}_configuration_script_id`); - - if (nameField && selectedField) { - nameField.value = name; - selectedField.value = data.selectedItemId; - http.post('/catalog/ae_tree_select_toggle?button=submit&automation_type=workflow', {}, { headers: {}, skipJsonParsing: true }) - .then((_data) => { - document.getElementById(`${type}-workflows`).innerHTML = ''; + + const onExpand = (value) => { + console.log(value); + const tempData = treeData; + const newChildren = []; + + if (value && value.element) { + const ids = value.element.id.split('_'); + if (ids.includes('folder')) { + tempData.forEach((item) => { + if (item.id === value.element.id) { + console.log(item.name); + API.get('/api/automate_domains?expand=resources').then((apiData) => { + console.log(apiData); + apiData.resources.forEach((domain) => { + newChildren.push({ + id: domain.id, + name: domain.name, + children: [], + parent: item.id, + metadata: {}, + }); + }); + return newChildren; + }).then((newChildrenArray) => { + const newTreeData = treeData.concat(newChildrenArray[2]); + if (treeData.includes(newChildrenArray[0]) === false) { + newTreeData[1].children = ['index.js_file', 'styles.css_file', '1177']; + if (treeData.length === 12) { + setTreeData(newTreeData); + // Send all relevant data including new children and the clicked item to a new useffect using a new state variable + // From this new use effect we can set the treedata, expandedids and the key state variables + } + } }); - } + } + }); } } }; + return ( - - - onSelect(selectedRow.id)} - showPagination={false} - truncateText={false} - mode="automated-workflow-entry-points" - gridChecks={[data.selectedItemId]} - size="md" +
+
+ { + getNodeProps(); + return ( +
+ {isBranch ? ( + + ) : ( + + )} + + {element.name} +
+ ); + }} /> - - +
+
); }; -AutomateEntryPoints.propTypes = { - field: PropTypes.string.isRequired, - type: PropTypes.string.isRequired, - selected: PropTypes.string, - setShowModal: PropTypes.func, - setSelectedValue: PropTypes.func, + +DirectoryTreeView.propTypes = { }; -AutomateEntryPoints.defaultProps = { - selected: '', - setShowModal: undefined, - setSelectedValue: undefined, +DirectoryTreeView.defaultProps = { }; -export default AutomateEntryPoints; +export default DirectoryTreeView; diff --git a/app/javascript/components/automate-entry-points/styles.css b/app/javascript/components/automate-entry-points/styles.css new file mode 100644 index 00000000000..deff728d8de --- /dev/null +++ b/app/javascript/components/automate-entry-points/styles.css @@ -0,0 +1,48 @@ +.directory { + background: #242322; + font-family: monospace; + font-size: 16px; + color: white; + user-select: none; + padding: 20px; + border-radius: 0.4em; +} + +.directory .tree, +.directory .tree-node, +.directory .tree-node-group { + list-style: none; + margin: 0; + padding: 0; +} + +.directory .tree-branch-wrapper, +.directory .tree-node__leaf { + outline: none; + outline: none; +} + +.directory .tree-node { + cursor: pointer; +} + +.directory .tree-node:hover { + background: rgba(255, 255, 255, 0.1); +} + +.directory .tree .tree-node--focused { + background: rgba(255, 255, 255, 0.2); +} + +.directory .tree .tree-node--selected { + background: rgba(48, 107, 176); +} + +.directory .tree-node__branch { + display: block; +} + +.directory .icon { + vertical-align: middle; + padding-right: 5px; +} \ No newline at end of file diff --git a/app/javascript/components/visual-settings-form/index.jsx b/app/javascript/components/visual-settings-form/index.jsx index 39e40c069f8..b2b9bd71386 100644 --- a/app/javascript/components/visual-settings-form/index.jsx +++ b/app/javascript/components/visual-settings-form/index.jsx @@ -3,6 +3,7 @@ import PropTypes from 'prop-types'; import { Loading } from 'carbon-components-react'; import MiqFormRenderer from '@@ddf'; import createSchema from './visual-settings-form.schema'; +import DirectoryTreeView from '../automate-entry-points'; const VisualSettingsForm = ({ recordId }) => { const [{ initialValues, timezoneOptions, isLoading }, setState] = useState({ isLoading: true }); @@ -41,12 +42,15 @@ const VisualSettingsForm = ({ recordId }) => { ); } return ( - +
+ + +
); }; diff --git a/app/javascript/components/visual-settings-form/visual-settings-form.schema.js b/app/javascript/components/visual-settings-form/visual-settings-form.schema.js index 26c7c881422..0d9d915e5d0 100644 --- a/app/javascript/components/visual-settings-form/visual-settings-form.schema.js +++ b/app/javascript/components/visual-settings-form/visual-settings-form.schema.js @@ -1,5 +1,24 @@ import { componentTypes } from '@@ddf'; +// const loadData = API.get('/api/automate?depth=1&attributes=klass,id,fqname,domain_fqname,name').then((data) => { +// console.log(data); +// const tree = []; +// if (data && data.resources) { +// data.resources.forEach((domain) => { +// // console.log(domain); +// tree.push({ +// key: domain.fqname, +// icon: 'pficon pficon-folder-close', +// selectable: false, +// text: domain.name, +// tooltip: 'root node', +// state: {}, +// }); +// }); +// } +// return tree; +// }); + const createSchema = (timezoneOptions) => ({ fields: [ { diff --git a/config/routes.rb b/config/routes.rb index 7a427b6187b..b0c5bbe1ac1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -310,7 +310,6 @@ ae_tree_select ae_tree_select_discard ae_tree_select_toggle - ae_tree_load atomic_form_field_changed atomic_st_edit automate_button_field_changed diff --git a/package.json b/package.json index 6d67b82c15d..22745a48332 100644 --- a/package.json +++ b/package.json @@ -87,6 +87,7 @@ "prop-types": "^15.6.0", "proxy-polyfill": "^0.1.7", "react": "~16.13.1", + "react-accessible-treeview": "^2.10.0", "react-bootstrap": "~0.33.0", "react-codemirror2": "^8.0.0", "react-dom": "~16.13.1", From 9ebc86f007157109516a29ad2bfde23728d416cf Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Thu, 5 Dec 2024 14:27:39 -0500 Subject: [PATCH 14/17] Added api calls to demo --- .../automate-entry-points/index.jsx | 338 +++++++++++------- 1 file changed, 200 insertions(+), 138 deletions(-) diff --git a/app/javascript/components/automate-entry-points/index.jsx b/app/javascript/components/automate-entry-points/index.jsx index c65e722a3c2..9fdaa316732 100644 --- a/app/javascript/components/automate-entry-points/index.jsx +++ b/app/javascript/components/automate-entry-points/index.jsx @@ -131,83 +131,110 @@ const DirectoryTreeView = () => { // }, // ]); - const folder = { - id: 'root', - name: '', - children: [ - { - id: 'src_folder', - name: 'src', - children: [ - { - id: 'index.js_file', - name: 'index.js', - metadata: { a: '1', b: '2', c: 'test' }, - }, - { - id: 'styles.css_file', - name: 'styles.css', - metadata: { a: '1', b: '2', c: 'test' }, - }], - }, - { - id: 'node_modules_folder', - name: 'node_modules', - children: [ - { - id: 'react-accessible-treeview-folder', - name: 'react-accessible-treeview', - children: [{ - id: 'index.js_file2', - name: 'index.js', - }], - }, - { - id: 'react_folder', - name: 'react', - children: [{ - id: 'index.js_file3', - name: 'index.js', - }], - }, - ], - }, - { - id: '.npmignore_file', - name: '.npmignore', - }, - { - id: 'package.json_file', - name: 'package.json', - }, - { - id: 'webpack.config.js_file', - name: 'webpack.config.js', - }, - ], - }; + // const folder = { + // id: 'root', + // name: '', + // children: [ + // { + // id: 'src_folder', + // name: 'src', + // children: [ + // { + // id: 'index.js_file', + // name: 'index.js', + // metadata: { a: '1', b: '2', c: 'test' }, + // }, + // { + // id: 'styles.css_file', + // name: 'styles.css', + // metadata: { a: '1', b: '2', c: 'test' }, + // }], + // }, + // { + // id: 'node_modules_folder', + // name: 'node_modules', + // children: [ + // { + // id: 'react-accessible-treeview-folder', + // name: 'react-accessible-treeview', + // children: [{ + // id: 'index.js_file2', + // name: 'index.js', + // }], + // }, + // { + // id: 'react_folder', + // name: 'react', + // children: [{ + // id: 'index.js_file3', + // name: 'index.js', + // }], + // }, + // ], + // }, + // { + // id: '.npmignore_file', + // name: '.npmignore', + // }, + // { + // id: 'package.json_file', + // name: 'package.json', + // }, + // { + // id: 'webpack.config.js_file', + // name: 'webpack.config.js', + // }, + // ], + // }; - const data = flattenTree(folder); - console.log(data); - - const initialData = { + const root = { id: 'root', name: '', children: [ - { - id: 'root-node', - name: '', - }, + // { + // id: 'datastore_folder', + // name: __('Datastore'), + // children: [{}], + // }, ], }; - const [rawTreeData, setRawTreeData] = useState(folder); - const [treeData, setTreeData] = useState(flattenTree(initialData)); + const [rawTreeData, setRawTreeData] = useState(root); + const [treeData, setTreeData] = useState(flattenTree(root)); const [expandedIds, setExpandedIds] = useState([]); + const [treeIds, setTreeIds] = useState(['datastore_folder']); const [key, setKey] = useState('initial'); useEffect(() => { - setTreeData(data); + const newChildren = []; + API.get('/api/automate_domains?expand=resources').then((apiData) => { + console.log(apiData); + apiData.resources.forEach((domain) => { + newChildren.push({ + id: domain.id, + name: domain.name, + children: [{}], + parent: 'datastore_folder', + metadata: {}, + }); + }); + return newChildren; + }).then((newChildren) => { + const tempIdsArray = treeIds; + newChildren.forEach((node) => { + if (!treeIds.includes(node.id)) { + tempIdsArray.push(node.id); + } + }); + const tempData = root; + tempData.children = [{ + id: 'datastore_folder', + name: __('Datastore'), + }]; + tempData.children[0].children = newChildren; + setTreeIds(tempIdsArray); + setTreeData(flattenTree(tempData)); + }); }, []); useEffect(() => { @@ -217,9 +244,9 @@ const DirectoryTreeView = () => { useEffect(() => { console.log(treeData); - if (treeData.length > 12) { - setExpandedIds(['src_folder']); - setKey('new'); + if (treeData.length > 3) { + setExpandedIds(['datastore_folder']); + setKey(treeData.length); } }, [treeData]); @@ -231,18 +258,22 @@ const DirectoryTreeView = () => { )); const FileIcon = ({ filename }) => { - const extension = filename.slice(filename.lastIndexOf('.') + 1); - switch (extension) { - case 'js': - return ; - case 'css': - return ; - case 'json': - return ; - case 'npmignore': - return ; - default: - return ; + if (filename) { + const extension = filename.slice(filename.lastIndexOf('.') + 1); + switch (extension) { + case 'js': + return ; + case 'css': + return ; + case 'json': + return ; + case 'npmignore': + return ; + default: + return ; + } + } else { + return ; } }; @@ -257,73 +288,104 @@ const DirectoryTreeView = () => { const tempData = treeData; const newChildren = []; - if (value && value.element) { - const ids = value.element.id.split('_'); - if (ids.includes('folder')) { - tempData.forEach((item) => { - if (item.id === value.element.id) { - console.log(item.name); - API.get('/api/automate_domains?expand=resources').then((apiData) => { - console.log(apiData); - apiData.resources.forEach((domain) => { - newChildren.push({ - id: domain.id, - name: domain.name, - children: [], - parent: item.id, - metadata: {}, - }); - }); - return newChildren; - }).then((newChildrenArray) => { - const newTreeData = treeData.concat(newChildrenArray[2]); - if (treeData.includes(newChildrenArray[0]) === false) { - newTreeData[1].children = ['index.js_file', 'styles.css_file', '1177']; - if (treeData.length === 12) { - setTreeData(newTreeData); - // Send all relevant data including new children and the clicked item to a new useffect using a new state variable - // From this new use effect we can set the treedata, expandedids and the key state variables - } - } + if (value && value.element && value.element.id !== 'datastore_folder') { + API.get(`/api/automate/${value.element.name}?depth=1`).then((test) => { + tempData.forEach((node) => { + if (node.id === value.element.id) { + node.children = ['new-test-0']; + tempData.push({ + id: 'new-test-0', + name: 'new test', + children: [], + parent: node.id, + metadata: {}, }); + console.log(tempData); + setTreeData(tempData); } }); - } + }); } + // if (value && value.element && value.element.id === 'datastore_folder') { + // const ids = value.element.id.split('_'); + // if (ids.includes('folder')) { + // tempData.forEach((item) => { + // if (item.id === value.element.id) { + // console.log(item.name); + // API.get('/api/automate_domains?expand=resources').then((apiData) => { + // console.log(apiData); + // apiData.resources.forEach((domain) => { + // newChildren.push({ + // id: domain.id, + // name: domain.name, + // children: [], + // parent: item.id, + // metadata: {}, + // }); + // }); + // return newChildren; + // }).then((newChildrenArray) => { + // const newTreeData = treeData; + // const tempIdsArray = treeIds; + // newChildrenArray.forEach((node) => { + // if (!treeIds.includes(node.id)) { + // newTreeData.push(node); + // tempIdsArray.push(node.id); + // newTreeData[1].children.push(node.id); + // } + // }); + // setTreeIds(tempIdsArray); + // setTreeData(newTreeData); + // // if (treeData.includes(newChildrenArray[0]) === false) { + // // // newTreeData[1].children = ['index.js_file', 'styles.css_file', '1177']; + // // if (treeData.length === 12) { + // // setTreeData(newTreeData); + // // // Send all relevant data including new children and the clicked item to a new useffect using a new state variable + // // // From this new use effect we can set the treedata, expandedids and the key state variables + // // } + // // } + // }); + // } + // }); + // } + // } }; return (
- { - getNodeProps(); - return ( -
- {isBranch ? ( - - ) : ( - - )} + {treeData.length > 1 + ? ( + { + getNodeProps(); + return ( +
+ {isBranch ? ( + + ) : ( + + )} - {element.name} -
- ); - }} - /> + {element.name} +
+ ); + }} + /> + ) : null}
); From 414a59adc7cdb2b44abcebb00389a7b9ae8ac524 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Thu, 5 Dec 2024 16:38:21 -0500 Subject: [PATCH 15/17] Subchildren working --- .../automate-entry-points/index.jsx | 49 ++++++++++++++----- 1 file changed, 38 insertions(+), 11 deletions(-) diff --git a/app/javascript/components/automate-entry-points/index.jsx b/app/javascript/components/automate-entry-points/index.jsx index 9fdaa316732..b7f7980c2ef 100644 --- a/app/javascript/components/automate-entry-points/index.jsx +++ b/app/javascript/components/automate-entry-points/index.jsx @@ -245,8 +245,8 @@ const DirectoryTreeView = () => { useEffect(() => { console.log(treeData); if (treeData.length > 3) { - setExpandedIds(['datastore_folder']); - setKey(treeData.length); + setExpandedIds(['datastore_folder', '11785']); + // setKey(treeData.length + 1); } }, [treeData]); @@ -286,22 +286,49 @@ const DirectoryTreeView = () => { const onExpand = (value) => { console.log(value); const tempData = treeData; - const newChildren = []; if (value && value.element && value.element.id !== 'datastore_folder') { - API.get(`/api/automate/${value.element.name}?depth=1`).then((test) => { - tempData.forEach((node) => { - if (node.id === value.element.id) { - node.children = ['new-test-0']; - tempData.push({ - id: 'new-test-0', - name: 'new test', + API.get(`/api/automate/${value.element.name}?depth=1`).then((newNodes) => { + const newChildren = []; + newNodes.resources.forEach((newNode) => { + if (value.element.id !== newNode.id) { + newChildren.push({ + id: newNode.id, + name: newNode.name, children: [], - parent: node.id, + parent: value.element.id, metadata: {}, }); + } + }); + console.log(newChildren); + return newChildren; + }).then((newChildrenArray) => { + console.log(newChildrenArray); + const tempIdsArray = treeIds; + newChildrenArray.forEach((node) => { + if (!treeIds.includes(node.id)) { + tempIdsArray.push(node.id); + tempData.forEach((parentNode) => { + if (parentNode.id === node.parent) { + const childrenNodesToKeep = []; + parentNode.children.forEach((child) => { + console.log(typeof child === 'string'); + console.log(child); + if (typeof child === 'string') { + childrenNodesToKeep.push(child); + } + }); + console.log(childrenNodesToKeep); + parentNode.children = childrenNodesToKeep; + parentNode.children = parentNode.children.concat(node.id); + } + }); + tempData.push(node); console.log(tempData); + setTreeIds(tempIdsArray); setTreeData(tempData); + setKey(Math.random()); } }); }); From c3a239962cc729bcec8eb41e503ac2062f9a1cae Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Thu, 2 Jan 2025 12:36:38 -0500 Subject: [PATCH 16/17] Tree working --- .../automate-entry-points/index.jsx | 80 +++++++++++++++---- yarn.lock | 13 +++ 2 files changed, 76 insertions(+), 17 deletions(-) diff --git a/app/javascript/components/automate-entry-points/index.jsx b/app/javascript/components/automate-entry-points/index.jsx index b7f7980c2ef..b1f8f29bfe0 100644 --- a/app/javascript/components/automate-entry-points/index.jsx +++ b/app/javascript/components/automate-entry-points/index.jsx @@ -245,7 +245,7 @@ const DirectoryTreeView = () => { useEffect(() => { console.log(treeData); if (treeData.length > 3) { - setExpandedIds(['datastore_folder', '11785']); + setExpandedIds(['datastore_folder']); // setKey(treeData.length + 1); } }, [treeData]); @@ -284,48 +284,93 @@ const DirectoryTreeView = () => { }; const onExpand = (value) => { - console.log(value); + console.log(value.element); const tempData = treeData; + // if (value && value.element && value.element.id !== 'datastore_folder') { + // API.get(`/api/automate/${value.element.name}?depth=-1`).then((newNodes) => { + // console.log(newNodes); + // const newChildren = []; + // newNodes.resources.forEach((newNode) => { + // if (value.element.id !== newNode.id) { + // newChildren. + // } + // }); + // }); + // } + // if (value.element.metadata && value.element.metadata.fqname) { + // console.log(value); + // console.log('STOP'); + // } if (value && value.element && value.element.id !== 'datastore_folder') { - API.get(`/api/automate/${value.element.name}?depth=1`).then((newNodes) => { + let path = value.element.name; + if (value.element.metadata && value.element.metadata.fqname) { + path = value.element.metadata.fqname; + } + API.get(`/api/automate/${path}?depth=1`).then((newNodes) => { const newChildren = []; newNodes.resources.forEach((newNode) => { if (value.element.id !== newNode.id) { - newChildren.push({ - id: newNode.id, - name: newNode.name, - children: [], - parent: value.element.id, - metadata: {}, - }); + if (newNode.klass !== 'MiqAeClass') { + newChildren.push({ + id: newNode.id, + name: newNode.name, + children: [`${newNode.id}_child_placeholder`], + parent: value.element.id, + metadata: { fqname: newNode.fqname }, + }); + newChildren.push({ + id: `${newNode.id}_child_placeholder`, + name: 'Loading', + children: [], + parent: newNode.id, + metadata: {}, + }); + } else { + newChildren.push({ + id: newNode.id, + name: newNode.name, + children: [], + parent: value.element.id, + metadata: { fqname: newNode.fqname }, + }); + } } }); - console.log(newChildren); return newChildren; }).then((newChildrenArray) => { - console.log(newChildrenArray); const tempIdsArray = treeIds; newChildrenArray.forEach((node) => { if (!treeIds.includes(node.id)) { tempIdsArray.push(node.id); tempData.forEach((parentNode) => { if (parentNode.id === node.parent) { + setExpandedIds([...expandedIds, value.element.id]); const childrenNodesToKeep = []; parentNode.children.forEach((child) => { - console.log(typeof child === 'string'); - console.log(child); if (typeof child === 'string') { childrenNodesToKeep.push(child); } }); - console.log(childrenNodesToKeep); parentNode.children = childrenNodesToKeep; - parentNode.children = parentNode.children.concat(node.id); + if (parentNode.children.length >= 1) { + parentNode.children.forEach((child) => { + if (child.includes('_placeholder')) { + parentNode.children.shift(); + } + }); + } + if (!parentNode.children.includes(node.id)) { + parentNode.children = parentNode.children.concat(node.id); + } + if (node.id.includes('_placeholder')) { + // console.log(node); + // console.log(parentNode); + // console.log(value); + } } }); tempData.push(node); - console.log(tempData); setTreeIds(tempIdsArray); setTreeData(tempData); setKey(Math.random()); @@ -333,6 +378,7 @@ const DirectoryTreeView = () => { }); }); } + // if (value && value.element && value.element.id === 'datastore_folder') { // const ids = value.element.id.split('_'); // if (ids.includes('folder')) { diff --git a/yarn.lock b/yarn.lock index 28170486fc1..c8de09053de 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11695,6 +11695,7 @@ __metadata: prop-types: "npm:^15.6.0" proxy-polyfill: "npm:^0.1.7" react: "npm:~16.13.1" + react-accessible-treeview: "npm:^2.10.0" react-bootstrap: "npm:~0.33.0" react-codemirror2: "npm:^8.0.0" react-dom: "npm:~16.13.1" @@ -14434,6 +14435,18 @@ __metadata: languageName: node linkType: hard +"react-accessible-treeview@npm:^2.10.0": + version: 2.10.0 + resolution: "react-accessible-treeview@npm:2.10.0" + peerDependencies: + classnames: ^2.2.6 + prop-types: ^15.7.2 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: 10/2bdd0a1b04534e386a9cfb1392a6c6d5ae75a13c84829d573a2b7e7188a4f7a2d2a51a80f089122d80d35f32b5d6ddbf1896fefe35f0b0974a29f58f541796f9 + languageName: node + linkType: hard + "react-bootstrap@npm:~0.33.0": version: 0.33.1 resolution: "react-bootstrap@npm:0.33.1" From 593c6fac91d6848f80680d01da1f759df61ca1d7 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Wed, 29 Jan 2025 09:29:27 -0500 Subject: [PATCH 17/17] Minor updates --- .../components/automate-entry-points/index.jsx | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/app/javascript/components/automate-entry-points/index.jsx b/app/javascript/components/automate-entry-points/index.jsx index b1f8f29bfe0..cfa4d136518 100644 --- a/app/javascript/components/automate-entry-points/index.jsx +++ b/app/javascript/components/automate-entry-points/index.jsx @@ -213,7 +213,13 @@ const DirectoryTreeView = () => { newChildren.push({ id: domain.id, name: domain.name, - children: [{}], + children: [{ + id: `${domain.id}_child_placeholder`, + name: 'Loading', + children: [], + parent: `${domain.id}`, + metadata: {}, + }], parent: 'datastore_folder', metadata: {}, }); @@ -284,8 +290,8 @@ const DirectoryTreeView = () => { }; const onExpand = (value) => { - console.log(value.element); const tempData = treeData; + console.log(value.element); // if (value && value.element && value.element.id !== 'datastore_folder') { // API.get(`/api/automate/${value.element.name}?depth=-1`).then((newNodes) => { // console.log(newNodes); @@ -303,6 +309,7 @@ const DirectoryTreeView = () => { // console.log('STOP'); // } if (value && value.element && value.element.id !== 'datastore_folder') { + miqSparkleOn(); let path = value.element.name; if (value.element.metadata && value.element.metadata.fqname) { path = value.element.metadata.fqname; @@ -373,9 +380,11 @@ const DirectoryTreeView = () => { tempData.push(node); setTreeIds(tempIdsArray); setTreeData(tempData); - setKey(Math.random()); + setKey(tempData.length); } }); + }).then(() => { + miqSparkleOff(); }); }