aboutsummaryrefslogtreecommitdiffstats
path: root/testsuites/stability/src
diff options
context:
space:
mode:
authorSirisha_Manchikanti <sirisha.manchikanti@est.tech>2022-02-28 17:10:36 +0000
committerSirisha_Manchikanti <sirisha.manchikanti@est.tech>2022-03-02 12:12:49 +0000
commit7ec767641505f52cd8ecf8b9a76fa35afe32635e (patch)
tree90dde20bbe7d13b2ee253a7b21ea1cb18f94194e /testsuites/stability/src
parentee04ffd34d67563f1b33a4fbb1eb17e948725d0f (diff)
Rename ControlLoop to AutomationCompsition
Issue-ID: POLICY-3938 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I63188fa9bc5d634d3aeb7e2d7051c4d67b5a202c
Diffstat (limited to 'testsuites/stability/src')
-rw-r--r--testsuites/stability/src/main/resources/setup/config/jsonConfigs/apiConfigFile.json18
-rw-r--r--testsuites/stability/src/main/resources/setup/config/jsonConfigs/pdpSimConfig.json2
-rw-r--r--testsuites/stability/src/main/resources/setup/distribution/etc/defaultConfig.json32
-rw-r--r--testsuites/stability/src/main/resources/testplans/stability.jmx2
4 files changed, 27 insertions, 27 deletions
diff --git a/testsuites/stability/src/main/resources/setup/config/jsonConfigs/apiConfigFile.json b/testsuites/stability/src/main/resources/setup/config/jsonConfigs/apiConfigFile.json
index e6f076ab..63e0c4c6 100644
--- a/testsuites/stability/src/main/resources/setup/config/jsonConfigs/apiConfigFile.json
+++ b/testsuites/stability/src/main/resources/setup/config/jsonConfigs/apiConfigFile.json
@@ -36,20 +36,20 @@
"policytypes/onap.policies.optimization.service.SubscriberPolicy.yaml",
"policytypes/onap.policies.optimization.resource.Vim_fit.yaml",
"policytypes/onap.policies.optimization.resource.VnfPolicy.yaml",
- "policytypes/onap.policies.controlloop.guard.Common.yaml",
- "policytypes/onap.policies.controlloop.guard.common.Blacklist.yaml",
- "policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter.yaml",
- "policytypes/onap.policies.controlloop.guard.common.MinMax.yaml",
- "policytypes/onap.policies.controlloop.guard.common.Filter.yaml",
- "policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml",
+ "policytypes/onap.policies.acm.guard.Common.yaml",
+ "policytypes/onap.policies.acm.guard.common.Blacklist.yaml",
+ "policytypes/onap.policies.acm.guard.common.FrequencyLimiter.yaml",
+ "policytypes/onap.policies.acm.guard.common.MinMax.yaml",
+ "policytypes/onap.policies.acm.guard.common.Filter.yaml",
+ "policytypes/onap.policies.acm.guard.coordination.FirstBlocksSecond.yaml",
"policytypes/onap.policies.Naming.yaml",
"policytypes/onap.policies.Match.yaml",
"policytypes/onap.policies.native.Drools.yaml",
"policytypes/onap.policies.native.Xacml.yaml",
"policytypes/onap.policies.native.Apex.yaml",
- "policytypes/onap.policies.controlloop.operational.Common.yaml",
- "policytypes/onap.policies.controlloop.operational.common.Apex.yaml",
- "policytypes/onap.policies.controlloop.operational.common.Drools.yaml"
+ "policytypes/onap.policies.acm.operational.Common.yaml",
+ "policytypes/onap.policies.acm.operational.common.Apex.yaml",
+ "policytypes/onap.policies.acm.operational.common.Drools.yaml"
],
"preloadPolicies" : [
"policies/sdnc.policy.naming.input.tosca.yaml"
diff --git a/testsuites/stability/src/main/resources/setup/config/jsonConfigs/pdpSimConfig.json b/testsuites/stability/src/main/resources/setup/config/jsonConfigs/pdpSimConfig.json
index 396b9f7a..ee832326 100644
--- a/testsuites/stability/src/main/resources/setup/config/jsonConfigs/pdpSimConfig.json
+++ b/testsuites/stability/src/main/resources/setup/config/jsonConfigs/pdpSimConfig.json
@@ -6,7 +6,7 @@
"pdpType":"apex",
"description":"Pdp Heartbeat",
"supportedPolicyTypes":[
- {"name":"onap.policies.controlloop.operational.common.Apex","version":"1.0.0"},
+ {"name":"onap.policies.acm.operational.common.Apex","version":"1.0.0"},
{"name":"onap.policies.native.Apex","version":"1.0.0"}
]
},
diff --git a/testsuites/stability/src/main/resources/setup/distribution/etc/defaultConfig.json b/testsuites/stability/src/main/resources/setup/distribution/etc/defaultConfig.json
index 2b3078ac..8a5b769e 100644
--- a/testsuites/stability/src/main/resources/setup/distribution/etc/defaultConfig.json
+++ b/testsuites/stability/src/main/resources/setup/distribution/etc/defaultConfig.json
@@ -18,10 +18,10 @@
"decoderClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy",
"decoderConfigurationName": "toscaPolicyDecoderConfiguration"
},
- "ToscaControlLoopDecoder": {
- "decoderType": "ToscaControlLoopDecoder",
- "decoderClassName": "org.onap.policy.distribution.reception.decoding.policy.file.ControlLoopDecoderFileInCsar",
- "decoderConfigurationName": "toscaControlLoopDecoderConfiguration"
+ "ToscaAutomationCompositionDecoder": {
+ "decoderType": "ToscaAutomationCompositionDecoder",
+ "decoderClassName": "org.onap.policy.distribution.reception.decoding.policy.file.AutomationCompositionDecoderFileInCsar",
+ "decoderConfigurationName": "toscaAutomationCompositionDecoderConfiguration"
}
},
"policyForwarders": {
@@ -30,10 +30,10 @@
"forwarderClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder",
"forwarderConfigurationName": "lifecycleApiPolicyConfiguration"
},
- "LifeCycleApiControlLoopForwarder": {
- "forwarderType": "LifeCycleControlLoopAPI",
- "forwarderClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiControlLoopForwarder",
- "forwarderConfigurationName": "lifecycleApiControlLoopConfiguration"
+ "LifeCycleApiAutomationCompositionForwarder": {
+ "forwarderType": "LifeCycleAutomationCompositionAPI",
+ "forwarderClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiAutomationCompositionForwarder",
+ "forwarderConfigurationName": "lifecycleApiAutomationCompositionConfiguration"
}
}
}
@@ -56,10 +56,10 @@
"policyTypeFileName": "tosca_policy_type"
}
},
- "toscaControlLoopDecoderConfiguration": {
- "parameterClassName": "org.onap.policy.distribution.reception.decoding.policy.file.ControlLoopDecoderFileInCsarParameterGroup",
+ "toscaAutomationCompositionDecoderConfiguration": {
+ "parameterClassName": "org.onap.policy.distribution.reception.decoding.policy.file.AutomationCompositionDecoderFileInCsarParameterGroup",
"parameters": {
- "controlLoopType": "controlloop"
+ "automationCompositionType": "acm"
}
}
},
@@ -87,12 +87,12 @@
"deployPolicies": true
}
},
- "lifecycleApiControlLoopConfiguration": {
- "parameterClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiControlLoopForwarderParameters",
+ "lifecycleApiAutomationCompositionConfiguration": {
+ "parameterClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiAutomationCompositionForwarderParameters",
"parameters": {
- "controlLoopRuntimeParameters": {
- "clientName": "policy-clamp-cl-runtime",
- "hostname": "policy-clamp-cl-runtime",
+ "automationCompositionRuntimeParameters": {
+ "clientName": "policy-clamp-runtime-acm",
+ "hostname": "policy-clamp-runtime-acm",
"port": 6969,
"useHttps": true,
"userName": "policyadmin",
diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx
index 9182a97d..8022d607 100644
--- a/testsuites/stability/src/main/resources/testplans/stability.jmx
+++ b/testsuites/stability/src/main/resources/testplans/stability.jmx
@@ -364,7 +364,7 @@
<hashTree>
<JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="Assert Policy Type" enabled="true">
<stringProp name="JSON_PATH">$[:2].policy-type</stringProp>
- <stringProp name="EXPECTED_VALUE">onap.policies.controlloop.operational.common.Apex</stringProp>
+ <stringProp name="EXPECTED_VALUE">onap.policies.acm.operational.common.Apex</stringProp>
<boolProp name="JSONVALIDATION">true</boolProp>
<boolProp name="EXPECT_NULL">false</boolProp>
<boolProp name="INVERT">false</boolProp>