aboutsummaryrefslogtreecommitdiffstats
path: root/testsuites/stability
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-04-28 16:23:57 +0100
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-05-02 18:02:16 +0100
commit8c13c6515fcec3b97825493bceb39b885aff559b (patch)
treea560fadf28d861118053a7589965c76a8440b21b /testsuites/stability
parente64e9bc5e41e277be9922617d778ca77245131d7 (diff)
Add stability test and performance tests for ACM
Issue-ID: POLICY-4641 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I615c986dea8185dc75d3c4698f748d54579ae907
Diffstat (limited to 'testsuites/stability')
-rw-r--r--testsuites/stability/src/main/resources/testplans/stability.jmx2917
1 files changed, 1765 insertions, 1152 deletions
diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx
index 8fe84c86c..abf978128 100644
--- a/testsuites/stability/src/main/resources/testplans/stability.jmx
+++ b/testsuites/stability/src/main/resources/testplans/stability.jmx
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.1">
+<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.5">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy Clamp ACM Stability" enabled="true">
<stringProp name="TestPlan.comments">Policy Clamp ACM Stability Tests</stringProp>
@@ -36,7 +36,7 @@
<AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
<collectionProp name="AuthManager.auth_list">
<elementProp name="" elementType="Authorization">
- <stringProp name="Authorization.url">https://${RUNTIME_HOST}:${RUNTIME_PORT}/onap/policy/clamp/acm/v2</stringProp>
+ <stringProp name="Authorization.url">http://${RUNTIME_HOST}:${RUNTIME_PORT}/onap/policy/clamp/acm/v2</stringProp>
<stringProp name="Authorization.username">runtimeUser</stringProp>
<stringProp name="Authorization.password">zb!XztG34</stringProp>
<stringProp name="Authorization.domain"></stringProp>
@@ -81,1022 +81,1482 @@
<elementProp name="" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.value">{&#xd;
- &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_3&quot;,&#xd;
- &quot;data_types&quot;: {&#xd;
- &quot;onap.datatypes.ToscaConceptIdentifier&quot;: {&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;name&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;version&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;onap.datatype.acm.Target&quot;: {&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;description&quot;: &quot;Definition for a entity in A&amp;AI to perform an Automation Composition operation on&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;targetType&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;Category for the target type&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [&#xd;
- {&#xd;
- &quot;valid_values&quot;: [&#xd;
- &quot;VNF&quot;,&#xd;
- &quot;VM&quot;,&#xd;
- &quot;VFMODULE&quot;,&#xd;
- &quot;PNF&quot;&#xd;
- ]&#xd;
+ &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_3&quot;,&#xd;
+ &quot;data_types&quot;: {&#xd;
+ &quot;onap.datatypes.ToscaConceptIdentifier&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;name&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;version&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ }&#xd;
}&#xd;
- ]&#xd;
- },&#xd;
- &quot;entityIds&quot;: {&#xd;
- &quot;type&quot;: &quot;map&quot;,&#xd;
- &quot;description&quot;: &quot;Map of values that identify the resource. If none are provided, it is assumed that the\nentity that generated the ONSET event will be the target.\n&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;clamp_possible_values&quot;: &quot;ClampExecution:CSAR_RESOURCES&quot;&#xd;
- },&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;&#xd;
- }&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;onap.datatype.acm.Actor&quot;: {&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;description&quot;: &quot;An actor/operation/target definition&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;actor&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;The actor performing the operation.&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;clamp_possible_values&quot;: &quot;Dictionary:DefaultActors,ClampExecution:CDS/actor&quot;&#xd;
- }&#xd;
- },&#xd;
- &quot;operation&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;The operation the actor is performing.&quot;,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;clamp_possible_values&quot;: &quot;Dictionary:DefaultOperations,ClampExecution:CDS/operation&quot;&#xd;
- },&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;target&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatype.acm.Target&quot;,&#xd;
- &quot;description&quot;: &quot;The resource the operation should be performed on.&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;payload&quot;: {&#xd;
- &quot;type&quot;: &quot;map&quot;,&#xd;
- &quot;description&quot;: &quot;Name/value pairs of payload information passed by Policy to the actor&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;clamp_possible_values&quot;: &quot;ClampExecution:CDS/payload&quot;&#xd;
- },&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;&#xd;
- }&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;onap.datatype.acm.Operation&quot;: {&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;description&quot;: &quot;An operation supported by an actor&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;id&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;Unique identifier for the operation&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;description&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;A user-friendly description of the intent for the operation&quot;,&#xd;
- &quot;required&quot;: false&#xd;
- },&#xd;
- &quot;operation&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatype.acm.Actor&quot;,&#xd;
- &quot;description&quot;: &quot;The definition of the operation to be performed.&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;timeout&quot;: {&#xd;
- &quot;type&quot;: &quot;integer&quot;,&#xd;
- &quot;description&quot;: &quot;The amount of time for the actor to perform the operation.&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;retries&quot;: {&#xd;
- &quot;type&quot;: &quot;integer&quot;,&#xd;
- &quot;description&quot;: &quot;The number of retries the actor should attempt to perform the operation.&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;default&quot;: 0&#xd;
- },&#xd;
- &quot;success&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;Points to the operation to invoke on success. A value of \&quot;final_success\&quot; indicates and end to the operation.&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;default&quot;: &quot;final_success&quot;&#xd;
- },&#xd;
- &quot;failure&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;Points to the operation to invoke on Actor operation failure.&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;default&quot;: &quot;final_failure&quot;&#xd;
- },&#xd;
- &quot;failure_timeout&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;Points to the operation to invoke when the time out for the operation occurs.&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;default&quot;: &quot;final_failure_timeout&quot;&#xd;
- },&#xd;
- &quot;failure_retries&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;Points to the operation to invoke when the current operation has exceeded its max retries.&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;default&quot;: &quot;final_failure_retries&quot;&#xd;
- },&#xd;
- &quot;failure_exception&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;Points to the operation to invoke when the current operation causes an exception.&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;default&quot;: &quot;final_failure_exception&quot;&#xd;
- },&#xd;
- &quot;failure_guard&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;default&quot;: &quot;final_failure_guard&quot;&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;onap.datatypes.monitoring.managedObjectDNsBasic&quot;: {&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;DN&quot;: {&#xd;
- &quot;name&quot;: &quot;DN&quot;,&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Managed object distinguished name&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;metadata&quot;: {}&#xd;
- }&#xd;
- },&#xd;
- &quot;name&quot;: &quot;onap.datatypes.monitoring.managedObjectDNsBasic&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;onap.datatypes.monitoring.managedObjectDNsBasics&quot;: {&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;managedObjectDNsBasic&quot;: {&#xd;
- &quot;name&quot;: &quot;managedObjectDNsBasic&quot;,&#xd;
- &quot;type&quot;: &quot;map&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Managed object distinguished name object&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.monitoring.managedObjectDNsBasic&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
- }&#xd;
- },&#xd;
- &quot;name&quot;: &quot;onap.datatypes.monitoring.managedObjectDNsBasics&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;onap.datatypes.monitoring.measurementGroup&quot;: {&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;measurementTypes&quot;: {&#xd;
- &quot;name&quot;: &quot;measurementTypes&quot;,&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;List of measurement types&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.monitoring.measurementTypes&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
},&#xd;
- &quot;managedObjectDNsBasic&quot;: {&#xd;
- &quot;name&quot;: &quot;managedObjectDNsBasic&quot;,&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;List of managed object distinguished names&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.monitoring.managedObjectDNsBasics&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
- }&#xd;
- },&#xd;
- &quot;name&quot;: &quot;onap.datatypes.monitoring.measurementGroup&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;onap.datatypes.monitoring.measurementGroups&quot;: {&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;measurementGroup&quot;: {&#xd;
- &quot;name&quot;: &quot;measurementGroup&quot;,&#xd;
- &quot;type&quot;: &quot;map&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Measurement Group&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.monitoring.measurementGroup&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
- }&#xd;
- },&#xd;
- &quot;name&quot;: &quot;onap.datatypes.monitoring.measurementGroups&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;onap.datatypes.monitoring.measurementType&quot;: {&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;measurementType&quot;: {&#xd;
- &quot;name&quot;: &quot;measurementType&quot;,&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Measurement type&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;metadata&quot;: {}&#xd;
- }&#xd;
- },&#xd;
- &quot;name&quot;: &quot;onap.datatypes.monitoring.measurementType&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;onap.datatypes.monitoring.measurementTypes&quot;: {&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;measurementType&quot;: {&#xd;
- &quot;name&quot;: &quot;measurementType&quot;,&#xd;
- &quot;type&quot;: &quot;map&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Measurement type object&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.monitoring.measurementType&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
- }&#xd;
- },&#xd;
- &quot;name&quot;: &quot;onap.datatypes.monitoring.measurementTypes&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;onap.datatypes.monitoring.nfFilter&quot;: {&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;modelNames&quot;: {&#xd;
- &quot;name&quot;: &quot;modelNames&quot;,&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;List of model names&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;modelInvariantIDs&quot;: {&#xd;
- &quot;name&quot;: &quot;modelInvariantIDs&quot;,&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;List of model invariant IDs&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;modelVersionIDs&quot;: {&#xd;
- &quot;name&quot;: &quot;modelVersionIDs&quot;,&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;List of model version IDs&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;nfNames&quot;: {&#xd;
- &quot;name&quot;: &quot;nfNames&quot;,&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;List of network functions&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
- }&#xd;
- },&#xd;
- &quot;name&quot;: &quot;onap.datatypes.monitoring.nfFilter&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;onap.datatypes.monitoring.subscription&quot;: {&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;measurementGroups&quot;: {&#xd;
- &quot;name&quot;: &quot;measurementGroups&quot;,&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Measurement Groups&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.monitoring.measurementGroups&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;fileBasedGP&quot;: {&#xd;
- &quot;name&quot;: &quot;fileBasedGP&quot;,&#xd;
- &quot;type&quot;: &quot;integer&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;File based granularity period&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;fileLocation&quot;: {&#xd;
- &quot;name&quot;: &quot;fileLocation&quot;,&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;ROP file location&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;subscriptionName&quot;: {&#xd;
- &quot;name&quot;: &quot;subscriptionName&quot;,&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Name of the subscription&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;administrativeState&quot;: {&#xd;
- &quot;name&quot;: &quot;administrativeState&quot;,&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;State of the subscription&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [&#xd;
- {&#xd;
- &quot;valid_values&quot;: [&#xd;
- &quot;LOCKED&quot;,&#xd;
- &quot;UNLOCKED&quot;&#xd;
- ]&#xd;
+ &quot;onap.datatypes.native.apex.EngineService&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;name&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the engine name&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;default&quot;: &quot;ApexEngineService&quot;&#xd;
+ },&#xd;
+ &quot;version&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the engine version in double dotted format&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;default&quot;: &quot;1.0.0&quot;&#xd;
+ },&#xd;
+ &quot;id&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the engine id&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;instance_count&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the number of engine threads that should be run&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;deployment_port&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the port to connect to for engine administration&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;default&quot;: 1&#xd;
+ },&#xd;
+ &quot;policy_model_file_name&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The name of the file from which to read the APEX policy model&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;policy_type_impl&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The policy type implementation from which to read the APEX policy model&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;periodic_event_period&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The time interval in milliseconds for the periodic scanning event, 0 means don&apos;t scan&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;engine&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.engineservice.Engine&quot;,&#xd;
+ &quot;description&quot;: &quot;The parameters for all engines in the APEX engine service&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ }&#xd;
}&#xd;
- ],&#xd;
- &quot;metadata&quot;: {}&#xd;
},&#xd;
- &quot;nfFilter&quot;: {&#xd;
- &quot;name&quot;: &quot;nfFilter&quot;,&#xd;
- &quot;type&quot;: &quot;map&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Network function filter&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.monitoring.nfFilter&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;constraints&quot;: []&#xd;
- },&#xd;
- &quot;metadata&quot;: {}&#xd;
- }&#xd;
- },&#xd;
- &quot;name&quot;: &quot;onap.datatypes.monitoring.subscription&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest&quot;: {&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;restRequestId&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;description&quot;: &quot;The name and version of a REST request to be sent to a REST endpoint&quot;&#xd;
- },&#xd;
- &quot;httpMethod&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [&#xd;
- {&#xd;
- &quot;valid_values&quot;: [&#xd;
- &quot;POST&quot;,&#xd;
- &quot;PUT&quot;,&#xd;
- &quot;GET&quot;,&#xd;
- &quot;DELETE&quot;&#xd;
- ]&#xd;
+ &quot;onap.datatypes.native.apex.EventHandler&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;name&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the event handler name, if not specified this is set to the key name&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;carrier_technology&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.CarrierTechnology&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the carrier technology of the event handler (such as REST/Web Socket/Kafka)&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;event_protocol&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.EventProtocol&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the event protocol of events for the event handler (such as Yaml/JSON/XML/POJO)&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;event_name&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the event name for events on this event handler, if not specified, the event name is read from or written to the event being received or sent&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;event_name_filter&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies a filter as a regular expression, events that do not match the filter are dropped, the default is to let all events through&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;synchronous_mode&quot;: {&#xd;
+ &quot;type&quot;: &quot;boolean&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the event handler is syncronous (receive event and send response)&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;default&quot;: false&#xd;
+ },&#xd;
+ &quot;synchronous_peer&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The peer event handler (output for input or input for output) of this event handler in synchronous mode, this parameter is mandatory if the event handler is in synchronous mode&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;synchronous_timeout&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;description&quot;: &quot;The timeout in milliseconds for responses to be issued by APEX torequests, this parameter is mandatory if the event handler is in synchronous mode&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;requestor_mode&quot;: {&#xd;
+ &quot;type&quot;: &quot;boolean&quot;,&#xd;
+ &quot;description&quot;: &quot;Specifies the event handler is in requestor mode (send event and wait for response mode)&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;default&quot;: false&#xd;
+ },&#xd;
+ &quot;requestor_peer&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The peer event handler (output for input or input for output) of this event handler in requestor mode, this parameter is mandatory if the event handler is in requestor mode&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;requestor_timeout&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;description&quot;: &quot;The timeout in milliseconds for wait for responses to requests, this parameter is mandatory if the event handler is in requestor mode&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ }&#xd;
}&#xd;
- ],&#xd;
- &quot;description&quot;: &quot;The REST method to use&quot;&#xd;
- },&#xd;
- &quot;path&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;description&quot;: &quot;The path of the REST request relative to the base URL&quot;&#xd;
- },&#xd;
- &quot;body&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;description&quot;: &quot;The body of the REST request for PUT and POST requests&quot;&#xd;
- },&#xd;
- &quot;expectedResponse&quot;: {&#xd;
- &quot;type&quot;: &quot;integer&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;description&quot;: &quot;THe expected HTTP status code for the REST request&quot;&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity&quot;: {&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;configurationEntityId&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;description&quot;: &quot;The name and version of a Configuration Entity to be handled by the HTTP Automation Composition Element&quot;&#xd;
- },&#xd;
- &quot;restSequence&quot;: {&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;1.0.0&quot;&#xd;
- },&#xd;
- &quot;description&quot;: &quot;A sequence of REST commands to send to the REST endpoint&quot;&#xd;
- }&#xd;
- }&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;policy_types&quot;: {&#xd;
- &quot;onap.policies.Monitoring&quot;: {&#xd;
- &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
- &quot;description&quot;: &quot;a base policy type for all policies that govern monitoring provisioning&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;name&quot;: &quot;onap.policies.Monitoring&quot;&#xd;
- },&#xd;
- &quot;onap.policies.Sirisha&quot;: {&#xd;
- &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
- &quot;description&quot;: &quot;a base policy type for all policies that govern monitoring provisioning&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;name&quot;: &quot;onap.policies.Sirisha&quot;&#xd;
- },&#xd;
- &quot;onap.policies.monitoring.dcae-pm-subscription-handler&quot;: {&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;pmsh_policy&quot;: {&#xd;
- &quot;name&quot;: &quot;pmsh_policy&quot;,&#xd;
- &quot;type&quot;: &quot;onap.datatypes.monitoring.subscription&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;0.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;PMSH Policy JSON&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;constraints&quot;: [],&#xd;
- &quot;metadata&quot;: {}&#xd;
- }&#xd;
- },&#xd;
- &quot;name&quot;: &quot;onap.policies.monitoring.dcae-pm-subscription-handler&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;derived_from&quot;: &quot;onap.policies.Monitoring&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
- },&#xd;
- &quot;onap.policies.acm.operational.Common&quot;: {&#xd;
- &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;name&quot;: &quot;onap.policies.acm.operational.Common&quot;,&#xd;
- &quot;description&quot;: &quot;Operational Policy for Automation Composition execution. Originated in Frankfurt to support TOSCA Compliant\nPolicy Types. This does NOT support the legacy Policy YAML policy type.\n&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;id&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;The unique Automation Composition id.&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;timeout&quot;: {&#xd;
- &quot;type&quot;: &quot;integer&quot;,&#xd;
- &quot;description&quot;: &quot;Overall timeout for executing all the operations. This timeout should equal or exceed the total\ntimeout for each operation listed.\n&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;abatement&quot;: {&#xd;
- &quot;type&quot;: &quot;boolean&quot;,&#xd;
- &quot;description&quot;: &quot;Whether an abatement event message will be expected for the Automation Composition from DCAE.&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;default&quot;: false&#xd;
},&#xd;
- &quot;trigger&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;Initial operation to execute upon receiving an Onset event message for the Automation Composition.&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;operations&quot;: {&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;description&quot;: &quot;List of operations to be performed when Automation Composition is triggered.&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatype.acm.Operation&quot;&#xd;
- }&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;onap.policies.acm.operational.common.Apex&quot;: {&#xd;
- &quot;derived_from&quot;: &quot;onap.policies.acm.operational.Common&quot;,&#xd;
- &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;name&quot;: &quot;onap.policies.acm.operational.common.Apex&quot;,&#xd;
- &quot;description&quot;: &quot;Operational policies for Apex PDP&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;engineServiceParameters&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;The engine parameters like name, instanceCount, policy implementation, parameters etc.&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;eventInputParameters&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;The event input parameters.&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;eventOutputParameters&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;The event output parameters.&quot;,&#xd;
- &quot;required&quot;: true&#xd;
- },&#xd;
- &quot;javaProperties&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;description&quot;: &quot;Name/value pairs of properties to be set for APEX if needed.&quot;,&#xd;
- &quot;required&quot;: false&#xd;
- }&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;node_types&quot;: {&#xd;
- &quot;org.onap.policy.clamp.acm.Participant&quot;: {&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.nodetypes.Root&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;requred&quot;: false&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.policy.clamp.acm.AutomationCompositionElement&quot;: {&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.nodetypes.Root&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;common&quot;: true&#xd;
- },&#xd;
- &quot;description&quot;: &quot;Specifies the organization that provides the automation composition element&quot;&#xd;
+ &quot;onap.datatypes.native.apex.CarrierTechnology&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;label&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The label (name) of the carrier technology (such as REST, Kafka, WebSocket)&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;plugin_parameter_class_name&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The class name of the class that overrides default handling of event input or output for this carrier technology, defaults to the supplied input or output class&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
},&#xd;
- &quot;participant_id&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
- &quot;requred&quot;: true,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;common&quot;: true&#xd;
- }&#xd;
+ &quot;onap.datatypes.native.apex.EventProtocol&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;label&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The label (name) of the event protocol (such as Yaml, JSON, XML, or POJO)&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;event_protocol_plugin_class&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The class name of the class that overrides default handling of the event protocol for this carrier technology, defaults to the supplied event protocol class&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
},&#xd;
- &quot;participantType&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;common&quot;: true&#xd;
- },&#xd;
- &quot;description&quot;: &quot;The identity of the participant type that hosts this type of Automation Composition Element&quot;&#xd;
+ &quot;onap.datatypes.native.apex.Environment&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;name&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The name of the environment variable&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The value of the environment variable&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ }&#xd;
+ }&#xd;
},&#xd;
- &quot;startPhase&quot;: {&#xd;
- &quot;type&quot;: &quot;integer&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;constraints&quot;: [&#xd;
- {&#xd;
- &quot;greater_or_equal&quot;: 0&#xd;
+ &quot;onap.datatypes.native.apex.engineservice.Engine&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;context&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.engineservice.engine.Context&quot;,&#xd;
+ &quot;description&quot;: &quot;The properties for handling context in APEX engines, defaults to using Java maps for context&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;executors&quot;: {&#xd;
+ &quot;type&quot;: &quot;map&quot;,&#xd;
+ &quot;description&quot;: &quot;The plugins for policy executors used in engines such as javascript, MVEL, Jython&quot;,&#xd;
+ &quot;required&quot;: true,&#xd;
+ &quot;entry_schema&quot;: {&#xd;
+ &quot;description&quot;: &quot;The plugin class path for this policy executor&quot;,&#xd;
+ &quot;type&quot;: &quot;string&quot;&#xd;
+ }&#xd;
+ }&#xd;
}&#xd;
- ],&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;common&quot;: true&#xd;
- },&#xd;
- &quot;description&quot;: &quot;A value indicating the start phase in which this automation composition element will be started, the first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped in reverse start phase order. Automation Composition Elements with the same start phase are started and stopped simultaneously&quot;&#xd;
},&#xd;
- &quot;uninitializedToPassiveTimeout&quot;: {&#xd;
- &quot;type&quot;: &quot;integer&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;constraints&quot;: [&#xd;
- {&#xd;
- &quot;greater_or_equal&quot;: 0&#xd;
+ &quot;onap.datatypes.native.apex.engineservice.engine.Context&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;distributor&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;,&#xd;
+ &quot;description&quot;: &quot;The plugin to be used for distributing context between APEX PDPs at runtime&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;schemas&quot;: {&#xd;
+ &quot;type&quot;: &quot;map&quot;,&#xd;
+ &quot;description&quot;: &quot;The plugins for context schemas available in APEX PDPs such as Java and Avro&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;entry_schema&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;locking&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;,&#xd;
+ &quot;description&quot;: &quot;The plugin to be used for locking context in and between APEX PDPs at runtime&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;persistence&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;,&#xd;
+ &quot;description&quot;: &quot;The plugin to be used for persisting context for APEX PDPs at runtime&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ }&#xd;
}&#xd;
- ],&#xd;
- &quot;default&quot;: 60,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;common&quot;: true&#xd;
- },&#xd;
- &quot;description&quot;: &quot;The maximum time in seconds to wait for a state chage from uninitialized to passive&quot;&#xd;
},&#xd;
- &quot;passiveToRunningTimeout&quot;: {&#xd;
- &quot;type&quot;: &quot;integer&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;constraints&quot;: [&#xd;
- {&#xd;
- &quot;greater_or_equal&quot;: 0&#xd;
+ &quot;onap.datatypes.native.apex.Plugin&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;name&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The name of the executor such as Javascript, Jython or MVEL&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;plugin_class_name&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;description&quot;: &quot;The class path of the plugin class for this executor&quot;&#xd;
+ }&#xd;
}&#xd;
- ],&#xd;
- &quot;default&quot;: 60,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;common&quot;: true&#xd;
- },&#xd;
- &quot;description&quot;: &quot;The maximum time in seconds to wait for a state chage from passive to running&quot;&#xd;
},&#xd;
- &quot;runningToPassiveTimeout&quot;: {&#xd;
- &quot;type&quot;: &quot;integer&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;constraints&quot;: [&#xd;
- {&#xd;
- &quot;greater_or_equal&quot;: 0&#xd;
+ &quot;org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;restRequestId&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
+ &quot;required&quot;: true,&#xd;
+ &quot;description&quot;: &quot;The name and version of a REST request to be sent to a REST endpoint&quot;&#xd;
+ },&#xd;
+ &quot;httpMethod&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: true,&#xd;
+ &quot;constraints&quot;: [&#xd;
+ {&#xd;
+ &quot;valid_values&quot;: [&#xd;
+ &quot;POST&quot;,&#xd;
+ &quot;PUT&quot;,&#xd;
+ &quot;GET&quot;,&#xd;
+ &quot;DELETE&quot;&#xd;
+ ]&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;description&quot;: &quot;The REST method to use&quot;&#xd;
+ },&#xd;
+ &quot;path&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: true,&#xd;
+ &quot;description&quot;: &quot;The path of the REST request relative to the base URL&quot;&#xd;
+ },&#xd;
+ &quot;body&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;description&quot;: &quot;The body of the REST request for PUT and POST requests&quot;&#xd;
+ },&#xd;
+ &quot;expectedResponse&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;required&quot;: true,&#xd;
+ &quot;constraints&quot;: [],&#xd;
+ &quot;description&quot;: &quot;THe expected HTTP status code for the REST request&quot;&#xd;
+ }&#xd;
}&#xd;
- ],&#xd;
- &quot;default&quot;: 60,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;common&quot;: true&#xd;
- },&#xd;
- &quot;description&quot;: &quot;The maximum time in seconds to wait for a state chage from running to passive&quot;&#xd;
},&#xd;
- &quot;passiveToUninitializedTimeout&quot;: {&#xd;
- &quot;type&quot;: &quot;integer&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;constraints&quot;: [&#xd;
- {&#xd;
- &quot;greater_or_equal&quot;: 0&#xd;
+ &quot;org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;configurationEntityId&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
+ &quot;required&quot;: true,&#xd;
+ &quot;description&quot;: &quot;The name and version of a Configuration Entity to be handled by the HTTP Automation Composition Element&quot;&#xd;
+ },&#xd;
+ &quot;restSequence&quot;: {&#xd;
+ &quot;type&quot;: &quot;list&quot;,&#xd;
+ &quot;entry_schema&quot;: {&#xd;
+ &quot;type&quot;: &quot;org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;A sequence of REST commands to send to the REST endpoint&quot;&#xd;
+ }&#xd;
}&#xd;
- ],&#xd;
- &quot;default&quot;: 60,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;common&quot;: true&#xd;
- },&#xd;
- &quot;description&quot;: &quot;The maximum time in seconds to wait for a state chage from passive to uninitialized&quot;&#xd;
}&#xd;
- }&#xd;
},&#xd;
- &quot;org.onap.policy.clamp.acm.AutomationComposition&quot;: {&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;derived_from&quot;: &quot;tosca.nodetypes.Root&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;common&quot;: true&#xd;
- },&#xd;
- &quot;description&quot;: &quot;Specifies the organization that provides the automation composition element&quot;&#xd;
+ &quot;policy_types&quot;: {&#xd;
+ &quot;onap.policies.Native&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
+ &quot;description&quot;: &quot;a base policy type for all native PDP policies&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.Native&quot;&#xd;
},&#xd;
- &quot;elements&quot;: {&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;common&quot;: true&#xd;
- },&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;&#xd;
- },&#xd;
- &quot;description&quot;: &quot;Specifies a list of automation composition element definitions that make up this automation composition definition&quot;&#xd;
+ &quot;onap.policies.native.Apex&quot;: {&#xd;
+ &quot;derived_from&quot;: &quot;onap.policies.Native&quot;,&#xd;
+ &quot;description&quot;: &quot;a policy type for native apex policies&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;engine_service&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.EngineService&quot;,&#xd;
+ &quot;description&quot;: &quot;APEX Engine Service Parameters&quot;&#xd;
+ },&#xd;
+ &quot;inputs&quot;: {&#xd;
+ &quot;type&quot;: &quot;map&quot;,&#xd;
+ &quot;description&quot;: &quot;Inputs for handling events coming into the APEX engine&quot;,&#xd;
+ &quot;entry_schema&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.EventHandler&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;outputs&quot;: {&#xd;
+ &quot;type&quot;: &quot;map&quot;,&#xd;
+ &quot;description&quot;: &quot;Outputs for handling events going out of the APEX engine&quot;,&#xd;
+ &quot;entry_schema&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.EventHandler&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;environment&quot;: {&#xd;
+ &quot;type&quot;: &quot;list&quot;,&#xd;
+ &quot;description&quot;: &quot;Envioronmental parameters for the APEX engine&quot;,&#xd;
+ &quot;entry_schema&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.native.apex.Environment&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
}&#xd;
- }&#xd;
},&#xd;
- &quot;org.onap.policy.clamp.acm.PolicyAutomationCompositionElement&quot;: {&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;derived_from&quot;: &quot;org.onap.policy.clamp.acm.AutomationCompositionElement&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;policy_type_id&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
- &quot;requred&quot;: true&#xd;
+ &quot;node_types&quot;: {&#xd;
+ &quot;org.onap.policy.clamp.acm.Participant&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
+ &quot;derived_from&quot;: &quot;tosca.nodetypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
},&#xd;
- &quot;policy_id&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
- &quot;requred&quot;: false&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.policy.clamp.acm.CDSAutomationCompositionElement&quot;: {&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;derived_from&quot;: &quot;org.onap.policy.clamp.acm.AutomationCompositionElement&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;cds_blueprint_id&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
- &quot;requred&quot;: true&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement&quot;: {&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;derived_from&quot;: &quot;org.onap.policy.clamp.acm.AutomationCompositionElement&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;chart&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;required&quot;: true&#xd;
+ &quot;org.onap.policy.clamp.acm.AutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
+ &quot;derived_from&quot;: &quot;tosca.nodetypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;metadata&quot;: {&#xd;
+ &quot;common&quot;: true&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;Specifies the organization that provides the automation composition element&quot;&#xd;
+ },&#xd;
+ &quot;startPhase&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;constraints&quot;: [&#xd;
+ {&#xd;
+ &quot;greater_or_equal&quot;: 0&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;metadata&quot;: {&#xd;
+ &quot;common&quot;: true&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;A value indicating the start phase in which this automation composition element will be started, the first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped in reverse start phase order. Automation Composition Elements with the same start phase are started and stopped simultaneously&quot;&#xd;
+ },&#xd;
+ &quot;uninitializedToPassiveTimeout&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;constraints&quot;: [&#xd;
+ {&#xd;
+ &quot;greater_or_equal&quot;: 0&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;default&quot;: 60,&#xd;
+ &quot;metadata&quot;: {&#xd;
+ &quot;common&quot;: true&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;The maximum time in seconds to wait for a state chage from uninitialized to passive&quot;&#xd;
+ },&#xd;
+ &quot;passiveToRunningTimeout&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;constraints&quot;: [&#xd;
+ {&#xd;
+ &quot;greater_or_equal&quot;: 0&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;default&quot;: 60,&#xd;
+ &quot;metadata&quot;: {&#xd;
+ &quot;common&quot;: true&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;The maximum time in seconds to wait for a state chage from passive to running&quot;&#xd;
+ },&#xd;
+ &quot;runningToPassiveTimeout&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;constraints&quot;: [&#xd;
+ {&#xd;
+ &quot;greater_or_equal&quot;: 0&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;default&quot;: 60,&#xd;
+ &quot;metadata&quot;: {&#xd;
+ &quot;common&quot;: true&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;The maximum time in seconds to wait for a state chage from running to passive&quot;&#xd;
+ },&#xd;
+ &quot;passiveToUninitializedTimeout&quot;: {&#xd;
+ &quot;type&quot;: &quot;integer&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;constraints&quot;: [&#xd;
+ {&#xd;
+ &quot;greater_or_equal&quot;: 0&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;default&quot;: 60,&#xd;
+ &quot;metadata&quot;: {&#xd;
+ &quot;common&quot;: true&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;The maximum time in seconds to wait for a state chage from passive to uninitialized&quot;&#xd;
+ }&#xd;
+ }&#xd;
},&#xd;
- &quot;configs&quot;: {&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;required&quot;: false&#xd;
+ &quot;org.onap.policy.clamp.acm.AutomationComposition&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
+ &quot;derived_from&quot;: &quot;tosca.nodetypes.Root&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;metadata&quot;: {&#xd;
+ &quot;common&quot;: true&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;Specifies the organization that provides the automation composition element&quot;&#xd;
+ },&#xd;
+ &quot;elements&quot;: {&#xd;
+ &quot;type&quot;: &quot;list&quot;,&#xd;
+ &quot;required&quot;: true,&#xd;
+ &quot;metadata&quot;: {&#xd;
+ &quot;common&quot;: true&#xd;
+ },&#xd;
+ &quot;entry_schema&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;Specifies a list of automation composition element definitions that make up this automation composition definition&quot;&#xd;
+ }&#xd;
+ }&#xd;
},&#xd;
- &quot;requirements&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;requred&quot;: false&#xd;
+ &quot;org.onap.policy.clamp.acm.PolicyAutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;derived_from&quot;: &quot;org.onap.policy.clamp.acm.AutomationCompositionElement&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;policy_type_id&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;policy_id&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
},&#xd;
- &quot;templates&quot;: {&#xd;
- &quot;type&quot;: &quot;list&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;entry_schema&quot;: null&#xd;
+ &quot;org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;derived_from&quot;: &quot;org.onap.policy.clamp.acm.AutomationCompositionElement&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;chart&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ },&#xd;
+ &quot;configs&quot;: {&#xd;
+ &quot;type&quot;: &quot;list&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;requirements&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: false&#xd;
+ },&#xd;
+ &quot;templates&quot;: {&#xd;
+ &quot;type&quot;: &quot;list&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;entry_schema&quot;: null&#xd;
+ },&#xd;
+ &quot;values&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: true&#xd;
+ }&#xd;
+ }&#xd;
},&#xd;
- &quot;values&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;requred&quot;: true&#xd;
+ &quot;org.onap.policy.clamp.acm.HttpAutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;derived_from&quot;: &quot;org.onap.policy.clamp.acm.AutomationCompositionElement&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;baseUrl&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;,&#xd;
+ &quot;required&quot;: true,&#xd;
+ &quot;description&quot;: &quot;The base URL to be prepended to each path, identifies the host for the REST endpoints.&quot;&#xd;
+ },&#xd;
+ &quot;httpHeaders&quot;: {&#xd;
+ &quot;type&quot;: &quot;map&quot;,&#xd;
+ &quot;required&quot;: false,&#xd;
+ &quot;entry_schema&quot;: {&#xd;
+ &quot;type&quot;: &quot;string&quot;&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;HTTP headers to send on REST requests&quot;&#xd;
+ },&#xd;
+ &quot;configurationEntities&quot;: {&#xd;
+ &quot;type&quot;: &quot;map&quot;,&#xd;
+ &quot;required&quot;: true,&#xd;
+ &quot;entry_schema&quot;: {&#xd;
+ &quot;type&quot;: &quot;org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;The connfiguration entities the Automation Composition Element is managing and their associated REST requests&quot;&#xd;
+ }&#xd;
+ }&#xd;
}&#xd;
- }&#xd;
},&#xd;
- &quot;org.onap.policy.clamp.acm.HttpAutomationCompositionElement&quot;: {&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;derived_from&quot;: &quot;org.onap.policy.clamp.acm.AutomationCompositionElement&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;baseUrl&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;description&quot;: &quot;The base URL to be prepended to each path, identifies the host for the REST endpoints.&quot;&#xd;
- },&#xd;
- &quot;httpHeaders&quot;: {&#xd;
- &quot;type&quot;: &quot;map&quot;,&#xd;
- &quot;required&quot;: false,&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;string&quot;&#xd;
- },&#xd;
- &quot;description&quot;: &quot;HTTP headers to send on REST requests&quot;&#xd;
+ &quot;topology_template&quot;: {&#xd;
+ &quot;inputs&quot;: {&#xd;
+ &quot;acm_element_policy&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
+ &quot;description&quot;: &quot;The ID of the operational policy to use&quot;,&#xd;
+ &quot;default&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.native.apex.ac.element&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;&#xd;
+ }&#xd;
+ }&#xd;
},&#xd;
- &quot;configurationEntities&quot;: {&#xd;
- &quot;type&quot;: &quot;map&quot;,&#xd;
- &quot;required&quot;: true,&#xd;
- &quot;entry_schema&quot;: {&#xd;
- &quot;type&quot;: &quot;org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity&quot;,&#xd;
- &quot;typeVersion&quot;: &quot;1.0.0&quot;&#xd;
- },&#xd;
- &quot;description&quot;: &quot;The connfiguration entities the Automation Composition Element is managing and their associated REST requests&quot;&#xd;
- }&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;topology_template&quot;: {&#xd;
- &quot;inputs&quot;: {&#xd;
- &quot;pmsh_monitoring_policy&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
- &quot;description&quot;: &quot;The ID of the PMSH monitoring policy to use&quot;,&#xd;
- &quot;default&quot;: {&#xd;
- &quot;name&quot;: &quot;MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;&#xd;
- }&#xd;
- },&#xd;
- &quot;pmsh_operational_policy&quot;: {&#xd;
- &quot;type&quot;: &quot;onap.datatypes.ToscaConceptIdentifier&quot;,&#xd;
- &quot;description&quot;: &quot;The ID of the PMSH operational policy to use&quot;,&#xd;
- &quot;default&quot;: {&#xd;
- &quot;name&quot;: &quot;operational.apex.pmcontrol&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;node_templates&quot;: {&#xd;
- &quot;org.onap.policy.clamp.acm.PolicyParticipant&quot;: {&#xd;
- &quot;version&quot;: &quot;2.3.1&quot;,&#xd;
- &quot;type&quot;: &quot;org.onap.policy.clamp.acm.Participant&quot;,&#xd;
- &quot;type_version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;description&quot;: &quot;Participant for DCAE microservices&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: &quot;ONAP&quot;&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement&quot;: {&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
- &quot;type&quot;: &quot;org.onap.policy.clamp.acm.PolicyAutomationCompositionElement&quot;,&#xd;
- &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Automation composition element for the monitoring policy for Performance Management Subscription Handling&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: &quot;Ericsson&quot;,&#xd;
- &quot;participant_id&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.PM_Policy&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;&#xd;
- },&#xd;
- &quot;participantType&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.policy.clamp.acm.PolicyParticipant&quot;,&#xd;
- &quot;version&quot;: &quot;2.3.1&quot;&#xd;
- },&#xd;
- &quot;policy_type_id&quot;: {&#xd;
- &quot;name&quot;: &quot;onap.policies.monitoring.pm-subscription-handler&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;&#xd;
- },&#xd;
- &quot;policy_id&quot;: {&#xd;
- &quot;get_input&quot;: &quot;pmsh_monitoring_policy&quot;&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement&quot;: {&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
- &quot;type&quot;: &quot;org.onap.policy.clamp.acm.PolicyAutomationCompositionElement&quot;,&#xd;
- &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Automation composition element for the operational policy for Performance Management Subscription Handling&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: &quot;Ericsson&quot;,&#xd;
- &quot;participant_id&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.PM_Policy&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;&#xd;
- },&#xd;
- &quot;participantType&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.policy.clamp.acm.PolicyParticipant&quot;,&#xd;
- &quot;version&quot;: &quot;2.3.1&quot;&#xd;
- },&#xd;
- &quot;policy_type_id&quot;: {&#xd;
- &quot;name&quot;: &quot;onap.policies.operational.pm-subscription-handler&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;&#xd;
- },&#xd;
- &quot;policy_id&quot;: {&#xd;
- &quot;get_input&quot;: &quot;pmsh_operational_policy&quot;&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.policy.clamp.acm.KubernetesParticipant&quot;: {&#xd;
- &quot;version&quot;: &quot;2.3.4&quot;,&#xd;
- &quot;type&quot;: &quot;org.onap.policy.clamp.acm.Participant&quot;,&#xd;
- &quot;type_version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;description&quot;: &quot;Participant for K8S&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: &quot;ONAP&quot;&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement&quot;: {&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
- &quot;type&quot;: &quot;org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement&quot;,&#xd;
- &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Automation composition element for the K8S microservice for PMSH&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: &quot;ONAP&quot;,&#xd;
- &quot;participant_id&quot;: {&#xd;
- &quot;name&quot;: &quot;K8sParticipant0&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;&#xd;
- },&#xd;
- &quot;participantType&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.policy.clamp.acm.KubernetesParticipant&quot;,&#xd;
- &quot;version&quot;: &quot;2.3.4&quot;&#xd;
- },&#xd;
- &quot;chart&quot;: {&#xd;
- &quot;chartId&quot;: {&#xd;
- &quot;name&quot;: &quot;dcae-pmsh&quot;,&#xd;
- &quot;version&quot;: &quot;10.0.0&quot;&#xd;
+ &quot;node_templates&quot;: {&#xd;
+ &quot;org.onap.policy.clamp.acm.PolicyParticipant&quot;: {&#xd;
+ &quot;version&quot;: &quot;2.3.1&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.Participant&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.1&quot;,&#xd;
+ &quot;description&quot;: &quot;Participant for Policy microservices&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;ONAP&quot;&#xd;
+ }&#xd;
},&#xd;
- &quot;namespace&quot;: &quot;onap&quot;,&#xd;
- &quot;releaseName&quot;: &quot;onap-dcae-pmsh&quot;,&#xd;
- &quot;repository&quot;: {&#xd;
- &quot;repoName&quot;: &quot;chartmuseum&quot;,&#xd;
- &quot;address&quot;: &quot;http://chart-museum:80&quot;,&#xd;
- &quot;userName&quot;: &quot;onapinitializer&quot;,&#xd;
- &quot;password&quot;: &quot;demo123456!&quot;&#xd;
+ &quot;onap.policy.clamp.ac.element.Policy_AutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.PolicyAutomationCompositionElement&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;description&quot;: &quot;Automation composition element for the operational policy for Performance Management Subscription Handling&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;Ericsson&quot;,&#xd;
+ &quot;startPhase&quot;: 0&#xd;
+ }&#xd;
},&#xd;
- &quot;overrideParams&quot;: {&#xd;
- &quot;global.masterPassword&quot;: &quot;test&quot;&#xd;
- }&#xd;
- }&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.policy.clamp.acm.HttpParticipant&quot;: {&#xd;
- &quot;version&quot;: &quot;2.3.4&quot;,&#xd;
- &quot;type&quot;: &quot;org.onap.policy.clamp.acm.Participant&quot;,&#xd;
- &quot;type_version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;description&quot;: &quot;Participant for Http requests&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: &quot;ONAP&quot;&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement&quot;: {&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
- &quot;type&quot;: &quot;org.onap.policy.clamp.acm.HttpAutomationCompositionElement&quot;,&#xd;
- &quot;type_version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;description&quot;: &quot;Automation composition element for the http requests of PMSH microservice&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: &quot;ONAP&quot;,&#xd;
- &quot;participant_id&quot;: {&#xd;
- &quot;name&quot;: &quot;HttpParticipant0&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;&#xd;
- },&#xd;
- &quot;participantType&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.policy.clamp.acm.HttpParticipant&quot;,&#xd;
- &quot;version&quot;: &quot;2.3.4&quot;&#xd;
- },&#xd;
- &quot;uninitializedToPassiveTimeout&quot;: 180,&#xd;
- &quot;startPhase&quot;: 1,&#xd;
- &quot;baseUrl&quot;: &quot;https://dcae-pmsh:8443&quot;,&#xd;
- &quot;httpHeaders&quot;: {&#xd;
- &quot;Content-Type&quot;: &quot;application/json&quot;&#xd;
- },&#xd;
- &quot;configurationEntities&quot;: [&#xd;
- {&#xd;
- &quot;configurationEntityId&quot;: {&#xd;
- &quot;name&quot;: &quot;entity1&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;&#xd;
- },&#xd;
- &quot;restSequence&quot;: [&#xd;
- {&#xd;
- &quot;restRequestId&quot;: {&#xd;
- &quot;name&quot;: &quot;request1&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;&#xd;
- },&#xd;
- &quot;httpMethod&quot;: &quot;POST&quot;,&#xd;
- &quot;path&quot;: &quot;subscription&quot;,&#xd;
- &quot;body&quot;: &quot;{ \&quot;subscription\&quot;:{ \&quot;subscriptionName\&quot;:\&quot;new_sub_01\&quot;, \&quot;operationalPolicyName\&quot;:\&quot;pmsh-operational-policy\&quot;, \&quot;automationCompositionName\&quot;:\&quot;automationComposition-name\&quot;, \&quot;nfFilter\&quot;:{ \&quot;nfNames\&quot;:[ \&quot;^pnf*\&quot; ], \&quot;modelInvariantIDs\&quot;:[ \&quot;7129e420-d396-4efb-af02-6b83499b12f5\&quot; ], \&quot;modelVersionIDs\&quot;:[ \&quot;e80a6ae3-cafd-4d24-850d-e14c084a5ca7\&quot; ], \&quot;modelNames\&quot;:[ \&quot;pnf_134\&quot; ] }, \&quot;measurementGroups\&quot;:[ { \&quot;measurementGroup\&quot;:{ \&quot;measurementGroupName\&quot;:\&quot;msgroup_01\&quot;, \&quot;administrativeState\&quot;:\&quot;UNLOCKED\&quot;, \&quot;fileBasedGP\&quot;:15, \&quot;fileLocation\&quot;:\&quot;/pm/pm.xml\&quot;, \&quot;measurementTypes\&quot;:[ { \&quot;measurementType\&quot;:\&quot;EutranCell.*\&quot; }, { \&quot;measurementType\&quot;:\&quot;EutranCellRelation.pmCounter1\&quot; }, { \&quot;measurementType\&quot;:\&quot;EutranCellRelation.pmCounter2\&quot; } ], \&quot;managedObjectDNsBasic\&quot;:[ { \&quot;DN\&quot;:\&quot;ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1\&quot; }, { \&quot;DN\&quot;:\&quot;ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1, EUtranCellRelation=CityCenter2\&quot; }, { \&quot;DN\&quot;:\&quot;ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1, EUtranCellRelation=CityCenter3\&quot; } ] } } ] } }&quot;,&#xd;
- &quot;expectedResponse&quot;: 201&#xd;
+ &quot;org.onap.k8s.acm.K8SAutomationCompositionParticipant&quot;: {&#xd;
+ &quot;version&quot;: &quot;2.3.4&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.Participant&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.1&quot;,&#xd;
+ &quot;description&quot;: &quot;Participant for K8S&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;ONAP&quot;&#xd;
}&#xd;
- ]&#xd;
- }&#xd;
- ]&#xd;
- }&#xd;
- },&#xd;
- &quot;org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition&quot;: {&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
- &quot;type&quot;: &quot;org.onap.policy.clamp.acm.AutomationComposition&quot;,&#xd;
- &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;description&quot;: &quot;Automation composition for Hello World&quot;,&#xd;
- &quot;properties&quot;: {&#xd;
- &quot;provider&quot;: &quot;ONAP&quot;,&#xd;
- &quot;elements&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement&quot;,&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;&#xd;
},&#xd;
- {&#xd;
- &quot;name&quot;: &quot;org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement&quot;,&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ &quot;onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;description&quot;: &quot;Automation composition element for the K8S microservice for AC Element Starter&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;ONAP&quot;,&#xd;
+ &quot;startPhase&quot;: 0,&#xd;
+ &quot;uninitializedToPassiveTimeout&quot;: 300,&#xd;
+ &quot;podStatusCheckInterval&quot;: 30&#xd;
+ }&#xd;
},&#xd;
- {&#xd;
- &quot;name&quot;: &quot;org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement&quot;,&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ &quot;onap.policy.clamp.ac.element.K8S_BridgeAutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;description&quot;: &quot;Automation composition element for the K8S microservice for AC Element Bridge&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;ONAP&quot;,&#xd;
+ &quot;startPhase&quot;: 0,&#xd;
+ &quot;uninitializedToPassiveTimeout&quot;: 300,&#xd;
+ &quot;podStatusCheckInterval&quot;: 30&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;onap.policy.clamp.ac.element.K8S_SinkAutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;description&quot;: &quot;Automation composition element for the K8S microservice for AC Element Sink&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;ONAP&quot;,&#xd;
+ &quot;startPhase&quot;: 0,&#xd;
+ &quot;uninitializedToPassiveTimeout&quot;: 300,&#xd;
+ &quot;podStatusCheckInterval&quot;: 30&#xd;
+ }&#xd;
},&#xd;
+ &quot;org.onap.policy.clamp.acm.HttpParticipant&quot;: {&#xd;
+ &quot;version&quot;: &quot;2.3.4&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.Participant&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.1&quot;,&#xd;
+ &quot;description&quot;: &quot;Participant for Http requests&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;ONAP&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.HttpAutomationCompositionElement&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;description&quot;: &quot;Automation composition element for the http requests of AC Element Starter microservice&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;ONAP&quot;,&#xd;
+ &quot;uninitializedToPassiveTimeout&quot;: 300,&#xd;
+ &quot;startPhase&quot;: 1&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;onap.policy.clamp.ac.element.Http_BridgeAutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.HttpAutomationCompositionElement&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;description&quot;: &quot;Automation composition element for the http requests of AC Element Bridge microservice&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;ONAP&quot;,&#xd;
+ &quot;uninitializedToPassiveTimeout&quot;: 300,&#xd;
+ &quot;startPhase&quot;: 1&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;onap.policy.clamp.ac.element.Http_SinkAutomationCompositionElement&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.HttpAutomationCompositionElement&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;description&quot;: &quot;Automation composition element for the http requests of AC Element Sink microservice&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;ONAP&quot;,&#xd;
+ &quot;uninitializedToPassiveTimeout&quot;: 300,&#xd;
+ &quot;startPhase&quot;: 1&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;onap.policy.clamp.ac.element.AutomationCompositionDefinition&quot;: {&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;,&#xd;
+ &quot;type&quot;: &quot;org.onap.policy.clamp.acm.AutomationComposition&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.1&quot;,&#xd;
+ &quot;description&quot;: &quot;Automation composition for Demo&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;provider&quot;: &quot;ONAP&quot;,&#xd;
+ &quot;elements&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;onap.policy.clamp.ac.element.Policy_AutomationCompositionElement&quot;,&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement&quot;,&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;onap.policy.clamp.ac.element.K8S_BridgeAutomationCompositionElement&quot;,&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;onap.policy.clamp.ac.element.K8S_SinkAutomationCompositionElement&quot;,&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement&quot;,&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;onap.policy.clamp.ac.element.Http_BridgeAutomationCompositionElement&quot;,&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;onap.policy.clamp.ac.element.Http_SinkAutomationCompositionElement&quot;,&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;policies&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement&quot;,&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ &quot;onap.policies.native.apex.ac.element&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;engineServiceParameters&quot;: {&#xd;
+ &quot;name&quot;: &quot;MyApexEngine&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;id&quot;: 45,&#xd;
+ &quot;instanceCount&quot;: 2,&#xd;
+ &quot;deploymentPort&quot;: 12561,&#xd;
+ &quot;engineParameters&quot;: {&#xd;
+ &quot;executorParameters&quot;: {&#xd;
+ &quot;JAVASCRIPT&quot;: {&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;contextParameters&quot;: {&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.context.parameters.ContextParameters&quot;,&#xd;
+ &quot;schemaParameters&quot;: {&#xd;
+ &quot;Json&quot;: {&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.json.JsonSchemaHelperParameters&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;policy_type_impl&quot;: {&#xd;
+ &quot;policies&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Policies&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;policyMap&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
+ &quot;state&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;DecideForwardingState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;DecideForwardingState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;AcElementEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;stateOutputs&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;CreateForwardPayload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;DecideForwardingState&quot;,&#xd;
+ &quot;localName&quot;: &quot;CreateForwardPayload&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;nextState&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;NULL&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
+ &quot;taskSelectionLogic&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;NULL&quot;&#xd;
+ },&#xd;
+ &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
+ &quot;logic&quot;: &quot;&quot;&#xd;
+ },&#xd;
+ &quot;stateFinalizerLogicMap&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;defaultTask&quot;: {&#xd;
+ &quot;name&quot;: &quot;ForwardPayloadTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;taskReferences&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ForwardPayloadTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;DecideForwardingState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;DecideForwardingState&quot;,&#xd;
+ &quot;localName&quot;: &quot;CreateForwardPayload&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;DecideForwardingState&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;tasks&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Tasks&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;taskMap&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ForwardPayloadTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ForwardPayloadTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;AcElementEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.ac.element&quot;,&#xd;
+ &quot;source&quot;: &quot;Dmaap&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;DmaapResponseEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;AcElementEvent&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;DmaapResponseEvent&quot;&#xd;
+ },&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;toscaPolicyState&quot;: &quot;ENTRY&quot;&#xd;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.ac.element&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;Dmaap&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;DmaapResponseStatusEvent&quot;&#xd;
+ },&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;toscaPolicyState&quot;: &quot;&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;ACElementAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ForwardPayloadTask&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;TaskLogic&quot;&#xd;
+ },&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2022 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the &apos;License&apos;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an &apos;AS IS&apos; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar msgResponse = executor.inFields.get(&apos;DmaapResponseEvent&apos;);\nexecutor.logger.info(&apos;Task in progress with mesages: &apos; + msgResponse);\n\nvar elementId = msgResponse.get(&apos;elementId&apos;).get(&apos;name&apos;);\n\nif (msgResponse.get(&apos;messageType&apos;) == &apos;STATUS&apos; &amp;&amp;\n (elementId == &apos;onap.policy.clamp.ac.startertobridge&apos;\n || elementId == &apos;onap.policy.clamp.ac.bridgetosink&apos;)) {\n\n var receiverId = &apos;&apos;;\n if (elementId == &apos;onap.policy.clamp.ac.startertobridge&apos;) {\n receiverId = &apos;onap.policy.clamp.ac.bridge&apos;;\n } else {\n receiverId = &apos;onap.policy.clamp.ac.sink&apos;;\n }\n\n var elementIdResponse = new java.util.HashMap();\n elementIdResponse.put(&apos;name&apos;, receiverId);\n elementIdResponse.put(&apos;version&apos;, msgResponse.get(&apos;elementId&apos;).get(&apos;version&apos;));\n\n var dmaapResponse = new java.util.HashMap();\n dmaapResponse.put(&apos;elementId&apos;, elementIdResponse);\n\n var message = msgResponse.get(&apos;message&apos;) + &apos; trace added from policy&apos;;\n dmaapResponse.put(&apos;message&apos;, message);\n dmaapResponse.put(&apos;messageType&apos;, &apos;STATUS&apos;);\n dmaapResponse.put(&apos;messageId&apos;, msgResponse.get(&apos;messageId&apos;));\n dmaapResponse.put(&apos;timestamp&apos;, msgResponse.get(&apos;timestamp&apos;));\n\n executor.logger.info(&apos;Sending forwarding Event to Ac element: &apos; + dmaapResponse);\n\n executor.outFields.put(&apos;DmaapResponseStatusEvent&apos;, dmaapResponse);\n}\n\ntrue;&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;events&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Events&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;eventMap&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;AcElementEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;AcElementEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.ac.element&quot;,&#xd;
+ &quot;source&quot;: &quot;Dmaap&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;DmaapResponseEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;AcElementEvent&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;DmaapResponseEvent&quot;&#xd;
+ },&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;toscaPolicyState&quot;: &quot;ENTRY&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.ac.element&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;Dmaap&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;DmaapResponseStatusEvent&quot;&#xd;
+ },&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;toscaPolicyState&quot;: &quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.ac.element&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;file&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;final_status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;LogEvent&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;final_status&quot;&#xd;
+ },&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;LogEvent&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;message&quot;&#xd;
+ },&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;toscaPolicyState&quot;: &quot;&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;albums&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Albums&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;albums&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACElementAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACElementAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;scope&quot;: &quot;policy&quot;,&#xd;
+ &quot;isWritable&quot;: true,&#xd;
+ &quot;itemSchema&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;schemas&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Schemas&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemas&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Json&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;$schema\&quot;: \&quot;http://json-schema.org/draft-04/schema#\&quot;,\n \&quot;type\&quot;: \&quot;object\&quot;,\n \&quot;properties\&quot;: {\n \&quot;elementId\&quot;: {\n \&quot;type\&quot;: \&quot;object\&quot;,\n \&quot;properties\&quot;: {\n \&quot;name\&quot;: {\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n \&quot;version\&quot;: {\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n },\n \&quot;required\&quot;: [\n \&quot;name\&quot;,\n \&quot;version\&quot;\n ]\n },\n \&quot;message\&quot;: {\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n \&quot;messageType\&quot;: {\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n },\n \&quot;required\&quot;: [\n \&quot;elementId\&quot;,\n \&quot;message\&quot;,\n \&quot;messageType\&quot;\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;java.lang.Integer&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;java.lang.String&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;java.util.UUID&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;keyInformation&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_KeyInfo&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;keyInfoMap&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACElementAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACElementAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;7cddfab8-6d3f-3f7f-8ac3-e2eb5979c900&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ACElementAlbum:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ACEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;dab78794-b666-3929-a75b-70d634b04fe5&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ACEventType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;da478611-7d77-3c46-b4be-be968769ba4e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXacElementPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Albums&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Albums&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;fa8dc15e-8c8d-3de3-a0f8-585b76511175&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXacElementPolicy_Albums:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Events&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Events&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;8508cd65-8dd2-342d-a5c6-1570810dbe2b&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXacElementPolicy_Events:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_KeyInfo&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_KeyInfo&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;09e6927d-c5ac-3779-919f-9333994eed22&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXacElementPolicy_KeyInfo:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Policies&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Policies&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;cade3c9a-1600-3642-a6f4-315612187f46&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXacElementPolicy_Policies:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Schemas&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Schemas&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;5bb4a8e9-35fa-37db-9a49-48ef036a7ba9&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXacElementPolicy_Schemas:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Tasks&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;APEXacElementPolicy_Tasks&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;2527eeec-0d1f-3094-ad3f-212622b12836&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXacElementPolicy_Tasks:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;AcElementEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;AcElementEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;32c013e2-2740-3986-a626-cbdf665b63e9&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;AcElementEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;DmaapResponseStatusEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;2715cb6c-2778-3461-8b69-871e79f95935&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DmaapResponseStatusEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ForwardPayloadTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ForwardPayloadTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;51defa03-1ecf-3314-bf34-2a652bce57fa&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ForwardPayloadTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;c540f048-96af-35e3-a36e-e9c29377cba7&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;LogEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;568b7345-9de1-36d3-b6a3-9b857e6809a1&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ReceiveEventPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;153791fd-ae0a-36a7-88a5-309a7936415d&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleIntType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;8a4957cf-9493-3a76-8c22-a208e23259af&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleStringType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;6a8cc68e-dfc8-3403-9c6d-071c886b319c&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;UUIDType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventInputParameters&quot;: {&#xd;
+ &quot;DmaapConsumer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;url&quot;: &quot;http://message-router:3904/events/AC_ELEMENT_MSG/APEX/1?timeout=30000&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;pojoField&quot;: &quot;DmaapResponseEvent&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;AcElementEvent&quot;,&#xd;
+ &quot;eventNameFilter&quot;: &quot;AcElementEvent&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventOutputParameters&quot;: {&#xd;
+ &quot;logOutputter&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;FILE&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;fileName&quot;: &quot;outputevents.log&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;DmaapReplyProducer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;url&quot;: &quot;http://message-router:3904/events/POLICY_UPDATE_MSG&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;pojoField&quot;: &quot;DmaapResponseStatusEvent&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventNameFilter&quot;: &quot;(LogEvent|DmaapResponseStatusEvent)&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;name&quot;: &quot;onap.policies.native.apex.ac.element&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;&#xd;
+ }&#xd;
}&#xd;
- ]&#xd;
- }&#xd;
- }&#xd;
+ ]&#xd;
}&#xd;
- }&#xd;
}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
@@ -1104,9 +1564,9 @@
</elementProp>
<stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/commission</stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -1119,7 +1579,7 @@
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
<collectionProp name="Asserion.test_strings">
- <stringProp name="49586">200</stringProp>
+ <stringProp name="49587">201</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
@@ -1127,78 +1587,31 @@
<intProp name="Assertion.test_type">1</intProp>
</ResponseAssertion>
<hashTree/>
+ <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="JSON Extractor" enabled="true">
+ <stringProp name="JSONPostProcessor.referenceNames">compositionId</stringProp>
+ <stringProp name="JSONPostProcessor.jsonPathExprs">$.compositionId</stringProp>
+ <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
+ <stringProp name="Scope.variable">compositionId</stringProp>
+ </JSONPostProcessor>
+ <hashTree/>
+ <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="BeanShell PostProcessor" enabled="true">
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <boolProp name="resetInterpreter">false</boolProp>
+ <stringProp name="script">props.put(&quot;compositionId&quot;, vars.get(&quot;compositionId&quot;));</stringProp>
+ </BeanShellPostProcessor>
+ <hashTree/>
</hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Instantiate acm" enabled="true">
- <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
- <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
- <collectionProp name="Arguments.arguments">
- <elementProp name="" elementType="HTTPArgument">
- <boolProp name="HTTPArgument.always_encode">false</boolProp>
- <stringProp name="Argument.value">{&#xd;
- &quot;automationCompositionList&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSHInstance0&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
- &quot;definition&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition&quot;,&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;&#xd;
- },&#xd;
- &quot;state&quot;: &quot;UNINITIALISED&quot;,&#xd;
- &quot;orderedState&quot;: &quot;UNINITIALISED&quot;,&#xd;
- &quot;description&quot;: &quot;PMSH automation composition instance 0&quot;,&#xd;
- &quot;elements&quot;: {&#xd;
- &quot;709c62b3-8918-41b9-a747-d21eb79c6c21&quot;: {&#xd;
- &quot;id&quot;: &quot;709c62b3-8918-41b9-a747-d21eb79c6c21&quot;,&#xd;
- &quot;definition&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement&quot;,&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;&#xd;
- },&#xd;
- &quot;participantId&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.PM_Policy&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;&#xd;
- },&#xd;
- &quot;participantType&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.policy.clamp.acm.PolicyParticipant&quot;,&#xd;
- &quot;version&quot;: &quot;2.3.1&quot;&#xd;
- },&#xd;
- &quot;state&quot;: &quot;UNINITIALISED&quot;,&#xd;
- &quot;orderedState&quot;: &quot;UNINITIALISED&quot;,&#xd;
- &quot;description&quot;: &quot;Monitoring Policy Automation Composition Element for the PMSH instance 0 automation composition&quot;&#xd;
- },&#xd;
- &quot;709c62b3-8918-41b9-a747-d21eb79c6c22&quot;: {&#xd;
- &quot;id&quot;: &quot;709c62b3-8918-41b9-a747-d21eb79c6c22&quot;,&#xd;
- &quot;definition&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement&quot;,&#xd;
- &quot;version&quot;: &quot;1.2.3&quot;&#xd;
- },&#xd;
- &quot;participantId&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.PM_Policy&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;&#xd;
- },&#xd;
- &quot;participantType&quot;: {&#xd;
- &quot;name&quot;: &quot;org.onap.policy.clamp.acm.PolicyParticipant&quot;,&#xd;
- &quot;version&quot;: &quot;2.3.1&quot;&#xd;
- },&#xd;
- &quot;state&quot;: &quot;UNINITIALISED&quot;,&#xd;
- &quot;orderedState&quot;: &quot;UNINITIALISED&quot;,&#xd;
- &quot;description&quot;: &quot;Operational Policy Automation Composition Element for the PMSH instance 0 automation composition&quot;&#xd;
- }&#xd;
- }&#xd;
- }&#xd;
- ]&#xd;
-}&#xd;
-&#xd;
-</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- </collectionProp>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Register participants" enabled="true">
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
+ <collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/instantiation</stringProp>
- <stringProp name="HTTPSampler.method">POST</stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/participants</stringProp>
+ <stringProp name="HTTPSampler.method">PUT</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
@@ -1210,40 +1623,35 @@
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
<collectionProp name="Asserion.test_strings">
- <stringProp name="49586">200</stringProp>
+ <stringProp name="49588">202</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
<boolProp name="Assertion.assume_success">false</boolProp>
<intProp name="Assertion.test_type">1</intProp>
+ <stringProp name="Scope.variable"></stringProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
- </hashTree>
- <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="AutomationComposition Test Flow" enabled="true">
- <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
- <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
- <boolProp name="LoopController.continue_forever">false</boolProp>
- <intProp name="LoopController.loops">-1</intProp>
- </elementProp>
- <stringProp name="ThreadGroup.num_threads">1</stringProp>
- <stringProp name="ThreadGroup.ramp_time">1</stringProp>
- <boolProp name="ThreadGroup.scheduler">true</boolProp>
- <stringProp name="ThreadGroup.duration">259200</stringProp>
- <stringProp name="ThreadGroup.delay"></stringProp>
- <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
- </ThreadGroup>
- <hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check acm state" enabled="true">
- <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
- <collectionProp name="Arguments.arguments"/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Prime AC definitions" enabled="true">
+ <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
+ <collectionProp name="Arguments.arguments">
+ <elementProp name="" elementType="HTTPArgument">
+ <boolProp name="HTTPArgument.always_encode">false</boolProp>
+ <stringProp name="Argument.value">{&#xd;
+ &quot;primeOrder&quot;: &quot;PRIME&quot;&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
</elementProp>
<stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/instantiation</stringProp>
- <stringProp name="HTTPSampler.method">GET</stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions/${compositionId}</stringProp>
+ <stringProp name="HTTPSampler.method">PUT</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
@@ -1251,46 +1659,113 @@
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp>
- <stringProp name="TestPlan.comments">Basic Health Check</stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
<collectionProp name="Asserion.test_strings">
- <stringProp name="49586">200</stringProp>
+ <stringProp name="49588">202</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
<boolProp name="Assertion.assume_success">false</boolProp>
<intProp name="Assertion.test_type">1</intProp>
+ <stringProp name="Scope.variable"></stringProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change State to PASSIVE" enabled="true">
+ <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="While Controller" enabled="true">
+ <stringProp name="WhileController.condition">${__javaScript(&quot;${primeState}&quot; != &quot;PRIMED&quot;)}</stringProp>
+ </WhileController>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Verify Priming" enabled="true">
+ <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
+ <collectionProp name="Arguments.arguments">
+ <elementProp name="" elementType="HTTPArgument">
+ <boolProp name="HTTPArgument.always_encode">false</boolProp>
+ <stringProp name="Argument.value">{&#xd;
+ &quot;primeOrder&quot;: &quot;PRIME&quot;&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions/${compositionId}</stringProp>
+ <stringProp name="HTTPSampler.method">GET</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="49586">200</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">1</intProp>
+ <stringProp name="Scope.variable"></stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="JSON Extractor" enabled="true">
+ <stringProp name="JSONPostProcessor.referenceNames">primeState</stringProp>
+ <stringProp name="JSONPostProcessor.jsonPathExprs">$.state</stringProp>
+ <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
+ <stringProp name="Scope.variable">compositionId</stringProp>
+ </JSONPostProcessor>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Instantiate acm" enabled="true">
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
<collectionProp name="Arguments.arguments">
<elementProp name="" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.value">{&#xd;
- &quot;orderedState&quot;: &quot;PASSIVE&quot;,&#xd;
- &quot;automationCompositionIdentifierList&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSHInstance0&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;&#xd;
+ &quot;name&quot;: &quot;DemoInstance0&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.1&quot;,&#xd;
+ &quot;compositionId&quot;: &quot;${compositionId}&quot;,&#xd;
+ &quot;description&quot;: &quot;Demo automation composition instance 0&quot;,&#xd;
+ &quot;elements&quot;: {&#xd;
+ &quot;709c62b3-8918-41b9-a747-d21eb79c6c20&quot;: {&#xd;
+ &quot;id&quot;: &quot;709c62b3-8918-41b9-a747-d21eb79c6c20&quot;,&#xd;
+ &quot;definition&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policy.clamp.ac.element.Policy_AutomationCompositionElement&quot;,&#xd;
+ &quot;version&quot;: &quot;1.2.3&quot;&#xd;
+ },&#xd;
+ &quot;description&quot;: &quot;Policy Automation Composition Element for the Demo&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;policy_type_id&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;&#xd;
+ },&#xd;
+ &quot;policy_id&quot;: {&#xd;
+ &quot;get_input&quot;: &quot;acm_element_policy&quot;&#xd;
+ }&#xd;
+ }&#xd;
}&#xd;
- ]&#xd;
-}&#xd;
-</stringProp>
+ }&#xd;
+}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
<stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/instantiation/command</stringProp>
- <stringProp name="HTTPSampler.method">PUT</stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions/${compositionId}/instances</stringProp>
+ <stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
@@ -1300,33 +1775,77 @@
<stringProp name="HTTPSampler.response_timeout"></stringProp>
</HTTPSamplerProxy>
<hashTree>
- <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
- <stringProp name="ConstantTimer.delay">6000</stringProp>
- </ConstantTimer>
- <hashTree/>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
<collectionProp name="Asserion.test_strings">
- <stringProp name="49588">202</stringProp>
- <stringProp name="51508">400</stringProp>
- <stringProp name="51514">406</stringProp>
+ <stringProp name="49587">201</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
- <boolProp name="Assertion.assume_success">true</boolProp>
- <intProp name="Assertion.test_type">34</intProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">1</intProp>
</ResponseAssertion>
<hashTree/>
+ <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="JSON Extractor" enabled="true">
+ <stringProp name="JSONPostProcessor.referenceNames">instanceId</stringProp>
+ <stringProp name="JSONPostProcessor.jsonPathExprs">$.instanceId</stringProp>
+ <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
+ <stringProp name="Scope.variable">instanceId</stringProp>
+ </JSONPostProcessor>
+ <hashTree/>
+ <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="BeanShell PostProcessor" enabled="true">
+ <boolProp name="resetInterpreter">false</boolProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="script">props.put(&quot;instanceId&quot;, vars.get(&quot;instanceId&quot;));</stringProp>
+ </BeanShellPostProcessor>
+ <hashTree/>
</hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check acm state" enabled="true">
- <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
- <collectionProp name="Arguments.arguments"/>
+ </hashTree>
+ <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="AutomationComposition Test Flow" enabled="true">
+ <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
+ <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
+ <boolProp name="LoopController.continue_forever">false</boolProp>
+ <intProp name="LoopController.loops">-1</intProp>
+ </elementProp>
+ <stringProp name="ThreadGroup.num_threads">1</stringProp>
+ <stringProp name="ThreadGroup.ramp_time">1</stringProp>
+ <boolProp name="ThreadGroup.scheduler">true</boolProp>
+ <stringProp name="ThreadGroup.duration">120</stringProp>
+ <stringProp name="ThreadGroup.delay"></stringProp>
+ <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
+ </ThreadGroup>
+ <hashTree>
+ <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <boolProp name="resetInterpreter">false</boolProp>
+ <stringProp name="script">String compositionId = props.get(&quot;compositionId&quot;);
+String instanceId = props.get(&quot;instanceId&quot;);
+vars.put(&quot;compositionId&quot;, compositionId);
+vars.put(&quot;instanceId&quot;, instanceId);
+</stringProp>
+ </BeanShellPreProcessor>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy AC instance" enabled="true">
+ <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
+ <collectionProp name="Arguments.arguments">
+ <elementProp name="" elementType="HTTPArgument">
+ <boolProp name="HTTPArgument.always_encode">false</boolProp>
+ <stringProp name="Argument.value">{&#xd;
+ &quot;deployOrder&quot;: &quot;DEPLOY&quot;&#xd;
+}&#xd;
+</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
</elementProp>
<stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/instantiation</stringProp>
- <stringProp name="HTTPSampler.method">GET</stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId}</stringProp>
+ <stringProp name="HTTPSampler.method">PUT</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
@@ -1334,34 +1853,73 @@
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp>
- <stringProp name="TestPlan.comments">Basic Health Check</stringProp>
</HTTPSamplerProxy>
<hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
+ <stringProp name="ConstantTimer.delay">6000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
<collectionProp name="Asserion.test_strings">
- <stringProp name="49586">200</stringProp>
+ <stringProp name="49588">202</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
- <boolProp name="Assertion.assume_success">false</boolProp>
- <intProp name="Assertion.test_type">1</intProp>
+ <boolProp name="Assertion.assume_success">true</boolProp>
+ <intProp name="Assertion.test_type">33</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change State to UNINITIALISED" enabled="true">
+ <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="While Controller" enabled="true">
+ <stringProp name="WhileController.condition">${__javaScript(&quot;${deployState}&quot; != &quot;DEPLOYED&quot;)}</stringProp>
+ </WhileController>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Verify acm state" enabled="true">
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
+ <collectionProp name="Arguments.arguments"/>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId}</stringProp>
+ <stringProp name="HTTPSampler.method">GET</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="49586">200</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">1</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="JSON Extractor" enabled="true">
+ <stringProp name="JSONPostProcessor.referenceNames">deployState</stringProp>
+ <stringProp name="JSONPostProcessor.jsonPathExprs">$.deployState</stringProp>
+ <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
+ <stringProp name="Scope.variable">compositionId</stringProp>
+ </JSONPostProcessor>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy AC instance" enabled="true">
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
<collectionProp name="Arguments.arguments">
<elementProp name="" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.value">{&#xd;
- &quot;orderedState&quot;: &quot;UNINITIALISED&quot;,&#xd;
- &quot;automationCompositionIdentifierList&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSHInstance0&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.1&quot;&#xd;
- }&#xd;
- ]&#xd;
+ &quot;deployOrder&quot;: &quot;UNDEPLOY&quot;&#xd;
}&#xd;
</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
@@ -1370,9 +1928,9 @@
</elementProp>
<stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/instantiation/command</stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} </stringProp>
<stringProp name="HTTPSampler.method">PUT</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -1385,14 +1943,12 @@
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
<collectionProp name="Asserion.test_strings">
- <stringProp name="51508">400</stringProp>
- <stringProp name="51514">406</stringProp>
<stringProp name="49588">202</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
<boolProp name="Assertion.assume_success">true</boolProp>
- <intProp name="Assertion.test_type">34</intProp>
+ <intProp name="Assertion.test_type">33</intProp>
</ResponseAssertion>
<hashTree/>
<ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
@@ -1400,16 +1956,84 @@
</ConstantTimer>
<hashTree/>
</hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check acm state" enabled="true">
+ <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="While Controller" enabled="true">
+ <stringProp name="WhileController.condition">${__javaScript(&quot;${undeployState}&quot; != &quot;UNDEPLOYED&quot;)}</stringProp>
+ </WhileController>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Verify acm state" enabled="true">
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
+ <collectionProp name="Arguments.arguments"/>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId}</stringProp>
+ <stringProp name="HTTPSampler.method">GET</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="49586">200</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">1</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="JSON Extractor" enabled="true">
+ <stringProp name="JSONPostProcessor.referenceNames">undeployState</stringProp>
+ <stringProp name="JSONPostProcessor.jsonPathExprs">$.deployState</stringProp>
+ <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
+ <stringProp name="Scope.variable">compositionId</stringProp>
+ </JSONPostProcessor>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ </hashTree>
+ <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
+ <stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp>
+ <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
+ <boolProp name="LoopController.continue_forever">false</boolProp>
+ <stringProp name="LoopController.loops">1</stringProp>
+ </elementProp>
+ <stringProp name="ThreadGroup.num_threads">1</stringProp>
+ <stringProp name="ThreadGroup.ramp_time">1</stringProp>
+ <boolProp name="ThreadGroup.scheduler">false</boolProp>
+ <stringProp name="ThreadGroup.duration"></stringProp>
+ <stringProp name="ThreadGroup.delay"></stringProp>
+ <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
+ </PostThreadGroup>
+ <hashTree>
+ <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <boolProp name="resetInterpreter">false</boolProp>
+ <stringProp name="script">String compositionId = props.get(&quot;compositionId&quot;);
+String instanceId = props.get(&quot;instanceId&quot;);
+vars.put(&quot;compositionId&quot;, compositionId);
+vars.put(&quot;instanceId&quot;, instanceId);
+</stringProp>
+ </BeanShellPreProcessor>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Uninstantiate AC instance" enabled="true">
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/instantiation</stringProp>
- <stringProp name="HTTPSampler.method">GET</stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId}</stringProp>
+ <stringProp name="HTTPSampler.method">DELETE</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
@@ -1417,7 +2041,6 @@
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp>
- <stringProp name="TestPlan.comments">Basic Health Check</stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
@@ -1431,31 +2054,25 @@
</ResponseAssertion>
<hashTree/>
</hashTree>
- </hashTree>
- <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
- <stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp>
- <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
- <boolProp name="LoopController.continue_forever">false</boolProp>
- <stringProp name="LoopController.loops">1</stringProp>
- </elementProp>
- <stringProp name="ThreadGroup.num_threads">1</stringProp>
- <stringProp name="ThreadGroup.ramp_time">1</stringProp>
- <boolProp name="ThreadGroup.scheduler">false</boolProp>
- <stringProp name="ThreadGroup.duration"></stringProp>
- <stringProp name="ThreadGroup.delay"></stringProp>
- <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
- </PostThreadGroup>
- <hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete instantiated acm" enabled="true">
- <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
- <collectionProp name="Arguments.arguments"/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deprime AC definition" enabled="true">
+ <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
+ <collectionProp name="Arguments.arguments">
+ <elementProp name="" elementType="HTTPArgument">
+ <boolProp name="HTTPArgument.always_encode">false</boolProp>
+ <stringProp name="Argument.value">{&#xd;
+ &quot;primeOrder&quot;: &quot;DEPRIME&quot;&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
</elementProp>
<stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/instantiation?name=PMSHInstance0&amp;version=1.0.1</stringProp>
- <stringProp name="HTTPSampler.method">DELETE</stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions/${compositionId}</stringProp>
+ <stringProp name="HTTPSampler.method">PUT</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
@@ -1467,7 +2084,7 @@
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
<collectionProp name="Asserion.test_strings">
- <stringProp name="49586">200</stringProp>
+ <stringProp name="49588">202</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
@@ -1475,10 +2092,6 @@
<intProp name="Assertion.test_type">1</intProp>
</ResponseAssertion>
<hashTree/>
- <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
- <stringProp name="ConstantTimer.delay">6000</stringProp>
- </ConstantTimer>
- <hashTree/>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete AutomationComposition Definition" enabled="true">
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
@@ -1486,9 +2099,9 @@
</elementProp>
<stringProp name="HTTPSampler.domain">${RUNTIME_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${RUNTIME_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/commission?name=NULL&amp;version=0.0.0</stringProp>
+ <stringProp name="HTTPSampler.path">/onap/policy/clamp/acm/v2/compositions/${compositionId}</stringProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -1545,7 +2158,7 @@
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">./acm_stability/testsummary.jtl</stringProp>
+ <stringProp name="filename">/home/ramesh/run-test/testsummary.jtl</stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
@@ -1582,7 +2195,7 @@
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">./acm_stability/resultTree.log</stringProp>
+ <stringProp name="filename">/home/ramesh/acm_stability/testsummary.jtl</stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
@@ -1619,7 +2232,7 @@
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">./acm_stability/resultTable.log</stringProp>
+ <stringProp name="filename">/home/ramesh/./acm_stability/testsummary.jtl</stringProp>
</ResultCollector>
<hashTree/>
</hashTree>