From 4651d908fe8fa83801a8df4d6e83e4eb25073f46 Mon Sep 17 00:00:00 2001 From: brunomilitzer Date: Fri, 25 Feb 2022 10:38:47 +0000 Subject: Renamed Control Loop to ACM Issue-ID: POLICY-3940 Change-Id: I37d768ac339e4e354a369fcb659bf36da861d7aa Signed-off-by: brunomilitzer --- gui-clamp/ui-react/src/components/dialogs/Policy/PolicyEditor.test.js | 2 +- gui-clamp/ui-react/src/components/dialogs/Policy/PolicyModal.test.js | 2 +- gui-clamp/ui-react/src/components/dialogs/Policy/ToscaViewer.test.js | 2 +- .../components/dialogs/Policy/__snapshots__/PolicyEditor.test.js.snap | 2 +- .../src/components/dialogs/Policy/toscaInstantiationData.test.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gui-clamp/ui-react/src/components/dialogs/Policy') diff --git a/gui-clamp/ui-react/src/components/dialogs/Policy/PolicyEditor.test.js b/gui-clamp/ui-react/src/components/dialogs/Policy/PolicyEditor.test.js index 5e63ab4..339d660 100644 --- a/gui-clamp/ui-react/src/components/dialogs/Policy/PolicyEditor.test.js +++ b/gui-clamp/ui-react/src/components/dialogs/Policy/PolicyEditor.test.js @@ -49,7 +49,7 @@ describe('Verify PolicyEditor', () => { ], "eventName": "vLoadBalancer", "policyVersion": "v0.0.1", - "controlLoopSchemaType": "VM", + "acmSchemaType": "VM", "policyName": "DCAE.Config_tca-hi-lo" } ] diff --git a/gui-clamp/ui-react/src/components/dialogs/Policy/PolicyModal.test.js b/gui-clamp/ui-react/src/components/dialogs/Policy/PolicyModal.test.js index 658b19e..2cb1af5 100644 --- a/gui-clamp/ui-react/src/components/dialogs/Policy/PolicyModal.test.js +++ b/gui-clamp/ui-react/src/components/dialogs/Policy/PolicyModal.test.js @@ -45,7 +45,7 @@ describe('Verify PolicyModal', () => { "name": "OPERATIONAL_h2NMX_v1_0_ResourceInstanceName1_tca", "configurationsJson": { "operational_policy": { - "controlLoop": {}, + "acm": {}, "policies": [] } }, diff --git a/gui-clamp/ui-react/src/components/dialogs/Policy/ToscaViewer.test.js b/gui-clamp/ui-react/src/components/dialogs/Policy/ToscaViewer.test.js index 5b59760..538f0a8 100644 --- a/gui-clamp/ui-react/src/components/dialogs/Policy/ToscaViewer.test.js +++ b/gui-clamp/ui-react/src/components/dialogs/Policy/ToscaViewer.test.js @@ -31,7 +31,7 @@ describe('Verify ToscaViewer', () => { let toscaYaml = fs.readFileSync('src/components/dialogs/Policy/toscaData.test.yaml', { encoding: 'utf8', flag: 'r' }) const toscaData = { - "policyModelType": "onap.policies.controlloop.Guard", + "policyModelType": "onap.policies.acm.Guard", "version": "1.0.0", "policyAcronym": "Guard", "createdDate": "2021-04-09T02:29:31.407356Z", diff --git a/gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyEditor.test.js.snap b/gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyEditor.test.js.snap index ea40bfd..ea435fc 100644 --- a/gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyEditor.test.js.snap +++ b/gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyEditor.test.js.snap @@ -12,7 +12,7 @@ exports[`Verify PolicyEditor Test the render method 1`] = ` "domain": "measurementsForVfScaling", "metricsPerEventName": Array [ Object { - "controlLoopSchemaType": "VM", + "acmSchemaType": "VM", "eventName": "vLoadBalancer", "policyName": "DCAE.Config_tca-hi-lo", "policyScope": "DCAE", diff --git a/gui-clamp/ui-react/src/components/dialogs/Policy/toscaInstantiationData.test.json b/gui-clamp/ui-react/src/components/dialogs/Policy/toscaInstantiationData.test.json index d740203..176d921 100644 --- a/gui-clamp/ui-react/src/components/dialogs/Policy/toscaInstantiationData.test.json +++ b/gui-clamp/ui-react/src/components/dialogs/Policy/toscaInstantiationData.test.json @@ -1,5 +1,5 @@ { - "controlLoopList": [ + "acmList": [ { "name": "PMSHInstance0", "version": "1.0.1", -- cgit 1.2.3-korg