From f40af90febc08dcee94b8bdc2f62d6a7b78915c3 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Fri, 12 Jul 2024 13:34:59 -0400 Subject: [PATCH 01/23] 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 d3d20a2c8ed..e6bda362fac 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 6a0be897059..069d778508e 100644 --- a/app/javascript/forms/mappers/componentMapper.jsx +++ b/app/javascript/forms/mappers/componentMapper.jsx @@ -11,6 +11,7 @@ import MultiSelectWithSelectAll from '../../components/multiselect-with-selectal import FontIconPicker from '../../components/fonticon-picker'; import FontIconPickerDdf from '../../components/fonticon-picker/font-icon-picker-ddf'; import KeyValueListComponent from '../../components/key-value-list'; +import ProvisionEntryPoint from '../../components/provision-entry-point'; const mapper = { ...componentMapper, @@ -19,6 +20,7 @@ const mapper = { 'file-upload': FileUploadComponent, 'key-value-list': KeyValueListComponent, '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 1e8e81faa5ba6265e4962fce0d710d68b72d6be7 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Fri, 12 Jul 2024 13:50:50 -0400 Subject: [PATCH 02/23] 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 f91a4efe875..1d78bd33587 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 @@ -828,6 +828,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], @@ -1540,6 +1541,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 ee49645286b..92159e2c988 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 @@ -142,6 +142,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], @@ -206,6 +207,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 a6cca7aacd8..5ad0980945f 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 @@ -102,6 +102,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], @@ -196,6 +197,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], @@ -1587,6 +1589,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], @@ -1688,6 +1691,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 a3309c1043a..170701e3fe3 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 @@ -108,6 +108,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], @@ -218,6 +219,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 c8901d37111..6dd0196c468 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 @@ -140,6 +140,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], @@ -223,6 +224,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 20f77546828..4d44fdb2e69 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 @@ -72,6 +72,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], @@ -137,6 +138,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], @@ -990,6 +992,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], @@ -1055,6 +1058,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], @@ -1884,6 +1888,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], @@ -1949,6 +1954,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 756eb97e237..8c7d583a840 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 @@ -104,6 +104,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], @@ -197,6 +198,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], @@ -1644,6 +1646,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], @@ -1737,6 +1740,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], @@ -3164,6 +3168,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], @@ -3237,6 +3242,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], @@ -4257,6 +4263,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], @@ -4330,6 +4337,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], @@ -5342,6 +5350,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], @@ -5407,6 +5416,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], @@ -6193,6 +6203,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], @@ -6258,6 +6269,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 760a94acb2d..a8ba5bdf3bb 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 @@ -135,6 +135,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], @@ -229,6 +230,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], @@ -1398,6 +1400,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], @@ -1492,6 +1495,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], @@ -2648,6 +2652,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], @@ -2729,6 +2734,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], @@ -3691,6 +3697,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], @@ -3772,6 +3779,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], @@ -4749,6 +4757,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], @@ -4843,6 +4852,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], @@ -5999,6 +6009,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], @@ -6080,6 +6091,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 91ab3ae201f..586f121fe39 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 @@ -177,6 +177,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], @@ -274,6 +275,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], @@ -1765,6 +1767,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], @@ -1865,6 +1868,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 9c653c790d4..1ca397c35cf 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 @@ -115,6 +115,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], @@ -208,6 +209,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], @@ -1660,6 +1662,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], @@ -1753,6 +1756,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], @@ -3210,6 +3214,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], @@ -3308,6 +3313,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 253ade47751..8460d220c17 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 @@ -103,6 +103,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], @@ -198,6 +199,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], @@ -1610,6 +1612,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], @@ -1712,6 +1715,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 26f9dd79bcf..3c54e955ed8 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 @@ -129,6 +129,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], @@ -241,6 +242,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], @@ -2062,6 +2064,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], @@ -2195,6 +2198,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], @@ -4375,6 +4379,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], @@ -4487,6 +4492,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 8e93b5bf7e7..e67f1cf580b 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 @@ -42,6 +42,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], @@ -301,6 +302,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], @@ -563,6 +565,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], @@ -4642,6 +4645,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], @@ -4959,6 +4963,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], @@ -5279,6 +5284,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], @@ -12266,6 +12272,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], @@ -12580,6 +12587,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], @@ -12897,6 +12905,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 15cc65bd286..86de7c62a78 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 @@ -98,6 +98,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], @@ -157,6 +158,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 c274d051484..f14232d02d0 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 @@ -43,6 +43,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], @@ -264,6 +265,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], @@ -492,6 +494,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], @@ -5531,6 +5534,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], @@ -5591,6 +5595,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], @@ -5658,6 +5663,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 f7528d0d7a0..08c29901d12 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 @@ -111,6 +111,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], @@ -213,6 +214,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 3320e272d44..4da3cb9c06c 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 @@ -121,6 +121,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], @@ -231,6 +232,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], @@ -1998,6 +2000,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], @@ -2129,6 +2132,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], @@ -4255,6 +4259,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], @@ -4365,6 +4370,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 8b88311f2f4..d1f917c613f 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 @@ -32,6 +32,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], @@ -306,6 +307,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], @@ -555,6 +557,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], @@ -807,6 +810,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 61f87418796..45369597420 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 @@ -141,6 +141,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], @@ -268,6 +269,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], @@ -2769,6 +2771,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], @@ -2905,6 +2908,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], @@ -5433,6 +5437,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], @@ -5569,6 +5574,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 2b788fa6335..8f0242bfcba 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 @@ -96,6 +96,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], @@ -184,6 +185,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], @@ -1596,6 +1598,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], @@ -1690,6 +1693,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 14332a0bdb0..1f4f0613f63 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 @@ -101,6 +101,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], @@ -182,6 +183,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 5c8c95da7bd..0d6fc504b7c 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 @@ -82,6 +82,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], @@ -154,6 +155,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 42f3f037da8..0d62c0166ac 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 @@ -104,6 +104,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], @@ -411,6 +412,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], @@ -723,6 +725,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], @@ -4591,6 +4594,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], @@ -5002,6 +5006,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], @@ -5418,6 +5423,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], @@ -15940,6 +15946,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], @@ -16053,6 +16060,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], @@ -16171,6 +16179,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], @@ -17412,6 +17421,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], @@ -17630,6 +17640,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], @@ -17853,6 +17864,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], @@ -21210,6 +21222,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], @@ -21428,6 +21441,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], @@ -21651,6 +21665,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], @@ -24987,6 +25002,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], @@ -25211,6 +25227,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], @@ -25440,6 +25457,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], @@ -30041,6 +30059,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], @@ -30184,6 +30203,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], @@ -30332,6 +30352,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], @@ -32147,6 +32168,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], @@ -32559,6 +32581,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], @@ -32976,6 +32999,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], @@ -43671,6 +43695,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], @@ -43895,6 +43920,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], @@ -44124,6 +44150,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], @@ -48725,6 +48752,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], @@ -49135,6 +49163,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], @@ -49550,6 +49579,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 d742c4ecbad..28003480737 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 @@ -733,6 +733,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], @@ -1374,6 +1375,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], @@ -15548,6 +15550,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], @@ -16331,6 +16334,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], @@ -33738,6 +33742,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], @@ -34302,6 +34307,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 ea262c3510e..1aa07abc0c9 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 @@ -332,6 +332,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], @@ -534,6 +535,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 e7b8de26a77..b757dfb7eb9 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 @@ -143,6 +143,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], @@ -276,6 +277,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 555519805b7..9bb49e248aa 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 @@ -503,6 +503,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], @@ -1002,6 +1003,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 5d4979b5c8a..1b5fb5cbaa0 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 @@ -65,6 +65,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], @@ -129,6 +130,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], @@ -1093,6 +1095,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], @@ -1157,6 +1160,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], @@ -2148,6 +2152,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], @@ -2212,6 +2217,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], @@ -3056,6 +3062,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], @@ -3120,6 +3127,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 d3490c3f82e..62b07b21c81 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 @@ -75,6 +75,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], @@ -140,6 +141,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 592bd392d38..c9c0da388a0 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 @@ -68,6 +68,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], @@ -255,6 +256,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], @@ -445,6 +447,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 1137c8f3822..87f4322d7c3 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 @@ -103,6 +103,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], @@ -198,6 +199,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], @@ -1610,6 +1612,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], @@ -1712,6 +1715,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 a5986bcde2b..c4cb039d8b0 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 @@ -317,6 +317,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], @@ -488,6 +489,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 5bcde50244b8af11540f294f626bdea4ccd871bd Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Fri, 12 Jul 2024 14:25:50 -0400 Subject: [PATCH 03/23] 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 1c87aed0431c76fca8c0f94e96115270bab3ce27 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Fri, 12 Jul 2024 15:15:11 -0400 Subject: [PATCH 04/23] 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 bde78804ab2c83da6385eafe733b2afcf750f16f Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Fri, 12 Jul 2024 16:42:33 -0400 Subject: [PATCH 05/23] 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 069d778508e..59db688a5f1 100644 --- a/app/javascript/forms/mappers/componentMapper.jsx +++ b/app/javascript/forms/mappers/componentMapper.jsx @@ -11,7 +11,7 @@ import MultiSelectWithSelectAll from '../../components/multiselect-with-selectal import FontIconPicker from '../../components/fonticon-picker'; import FontIconPickerDdf from '../../components/fonticon-picker/font-icon-picker-ddf'; import KeyValueListComponent from '../../components/key-value-list'; -import ProvisionEntryPoint from '../../components/provision-entry-point'; +import EmbeddedEntryPoint from '../../components/embedded-entry-point'; const mapper = { ...componentMapper, @@ -20,7 +20,7 @@ const mapper = { 'file-upload': FileUploadComponent, 'key-value-list': KeyValueListComponent, '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 d83ca12a3ec809e41334eb7264af43546b823a6f Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Tue, 16 Jul 2024 13:06:31 -0400 Subject: [PATCH 06/23] 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 e6bda362fac..5b5384695ba 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 59db688a5f1..a9d2178da25 100644 --- a/app/javascript/forms/mappers/componentMapper.jsx +++ b/app/javascript/forms/mappers/componentMapper.jsx @@ -20,7 +20,7 @@ const mapper = { 'file-upload': FileUploadComponent, 'key-value-list': KeyValueListComponent, 'password-field': PasswordField, - 'provision-entry-point': EmbeddedEntryPoint, + 'embedded-entry-point': EmbeddedEntryPoint, 'validate-credentials': AsyncCredentials, 'tree-view': TreeViewField, 'tree-selector': TreeViewSelector, From 37ec068e5b1199e9be5ea00d424ebfeaeef0c54b Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Tue, 16 Jul 2024 13:17:01 -0400 Subject: [PATCH 07/23] 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 1d78bd33587..450f62020af 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], @@ -828,7 +829,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], @@ -1533,6 +1533,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], @@ -1541,7 +1542,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 92159e2c988..1cb07eb8e7d 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], @@ -142,7 +143,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], @@ -199,6 +199,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], @@ -207,7 +208,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 5ad0980945f..0823cae8554 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], @@ -102,7 +103,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], @@ -189,6 +189,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], @@ -197,7 +198,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], @@ -1581,6 +1581,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], @@ -1589,7 +1590,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], @@ -1683,6 +1683,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], @@ -1691,7 +1692,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 170701e3fe3..fcca7799925 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], @@ -108,7 +109,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], @@ -211,6 +211,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], @@ -219,7 +220,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 6dd0196c468..346724682f5 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], @@ -140,7 +141,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], @@ -216,6 +216,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], @@ -224,7 +225,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 4d44fdb2e69..5ed8675dc87 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], @@ -72,7 +73,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], @@ -130,6 +130,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], @@ -138,7 +139,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], @@ -984,6 +984,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], @@ -992,7 +993,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], @@ -1050,6 +1050,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], @@ -1058,7 +1059,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], @@ -1880,6 +1880,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], @@ -1888,7 +1889,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], @@ -1946,6 +1946,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], @@ -1954,7 +1955,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 8c7d583a840..8c410dd9854 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], @@ -104,7 +105,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], @@ -190,6 +190,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], @@ -198,7 +199,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], @@ -1638,6 +1638,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], @@ -1646,7 +1647,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], @@ -1732,6 +1732,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], @@ -1740,7 +1741,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], @@ -3160,6 +3160,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], @@ -3168,7 +3169,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], @@ -3234,6 +3234,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], @@ -3242,7 +3243,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], @@ -4255,6 +4255,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], @@ -4263,7 +4264,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], @@ -4329,6 +4329,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], @@ -4337,7 +4338,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], @@ -5342,6 +5342,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], @@ -5350,7 +5351,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], @@ -5408,6 +5408,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], @@ -5416,7 +5417,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], @@ -6195,6 +6195,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], @@ -6203,7 +6204,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], @@ -6261,6 +6261,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], @@ -6269,7 +6270,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 a8ba5bdf3bb..e0085822f60 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], @@ -135,7 +136,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], @@ -222,6 +222,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], @@ -230,7 +231,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], @@ -1392,6 +1392,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], @@ -1400,7 +1401,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], @@ -1487,6 +1487,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], @@ -1495,7 +1496,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], @@ -2644,6 +2644,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], @@ -2652,7 +2653,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], @@ -2726,6 +2726,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], @@ -2734,7 +2735,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], @@ -3689,6 +3689,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], @@ -3697,7 +3698,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], @@ -3771,6 +3771,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], @@ -3779,7 +3780,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], @@ -4749,6 +4749,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], @@ -4757,7 +4758,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], @@ -4844,6 +4844,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], @@ -4852,7 +4853,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], @@ -6001,6 +6001,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], @@ -6009,7 +6010,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], @@ -6083,6 +6083,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], @@ -6091,7 +6092,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 586f121fe39..e2392367e61 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], @@ -177,7 +178,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], @@ -267,6 +267,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], @@ -275,7 +276,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], @@ -1759,6 +1759,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], @@ -1767,7 +1768,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], @@ -1860,6 +1860,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], @@ -1868,7 +1869,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 1ca397c35cf..e47d876f1fb 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], @@ -115,7 +116,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], @@ -201,6 +201,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], @@ -209,7 +210,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], @@ -1654,6 +1654,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], @@ -1662,7 +1663,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], @@ -1748,6 +1748,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], @@ -1756,7 +1757,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], @@ -3206,6 +3206,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], @@ -3214,7 +3215,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], @@ -3305,6 +3305,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], @@ -3313,7 +3314,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 8460d220c17..995f332bf10 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], @@ -103,7 +104,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], @@ -191,6 +191,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], @@ -199,7 +200,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], @@ -1604,6 +1604,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], @@ -1612,7 +1613,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], @@ -1707,6 +1707,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], @@ -1715,7 +1716,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 3c54e955ed8..ab057b44798 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], @@ -129,7 +130,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], @@ -234,6 +234,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], @@ -242,7 +243,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], @@ -2056,6 +2056,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], @@ -2064,7 +2065,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], @@ -2190,6 +2190,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], @@ -2198,7 +2199,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], @@ -4371,6 +4371,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], @@ -4379,7 +4380,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], @@ -4484,6 +4484,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], @@ -4492,7 +4493,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 e67f1cf580b..005f06f6164 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], @@ -42,7 +43,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], @@ -293,6 +293,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], @@ -302,7 +303,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], @@ -556,6 +556,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], @@ -565,7 +566,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], @@ -4636,6 +4636,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], @@ -4645,7 +4646,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], @@ -4954,6 +4954,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], @@ -4963,7 +4964,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], @@ -5275,6 +5275,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], @@ -5284,7 +5285,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], @@ -12263,6 +12263,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], @@ -12272,7 +12273,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], @@ -12578,6 +12578,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], @@ -12587,7 +12588,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], @@ -12896,6 +12896,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], @@ -12905,7 +12906,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 86de7c62a78..1d7b934ff93 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], @@ -98,7 +99,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], @@ -150,6 +150,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], @@ -158,7 +159,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 f14232d02d0..b104c31912d 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], @@ -43,7 +44,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], @@ -256,6 +256,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], @@ -265,7 +266,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], @@ -485,6 +485,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], @@ -494,7 +495,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], @@ -5525,6 +5525,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], @@ -5534,7 +5535,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], @@ -5586,6 +5586,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], @@ -5595,7 +5596,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], @@ -5654,6 +5654,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], @@ -5663,7 +5664,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 08c29901d12..cbadc606f18 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], @@ -111,7 +112,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], @@ -206,6 +206,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], @@ -214,7 +215,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 4da3cb9c06c..6265fbe5a11 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], @@ -121,7 +122,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], @@ -224,6 +224,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], @@ -232,7 +233,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], @@ -1992,6 +1992,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], @@ -2000,7 +2001,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], @@ -2124,6 +2124,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], @@ -2132,7 +2133,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], @@ -4251,6 +4251,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], @@ -4259,7 +4260,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], @@ -4362,6 +4362,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], @@ -4370,7 +4371,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 d1f917c613f..4f384607178 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], @@ -32,7 +33,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], @@ -299,6 +299,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], @@ -307,7 +308,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], @@ -549,6 +549,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], @@ -557,7 +558,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], @@ -802,6 +802,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], @@ -810,7 +811,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 45369597420..7dc48873feb 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], @@ -141,7 +142,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], @@ -261,6 +261,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], @@ -269,7 +270,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], @@ -2763,6 +2763,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], @@ -2771,7 +2772,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], @@ -2900,6 +2900,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], @@ -2908,7 +2909,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], @@ -5429,6 +5429,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], @@ -5437,7 +5438,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], @@ -5566,6 +5566,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], @@ -5574,7 +5575,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 8f0242bfcba..c6176e18aa2 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], @@ -96,7 +97,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], @@ -177,6 +177,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], @@ -185,7 +186,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], @@ -1590,6 +1590,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], @@ -1598,7 +1599,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], @@ -1685,6 +1685,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], @@ -1693,7 +1694,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 1f4f0613f63..c3b500c8c0f 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], @@ -101,7 +102,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], @@ -175,6 +175,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], @@ -183,7 +184,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 0d6fc504b7c..d5f20303879 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], @@ -82,7 +83,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], @@ -147,6 +147,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], @@ -155,7 +156,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 0d62c0166ac..647a1fc12a8 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], @@ -104,7 +105,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], @@ -404,6 +404,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], @@ -412,7 +413,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], @@ -717,6 +717,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], @@ -725,7 +726,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], @@ -4586,6 +4586,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], @@ -4594,7 +4595,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], @@ -4998,6 +4998,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], @@ -5006,7 +5007,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], @@ -5415,6 +5415,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], @@ -5423,7 +5424,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], @@ -15938,6 +15938,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], @@ -15946,7 +15947,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], @@ -16052,6 +16052,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], @@ -16060,7 +16061,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], @@ -16171,6 +16171,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], @@ -16179,7 +16180,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], @@ -17413,6 +17413,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], @@ -17421,7 +17422,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], @@ -17632,6 +17632,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], @@ -17640,7 +17641,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], @@ -17856,6 +17856,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], @@ -17864,7 +17865,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], @@ -21214,6 +21214,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], @@ -21222,7 +21223,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], @@ -21433,6 +21433,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], @@ -21441,7 +21442,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], @@ -21657,6 +21657,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], @@ -21665,7 +21666,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], @@ -24994,6 +24994,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], @@ -25002,7 +25003,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], @@ -25219,6 +25219,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], @@ -25227,7 +25228,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], @@ -25449,6 +25449,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], @@ -25457,7 +25458,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], @@ -30051,6 +30051,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], @@ -30059,7 +30060,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], @@ -30195,6 +30195,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], @@ -30203,7 +30204,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], @@ -30344,6 +30344,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], @@ -30352,7 +30353,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], @@ -32160,6 +32160,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], @@ -32168,7 +32169,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], @@ -32573,6 +32573,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], @@ -32581,7 +32582,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], @@ -32991,6 +32991,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], @@ -32999,7 +33000,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], @@ -43687,6 +43687,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], @@ -43695,7 +43696,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], @@ -43912,6 +43912,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], @@ -43920,7 +43921,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], @@ -44142,6 +44142,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], @@ -44150,7 +44151,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], @@ -48744,6 +48744,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], @@ -48752,7 +48753,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], @@ -49155,6 +49155,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], @@ -49163,7 +49164,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], @@ -49571,6 +49571,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], @@ -49579,7 +49580,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 28003480737..fe236ffe7cf 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], @@ -733,7 +734,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], @@ -1367,6 +1367,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], @@ -1375,7 +1376,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], @@ -15542,6 +15542,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], @@ -15550,7 +15551,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], @@ -16326,6 +16326,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], @@ -16334,7 +16335,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], @@ -33734,6 +33734,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], @@ -33742,7 +33743,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], @@ -34299,6 +34299,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], @@ -34307,7 +34308,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 1aa07abc0c9..1a7325f6ebf 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], @@ -332,7 +333,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], @@ -527,6 +527,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], @@ -535,7 +536,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 b757dfb7eb9..942c356d0a8 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], @@ -143,7 +144,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], @@ -269,6 +269,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], @@ -277,7 +278,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 9bb49e248aa..97c84256c7c 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], @@ -503,7 +504,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], @@ -995,6 +995,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], @@ -1003,7 +1004,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 1b5fb5cbaa0..684760e4ffe 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], @@ -65,7 +66,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], @@ -122,6 +122,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], @@ -130,7 +131,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], @@ -1087,6 +1087,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], @@ -1095,7 +1096,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], @@ -1152,6 +1152,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], @@ -1160,7 +1161,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], @@ -2144,6 +2144,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], @@ -2152,7 +2153,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], @@ -2209,6 +2209,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], @@ -2217,7 +2218,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], @@ -3054,6 +3054,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], @@ -3062,7 +3063,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], @@ -3119,6 +3119,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], @@ -3127,7 +3128,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 62b07b21c81..c8867229326 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], @@ -75,7 +76,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], @@ -133,6 +133,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], @@ -141,7 +142,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 c9c0da388a0..14f175e4839 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], @@ -68,7 +69,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], @@ -248,6 +248,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], @@ -256,7 +257,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], @@ -439,6 +439,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], @@ -447,7 +448,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 87f4322d7c3..420c5d6dcbe 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], @@ -103,7 +104,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], @@ -191,6 +191,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], @@ -199,7 +200,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], @@ -1604,6 +1604,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], @@ -1612,7 +1613,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], @@ -1707,6 +1707,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], @@ -1715,7 +1716,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 c4cb039d8b0..ceb4fd2ec5d 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], @@ -317,7 +318,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], @@ -481,6 +481,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], @@ -489,7 +490,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 59f9b31840ac7e501f6f2974d1d4ccbbae4a1190 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Tue, 16 Jul 2024 13:17:27 -0400 Subject: [PATCH 08/23] 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 a9d2178da25..68ef622b41c 100644 --- a/app/javascript/forms/mappers/componentMapper.jsx +++ b/app/javascript/forms/mappers/componentMapper.jsx @@ -11,7 +11,7 @@ import MultiSelectWithSelectAll from '../../components/multiselect-with-selectal import FontIconPicker from '../../components/fonticon-picker'; import FontIconPickerDdf from '../../components/fonticon-picker/font-icon-picker-ddf'; import KeyValueListComponent from '../../components/key-value-list'; -import EmbeddedEntryPoint from '../../components/embedded-entry-point'; +import EmbeddedWorkflowEntryPoint from '../../components/embedded-workflow-entry-point'; const mapper = { ...componentMapper, @@ -20,7 +20,7 @@ const mapper = { 'file-upload': FileUploadComponent, 'key-value-list': KeyValueListComponent, '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 bf3ee49f642c87b91b6035345dff56548ad38239 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Wed, 13 Nov 2024 11:48:24 -0500 Subject: [PATCH 12/23] 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 68ef622b41c..70cce28946c 100644 --- a/app/javascript/forms/mappers/componentMapper.jsx +++ b/app/javascript/forms/mappers/componentMapper.jsx @@ -11,16 +11,18 @@ import MultiSelectWithSelectAll from '../../components/multiselect-with-selectal import FontIconPicker from '../../components/fonticon-picker'; import FontIconPickerDdf from '../../components/fonticon-picker/font-icon-picker-ddf'; import KeyValueListComponent from '../../components/key-value-list'; +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, 'key-value-list': KeyValueListComponent, '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 07e5750d7024b1b3b10c0c153c3bbf06d9a1c972 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Thu, 14 Nov 2024 13:12:21 -0500 Subject: [PATCH 13/23] 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 68f10411efa..9a7cf9a5cb5 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 ae4a1c3c0393106109a0744c64cfe15354c29389 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Thu, 5 Dec 2024 14:27:39 -0500 Subject: [PATCH 14/23] 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 e58da35897177299bab0d9a13203eeb7c3778c25 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Thu, 5 Dec 2024 16:38:21 -0500 Subject: [PATCH 15/23] 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 f6d9420ba3a66121fe49a850bad54432f72b4fb2 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Thu, 2 Jan 2025 12:36:38 -0500 Subject: [PATCH 16/23] 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 424b729a0a8..0ff8024d261 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11739,6 +11739,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" @@ -14519,6 +14520,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 d9cf0f2fdc7076aa02a10c69045c55d3b275b546 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Wed, 29 Jan 2025 09:29:27 -0500 Subject: [PATCH 17/23] 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(); }); } From a09fca2123a31de439dfbdf9a3b995d1a9ba4c6a Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Wed, 26 Feb 2025 14:12:04 -0500 Subject: [PATCH 18/23] Test new code --- .../automate-entry-points/index-working.jsx | 482 +++++++++++++ .../automate-entry-points/index.jsx | 653 ++++++------------ .../automate-entry-points/styles.css | 70 +- 3 files changed, 771 insertions(+), 434 deletions(-) create mode 100644 app/javascript/components/automate-entry-points/index-working.jsx diff --git a/app/javascript/components/automate-entry-points/index-working.jsx b/app/javascript/components/automate-entry-points/index-working.jsx new file mode 100644 index 00000000000..cfa4d136518 --- /dev/null +++ b/app/javascript/components/automate-entry-points/index-working.jsx @@ -0,0 +1,482 @@ +// 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 root = { + id: 'root', + name: '', + children: [ + // { + // id: 'datastore_folder', + // name: __('Datastore'), + // children: [{}], + // }, + ], + }; + + 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(() => { + 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: [{ + id: `${domain.id}_child_placeholder`, + name: 'Loading', + children: [], + parent: `${domain.id}`, + metadata: {}, + }], + 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(() => { + console.log(rawTreeData); + setTreeData(flattenTree(rawTreeData)); + }, [rawTreeData]); + + useEffect(() => { + console.log(treeData); + if (treeData.length > 3) { + setExpandedIds(['datastore_folder']); + // setKey(treeData.length + 1); + } + }, [treeData]); + + const FolderIcon = ({ isOpen }) => + (isOpen ? ( + + ) : ( + + )); + + const FileIcon = ({ filename }) => { + 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 ; + } + }; + + const onSelect = (value) => { + if (value && value.isSelected === true) { + console.log(value); + } + }; + + const onExpand = (value) => { + 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); + // 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') { + miqSparkleOn(); + 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) { + 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 }, + }); + } + } + }); + return newChildren; + }).then((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) => { + if (typeof child === 'string') { + childrenNodesToKeep.push(child); + } + }); + parentNode.children = childrenNodesToKeep; + 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); + setTreeIds(tempIdsArray); + setTreeData(tempData); + setKey(tempData.length); + } + }); + }).then(() => { + miqSparkleOff(); + }); + } + + // 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 ( +
+
+ {treeData.length > 1 + ? ( + { + getNodeProps(); + return ( +
+ {isBranch ? ( + + ) : ( + + )} + + {element.name} +
+ ); + }} + /> + ) : null} +
+
+ ); +}; + +DirectoryTreeView.propTypes = { +}; + +DirectoryTreeView.defaultProps = { +}; + +export default DirectoryTreeView; diff --git a/app/javascript/components/automate-entry-points/index.jsx b/app/javascript/components/automate-entry-points/index.jsx index cfa4d136518..0c36af1208a 100644 --- a/app/javascript/components/automate-entry-points/index.jsx +++ b/app/javascript/components/automate-entry-points/index.jsx @@ -1,211 +1,90 @@ -// 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 React, { useEffect, useRef, useState } from 'react'; +import { Loading } from 'carbon-components-react'; +import PropTypes from 'prop-types'; +import { + CheckboxCheckedFilled16, + Document16, + Folder16, + FolderOpen16, + CheckboxIndeterminateFilled16, + Checkbox16, + CaretDown16, +} from '@carbon/icons-react'; +import TreeView from 'react-accessible-treeview'; +import cx from 'classnames'; import './styles.css'; -const DirectoryTreeView = () => { -// const [treeData, setTreeData] = useState([{ -// id: 'root', -// name: '', -// children: [ -// { -// id: 'src_folder', -// name: 'src', -// }, -// ], -// }, -// ]); +let initialData = [ + { + name: '', + id: 0, + children: [1, 2, 3], + parent: null, + }, + { + name: 'Fruits', + children: [], + id: 1, + parent: 0, + isBranch: true, + }, + { + name: 'Drinks', + children: [4, 5], + id: 2, + parent: 0, + isBranch: true, + }, + { + name: 'Vegetables', + children: [], + id: 3, + parent: 0, + isBranch: true, + }, + { + name: 'Pine colada', + children: [], + id: 4, + parent: 2, + }, + { + name: 'Water', + children: [], + id: 5, + parent: 2, + }, +]; - // 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', - // }, - // ], - // }; +initialData = [ + { + name: 'Datastore', + id: 'datastore_folder', + children: [], + parent: null, + }, +]; - const root = { - id: 'root', - name: '', - children: [ - // { - // id: 'datastore_folder', - // name: __('Datastore'), - // children: [{}], - // }, - ], - }; +const MultiSelectCheckboxAsync = () => { + const loadedAlertElement = useRef(null); + const [data, setData] = useState(initialData); + const [nodesAlreadyLoaded, setNodesAlreadyLoaded] = useState([]); - 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'); + const updateTreeData = (list, id, children) => { + console.log(list); + console.log(id); + console.log(children); + const data = list.map((node) => { + if (node.id === id) { + node.children = children.map((el) => el.id); + } + return node; + }); + return data.concat(children); + }; useEffect(() => { + miqSparkleOn(); const newChildren = []; API.get('/api/automate_domains?expand=resources').then((apiData) => { console.log(apiData); @@ -213,270 +92,178 @@ const DirectoryTreeView = () => { newChildren.push({ id: domain.id, name: domain.name, - children: [{ - id: `${domain.id}_child_placeholder`, - name: 'Loading', - children: [], - parent: `${domain.id}`, - metadata: {}, - }], + children: [], parent: 'datastore_folder', metadata: {}, + isBranch: true, }); }); 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)); + }).then((newChildren) => new Promise((resolve) => { + setTimeout(() => { + setData((value) => updateTreeData(value, 'datastore_folder', newChildren)); + resolve(); + }, 1000); + })).then(() => { + miqSparkleOff(); }); }, []); - useEffect(() => { - console.log(rawTreeData); - setTreeData(flattenTree(rawTreeData)); - }, [rawTreeData]); + const onLoadData = ({ element }) => { + console.log(element); + return new Promise((resolve) => { + if (element.children.length > 0) { + resolve(); + return; + } + setTimeout(() => { + setData((value) => + updateTreeData(value, element.id, [ + { + name: `Child Node ${value.length}`, + children: [], + id: value.length, + parent: element.id, + isBranch: true, + }, + { + name: 'Another child Node', + children: [], + id: value.length + 1, + parent: element.id, + }, + ])); + resolve(); + }, 1000); + }); + }; - useEffect(() => { - console.log(treeData); - if (treeData.length > 3) { - setExpandedIds(['datastore_folder']); - // setKey(treeData.length + 1); - } - }, [treeData]); + const wrappedOnLoadData = async(props) => { + const nodeHasNoChildData = props.element.children.length === 0; + const nodeHasAlreadyBeenLoaded = nodesAlreadyLoaded.find( + (e) => e.id === props.element.id + ); - const FolderIcon = ({ isOpen }) => - (isOpen ? ( - - ) : ( - - )); + await onLoadData(props); - const FileIcon = ({ filename }) => { - 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 ; + if (nodeHasNoChildData && !nodeHasAlreadyBeenLoaded) { + setNodesAlreadyLoaded([...nodesAlreadyLoaded, props.element]); + + // Clearing aria-live region so loaded node alerts no longer appear in DOM + setTimeout(() => { + }, 5000); } }; const onSelect = (value) => { - if (value && value.isSelected === true) { + if (value.isBranch === false && value.isSelected) { console.log(value); } }; - const onExpand = (value) => { - 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); - // const newChildren = []; - // newNodes.resources.forEach((newNode) => { - // if (value.element.id !== newNode.id) { - // newChildren. - // } - // }); - // }); - // } + const ArrowIcon = ({ isOpen, className }) => { + const baseClass = 'arrow'; + const classes = cx( + baseClass, + { [`${baseClass}--closed`]: !isOpen }, + { [`${baseClass}--open`]: isOpen }, + className + ); + return ; + }; - // if (value.element.metadata && value.element.metadata.fqname) { - // console.log(value); - // 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; - } - API.get(`/api/automate/${path}?depth=1`).then((newNodes) => { - const newChildren = []; - newNodes.resources.forEach((newNode) => { - if (value.element.id !== newNode.id) { - 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 }, - }); - } - } - }); - return newChildren; - }).then((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) => { - if (typeof child === 'string') { - childrenNodesToKeep.push(child); - } - }); - parentNode.children = childrenNodesToKeep; - 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); - setTreeIds(tempIdsArray); - setTreeData(tempData); - setKey(tempData.length); - } - }); - }).then(() => { - miqSparkleOff(); - }); + const CheckBoxIcon = ({ variant, ...rest }) => { + switch (variant) { + case 'all': + return ; + case 'none': + return ; + case 'some': + return ; + default: + return null; } + }; - // 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 - // // } - // // } - // }); - // } - // }); - // } - // } + const FolderIcon = ({ isOpen }) => + (isOpen ? ( + + ) : ( + + )); + FolderIcon.propTypes = { + isOpen: PropTypes.bool.isRequired, }; + const FileIcon = () => ; + return ( -
-
- {treeData.length > 1 - ? ( - { - getNodeProps(); - return ( -
- {isBranch ? ( + <> +
+
+ onSelect(value)} + onLoadData={wrappedOnLoadData} + togglableSelect + nodeRenderer={({ + element, + isBranch, + isExpanded, + isSelected, + isHalfSelected, + getNodeProps, + level, + }) => { + const branchNode = (isExpanded, element) => (isExpanded && element.children.length === 0 ? ( +
+ +
+ ) : ( + null + )); + return ( +
+ {isBranch && branchNode(isExpanded, element)} + {/* { + handleSelect(e); + e.stopPropagation(); + }} + variant={ + isHalfSelected ? "some" : isSelected ? "all" : "none" + } + /> */} + {isBranch ? ( +
- ) : ( +
+ ) : ( +
- )} - - {element.name} -
- ); - }} - /> - ) : null} +
+ )} + {element.name} +
+ ); + }} + /> +
-
+ ); }; -DirectoryTreeView.propTypes = { +MultiSelectCheckboxAsync.propTypes = { + isOpen: PropTypes.bool.isRequired, }; -DirectoryTreeView.defaultProps = { +MultiSelectCheckboxAsync.defaultProps = { }; -export default DirectoryTreeView; +export default MultiSelectCheckboxAsync; diff --git a/app/javascript/components/automate-entry-points/styles.css b/app/javascript/components/automate-entry-points/styles.css index deff728d8de..2c5a9310e6e 100644 --- a/app/javascript/components/automate-entry-points/styles.css +++ b/app/javascript/components/automate-entry-points/styles.css @@ -1,4 +1,4 @@ -.directory { +/* .directory { background: #242322; font-family: monospace; font-size: 16px; @@ -45,4 +45,72 @@ .directory .icon { vertical-align: middle; padding-right: 5px; +} */ + +.iconDiv { + display: inline-flex; + margin-top: 5px; + margin-right: 5px; +} + +.loadingDiv { + display: inline-flex; + margin-right: 1rem; +} + +.checkbox { + font-size: 16px; + user-select: none; + min-height: 320px; + padding: 20px; + box-sizing: content-box; +} + +.checkbox .tree, +.checkbox .tree-node, +.checkbox .tree-node-group { + list-style: none; + margin: 0; + padding: 0; +} + +.checkbox .tree-branch-wrapper, +.checkbox .tree-node__leaf { + outline: none; +} + +.checkbox .tree-node { + cursor: pointer; +} + +.checkbox .tree-node .name:hover { + background: rgba(0, 0, 0, 0.1); +} + +.checkbox .tree-node--focused .name { + background: rgba(0, 0, 0, 0.2); +} + +.checkbox .tree-node { + display: inline-block; +} + +.checkbox .checkbox-icon { + margin: 0 5px; + vertical-align: middle; +} + +.checkbox button { + border: none; + background: transparent; + cursor: pointer; +} + +.checkbox .arrow { + margin-left: 5px; + vertical-align: middle; +} + +.checkbox .arrow--open { + transform: rotate(270deg); } \ No newline at end of file From dea5059ef9f0a27a5e87ba9370b14a8391d5d389 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Wed, 5 Mar 2025 11:05:46 -0500 Subject: [PATCH 19/23] Update automate entry point --- _history | 6 + .../automate-entry-points/index.jsx | 289 ++++++++---------- 2 files changed, 128 insertions(+), 167 deletions(-) create mode 100644 _history diff --git a/_history b/_history new file mode 100644 index 00000000000..c6ad2f08f9f --- /dev/null +++ b/_history @@ -0,0 +1,6 @@ +simulate_queue_worker +simulate_queue_worker +simulate_queue_worker +simulate_queue_worker +simulate_queue_worker +exit diff --git a/app/javascript/components/automate-entry-points/index.jsx b/app/javascript/components/automate-entry-points/index.jsx index 0c36af1208a..98201ce00ae 100644 --- a/app/javascript/components/automate-entry-points/index.jsx +++ b/app/javascript/components/automate-entry-points/index.jsx @@ -1,62 +1,15 @@ -import React, { useEffect, useRef, useState } from 'react'; -import { Loading } from 'carbon-components-react'; -import PropTypes from 'prop-types'; +import React, { useEffect, useState } from 'react'; +import { Loading, Modal, ModalBody } from 'carbon-components-react'; +import PropTypes, { number } from 'prop-types'; import { - CheckboxCheckedFilled16, Document16, Folder16, FolderOpen16, - CheckboxIndeterminateFilled16, - Checkbox16, - CaretDown16, } from '@carbon/icons-react'; import TreeView from 'react-accessible-treeview'; -import cx from 'classnames'; import './styles.css'; -let initialData = [ - { - name: '', - id: 0, - children: [1, 2, 3], - parent: null, - }, - { - name: 'Fruits', - children: [], - id: 1, - parent: 0, - isBranch: true, - }, - { - name: 'Drinks', - children: [4, 5], - id: 2, - parent: 0, - isBranch: true, - }, - { - name: 'Vegetables', - children: [], - id: 3, - parent: 0, - isBranch: true, - }, - { - name: 'Pine colada', - children: [], - id: 4, - parent: 2, - }, - { - name: 'Water', - children: [], - id: 5, - parent: 2, - }, -]; - -initialData = [ +const initialData = [ { name: 'Datastore', id: 'datastore_folder', @@ -66,14 +19,13 @@ initialData = [ ]; const MultiSelectCheckboxAsync = () => { - const loadedAlertElement = useRef(null); const [data, setData] = useState(initialData); const [nodesAlreadyLoaded, setNodesAlreadyLoaded] = useState([]); + const [open, setOpen] = useState(true); + const [selectedValue, setSelectedValue] = useState(); + const [disableSubmit, setDisableSubmit] = useState(true); const updateTreeData = (list, id, children) => { - console.log(list); - console.log(id); - console.log(children); const data = list.map((node) => { if (node.id === id) { node.children = children.map((el) => el.id); @@ -110,78 +62,73 @@ const MultiSelectCheckboxAsync = () => { }, []); const onLoadData = ({ element }) => { - console.log(element); - return new Promise((resolve) => { - if (element.children.length > 0) { - resolve(); - return; - } - setTimeout(() => { - setData((value) => - updateTreeData(value, element.id, [ - { - name: `Child Node ${value.length}`, + let path = element.name; + if (element.metadata && element.metadata.fqname) { + path = element.metadata.fqname; + } + API.get(`/api/automate/${path}?depth=1`).then((newNodes) => { + const newChildren = []; + newNodes.resources.forEach((newNode) => { + if (element.id !== newNode.id) { + if (newNode.klass !== 'MiqAeClass') { + newChildren.push({ + id: newNode.id, + name: newNode.name, children: [], - id: value.length, - parent: element.id, isBranch: true, - }, - { - name: 'Another child Node', + parent: element.id, + metadata: { fqname: newNode.fqname }, + }); + } else { + newChildren.push({ + id: newNode.id, + name: newNode.name, children: [], - id: value.length + 1, parent: element.id, - }, - ])); - resolve(); - }, 1000); + metadata: { fqname: newNode.fqname }, + }); + } + } + }); + return new Promise((resolve) => { + if (element.children.length > 0) { + resolve(); + return; + } + setTimeout(() => { + setData((value) => + updateTreeData(value, element.id, newChildren)); + resolve(); + }, 1000); + }); }); }; - const wrappedOnLoadData = async(props) => { - const nodeHasNoChildData = props.element.children.length === 0; + const wrappedOnLoadData = async({ element }) => { + const nodeHasNoChildData = element.children.length === 0; const nodeHasAlreadyBeenLoaded = nodesAlreadyLoaded.find( - (e) => e.id === props.element.id + (e) => e.id === element.id ); - await onLoadData(props); + await onLoadData({ element }); if (nodeHasNoChildData && !nodeHasAlreadyBeenLoaded) { - setNodesAlreadyLoaded([...nodesAlreadyLoaded, props.element]); + setNodesAlreadyLoaded([...nodesAlreadyLoaded, element]); - // Clearing aria-live region so loaded node alerts no longer appear in DOM setTimeout(() => { - }, 5000); + }, 1000); } }; - - const onSelect = (value) => { - if (value.isBranch === false && value.isSelected) { - console.log(value); - } + wrappedOnLoadData.propTypes = { + element: PropTypes.objectOf({ children: PropTypes.array, id: number }).isRequired, }; - - const ArrowIcon = ({ isOpen, className }) => { - const baseClass = 'arrow'; - const classes = cx( - baseClass, - { [`${baseClass}--closed`]: !isOpen }, - { [`${baseClass}--open`]: isOpen }, - className - ); - return ; + wrappedOnLoadData.defaultProps = { }; - const CheckBoxIcon = ({ variant, ...rest }) => { - switch (variant) { - case 'all': - return ; - case 'none': - return ; - case 'some': - return ; - default: - return null; + const onSelect = (value) => { + if (value.isBranch === false && value.isSelected) { + setSelectedValue(value); + setDisableSubmit(false); } }; @@ -191,76 +138,84 @@ const MultiSelectCheckboxAsync = () => { ) : ( )); + FolderIcon.propTypes = { - isOpen: PropTypes.bool.isRequired, + isOpen: PropTypes.bool, + }; + FolderIcon.defaultProps = { + isOpen: false, }; const FileIcon = () => ; return ( - <> -
-
- onSelect(value)} - onLoadData={wrappedOnLoadData} - togglableSelect - nodeRenderer={({ - element, - isBranch, - isExpanded, - isSelected, - isHalfSelected, - getNodeProps, - level, - }) => { - const branchNode = (isExpanded, element) => (isExpanded && element.children.length === 0 ? ( -
- -
- ) : ( - null - )); - return ( -
- {isBranch && branchNode(isExpanded, element)} - {/* { - handleSelect(e); - e.stopPropagation(); - }} - variant={ - isHalfSelected ? "some" : isSelected ? "all" : "none" - } - /> */} - {isBranch ? ( -
- -
- ) : ( -
- -
- )} - {element.name} -
- ); - }} - /> + { + console.log(selectedValue); + setOpen(false); + }} + onRequestClose={() => { + setOpen(false); + }} + onSecondarySubmit={() => { + setOpen(false); + }} + primaryButtonDisabled={disableSubmit} + > + +
+
+ onSelect(value)} + onLoadData={wrappedOnLoadData} + togglableSelect + nodeRenderer={({ + element, + isBranch, + isExpanded, + getNodeProps, + level, + }) => { + const branchNode = (isExpanded, element) => (isExpanded && element.children.length === 0 ? ( +
+ +
+ ) : ( + null + )); + return ( +
+ {isBranch && branchNode(isExpanded, element)} + {isBranch ? ( +
+ +
+ ) : ( +
+ +
+ )} + {element.name} +
+ ); + }} + /> +
-
- + + ); }; MultiSelectCheckboxAsync.propTypes = { - isOpen: PropTypes.bool.isRequired, }; MultiSelectCheckboxAsync.defaultProps = { From e12d31670660e284d9be554b00487c22bfa70c62 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Wed, 5 Mar 2025 14:50:26 -0500 Subject: [PATCH 20/23] Fix bugs with select --- .../automate-entry-points/index.jsx | 83 +++++++++++++++---- .../automate-entry-points/styles.css | 30 +++---- .../embedded-automate-entry-point/index.jsx | 25 +++--- .../terraform-template-catalog-form.schema.js | 32 +++---- .../components/visual-settings-form/index.jsx | 2 - .../visual-settings-form.schema.js | 32 +++---- .../workflows/workflow-entry-points.jsx | 2 +- 7 files changed, 125 insertions(+), 81 deletions(-) diff --git a/app/javascript/components/automate-entry-points/index.jsx b/app/javascript/components/automate-entry-points/index.jsx index 98201ce00ae..d28d8c7c909 100644 --- a/app/javascript/components/automate-entry-points/index.jsx +++ b/app/javascript/components/automate-entry-points/index.jsx @@ -1,6 +1,6 @@ import React, { useEffect, useState } from 'react'; import { Loading, Modal, ModalBody } from 'carbon-components-react'; -import PropTypes, { number } from 'prop-types'; +import PropTypes from 'prop-types'; import { Document16, Folder16, @@ -18,12 +18,14 @@ const initialData = [ }, ]; -const MultiSelectCheckboxAsync = () => { +const AutomateEntryPoints = ({ + selected, selectedValue, showModal, setShowModal, setSelectedValue, +}) => { const [data, setData] = useState(initialData); + const [isLoading, setIsLoading] = useState(true); const [nodesAlreadyLoaded, setNodesAlreadyLoaded] = useState([]); - const [open, setOpen] = useState(true); - const [selectedValue, setSelectedValue] = useState(); const [disableSubmit, setDisableSubmit] = useState(true); + const [selectedNode, setSelectedNode] = useState(); const updateTreeData = (list, id, children) => { const data = list.map((node) => { @@ -35,6 +37,18 @@ const MultiSelectCheckboxAsync = () => { return data.concat(children); }; + useEffect(() => { + if (selectedValue.element) { + data.forEach((node) => { + if (node.id === selectedValue.element.id) { + console.log(document.getElementById(node.id)); + document.getElementById(node.id).classList.add('currently-selected'); + document.getElementById(node.id).style.backgroundColor = 'rgba(0, 0, 0, 0.2)'; + } + }); + } + }, [selectedValue]); + useEffect(() => { miqSparkleOn(); const newChildren = []; @@ -57,6 +71,7 @@ const MultiSelectCheckboxAsync = () => { resolve(); }, 1000); })).then(() => { + setIsLoading(false); miqSparkleOff(); }); }, []); @@ -120,18 +135,40 @@ const MultiSelectCheckboxAsync = () => { } }; wrappedOnLoadData.propTypes = { - element: PropTypes.objectOf({ children: PropTypes.array, id: number }).isRequired, + element: PropTypes.objectOf({ children: PropTypes.array, id: PropTypes.number }).isRequired, }; wrappedOnLoadData.defaultProps = { }; const onSelect = (value) => { + console.log(value.element); if (value.isBranch === false && value.isSelected) { - setSelectedValue(value); + data.forEach((node) => { + if (selectedNode && (node.id === selectedNode.element.id)) { + console.log(selectedNode); + document.getElementById(node.id).style.backgroundColor = 'transparent'; + // #b8b8b8 + // document.getElementById(node.id).classList.remove('prevSelected'); + // document.getElementById(node.id).parentNode.className = 'tree-leaf-list-item'; + // document.getElementById(node.id).className = 'tree-node'; + // document.getElementById(node.id).setAttribute('aria-selected', 'false'); + } + }); + document.getElementById(value.element.id).style.backgroundColor = 'rgba(0, 0, 0, 0.2)'; + setSelectedNode(value); setDisableSubmit(false); } }; + const onExpand = ((value) => { + console.log('test'); + console.log(value); + console.log(selectedNode); + if (value.isExpanded && selectedNode && document.getElementById(selectedNode.element.id)) { + document.getElementById(selectedNode.element.id).style.backgroundColor = 'rgba(0, 0, 0, 0.2)'; + } + }); + const FolderIcon = ({ isOpen }) => (isOpen ? ( @@ -148,31 +185,32 @@ const MultiSelectCheckboxAsync = () => { const FileIcon = () => ; - return ( + return !isLoading && ( { - console.log(selectedValue); - setOpen(false); + setSelectedValue(selectedNode); + setShowModal(false); }} onRequestClose={() => { - setOpen(false); + setShowModal(false); }} onSecondarySubmit={() => { - setOpen(false); + setShowModal(false); }} primaryButtonDisabled={disableSubmit} >
-
+
onSelect(value)} onLoadData={wrappedOnLoadData} + onExpand={(value) => onExpand(value)} togglableSelect nodeRenderer={({ element, @@ -192,6 +230,7 @@ const MultiSelectCheckboxAsync = () => {
{isBranch && branchNode(isExpanded, element)} {isBranch ? ( @@ -215,10 +254,20 @@ const MultiSelectCheckboxAsync = () => { ); }; -MultiSelectCheckboxAsync.propTypes = { +AutomateEntryPoints.propTypes = { + field: PropTypes.string.isRequired, + type: PropTypes.string.isRequired, + selected: PropTypes.string, + selectedValue: PropTypes.objectOf(PropTypes.any), + showModal: PropTypes.bool, + setShowModal: PropTypes.func.isRequired, + setSelectedValue: PropTypes.func.isRequired, }; -MultiSelectCheckboxAsync.defaultProps = { +AutomateEntryPoints.defaultProps = { + selected: '', + selectedValue: {}, + showModal: false, }; -export default MultiSelectCheckboxAsync; +export default AutomateEntryPoints; diff --git a/app/javascript/components/automate-entry-points/styles.css b/app/javascript/components/automate-entry-points/styles.css index 2c5a9310e6e..f188939a865 100644 --- a/app/javascript/components/automate-entry-points/styles.css +++ b/app/javascript/components/automate-entry-points/styles.css @@ -58,7 +58,7 @@ margin-right: 1rem; } -.checkbox { +.automate_entry_points { font-size: 16px; user-select: none; min-height: 320px; @@ -66,51 +66,53 @@ box-sizing: content-box; } -.checkbox .tree, -.checkbox .tree-node, -.checkbox .tree-node-group { +.automate_entry_points .tree, +.automate_entry_points .tree-node, +.automate_entry_points .tree-node-group { list-style: none; margin: 0; padding: 0; } -.checkbox .tree-branch-wrapper, -.checkbox .tree-node__leaf { +.automate_entry_points .tree-branch-wrapper, +.automate_entry_points .tree-node__leaf { outline: none; } -.checkbox .tree-node { +.automate_entry_points .tree-node { cursor: pointer; } -.checkbox .tree-node .name:hover { +.automate_entry_points .tree-node .name:hover { background: rgba(0, 0, 0, 0.1); + background-color: transparent; } -.checkbox .tree-node--focused .name { +.automate_entry_points .tree-node--focused .name { background: rgba(0, 0, 0, 0.2); + background-color: transparent; } -.checkbox .tree-node { +.automate_entry_points .tree-node { display: inline-block; } -.checkbox .checkbox-icon { +.automate_entry_points .checkbox-icon { margin: 0 5px; vertical-align: middle; } -.checkbox button { +.automate_entry_points button { border: none; background: transparent; cursor: pointer; } -.checkbox .arrow { +.automate_entry_points .arrow { margin-left: 5px; vertical-align: middle; } -.checkbox .arrow--open { +.automate_entry_points .arrow--open { transform: rotate(270deg); } \ No newline at end of file diff --git a/app/javascript/components/embedded-automate-entry-point/index.jsx b/app/javascript/components/embedded-automate-entry-point/index.jsx index bb545d06de6..366611f883f 100644 --- a/app/javascript/components/embedded-automate-entry-point/index.jsx +++ b/app/javascript/components/embedded-automate-entry-point/index.jsx @@ -12,12 +12,13 @@ const EmbeddedAutomateEntryPoint = (props) => { const { input } = useFieldApi(props); const [showModal, setShowModal] = useState(false); - const [selectedValue, setSelectedValue] = useState({}); + const [selectedValue, setSelectedValue] = useState(); const [textValue, setTextValue] = useState(''); useEffect(() => { - if (selectedValue && selectedValue.name && selectedValue.name.text) { - setTextValue(selectedValue.name.text); + console.log(selectedValue); + if (selectedValue && selectedValue.element && selectedValue.element.name && selectedValue.element.metadata) { + setTextValue(selectedValue.element.metadata.fqname); } else { setTextValue(''); } @@ -32,15 +33,15 @@ const EmbeddedAutomateEntryPoint = (props) => { return (
- {showModal ? ( - - ) : undefined} +
setTextValue(value.target.value)} value={textValue} /> 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 57c2f2c6c15..6d0b5c68e2f 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 @@ -38,30 +38,30 @@ const basicInformationTabSchema = (availableCatalogs, tenantTree, roleAllows, zo 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-automate-entry-point', + // component: componentTypes.TEXT_FIELD, // id: 'provisioning_entry_point_automate', // name: 'provisioning_entry_point_automate', - // label: 'Provisioning Entry Point', - // field: 'fqname', - // selected: '', - // type: 'provision', + // label: __('Provisioning Entry Point'), + // initialValue: '/Service/Generic/StateMachines/GenericLifecycle/provision', // condition: { // when: 'provisioning_entry_point_type', // 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/visual-settings-form/index.jsx b/app/javascript/components/visual-settings-form/index.jsx index b2b9bd71386..9a2be5ca7c0 100644 --- a/app/javascript/components/visual-settings-form/index.jsx +++ b/app/javascript/components/visual-settings-form/index.jsx @@ -3,7 +3,6 @@ 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 }); @@ -43,7 +42,6 @@ const VisualSettingsForm = ({ recordId }) => { } return (
- { -// 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: [ + { + 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: componentTypes.SUB_FORM, name: 'general-subform', diff --git a/app/javascript/components/workflows/workflow-entry-points.jsx b/app/javascript/components/workflows/workflow-entry-points.jsx index ecb653b15ec..2012f59874f 100644 --- a/app/javascript/components/workflows/workflow-entry-points.jsx +++ b/app/javascript/components/workflows/workflow-entry-points.jsx @@ -99,9 +99,9 @@ const WorkflowEntryPoints = ({ /> - ); }; + WorkflowEntryPoints.propTypes = { field: PropTypes.string.isRequired, type: PropTypes.string.isRequired, From 7154d492a5b2b6b1ea96fc36ac9790c7a5dea26e Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Thu, 13 Mar 2025 10:34:06 -0400 Subject: [PATCH 21/23] Add fields to form --- .../terraform-template-catalog-form.schema.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 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 6d0b5c68e2f..b6655684f7d 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 @@ -84,10 +84,13 @@ const basicInformationTabSchema = (availableCatalogs, tenantTree, roleAllows, zo options: [{ value: 'embedded_automate', label: __('Embedded Automate') }, { value: 'embedded_workflow', label: __('Embedded Workflow') }], }, { - component: componentTypes.TEXT_FIELD, + component: 'embedded-automate-entry-point', id: 'reconfigure_entry_point_automate', - name: 'reconfigure_entry_point_automate', - label: __('Reconfigure Entry Point'), + name: 'recounfigure_entry_point_automate', + label: 'Reconfigure Entry Point', + field: 'fqname', + selected: '', + type: 'provision', condition: { when: 'reconfigure_entry_point_type', is: 'embedded_automate', From cb5f418b9fd1e7b0865ea80c34a77ad828fa28b4 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Wed, 26 Mar 2025 12:27:44 -0400 Subject: [PATCH 22/23] Snapshot spec update --- .../visual-settings-form.schema.js | 13 --- .../__snapshots__/action-form.spec.js.snap | 6 +- ...d-remove-security-groups-form.spec.js.snap | 6 +- .../ansible-credentials-form.spec.js.snap | 12 ++- .../ansible-edit-catalog-form.spec.js.snap | 27 ++++-- .../c-and-u-collections-form.spec.js.snap | 6 +- .../cloud-database-form.spec.js.snap | 6 +- ...d-object-store-container-form.spec.js.snap | 18 ++-- .../cloud-volume-actions-form.spec.js.snap | 36 +++++--- ...tach-detach-cloud-volume-form.spec.js.snap | 36 +++++--- .../__snapshots__/datastore-form.spec.js.snap | 12 ++- .../diagnostics-collect-log-form.spec.js.snap | 18 ++-- ...ed-terraform-credentials-form.spec.js.snap | 12 ++- .../__snapshots__/evacuate-form.spec.js.snap | 18 ++-- .../generic-objects-form.spec.js.snap | 27 ++++-- .../host-aggregate-form.spec.js.snap | 6 +- .../__snapshots__/host-edit-form.spec.js.snap | 18 ++-- .../host-initiator-group.spec.js.snap | 6 +- .../live-migrate-form.spec.js.snap | 18 ++-- .../physical-storage-form.spec.js.snap | 12 ++- ...e-customization-template-form.spec.js.snap | 18 ++-- .../pxe-image-type-form.spec.js.snap | 12 ++- .../pxe-iso-datastore-form.spec.js.snap | 6 +- .../pxe-iso-image-form.spec.js.snap | 6 +- .../reconfigure-vm-form.spec.js.snap | 90 ++++++++++++------- .../__snapshots__/schedule-form.spec.js.snap | 18 ++-- .../service-request-default-form.spec.js.snap | 6 +- .../settings-category-form.spec.js.snap | 6 +- .../settings-time-profile-form.spec.js.snap | 6 +- .../vm-floating-ips-form.spec.js.snap | 24 +++-- .../__snapshots__/vm-resize-form.spec.js.snap | 6 +- ...kflow-credential-mapping-form.spec.js.snap | 9 +- .../workflow-credentials-form.spec.js.snap | 12 ++- .../__snapshots__/zone-form.spec.js.snap | 6 +- 34 files changed, 350 insertions(+), 188 deletions(-) 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 b8ba365c1b7..26c7c881422 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 @@ -2,19 +2,6 @@ import { componentTypes } from '@@ddf'; const createSchema = (timezoneOptions) => ({ fields: [ - { - 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: componentTypes.SUB_FORM, name: 'general-subform', 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 450f62020af..9d123c24579 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,7 +820,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1533,7 +1534,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 1cb07eb8e7d..72d8afdddbf 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,7 +134,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -199,7 +200,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 0823cae8554..bf8f651ffc5 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,7 +94,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -189,7 +190,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1581,7 +1583,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1683,7 +1686,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 77abdeae73d..5eab1366a50 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,7 +1326,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3537,7 +3538,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5755,7 +5757,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -59581,7 +59584,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -61801,7 +61805,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -64028,7 +64033,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -120779,7 +120785,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -122990,7 +122997,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -125208,7 +125216,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 fcca7799925..bd5a0a74490 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,7 +100,8 @@ exports[`DiagnosticsCURepairForm Component Should add a record from DiagnosticsC "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], - "embedded-entry-point": [Function], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -211,7 +212,8 @@ exports[`DiagnosticsCURepairForm Component Should add a record from DiagnosticsC "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], - "embedded-entry-point": [Function], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 346724682f5..565a9d709b6 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,7 +132,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -216,7 +217,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 5ed8675dc87..cda9a34a03e 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,7 +64,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -130,7 +131,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -984,7 +986,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1050,7 +1053,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1880,7 +1884,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1946,7 +1951,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 8c410dd9854..aaa7be01fdd 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,7 +96,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -190,7 +191,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1638,7 +1640,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1732,7 +1735,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3160,7 +3164,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3234,7 +3239,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4255,7 +4261,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4329,7 +4336,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5342,7 +5350,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5408,7 +5417,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -6195,7 +6205,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -6261,7 +6272,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 e0085822f60..bc59b82ebdd 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,7 +127,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -222,7 +223,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1392,7 +1394,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1487,7 +1490,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2644,7 +2648,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2726,7 +2731,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3689,7 +3695,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3771,7 +3778,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4749,7 +4757,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4844,7 +4853,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -6001,7 +6011,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -6083,7 +6094,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 e2392367e61..caeb23bc7c3 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,7 +169,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -267,7 +268,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1759,7 +1761,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1860,7 +1863,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 e47d876f1fb..9d8a90c83e7 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,7 +107,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -201,7 +202,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1654,7 +1656,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1748,7 +1751,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3206,7 +3210,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3305,7 +3310,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 995f332bf10..cde9915dbab 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,7 +95,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -191,7 +192,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1604,7 +1606,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1707,7 +1710,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 ab057b44798..8fd83cfdd8f 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,7 +121,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -234,7 +235,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2056,7 +2058,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2190,7 +2193,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4371,7 +4375,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4484,7 +4489,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 005f06f6164..3bfdf125352 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,7 +33,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -293,7 +294,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -556,7 +558,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -4636,7 +4639,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -4954,7 +4958,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -5275,7 +5280,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -12263,7 +12269,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -12578,7 +12585,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [Function], @@ -12896,7 +12904,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-edit": [Function], "file-upload": [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 1d7b934ff93..abe7e1d952e 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,7 +90,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -150,7 +151,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 b104c31912d..9e7faa30795 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,7 +34,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -256,7 +257,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -485,7 +487,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5525,7 +5528,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5586,7 +5590,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5654,7 +5659,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 cbadc606f18..165568fa6d0 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,7 +103,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -206,7 +207,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 6265fbe5a11..424de5b17c7 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,7 +113,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -224,7 +225,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1992,7 +1994,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2124,7 +2127,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4251,7 +4255,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4362,7 +4367,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 4f384607178..183b6212b45 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,7 +24,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -299,7 +300,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -549,7 +551,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -802,7 +805,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 7dc48873feb..791bd8563af 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,7 +133,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -261,7 +262,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2763,7 +2765,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2900,7 +2903,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5429,7 +5433,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5566,7 +5571,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 c6176e18aa2..9157994f317 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,7 +88,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -177,7 +178,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1590,7 +1592,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1685,7 +1688,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 c3b500c8c0f..885c991ac0a 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,7 +93,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -175,7 +176,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 d5f20303879..1de51401fe7 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,7 +74,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -147,7 +148,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 647a1fc12a8..fb6094539ac 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,7 +96,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -404,7 +405,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -717,7 +719,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4586,7 +4589,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -4998,7 +5002,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -5415,7 +5420,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -15938,7 +15944,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -16052,7 +16059,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -16171,7 +16179,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -17413,7 +17422,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -17632,7 +17642,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -17856,7 +17867,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -21214,7 +21226,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -21433,7 +21446,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -21657,7 +21671,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -24994,7 +25009,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -25219,7 +25235,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -25449,7 +25466,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -30051,7 +30069,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -30195,7 +30214,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -30344,7 +30364,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -32160,7 +32181,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -32573,7 +32595,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -32991,7 +33014,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -43687,7 +43711,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -43912,7 +43937,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -44142,7 +44168,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -48744,7 +48771,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -49155,7 +49183,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -49571,7 +49600,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 fe236ffe7cf..4b0ba541a76 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,7 +725,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1367,7 +1368,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -15542,7 +15544,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -16326,7 +16329,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -33734,7 +33738,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -34299,7 +34304,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 1a7325f6ebf..9974503a718 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,7 +324,8 @@ exports[`Show Service Request Page should render 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], - "embedded-entry-point": [Function], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -527,7 +528,8 @@ exports[`Show Service Request Page should render 1`] = ` "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], - "embedded-entry-point": [Function], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 942c356d0a8..911a57d8572 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,7 +135,8 @@ exports[`SettingsCategoryForm Component should render a new SettingsCategoryForm "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], - "embedded-entry-point": [Function], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -269,7 +270,8 @@ exports[`SettingsCategoryForm Component should render a new SettingsCategoryForm "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], - "embedded-entry-point": [Function], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 97c84256c7c..f55f28a80b2 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,7 +495,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -995,7 +996,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 684760e4ffe..e0249f182c7 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,7 +57,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -122,7 +123,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1087,7 +1089,8 @@ exports[`Associate / Disassociate form component should render disassociate form "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], - "embedded-entry-point": [Function], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1152,7 +1155,8 @@ exports[`Associate / Disassociate form component should render disassociate form "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], - "embedded-entry-point": [Function], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2144,7 +2148,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -2209,7 +2214,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3054,7 +3060,8 @@ exports[`Associate / Disassociate form component should submit Disassociate API "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], - "embedded-entry-point": [Function], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -3119,7 +3126,8 @@ exports[`Associate / Disassociate form component should submit Disassociate API "date-picker": [Function], "dual-list-select": [Function], "edit-password-field": [Function], - "embedded-entry-point": [Function], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 c8867229326..15a030ad2b2 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,7 +67,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -133,7 +134,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 14f175e4839..46dbe52751e 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,7 +60,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -248,7 +249,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -439,7 +441,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 420c5d6dcbe..3c8754b5f07 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,7 +95,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -191,7 +192,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1604,7 +1606,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -1707,7 +1710,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [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 ceb4fd2ec5d..7f7416f31a0 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,7 +309,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], @@ -481,7 +482,8 @@ 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], + "embedded-automate-entry-point": [Function], + "embedded-workflow-entry-point": [Function], "field-array": [Function], "file-upload": [Function], "font-icon-picker": [Function], From a58dd1e209b926f047af655a67fc0fb09880cf90 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Mon, 21 Apr 2025 15:46:11 -0400 Subject: [PATCH 23/23] Update ui --- .../automate-entry-points/index.jsx | 37 ++++++++++++++----- .../automate-entry-points/styles.css | 4 ++ .../embedded-automate-entry-point/index.jsx | 30 +++++++++++---- .../embedded-workflow-entry-point/index.jsx | 4 +- .../terraform-template-catalog-form.schema.js | 25 ++++++++++--- .../visual-settings-form.schema.js | 9 +++++ 6 files changed, 82 insertions(+), 27 deletions(-) diff --git a/app/javascript/components/automate-entry-points/index.jsx b/app/javascript/components/automate-entry-points/index.jsx index d28d8c7c909..3b31212d879 100644 --- a/app/javascript/components/automate-entry-points/index.jsx +++ b/app/javascript/components/automate-entry-points/index.jsx @@ -1,5 +1,7 @@ import React, { useEffect, useState } from 'react'; -import { Loading, Modal, ModalBody } from 'carbon-components-react'; +import { + Checkbox, Loading, Modal, ModalBody, +} from 'carbon-components-react'; import PropTypes from 'prop-types'; import { Document16, @@ -19,7 +21,7 @@ const initialData = [ ]; const AutomateEntryPoints = ({ - selected, selectedValue, showModal, setShowModal, setSelectedValue, + selected, selectedValue, showModal, includeDomainPrefix, setSelectedValue, setShowModal, setIncludeDomainPrefix, }) => { const [data, setData] = useState(initialData); const [isLoading, setIsLoading] = useState(true); @@ -41,7 +43,7 @@ const AutomateEntryPoints = ({ if (selectedValue.element) { data.forEach((node) => { if (node.id === selectedValue.element.id) { - console.log(document.getElementById(node.id)); + // console.log(document.getElementById(node.id)); document.getElementById(node.id).classList.add('currently-selected'); document.getElementById(node.id).style.backgroundColor = 'rgba(0, 0, 0, 0.2)'; } @@ -60,7 +62,7 @@ const AutomateEntryPoints = ({ name: domain.name, children: [], parent: 'datastore_folder', - metadata: {}, + metadata: { parent: domain.name }, isBranch: true, }); }); @@ -92,7 +94,7 @@ const AutomateEntryPoints = ({ children: [], isBranch: true, parent: element.id, - metadata: { fqname: newNode.fqname }, + metadata: { domain_fqname: newNode.domain_fqname, fqname: newNode.fqname }, }); } else { newChildren.push({ @@ -100,7 +102,7 @@ const AutomateEntryPoints = ({ name: newNode.name, children: [], parent: element.id, - metadata: { fqname: newNode.fqname }, + metadata: { domain_fqname: newNode.domain_fqname, fqname: newNode.fqname }, }); } } @@ -161,9 +163,9 @@ const AutomateEntryPoints = ({ }; const onExpand = ((value) => { - console.log('test'); - console.log(value); - console.log(selectedNode); + // console.log('test'); + // console.log(value); + // console.log(selectedNode); if (value.isExpanded && selectedNode && document.getElementById(selectedNode.element.id)) { document.getElementById(selectedNode.element.id).style.backgroundColor = 'rgba(0, 0, 0, 0.2)'; } @@ -248,6 +250,17 @@ const AutomateEntryPoints = ({ }} />
+ {setIncludeDomainPrefix + ? ( +
+ setIncludeDomainPrefix(checked)} + /> +
+ ) : null}
@@ -260,14 +273,18 @@ AutomateEntryPoints.propTypes = { selected: PropTypes.string, selectedValue: PropTypes.objectOf(PropTypes.any), showModal: PropTypes.bool, - setShowModal: PropTypes.func.isRequired, + includeDomainPrefix: PropTypes.bool, setSelectedValue: PropTypes.func.isRequired, + setShowModal: PropTypes.func.isRequired, + setIncludeDomainPrefix: PropTypes.func, }; AutomateEntryPoints.defaultProps = { selected: '', selectedValue: {}, showModal: false, + includeDomainPrefix: false, + setIncludeDomainPrefix: undefined, }; export default AutomateEntryPoints; diff --git a/app/javascript/components/automate-entry-points/styles.css b/app/javascript/components/automate-entry-points/styles.css index f188939a865..a5ffa52c4ef 100644 --- a/app/javascript/components/automate-entry-points/styles.css +++ b/app/javascript/components/automate-entry-points/styles.css @@ -115,4 +115,8 @@ .automate_entry_points .arrow--open { transform: rotate(270deg); +} + +.checkboxDiv { + float: right; } \ No newline at end of file diff --git a/app/javascript/components/embedded-automate-entry-point/index.jsx b/app/javascript/components/embedded-automate-entry-point/index.jsx index 366611f883f..2ad58c67b60 100644 --- a/app/javascript/components/embedded-automate-entry-point/index.jsx +++ b/app/javascript/components/embedded-automate-entry-point/index.jsx @@ -7,22 +7,35 @@ import AutomateEntryPoints from '../automate-entry-points'; const EmbeddedAutomateEntryPoint = (props) => { const { - label, initialValue, id, field, selected, type, + label, id, field, selected, type, } = props; const { input } = useFieldApi(props); + // const { meta } = useFieldApi(props); + // const initialValue = meta.initial; const [showModal, setShowModal] = useState(false); const [selectedValue, setSelectedValue] = useState(); const [textValue, setTextValue] = useState(''); + const [includeDomainPrefix, setIncludeDomainPrefix] = useState(false); + + useEffect(() => { + if (selected) { + setTextValue(selected); + setSelectedValue(selected); + } + }, []); useEffect(() => { - console.log(selectedValue); if (selectedValue && selectedValue.element && selectedValue.element.name && selectedValue.element.metadata) { - setTextValue(selectedValue.element.metadata.fqname); - } else { + if (includeDomainPrefix) { + setTextValue(selectedValue.element.metadata.fqname); + } else { + setTextValue(selectedValue.element.metadata.domain_fqname); + } + } else if (!selected) { setTextValue(''); } - }, [selectedValue]); + }, [selectedValue, includeDomainPrefix]); useEffect(() => { if (selectedValue && selectedValue.name && selectedValue.name.text) { @@ -38,9 +51,11 @@ const EmbeddedAutomateEntryPoint = (props) => { selected={selected} selectedValue={selectedValue} showModal={showModal} + includeDomainPrefix={includeDomainPrefix} type={type} - setShowModal={setShowModal} setSelectedValue={setSelectedValue} + setShowModal={setShowModal} + setIncludeDomainPrefix={setIncludeDomainPrefix} />
@@ -62,6 +77,7 @@ const EmbeddedAutomateEntryPoint = (props) => { hasIconOnly onClick={() => { setSelectedValue({}); + setTextValue(''); }} />
@@ -74,14 +90,12 @@ const EmbeddedAutomateEntryPoint = (props) => { EmbeddedAutomateEntryPoint.propTypes = { id: PropTypes.string.isRequired, label: PropTypes.string.isRequired, - initialValue: PropTypes.string, field: PropTypes.string.isRequired, selected: PropTypes.string, type: PropTypes.string.isRequired, }; EmbeddedAutomateEntryPoint.defaultProps = { - initialValue: '', selected: '', }; diff --git a/app/javascript/components/embedded-workflow-entry-point/index.jsx b/app/javascript/components/embedded-workflow-entry-point/index.jsx index 3c5cc49bad2..db3d08a4f04 100644 --- a/app/javascript/components/embedded-workflow-entry-point/index.jsx +++ b/app/javascript/components/embedded-workflow-entry-point/index.jsx @@ -7,7 +7,7 @@ import WorkflowEntryPoints from '../workflows/workflow-entry-points'; const EmbeddedWorkflowEntryPoint = (props) => { const { - label, initialValue, id, field, selected, type, + label, id, field, selected, type, } = props; const { input } = useFieldApi(props); @@ -73,14 +73,12 @@ const EmbeddedWorkflowEntryPoint = (props) => { 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: '', }; 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 b6655684f7d..ba8453b871d 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 @@ -128,16 +128,29 @@ const basicInformationTabSchema = (availableCatalogs, tenantTree, roleAllows, zo is: 'embedded_automate', }, }, + { + component: 'embedded-automate-entry-point', + id: 'reconfigure_entry_point_automate', + name: 'recounfigure_entry_point_automate', + label: 'Reconfigure Entry Point', + field: 'fqname', + selected: '', + type: 'provision', + condition: { + when: 'reconfigure_entry_point_type', + is: 'embedded_automate', + }, + }, { component: 'embedded-workflow-entry-point', - id: 'retirement_entry_point_workflow', - name: 'retirement_entry_point_workflow', - label: 'Retirement Entry Point', - field: 'retire_fqname', + id: 'reconfigure_entry_point_workflow', + name: 'reconfigure_entry_point_workflow', + label: 'Reconfigure Entry Point', + field: 'fqname', selected: '', - type: 'retire', + type: 'provision', condition: { - when: 'retirement_entry_point_type', + when: 'reconfigure_entry_point_type', is: 'embedded_workflow', }, }, 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..58f54ca0369 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 @@ -7,6 +7,15 @@ const createSchema = (timezoneOptions) => ({ name: 'general-subform', title: __('General'), fields: [ + { + component: 'embedded-automate-entry-point', + id: 'provisioning_entry_point_automate', + name: 'provisioning_entry_point_automate', + label: 'Provisioning Entry Point', + field: 'fqname', + selected: '', + type: 'provision', + }, { component: componentTypes.SELECT, name: 'view.compare',