summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2021-10-08 11:57:13 +0100
committera.sreekumar <ajith.sreekumar@bell.ca>2021-10-08 14:45:24 +0100
commitd3719ee727e12ecdcf84fdbab8774be9f00eba0d (patch)
treed961c22c0cc112d9d2f4a3f01301cef9779c3eaa
parente035272e96ed241bbe3192c9c8fcadc975514608 (diff)
APEX-PDP S3P changes for Istanbul
Change-Id: I58f564ef19df39f2c0fff64a72c9f083faf88556 Issue-ID: POLICY-3655 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
-rw-r--r--testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx6142
-rw-r--r--testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-modify-config.json33
-rw-r--r--testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-restart.json33
-rw-r--r--testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/controlloop-hostname-update-update-config.json36
-rw-r--r--testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/simParameters.json27
-rw-r--r--testsuites/performance/performance-benchmark-test/src/main/resources/apexPdpPerformanceTestPlan.jmx6141
6 files changed, 11102 insertions, 1310 deletions
diff --git a/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx b/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx
index afeb77fab..60879c202 100644
--- a/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx
+++ b/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx
@@ -4,6 +4,7 @@
ONAP Apex-PDP
================================================================================
Copyright (C) 2020-2021 Nordix Foundation.All rights reserved.
+ Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -18,7 +19,7 @@
limitations under the License.
============LICENSE_END=========================================================
-->
-<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.3">
+<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.1">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="APEX PDP STABILITY TEST PLAN" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
@@ -67,43 +68,48 @@
</elementProp>
<elementProp name="threadsTimeOutInMs" elementType="Argument">
<stringProp name="Argument.name">threadsTimeOutInMs</stringProp>
- <stringProp name="Argument.value">${__P(threadsTimeOutInMs,5000)}</stringProp>
+ <stringProp name="Argument.value">${__P(threadsTimeOutInMs,2000)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="wait" elementType="Argument">
<stringProp name="Argument.name">wait</stringProp>
- <stringProp name="Argument.value">${__P(wait,10000)}</stringProp>
+ <stringProp name="Argument.value">${__P(wait,5000)}</stringProp>
<stringProp name="Argument.desc">Wait time between requests to apex-pdp</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="PAP_PORT" elementType="Argument">
<stringProp name="Argument.name">PAP_PORT</stringProp>
- <stringProp name="Argument.value">${__P(PAP_PORT,30211)}</stringProp>
+ <stringProp name="Argument.value">${__P(PAP_PORT,31262)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="API_PORT" elementType="Argument">
<stringProp name="Argument.name">API_PORT</stringProp>
- <stringProp name="Argument.value">${__P(API_PORT,30785)}</stringProp>
+ <stringProp name="Argument.value">${__P(API_PORT,30421)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="APEX_PORT" elementType="Argument">
<stringProp name="Argument.name">APEX_PORT</stringProp>
- <stringProp name="Argument.value">${__P(APEX_PORT,30687)}</stringProp>
+ <stringProp name="Argument.value">${__P(APEX_PORT,31151)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="DMAAP_PORT" elementType="Argument">
<stringProp name="Argument.name">DMAAP_PORT</stringProp>
- <stringProp name="Argument.value">${__P(DMAAP_PORT,31345)}</stringProp>
+ <stringProp name="Argument.value">${__P(DMAAP_PORT,31054)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="HOSTNAME" elementType="Argument">
<stringProp name="Argument.name">HOSTNAME</stringProp>
- <stringProp name="Argument.value">${__P(HOSTNAME,10.2.0.120)}</stringProp>
+ <stringProp name="Argument.value">${__P(HOSTNAME,172.16.2.18)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="LOG_PATH" elementType="Argument">
<stringProp name="Argument.name">LOG_PATH</stringProp>
- <stringProp name="Argument.value">${__P(LOG_PATH,/home/arkadiusza/apex_stability)}</stringProp>
+ <stringProp name="Argument.value">${__P(LOG_PATH,/home/asreekumar/jmeter_results/apex_stability)}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ <elementProp name="SIM_HOST" elementType="Argument">
+ <stringProp name="Argument.name">SIM_HOST</stringProp>
+ <stringProp name="Argument.value">${__P(SIM_HOST,172.16.2.18)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
@@ -150,7 +156,7 @@
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
</SetupThreadGroup>
<hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy" enabled="true">
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-ApexExample" enabled="true">
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
<collectionProp name="Arguments.arguments">
@@ -161,15 +167,17 @@
&quot;topology_template&quot;: {&#xd;
&quot;policies&quot;: [&#xd;
{&#xd;
- &quot;operational.apex.stabilityTestDefaultDomain&quot;: {&#xd;
+ &quot;onap.policies.apex.Example&quot;: {&#xd;
&quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
&quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
&quot;properties&quot;: {&#xd;
&quot;engineServiceParameters&quot;: {&#xd;
- &quot;name&quot;: &quot;MyApexEngine&quot;,&#xd;
+ &quot;name&quot;: &quot;NSOApexEngine&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;,&#xd;
&quot;id&quot;: 45,&#xd;
- &quot;instanceCount&quot;: 4,&#xd;
+ &quot;instanceCount&quot;: 5,&#xd;
&quot;deploymentPort&quot;: 12561,&#xd;
&quot;engineParameters&quot;: {&#xd;
&quot;executorParameters&quot;: {&#xd;
@@ -184,467 +192,599 @@
&quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters&quot;&#xd;
}&#xd;
}&#xd;
- }&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;logUrl&quot;,&#xd;
+ &quot;value&quot;: &quot;http://172.16.2.18:31054/events/APEX-CL-MGT&quot;&#xd;
+ }&#xd;
+ ]&#xd;
},&#xd;
&quot;policy_type_impl&quot;: {&#xd;
&quot;apexPolicyModel&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;keyInformation&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_KeyInfo&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;APEXgRPCPolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;fc0c1892-a2ae-3678-818f-b9b23939b241&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;ba931e7e-aee9-3af8-98d8-16b92a909e8a&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;b4dd59c5-0169-3810-800c-1396c2206de4&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIRequestErrorType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;b8424cdb-29fb-3566-b77a-f4f847d81cc9&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;599c297e-96c8-3b21-ad1c-e643bddeacbf&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIRequestEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Albums&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Albums&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;9922906c-ccaa-34f7-95e2-bcc36e77821b&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Albums:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;b5e3f122-2dcd-3cdf-a0ec-8210b3f80478&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAISuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Events&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Events&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;5bf28afd-787c-3138-a3e1-b33ad94a038a&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Events:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;15504e23-78c5-305e-9fce-cf1f50e75013&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAISuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_KeyInfo&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_KeyInfo&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;68abaa6f-8d03-3a53-9590-007115817d5c&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_KeyInfo:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;e2715e7d-835e-32c7-b433-a2e92bcad6ee&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSActionIdentifiersType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Policies&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Policies&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;819d06c3-33c2-3031-aa78-96281aa4270a&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Policies:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;b492e841-2c03-36a9-9ec2-dda5852152c3&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Schemas&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Schemas&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;8e67d466-f990-3a39-9fd7-4490cac342dc&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Schemas:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;ef4e45f4-1181-3121-a3b6-507126df25e7&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Tasks&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Tasks&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;4668db3d-6fe2-3885-8e47-f30cd0102f0a&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Tasks:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;91cb711a-0c73-3f51-83e6-fca9c547c71d&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyFailureResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;6e5fa19b-14df-37e3-a4ae-8c537e861a82&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSActionIdentifiersType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;dda3c648-dc8b-38e0-855d-9cb72397f957&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyRequestEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;8350ac5e-c157-38b9-9614-a0f93a830e60&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSCreateSubscriptionPayloadType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;96b306bd-6dee-3d47-981c-eaac316d5ae1&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyResponsePayloadType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;12658406-9147-3c9d-a38c-5ad5e30b092b&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSDeleteSubscriptionPayloadType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;1b65abfb-ce35-3765-9b9c-d2ee02bef28b&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifySuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;35590ac0-062c-39f1-8786-b4ff716e30b1&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSRequestCommonHeaderType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;4dac3de7-3817-396f-91d6-ce701d162877&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;dd7e1805-885a-350b-aaf9-ed541321ae3c&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;92dc9e6b-2082-3d90-ba5e-f2dba18b72b6&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifySuccessResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;15161037-9ac8-3223-820f-4e743562a345&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;a6801c93-f15b-3158-ba33-7760197d3609&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSFailureResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;97dc5f58-25bb-3c20-8d53-fdb70d7ca256&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponsePayloadType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;e2da0a15-c542-3e77-874d-4512e9b4162e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSFailureResponseStatusType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;c28b05a8-7436-3ac0-82ca-6d5fc18c9584&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponsePolicy:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;f54edff0-532f-3142-8e65-a5c9d67888ef&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRequestCommonHeaderType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;7986e21b-32f7-302e-9554-31f21b673493&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseStatusEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;b967dc44-a156-32d3-a796-f03dbf74316c&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRequestPayloadType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseStatusType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;f2aa4552-069d-3db8-8638-2d1f59124e7a&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;d22c78a5-272c-391d-8083-28588280caf9&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;c2e3b07f-2c09-3195-9527-6b3ab0666d61&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;92162397-1a8e-3a3f-a469-d2af7700af4a&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionPayloadEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;a7c28cc1-9fe5-30b7-9dd8-5a4f7f7d811e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartFailureResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;bc0c69f0-52ed-38ea-b468-ae4a6fd1730d&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionPayloadTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;d01d1022-48ac-391d-904d-282ccb063f8a&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartRequestEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;7cfcf843-337e-3f41-b755-5043cb0a08fc&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionRequestEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;ad8cbd94-6eb5-3743-8a7d-42cbe49a5320&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartResponsePayloadType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;89cb75e9-f06c-30d3-b4ff-698d45f63869&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionRequestTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;bbb06330-9161-392e-a0ca-a6bb5e3376af&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartSuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;994fa441-04ab-33bb-832d-1cd12ab5d074&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionPayloadEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;70c6c6e5-00da-30cb-8ec0-14437d657f39&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;0f519117-5fea-3e4b-941f-8f778100465f&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionPayloadTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;77f16151-80b5-304c-a448-19d8528feed1&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartSuccessResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;15d618d8-1689-3a05-89a5-05efa9388f65&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionRequestEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;2f17aee2-fbdf-3c41-a779-f9c17b5bda5b&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSSuccessResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;acb772fe-d442-39e3-98f9-b1080caf4150&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionRequestTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;8c554852-3ed6-3027-a0d3-fccd2db19875&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSSuccessResponseStatusType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;c2bd6f0d-6854-317a-9be2-97c08338428c&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;PMSubscriptionAlbum:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;b402baca-915b-3952-97fc-d9899f9ca81c&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_EventDetailsAlbum:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;992b7819-9f69-3aa0-bb0f-6e45ea15ce05&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;PMSubscriptionOutputEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;3626f32a-eee6-3254-b3d4-e4829518c381&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_EventDetailsAlbumType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;73c1c397-4fc3-357f-93b6-a8ad707fbaae&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;PMSubscriptionType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;87abb453-a919-3131-8ffb-3e5c910c6049&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_HandleAAIFailureResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&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;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&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;
+ &quot;UUID&quot;: &quot;8881e644-3cca-3aec-8201-312ca6f719e0&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_HandleAAISuccessResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;6c1c6c45-26e0-3591-94bf-679d20e283f4&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ReceivePMSubscriptionTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;057f6ddd-d6aa-3ce2-a060-d344de16d7f3&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_HandleVesEventTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&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;name&quot;: &quot;ApexExample_LogStatusEvent&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;
+ &quot;UUID&quot;: &quot;4867b1e7-a819-3b9f-be2b-a97fe6019827&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_LogStatusEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;975b3071-b775-3617-a888-f831fe5a31db&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VesEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;ad9efe17-a03e-3b64-8e8a-51e144f57d2c&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VesEventHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;0054393c-10df-3214-af86-cb04a23325bf&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VesEventType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;865a5903-201b-34ff-918b-2bfdde743576&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VnfRelationShipListType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;7218fb2f-59e3-321d-9ae1-bc97b19eb4ae&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleBooleanType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleLongType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
@@ -663,58 +803,100 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;b2501730-8870-3475-b22a-4a4d22792ebb&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_Albums&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;597643b1-9db1-31ce-85d0-e1c63c43b30b&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SubscriptionStatusType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;7dc5f49d-c291-38de-bcae-1db30d00581f&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Albums:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_Events&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;184547bb-7d64-3cb2-a273-d7185102c5ce&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SubscriptionType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;06b3112b-ae8b-3f37-8aa6-f539c0250550&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Events:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_KeyInfo&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;
+ &quot;UUID&quot;: &quot;454848e1-43ac-3ce4-bfdc-b9b6271dc563&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_KeyInfo:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;testPolicyB&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_Policies&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;ead590a3-ba2e-3a01-b6e9-9329f5c8fee1&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;testPolicyB:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;24c3fca5-b0dd-398c-83ee-66a187296b32&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Policies:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;onap.policies.apex.Example_Schemas&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;c6aff774-f50a-329d-a731-9c23a6e7e02e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Schemas:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;onap.policies.apex.Example_Tasks&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;f856a6df-6237-3acc-aa68-f55e64cc0ec9&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Tasks:0.0.1\&quot;&quot;&#xd;
}&#xd;
}&#xd;
]&#xd;
@@ -722,50 +904,50 @@
},&#xd;
&quot;policies&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Policies&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;CDSResponsePolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;policyKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&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;CDSResponseState&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
- &quot;localName&quot;: &quot;CDSResponseState&quot;&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;&#xd;
},&#xd;
&quot;trigger&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&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;ResponseOutput&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_AAIFailureStateOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CDSResponseState&quot;,&#xd;
- &quot;localName&quot;: &quot;ResponseOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAIFailureStateOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
@@ -788,29 +970,29 @@
&quot;entry&quot;: []&#xd;
},&#xd;
&quot;defaultTask&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&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;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CDSResponseState&quot;,&#xd;
- &quot;localName&quot;: &quot;CDSResponsePolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CDSResponseState&quot;,&#xd;
- &quot;localName&quot;: &quot;ResponseOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAIFailureStateOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
@@ -820,173 +1002,336 @@
}&#xd;
]&#xd;
},&#xd;
- &quot;firstState&quot;: &quot;CDSResponseState&quot;&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&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;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&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;CreateOrDeleteState&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
- &quot;localName&quot;: &quot;CreateOrDeleteState&quot;&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;&#xd;
},&#xd;
&quot;trigger&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&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;CreateSubscriptionPayload&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_AAISuccessStateOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;CreateSubscriptionPayload&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAISuccessStateOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
- &quot;parentKeyVersion&quot;: &quot;0.0.1&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;CreateSubscription&quot;&#xd;
+ &quot;localName&quot;: &quot;NULL&quot;&#xd;
}&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
+ &quot;taskSelectionLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;NULL&quot;,&#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;ApexExample_HandleAAISuccessResponseTask&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;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAISuccessStateOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&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;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&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;DeleteSubscriptionPayload&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_ConfigModifyFailureResponseOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;DeleteSubscriptionPayload&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ConfigModifyFailureResponseOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
- &quot;parentKeyVersion&quot;: &quot;0.0.1&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;DeleteSubscription&quot;&#xd;
+ &quot;localName&quot;: &quot;NULL&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
},&#xd;
- &quot;contextAlbumReference&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- }&#xd;
- ],&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
&quot;taskSelectionLogic&quot;: {&#xd;
- &quot;key&quot;: &quot;TaskSelectionLogic&quot;,&#xd;
- &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\nvar changeType = pmSubscriptionInfo.get(\&quot;changeType\&quot;).toString()\n\nif (\&quot;CREATE\&quot;.equals(changeType)) {\n executor.subject.getTaskKey(\&quot;CreateSubscriptionPayloadTask\&quot;).copyTo(executor.selectedTask);\n}\nelse if (\&quot;DELETE\&quot;.equals(changeType)) {\n executor.subject.getTaskKey(\&quot;DeleteSubscriptionPayloadTask\&quot;).copyTo(executor.selectedTask);\n}\n\ntrue;&quot;&#xd;
+ &quot;key&quot;: &quot;NULL&quot;,&#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;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&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;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&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;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;CreateSubscriptionPayload&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ConfigModifyFailureResponseOutput&quot;&#xd;
}&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&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;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&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;ApexExample_ConfigModifySuccessResponseOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ConfigModifySuccessResponseOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#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;: &quot;NULL&quot;,&#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;ApexExample_CDSConfigModifySuccessResponseTask&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;DeleteSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&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;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;DeleteSubscriptionPayload&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ConfigModifySuccessResponseOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&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;CreateSubscription&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
- &quot;localName&quot;: &quot;CreateSubscription&quot;&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;&#xd;
},&#xd;
&quot;trigger&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&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;IssueCreateSubscriptionRequestOutput&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_RestartFailureResponseOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;IssueCreateSubscriptionRequestOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_RestartFailureResponseOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
@@ -999,12 +1344,7 @@
}&#xd;
]&#xd;
},&#xd;
- &quot;contextAlbumReference&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- }&#xd;
- ],&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
&quot;taskSelectionLogic&quot;: {&#xd;
&quot;key&quot;: &quot;NULL&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
@@ -1014,62 +1354,80 @@
&quot;entry&quot;: []&#xd;
},&#xd;
&quot;defaultTask&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&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;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&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;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;IssueCreateSubscriptionRequestOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_RestartFailureResponseOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&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;DeleteSubscription&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
- &quot;localName&quot;: &quot;DeleteSubscription&quot;&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;&#xd;
},&#xd;
&quot;trigger&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&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;IssueDeleteSubscriptionRequestOutput&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_RestartSuccessResponseOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;DeleteSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;IssueDeleteSubscriptionRequestOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_RestartSuccessResponseOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
@@ -1082,12 +1440,7 @@
}&#xd;
]&#xd;
},&#xd;
- &quot;contextAlbumReference&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- }&#xd;
- ],&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
&quot;taskSelectionLogic&quot;: {&#xd;
&quot;key&quot;: &quot;NULL&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
@@ -1097,80 +1450,93 @@
&quot;entry&quot;: []&#xd;
},&#xd;
&quot;defaultTask&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&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;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&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;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;DeleteSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;DeleteSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;IssueDeleteSubscriptionRequestOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_RestartSuccessResponseOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&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;ReceiveSubscriptionState&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveSubscriptionState&quot;&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ReceiveVesState&quot;&#xd;
},&#xd;
&quot;trigger&quot;: {&#xd;
- &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEvent&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;ReceivePMSubscriptionOutput&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_VesOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;ReceiveSubscriptionState&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceivePMSubscriptionOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_VesOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
- &quot;parentKeyVersion&quot;: &quot;0.0.1&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;CreateOrDeleteState&quot;&#xd;
+ &quot;localName&quot;: &quot;NULL&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
},&#xd;
- &quot;contextAlbumReference&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- }&#xd;
- ],&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
&quot;taskSelectionLogic&quot;: {&#xd;
&quot;key&quot;: &quot;NULL&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
@@ -1180,29 +1546,29 @@
&quot;entry&quot;: []&#xd;
},&#xd;
&quot;defaultTask&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&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;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&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;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;ReceiveSubscriptionState&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;ReceiveSubscriptionState&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceivePMSubscriptionOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_VesOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
@@ -1212,7 +1578,7 @@
}&#xd;
]&#xd;
},&#xd;
- &quot;firstState&quot;: &quot;ReceiveSubscriptionState&quot;&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_ReceiveVesState&quot;&#xd;
}&#xd;
}&#xd;
]&#xd;
@@ -1220,19 +1586,19 @@
},&#xd;
&quot;tasks&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Tasks&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
@@ -1242,7 +1608,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1253,7 +1619,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1264,7 +1630,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1275,7 +1641,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;status&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1286,11 +1652,11 @@
&quot;outputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1303,35 +1669,68 @@
},&#xd;
&quot;contextAlbumReference&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
],&#xd;
&quot;taskLogic&quot;: {&#xd;
&quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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\n\nvar uuidType = java.util.UUID;\n\nvar albumID = uuidType.fromString(\&quot;d0050623-18e5-46c9-9298-9a567990cd7c\&quot;);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(albumID.toString());\n\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\&quot;status\&quot;).createNewInstance();\n\nresponseStatus.put(\&quot;subscriptionName\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;subscriptionName\&quot;))\nresponseStatus.put(\&quot;nfName\&quot;, pmSubscriptionInfo.get(\&quot;nfName\&quot;))\nresponseStatus.put(\&quot;changeType\&quot;, pmSubscriptionInfo.get(\&quot;changeType\&quot;))\n\nvar response = executor.inFields.get(\&quot;payload\&quot;)\n\nif (\&quot;failure\&quot;.equals(response.get(\&quot;create_DasH_subscription_DasH_response\&quot;).get(\&quot;odl_DasH_response\&quot;).get(\&quot;status\&quot;))) {\n responseStatus.put(\&quot;message\&quot;, \&quot;failed\&quot;)\n} else {\n responseStatus.put(\&quot;message\&quot;, \&quot;success\&quot;)\n}\n\nexecutor.outFields.put(\&quot;status\&quot;, responseStatus)\n\ntrue;&quot;&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar timestamp = longType(new Date().getTime())\nvar errorMessage = \&quot;CDS operation failed. Error message from CDS - \&quot; + executor.inFields.get(\&quot;status\&quot;).get(\&quot;errorMessage\&quot;);\nerrorMessage = errorMessage.replace(/\&quot;/g, &apos;\\\\\\\&quot;&apos;)\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + errorMessage);\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1342,11 +1741,22 @@
&quot;outputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1357,7 +1767,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1370,35 +1780,46 @@
},&#xd;
&quot;contextAlbumReference&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
],&#xd;
&quot;taskLogic&quot;: {&#xd;
&quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\n\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;create_DasH_subscription_DasH_properties_record\&quot;);\n\npayloadProperties.put(\&quot;nfName\&quot;, pmSubscriptionInfo.get(\&quot;nfName\&quot;))\npayloadProperties.put(\&quot;subscriptionName\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;subscriptionName\&quot;))\npayloadProperties.put(\&quot;administrativeState\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;administrativeState\&quot;))\npayloadProperties.put(\&quot;fileBasedGP\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileBasedGP\&quot;).toString())\npayloadProperties.put(\&quot;fileLocation\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileLocation\&quot;))\npayloadProperties.put(\&quot;measurementGroups\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;measurementGroups\&quot;))\n\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSRequestPayloadEntry\&quot;);\npayloadEntry.put(\&quot;create_DasH_subscription_DasH_properties\&quot;, payloadProperties)\n\nvar payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\npayload.put(\&quot;create_DasH_subscription_DasH_request\&quot;, payloadEntry);\n\nexecutor.outFields.put(\&quot;albumID\&quot;, executor.inFields.get(\&quot;albumID\&quot;))\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending Create Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar timestamp = longType(new Date().getTime());\nvar faultFields = eventDetailsAlbum.get(\&quot;faultFields\&quot;);\nvar vnfDetails = eventDetailsAlbum.get(\&quot;vnfDetails\&quot;);\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\ncommonHeader.put(\&quot;subRequestId\&quot;, commonEventHeader.get(\&quot;eventId\&quot;));\ncommonHeader.put(\&quot;requestId\&quot;, uuidType.randomUUID().toString());\ncommonHeader.put(\&quot;originatorId\&quot;, \&quot;POLICY\&quot;);\n\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\nactionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\nactionIdentifiers.put(\&quot;blueprintName\&quot;, \&quot;apex-example-cba\&quot;);\nactionIdentifiers.put(\&quot;blueprintVersion\&quot;, \&quot;1.0.0\&quot;);\nactionIdentifiers.put(\&quot;actionName\&quot;, \&quot;restart\&quot;);\n\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;update_DasH_properties_record\&quot;);\npayloadProperties.put(\&quot;service_DasH_instance_DoT_service_DasH_instance_DasH_id\&quot;, vnfDetails.get(\&quot;service-id\&quot;).toString())\npayloadProperties.put(\&quot;generic_DasH_vnf_DoT_vnf_DasH_id\&quot;, vnfDetails.get(\&quot;vnf-name\&quot;).toString())\nvar dataRecord = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;update_DasH_data_record\&quot;);\ndataRecord.put(\&quot;active_DasH_streams\&quot;,\&quot;7\&quot;)\npayloadProperties.put(\&quot;data\&quot;, dataRecord)\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSRequestPayloadEntry\&quot;);\npayloadEntry.put(\&quot;update_DasH_properties\&quot;, payloadProperties)\npayloadEntry.put(\&quot;vfStatus\&quot;, faultFields.get(\&quot;vfStatus\&quot;))\nvar payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\npayload.put(\&quot;restart_DasH_request\&quot;, payloadEntry);\n\nexecutor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\nexecutor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(+executor.outFields);\n\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;SUCCESS\&quot;, \&quot;ConfigModify request is successful. Sending restart request to CDS.\&quot;)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1409,7 +1830,18 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1420,11 +1852,52 @@
&quot;outputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#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;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar timestamp = longType(new Date().getTime())\nvar errorMessage = \&quot;CDS operation failed. Error message from CDS - \&quot; + executor.inFields.get(\&quot;status\&quot;).get(\&quot;errorMessage\&quot;);\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + errorMessage);\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputFields&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1435,7 +1908,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1446,7 +1919,33 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;outputFields&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#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;
@@ -1459,35 +1958,35 @@
},&#xd;
&quot;contextAlbumReference&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
],&#xd;
&quot;taskLogic&quot;: {&#xd;
&quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\nvar payload = executor.inFields.get(\&quot;payload\&quot;)\nvar actionName = \&quot;create-subscription\&quot;\n\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\ncommonHeader.put(\&quot;originatorId\&quot;, \&quot;sdnc\&quot;);\ncommonHeader.put(\&quot;requestId\&quot;, \&quot;123456-1000\&quot;);\ncommonHeader.put(\&quot;subRequestId\&quot;, \&quot;sub-123456-1000\&quot;);\n\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\nactionIdentifiers.put(\&quot;actionName\&quot;, actionName);\nactionIdentifiers.put(\&quot;blueprintName\&quot;, \&quot;pm_control\&quot;);\nactionIdentifiers.put(\&quot;blueprintVersion\&quot;, \&quot;1.0.0\&quot;);\nactionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\n\nexecutor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\nexecutor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending Activate Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar timestamp = longType(new Date().getTime());\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;FINAL_SUCCESS\&quot;, \&quot;Successfully processed the VES Event. Restart is complete.\&quot;)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1498,22 +1997,11 @@
&quot;outputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
- &quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
- &quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- },&#xd;
- &quot;optional&quot;: false&#xd;
- }&#xd;
- },&#xd;
- {&#xd;
- &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1526,46 +2014,167 @@
},&#xd;
&quot;contextAlbumReference&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
],&#xd;
&quot;taskLogic&quot;: {&#xd;
&quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\n\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;delete_DasH_subscription_DasH_properties_record\&quot;);\n\npayloadProperties.put(\&quot;nfName\&quot;, pmSubscriptionInfo.get(\&quot;nfName\&quot;))\npayloadProperties.put(\&quot;subscriptionName\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;subscriptionName\&quot;))\npayloadProperties.put(\&quot;administrativeState\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;administrativeState\&quot;))\npayloadProperties.put(\&quot;fileBasedGP\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileBasedGP\&quot;).toString())\npayloadProperties.put(\&quot;fileLocation\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileLocation\&quot;))\npayloadProperties.put(\&quot;measurementGroups\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;measurementGroups\&quot;))\n\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSRequestPayloadEntry\&quot;);\npayloadEntry.put(\&quot;delete_DasH_subscription_DasH_properties\&quot;, payloadProperties)\n\nvar payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\npayload.put(\&quot;delete_DasH_subscription_DasH_request\&quot;, payloadEntry);\n\nexecutor.outFields.put(\&quot;albumID\&quot;, executor.inFields.get(\&quot;albumID\&quot;))\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending delete Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\n\nvar aaiErrorMessage = \&quot;AAI operation failed. Error message from AAI - \&quot; + executor.inFields.get(\&quot;requestError\&quot;).get(\&quot;serviceException\&quot;).get(\&quot;text\&quot;);\nvar timestamp = longType(new Date().getTime());\n\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + aaiErrorMessage)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;model-customization-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;model-customization-id&quot;,&#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;model-invariant-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;model-invariant-id&quot;,&#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;model-version-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;model-version-id&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&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;orchestration-status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;orchestration-status&quot;,&#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;prov-status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;prov-status&quot;,&#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;relationship-list&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;relationship-list&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#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;service-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;service-id&quot;,&#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;vnf-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-id&quot;,&#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;vnf-name&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-name&quot;,&#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;vnf-type&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-type&quot;,&#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;
@@ -1580,7 +2189,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1591,7 +2200,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1602,7 +2211,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1615,33 +2224,184 @@
},&#xd;
&quot;contextAlbumReference&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
],&#xd;
&quot;taskLogic&quot;: {&#xd;
&quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\nvar payload = executor.inFields.get(\&quot;payload\&quot;)\nvar actionName = \&quot;delete-subscription\&quot;\n\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\ncommonHeader.put(\&quot;originatorId\&quot;, \&quot;sdnc\&quot;);\ncommonHeader.put(\&quot;requestId\&quot;, \&quot;123456-1000\&quot;);\ncommonHeader.put(\&quot;subRequestId\&quot;, \&quot;sub-123456-1000\&quot;);\n\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\nactionIdentifiers.put(\&quot;actionName\&quot;, actionName);\nactionIdentifiers.put(\&quot;blueprintName\&quot;, \&quot;pm_control\&quot;);\nactionIdentifiers.put(\&quot;blueprintVersion\&quot;, \&quot;1.0.0\&quot;);\nactionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\n\nexecutor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\nexecutor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending Deactivate Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\n\nvar vnfDetails = executor.inFields;\nexecutor.logger.info(\&quot;ApexExample_HandleAAISuccessResponseTask processing event - \&quot; + vnfDetails);\neventDetailsAlbum.put(\&quot;vnfDetails\&quot;, vnfDetails);\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar faultFields = eventDetailsAlbum.get(\&quot;faultFields\&quot;);\n\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\ncommonHeader.put(\&quot;subRequestId\&quot;, commonEventHeader.get(\&quot;eventId\&quot;));\ncommonHeader.put(\&quot;requestId\&quot;, uuidType.randomUUID().toString());\ncommonHeader.put(\&quot;originatorId\&quot;, \&quot;POLICY\&quot;);\n\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\nactionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\nactionIdentifiers.put(\&quot;blueprintName\&quot;, \&quot;apex-example-cba\&quot;);\nactionIdentifiers.put(\&quot;blueprintVersion\&quot;, \&quot;1.0.0\&quot;);\nactionIdentifiers.put(\&quot;actionName\&quot;, \&quot;modify-config\&quot;);\n\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;update_DasH_properties_record\&quot;);\npayloadProperties.put(\&quot;service_DasH_instance_DoT_service_DasH_instance_DasH_id\&quot;, vnfDetails.get(\&quot;service-id\&quot;).toString())\npayloadProperties.put(\&quot;generic_DasH_vnf_DoT_vnf_DasH_id\&quot;, vnfDetails.get(\&quot;vnf-id\&quot;).toString())\nvar dataRecord = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;update_DasH_data_record\&quot;);\ndataRecord.put(\&quot;active_DasH_streams\&quot;,\&quot;7\&quot;)\npayloadProperties.put(\&quot;data\&quot;, dataRecord)\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSRequestPayloadEntry\&quot;);\npayloadEntry.put(\&quot;update_DasH_properties\&quot;, payloadProperties)\npayloadEntry.put(\&quot;vfStatus\&quot;, faultFields.get(\&quot;vfStatus\&quot;))\nvar payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\nvar payloadSchemaHelper = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;);\npayload.put(\&quot;modify_DasH_config_DasH_request\&quot;, payloadEntry);\n\n//always use the executor.stringify2json method instead of JSON.strngify\nexecutor.logger.info(\&quot;CDS modify config request payload - \&quot; + executor.stringify2Json(payload, payloadSchemaHelper));\n\nexecutor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\nexecutor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\nvar timestamp = longType(new Date().getTime());\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;SUCCESS\&quot;, \&quot;VNF details are received from AAI successfully. Sending ConfigModify request to CDS.\&quot;)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;changeType&quot;,&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;changeType&quot;,&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;outputFields&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#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;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\&quot;event\&quot;);\nexecutor.logger.info(\&quot;ApexExample_HandleVesEventTask processing VES event - \&quot; + event);\n\nvar commonEventHeader = event.get(\&quot;commonEventHeader\&quot;);\nvar faultFields = event.get(\&quot;faultFields\&quot;);\n\n//albumID will be used to fetch info from our album later\nvar albumID = commonEventHeader.get(\&quot;sourceId\&quot;);\n\n// save the event processing start time in apex\ncommonEventHeader.put(\&quot;startEpochMicrosec\&quot;, longType(new Date().getTime()));\n//save the incoming fault event details to album\neventDetailsAlbum.put(\&quot;commonEventHeader\&quot;, commonEventHeader)\neventDetailsAlbum.put(\&quot;faultFields\&quot;, faultFields)\nexecutor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).put(albumID.toString(), eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\&quot;albumId\&quot;, albumID);\nexecutor.getExecutionProperties().setProperty(\&quot;vnf-name\&quot;, eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;sourceName\&quot;));\n\nvar timestamp = longType(new Date().getTime());\nsend(eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;sourceId\&quot;), timestamp, \&quot;ACTIVE\&quot;, \&quot;VES event has been received. Going to fetch VNF details from AAI.\&quot;)\n\nexecutor.logger.info(executor.outFields);\nreturnValue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;events&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;AAI&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;model-customization-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;model-customization-id&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
@@ -1650,9 +2410,9 @@
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
+ &quot;key&quot;: &quot;model-invariant-id&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
+ &quot;key&quot;: &quot;model-invariant-id&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
@@ -1661,9 +2421,9 @@
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;nfName&quot;,&#xd;
+ &quot;key&quot;: &quot;model-version-id&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;nfName&quot;,&#xd;
+ &quot;key&quot;: &quot;model-version-id&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
@@ -1672,9 +2432,9 @@
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;policyName&quot;,&#xd;
+ &quot;key&quot;: &quot;orchestration-status&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;policyName&quot;,&#xd;
+ &quot;key&quot;: &quot;orchestration-status&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
@@ -1683,70 +2443,212 @@
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;subscription&quot;,&#xd;
+ &quot;key&quot;: &quot;prov-status&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;subscription&quot;,&#xd;
+ &quot;key&quot;: &quot;prov-status&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionType&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;relationship-list&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;relationship-list&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#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;service-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;service-id&quot;,&#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;vnf-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-id&quot;,&#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;vnf-name&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-name&quot;,&#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;vnf-type&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-type&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;outputFields&quot;: {&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
}&#xd;
]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;taskParameters&quot;: {&#xd;
- &quot;entry&quot;: []&#xd;
- },&#xd;
- &quot;contextAlbumReference&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- }&#xd;
- ],&#xd;
- &quot;taskLogic&quot;: {&#xd;
- &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
- &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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 */\nvar uuidType = java.util.UUID;\n\n\n//albumID will be used to fetch info from our album later\nvar albumID = uuidType.fromString(\&quot;d0050623-18e5-46c9-9298-9a567990cd7c\&quot;);\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).getSchemaHelper().createNewInstance();\nvar returnValue = true;;\n\nif(executor.inFields.get(\&quot;policyName\&quot;) != null) {\n var changeType = executor.inFields.get(\&quot;changeType\&quot;)\n var nfName = executor.inFields.get(\&quot;nfName\&quot;)\n var policyName = executor.inFields.get(\&quot;policyName\&quot;)\n var closedLoopControlName = executor.inFields.get(\&quot;closedLoopControlName\&quot;)\n var subscription = executor.inFields.get(\&quot;subscription\&quot;)\n\n pmSubscriptionInfo.put(\&quot;nfName\&quot;, executor.inFields.get(\&quot;nfName\&quot;));\n pmSubscriptionInfo.put(\&quot;changeType\&quot;, executor.inFields.get(\&quot;changeType\&quot;))\n pmSubscriptionInfo.put(\&quot;policyName\&quot;, executor.inFields.get(\&quot;policyName\&quot;))\n pmSubscriptionInfo.put(\&quot;closedLoopControlName\&quot;, executor.inFields.get(\&quot;closedLoopControlName\&quot;))\n pmSubscriptionInfo.put(\&quot;subscription\&quot;, subscription)\n\n executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).put(albumID.toString(), pmSubscriptionInfo);\n\n executor.outFields.put(\&quot;albumID\&quot;, albumID)\n} else {\n executor.message = \&quot;Received invalid event\&quot;\n returnValue = false;\n}\nreturnValue;&quot;&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
}&#xd;
}&#xd;
- }&#xd;
- ]&#xd;
- }&#xd;
- },&#xd;
- &quot;events&quot;: {&#xd;
- &quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Events&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- },&#xd;
- &quot;eventMap&quot;: {&#xd;
- &quot;entry&quot;: [&#xd;
+ },&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
&quot;source&quot;: &quot;CDS&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
@@ -1756,7 +2658,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1767,7 +2669,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1778,7 +2680,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1789,7 +2691,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;status&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1801,25 +2703,58 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
- &quot;source&quot;: &quot;APEX&quot;,&#xd;
- &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
&quot;key&quot;: &quot;status&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;status&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1831,25 +2766,36 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
&quot;source&quot;: &quot;APEX&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1860,7 +2806,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1872,16 +2818,16 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
- &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
@@ -1890,7 +2836,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1901,7 +2847,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1912,7 +2858,18 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1924,36 +2881,2548 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
&quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;DCAE&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;albums&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;ApexExample_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&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;ApexExample_EventDetailsAlbumType&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;onap.policies.apex.Example_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;ApexExample_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;AAIRequestErrorType\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;serviceException\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;serviceException\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;messageId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;text\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;variables\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSActionIdentifiers_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;actionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;mode\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;CDSConfigResponsePayloadEntry\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;modify_DasH_config_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;modify_DasH_config_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;execute_DasH_command_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n },\n {\n \&quot;name\&quot;: \&quot;prepare_DasH_environment_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;errorMessage\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;map\&quot;,\n \&quot;values\&quot;: {\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestPayloadEntry\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;vfStatus\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;update_DasH_properties\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;update_DasH_properties_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;service_DasH_instance_DoT_service_DasH_instance_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;generic_DasH_vnf_DoT_vnf_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;data\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;update_DasH_data_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;active_DasH_streams\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }\n }\n ]\n }\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;CDSRestartResponsePayloadEntry\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;restart_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;restart_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;execute_DasH_command_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n },\n {\n \&quot;name\&quot;: \&quot;prepare_DasH_environment_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;eventDetails\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;domain\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;lastEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;priority\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;reportingEntityName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sequence\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;startEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timeZoneOffset\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;version\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vesEventListenerVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;faultFields\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;faultFields\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;alarmAdditionalInformation\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;alarmAdditionalInformation\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;PilotNumberPoolSize\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;alarmCondition\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventSeverity\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventSourceType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;faultFieldsVersion\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;specificProblem\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vfStatus\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;vnfDetails\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;vnfDetails\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;vnf_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vnf_DasH_name\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vnf_DasH_type\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;service_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;prov_DasH_status\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;orchestration_DasH_status\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;in_DasH_maint\&quot;,\n \&quot;type\&quot;: \&quot;boolean\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;is_DasH_closed_DasH_loop_DasH_disabled\&quot;,\n \&quot;type\&quot;: \&quot;boolean\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;resource_DasH_version\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;model_DasH_invariant_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;model_DasH_version_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;model_DasH_customization_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;target\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;target\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;targetType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;name\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;event\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;domain\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;lastEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;priority\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;reportingEntityName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sequence\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;startEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timeZoneOffset\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;version\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vesEventListenerVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;faultFields\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;faultFields\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;alarmAdditionalInformation\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;alarmAdditionalInformation\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;PilotNumberPoolSize\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;alarmCondition\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventSeverity\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventSourceType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;faultFieldsVersion\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;specificProblem\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vfStatus\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;VnfRelationShipListType\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;relationship\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;relationship_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;related_DasH_to\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;relationship_DasH_label\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;related_DasH_link\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;relationship_DasH_data\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;relationship_DasH_data_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;relationship_DasH_key\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;relationship_DasH_value\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;related_DasH_to_DasH_property\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;related_DasH_to_DasH_property_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;property_DasH_key\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;property_DasH_value\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&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.Boolean&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&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.Long&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;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventInputParameters&quot;: {&#xd;
+ &quot;ApexExample_DCAEConsumer&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://172.16.2.18:31054/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT/ApexExampleCG1/1?timeout=30000&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;ApexExample_VesEvent&quot;&#xd;
+ },&#xd;
+ &quot;ApexExample_AAIResponseConsumer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;url&quot;: &quot;https://aai:8443/aai/v14/network/generic-vnfs/generic-vnf?vnf-name={vnf-name}&quot;,&#xd;
+ &quot;httpMethod&quot;: &quot;GET&quot;,&#xd;
+ &quot;httpCodeFilter&quot;: &quot;[245][0-9][0-9]&quot;,&#xd;
+ &quot;httpHeaders&quot;: [&#xd;
+ [&#xd;
+ &quot;Accept&quot;,&#xd;
+ &quot;application/json&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;Content-Type&quot;,&#xd;
+ &quot;application/json&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;X-FromAppId&quot;,&#xd;
+ &quot;dcae-curl&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;x-transactionId&quot;,&#xd;
+ &quot;9998&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;Authorization&quot;,&#xd;
+ &quot;Basic QUFJOkFBSQ==&quot;&#xd;
+ ]&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;ApexExample_AAISuccessResponseEvent|ApexExample_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_AAIProducer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 2000&#xd;
+ },&#xd;
+ &quot;ApexExample_CDSConfigModifyResponseConsumer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent|ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_CDSConfigModifyRequestProducer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 500&#xd;
+ },&#xd;
+ &quot;ApexExample_CDSRestartResponseConsumer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent|ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_CDSRestartRequestProducer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 500&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventOutputParameters&quot;: {&#xd;
+ &quot;ApexExample_AAIProducer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventNameFilter&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_AAIResponseConsumer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 2000&#xd;
+ },&#xd;
+ &quot;ApexExample_CDSConfigModifyRequestProducer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;host&quot;: &quot;policy-models-simulator&quot;,&#xd;
+ &quot;port&quot;: 6680,&#xd;
+ &quot;username&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;password&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;timeout&quot;: 10&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventNameFilter&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_CDSConfigModifyResponseConsumer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 500&#xd;
+ },&#xd;
+ &quot;ApexExample_CDSRestartRequestProducer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;host&quot;: &quot;policy-models-simulator&quot;,&#xd;
+ &quot;port&quot;: 6680,&#xd;
+ &quot;username&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;password&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;timeout&quot;: 10&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventNameFilter&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_CDSRestartResponseConsumer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 500&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/policy/api/v1/policies</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>
+ <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/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-SimpleCL" 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;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
+ &quot;topology_template&quot;: {&#xd;
+ &quot;policies&quot;: [&#xd;
+ {&#xd;
+ &quot;onap.policies.apex.Simplecontrolloop&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;engineServiceParameters&quot;: {&#xd;
+ &quot;name&quot;: &quot;NSOApexEngine&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;id&quot;: 45,&#xd;
+ &quot;instanceCount&quot;: 5,&#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;Avro&quot;: {&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;policy_type_impl&quot;: {&#xd;
+ &quot;apexPolicyModel&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;keyInformation&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;7218fb2f-59e3-321d-9ae1-bc97b19eb4ae&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleBooleanType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;c8a29e27-0a15-354a-84f9-4c7f207e5c81&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;5e843cee-0180-39b9-8989-180b2ffe11c0&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;90291c92-9b27-3cd9-8720-db572419c048&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIRequestErrorType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;7b7e6751-4e0b-389d-98c0-5567bbc0294c&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIRequestEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;63d5680c-14ef-3505-8d34-ebb646bba07b&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAISuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;a84ca97d-6e94-39a2-91f9-59a6c9aa435e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;0e2ee622-7fd3-3e49-82e2-539c4f5e9624&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSActionIdentifiersType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;e84f8682-ea33-3ad0-8626-8bc4634581fc&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;a252f835-2479-38ef-9ef4-20af62725752&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;cfc46ea9-b8c1-38dd-ac9c-304c916daf34&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;1e7095d6-a455-3f89-acae-486e35d7e311&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyRequestEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;d22ea83b-695d-3da9-b9f5-41f16ca433bf&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;e9fe2e40-1f0d-30dd-8b9e-885695878693&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;5e04fa76-0a17-38a9-8524-23b2d1a23fa5&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;15866380-40f5-3f8e-87d9-13747a36d352&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;2c3d76ce-dd42-32ac-a397-ab418534e1cf&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;b99c44da-dae7-3c96-b528-58852537d063&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;1db688e2-3afe-3b03-9795-fdbfa80fa240&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSFailureResponseStatusType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;31022456-e85b-3a9b-9ecb-a09691792d3e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSRequestCommonHeaderType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;d6075720-622e-3a0d-827a-aa4580a2f5d7&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSSuccessResponseStatusType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_EventDetailsAlbum:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;a0407d0b-5719-38bf-9529-25ad62ace8c4&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_EventDetailsAlbumType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;28e894dc-4ab8-3469-aab7-d81bd05bb4c9&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleAAIFailureResponseTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;073f1433-999e-3506-98ad-ef820d2fa7f0&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleAAISuccessResponseTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleVesEventTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_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;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;317be184-a01a-3e2d-9ae4-cafaa405de70&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;be7fc79b-9b73-381a-8e23-9dd6e6b1233d&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEventComponentType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;1a082851-49e3-3f4c-b023-c05236cc8389&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEventOtherFieldsType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;cab6cd51-ea7b-3241-a173-ea8a24e29737&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEventTargetType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;0f57665a-f0a9-314e-ad0a-04c1f5758174&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEventHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;9fd7a967-57d4-36ef-81e9-c3396f3aa8d1&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEventType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleLongType: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;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;ecc97b87-f30b-344c-a476-d36501bf5cbd&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_Albums&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;1469671a-56dd-3a68-bf6c-77a5cf7a9487&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Albums:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_Events&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;23c4eee4-aba5-36f6-96d6-46f40061bfed&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Events:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_KeyInfo&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;ea9e73ff-483c-3827-896c-6eaa9d69bc6e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_Policies&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;38c068e5-bb9a-3997-9e50-ec77c66825c8&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Policies:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_Schemas&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;38514b27-8b9b-3d06-844a-3aced27deb0a&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_Tasks&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;0e0387b5-07fa-30e4-8554-eb51d2e18939&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;policies&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&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;payload&quot;,&#xd;
+ &quot;key&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&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;AAIFailureStateOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;AAIFailureStateOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&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;: &quot;NULL&quot;,&#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;SimpleCL_HandleAAIFailureResponseTask&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;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;AAIFailureStateOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&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;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&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;AAISuccessStateOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;AAISuccessStateOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&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;: &quot;NULL&quot;,&#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;SimpleCL_HandleAAISuccessResponseTask&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;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;AAISuccessStateOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&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;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&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;ConfigModifyFailureResponseOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ConfigModifyFailureResponseOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&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;: &quot;NULL&quot;,&#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;SimpleCL_CDSConfigModifyFailureResponseTask&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;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ConfigModifyFailureResponseOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&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;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&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;ConfigModifySuccessResponseOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ConfigModifySuccessResponseOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&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;: &quot;NULL&quot;,&#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;SimpleCL_CDSConfigModifySuccessResponseTask&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;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ConfigModifySuccessResponseOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&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;SimpleCL_ReceiveVesState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_ReceiveVesState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&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;VesOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;VesOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&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;: &quot;NULL&quot;,&#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;SimpleCL_HandleVesEventTask&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;SimpleCL_HandleVesEventTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;VesOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;SimpleCL_ReceiveVesState&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;tasks&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#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;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar errorMessage = \&quot;CDS operation failed. Error message from CDS - \&quot; + executor.inFields.get(\&quot;status\&quot;).get(\&quot;errorMessage\&quot;);\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\&quot;eventId\&quot;), eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\&quot;id\&quot;, eventId);\n\n var entityInfo = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewSubInstance(\&quot;entityInfo\&quot;);\n entityInfo.put(\&quot;pnf_DasH_name\&quot;, pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewInstance();\n target.put(\&quot;entityInfo\&quot;, entityInfo);\n target.put(\&quot;targetType\&quot;, targetType)\n logEventFields.put(\&quot;target\&quot;, target);\n\n var artifacts = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewSubInstance(\&quot;artifacts\&quot;);\n artifacts.put(\&quot;policyName\&quot;, \&quot;onap.policies.apex.Simplecontrolloop\&quot;);\n artifacts.put(\&quot;policyVersion\&quot;, \&quot;1.0.0\&quot;);\n var component = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewInstance();\n component.put(\&quot;artifacts\&quot;, artifacts);\n component.put(\&quot;name\&quot;, \&quot;Policy\&quot;)\n component.put(\&quot;flavour\&quot;, \&quot;Apex-PDP\&quot;)\n component.put(\&quot;timestamp\&quot;, timestamp)\n component.put(\&quot;status\&quot;, status)\n component.put(\&quot;message\&quot;, message)\n logEventFields.put(\&quot;component\&quot;, component);\n\n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;otherFields\&quot;).createNewInstance();\n otherFieldsEntry.put(\&quot;useCaseName\&quot;, \&quot;simple-controlloop-usecase\&quot;);\n logEventFields.put(\&quot;otherFields\&quot;, otherFieldsEntry);\n\n return logEventFields;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#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;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\&quot;eventId\&quot;), eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;FINAL_SUCCESS\&quot;, \&quot;Successfully processed the VES event. Hostname is updated.\&quot;)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\&quot;id\&quot;, eventId);\n\n var entityInfo = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewSubInstance(\&quot;entityInfo\&quot;);\n entityInfo.put(\&quot;pnf_DasH_name\&quot;, pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewInstance();\n target.put(\&quot;entityInfo\&quot;, entityInfo);\n target.put(\&quot;targetType\&quot;, targetType)\n logEventFields.put(\&quot;target\&quot;, target);\n\n var artifacts = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewSubInstance(\&quot;artifacts\&quot;);\n artifacts.put(\&quot;policyName\&quot;, \&quot;onap.policies.apex.Simplecontrolloop\&quot;);\n artifacts.put(\&quot;policyVersion\&quot;, \&quot;1.0.0\&quot;);\n var component = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewInstance();\n component.put(\&quot;artifacts\&quot;, artifacts);\n component.put(\&quot;name\&quot;, \&quot;Policy\&quot;)\n component.put(\&quot;flavour\&quot;, \&quot;Apex-PDP\&quot;)\n component.put(\&quot;timestamp\&quot;, timestamp)\n component.put(\&quot;status\&quot;, status)\n component.put(\&quot;message\&quot;, message)\n logEventFields.put(\&quot;component\&quot;, component);\n\n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;otherFields\&quot;).createNewInstance();\n otherFieldsEntry.put(\&quot;useCaseName\&quot;, \&quot;simple-controlloop-usecase\&quot;);\n logEventFields.put(\&quot;otherFields\&quot;, otherFieldsEntry);\n\n return logEventFields;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#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;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\n\nvar aaiErrorMessage = \&quot;AAI operation failed. Error message from AAI - \&quot; + executor.inFields.get(\&quot;requestError\&quot;).get(\&quot;serviceException\&quot;).get(\&quot;text\&quot;);\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;eventId\&quot;), eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\&quot;id\&quot;, eventId);\n\n var entityInfo = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewSubInstance(\&quot;entityInfo\&quot;);\n entityInfo.put(\&quot;pnf_DasH_name\&quot;, pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewInstance();\n target.put(\&quot;entityInfo\&quot;, entityInfo);\n target.put(\&quot;targetType\&quot;, targetType)\n logEventFields.put(\&quot;target\&quot;, target);\n\n var artifacts = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewSubInstance(\&quot;artifacts\&quot;);\n artifacts.put(\&quot;policyName\&quot;, \&quot;onap.policies.apex.Simplecontrolloop\&quot;);\n artifacts.put(\&quot;policyVersion\&quot;, \&quot;1.0.0\&quot;);\n var component = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewInstance();\n component.put(\&quot;artifacts\&quot;, artifacts);\n component.put(\&quot;name\&quot;, \&quot;Policy\&quot;)\n component.put(\&quot;flavour\&quot;, \&quot;Apex-PDP\&quot;)\n component.put(\&quot;timestamp\&quot;, timestamp)\n component.put(\&quot;status\&quot;, status)\n component.put(\&quot;message\&quot;, message)\n logEventFields.put(\&quot;component\&quot;, component);\n\n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;otherFields\&quot;).createNewInstance();\n otherFieldsEntry.put(\&quot;useCaseName\&quot;, \&quot;simple-controlloop-usecase\&quot;);\n logEventFields.put(\&quot;otherFields\&quot;, otherFieldsEntry);\n\n return logEventFields;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;equip-model&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-model&quot;,&#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;equip-type&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-type&quot;,&#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;equip-vendor&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-vendor&quot;,&#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;in-maint&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#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;ipaddress-v6-oam&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#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;management-option&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;management-option&quot;,&#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;pnf-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-id&quot;,&#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;pnf-name&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-name&quot;,&#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;pnf-name2&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-name2&quot;,&#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;resource-version&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#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;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#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;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\nexecutor.logger.info(\&quot;HandleAAISuccessResponseTask extracted context album - \&quot; + albumID.toString() + \&quot;::\&quot; + eventDetailsAlbum);\n\nvar eventId = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;eventId\&quot;);\nvar otherFieldsMap = eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;);\n\nvar targetEntityName = executor.inFields.get(\&quot;pnf-name\&quot;)\nvar logMessage = \&quot;\&quot;;\nvar existingHostname = executor.inFields.get(\&quot;pnf-name2\&quot;);\nvar hostnameInVesEvent = otherFieldsMap.get(\&quot;hostname\&quot;);\n\nvar albumSchemaHelper = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\&quot;target\&quot;);\ntarget.put(\&quot;targetType\&quot;, \&quot;PNF\&quot;)\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\&quot;entityInfo\&quot;);\nentityInfo.put(\&quot;name\&quot;,targetEntityName);\ntarget.put(\&quot;entityInfo\&quot;, entityInfo);\neventDetailsAlbum.put(\&quot;target\&quot;, target);\n\nvar returnVal = true;\n\nif ((String(hostnameInVesEvent) != \&quot;UNDEFINED\&quot;) &amp;&amp; (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \&quot;Hostname available in AAI does not match with the hostname received in the VES Event.\&quot;;\n returnVal = false\n var logEventFields = populateLogEventFields(eventId, otherFieldsMap.get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \&quot;Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\&quot;;\n\n var cdsRequestEventFields = populateCdsRequestEventFields(albumID.toString(), eventId, executor.inFields.get(\&quot;ipaddress-v4-oam\&quot;), otherFieldsMap.get(\&quot;pnfName\&quot;));\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(eventId, otherFieldsMap.get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;SUCCESS\&quot;, logMessage);\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateCdsRequestEventFields(subRequestId, requestId, ipAddress, pnfName) {\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\n commonHeader.put(\&quot;subRequestId\&quot;, subRequestId);\n commonHeader.put(\&quot;requestId\&quot;, requestId);\n commonHeader.put(\&quot;originatorId\&quot;, \&quot;POLICY\&quot;);\n\n var blueprintName = \&quot;controlloop-hostname-update\&quot;;\n var blueprintVersion = \&quot;1.0.4\&quot;;\n var newHostname = \&quot;host\&quot; + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\&quot;generatedHostname\&quot;, newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\n actionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\n actionIdentifiers.put(\&quot;blueprintName\&quot;, blueprintName);\n actionIdentifiers.put(\&quot;blueprintVersion\&quot;, blueprintVersion);\n actionIdentifiers.put(\&quot;actionName\&quot;, \&quot;update-config\&quot;);\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSConfigModifyRequestPayloadEntry\&quot;);\n payloadEntry.put(\&quot;hostname\&quot;, newHostname)\n payloadEntry.put(\&quot;IP\&quot;, ipAddress);\n payloadEntry.put(\&quot;pnfName\&quot;, pnfName);\n\n var payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\n payload.put(\&quot;update_DasH_config_DasH_request\&quot;, payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\&quot;commonHeader\&quot;, commonHeader);\n cdsRequestEventFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\n cdsRequestEventFields.put(\&quot;payload\&quot;, payload);\n\n return cdsRequestEventFields;\n}\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\&quot;id\&quot;, eventId);\n\n var entityInfo = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewSubInstance(\&quot;entityInfo\&quot;);\n entityInfo.put(\&quot;pnf_DasH_name\&quot;, pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewInstance();\n target.put(\&quot;entityInfo\&quot;, entityInfo);\n target.put(\&quot;targetType\&quot;, targetType)\n logEventFields.put(\&quot;target\&quot;, target);\n\n var artifacts = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewSubInstance(\&quot;artifacts\&quot;);\n artifacts.put(\&quot;policyName\&quot;, \&quot;onap.policies.apex.Simplecontrolloop\&quot;);\n artifacts.put(\&quot;policyVersion\&quot;, \&quot;1.0.0\&quot;);\n var component = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewInstance();\n component.put(\&quot;artifacts\&quot;, artifacts);\n component.put(\&quot;name\&quot;, \&quot;Policy\&quot;)\n component.put(\&quot;flavour\&quot;, \&quot;Apex-PDP\&quot;)\n component.put(\&quot;timestamp\&quot;, timestamp)\n component.put(\&quot;status\&quot;, status)\n component.put(\&quot;message\&quot;, message)\n logEventFields.put(\&quot;component\&quot;, component);\n\n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;otherFields\&quot;).createNewInstance();\n otherFieldsEntry.put(\&quot;useCaseName\&quot;, \&quot;simple-controlloop-usecase\&quot;);\n logEventFields.put(\&quot;otherFields\&quot;, otherFieldsEntry);\n\n return logEventFields;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;AAI&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#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;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\&quot;event\&quot;);\nexecutor.logger.info(\&quot;HandleVesEventTask processing VES event - \&quot; + event);\n\nvar commonEventHeader = event.get(\&quot;commonEventHeader\&quot;);\nvar otherFields = event.get(\&quot;otherFields\&quot;);\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\&quot;sourceId\&quot;);\n// save the event processing start time in apex\ncommonEventHeader.put(\&quot;startEpochMicrosec\&quot;, longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\&quot;commonEventHeader\&quot;, commonEventHeader);\neventDetailsAlbum.put(\&quot;otherFields\&quot;, otherFields);\nexecutor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\&quot;HandleVesEventTask storing context album - \&quot; + albumID.toString() + \&quot;::\&quot; + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\&quot;albumId\&quot;, albumID);\nexecutor.getExecutionProperties().setProperty(\&quot;pnfName\&quot;, otherFields.get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;eventId\&quot;), otherFields.get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;ACTIVE\&quot;, \&quot;VES event has been received. Going to fetch details from AAI.\&quot;)\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\&quot;id\&quot;, eventId);\n\n var entityInfo = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewSubInstance(\&quot;entityInfo\&quot;);\n entityInfo.put(\&quot;pnf_DasH_name\&quot;, pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewInstance();\n target.put(\&quot;entityInfo\&quot;, entityInfo);\n target.put(\&quot;targetType\&quot;, targetType)\n logEventFields.put(\&quot;target\&quot;, target);\n\n var artifacts = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewSubInstance(\&quot;artifacts\&quot;);\n artifacts.put(\&quot;policyName\&quot;, \&quot;onap.policies.apex.Simplecontrolloop\&quot;);\n artifacts.put(\&quot;policyVersion\&quot;, \&quot;1.0.0\&quot;);\n var component = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewInstance();\n component.put(\&quot;artifacts\&quot;, artifacts);\n component.put(\&quot;name\&quot;, \&quot;Policy\&quot;)\n component.put(\&quot;flavour\&quot;, \&quot;Apex-PDP\&quot;)\n component.put(\&quot;timestamp\&quot;, timestamp)\n component.put(\&quot;status\&quot;, status)\n component.put(\&quot;message\&quot;, message)\n logEventFields.put(\&quot;component\&quot;, component);\n\n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;otherFields\&quot;).createNewInstance();\n otherFieldsEntry.put(\&quot;useCaseName\&quot;, \&quot;simple-controlloop-usecase\&quot;);\n logEventFields.put(\&quot;otherFields\&quot;, otherFieldsEntry);\n\n return logEventFields;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;events&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1965,16 +5434,186 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
&quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;AAI&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;equip-model&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-model&quot;,&#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;equip-type&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-type&quot;,&#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;equip-vendor&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-vendor&quot;,&#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;in-maint&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#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;ipaddress-v6-oam&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#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;management-option&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;management-option&quot;,&#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;pnf-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-id&quot;,&#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;pnf-name&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-name&quot;,&#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;pnf-name2&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-name2&quot;,&#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;resource-version&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
@@ -1983,7 +5622,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1994,7 +5633,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -2005,7 +5644,18 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -2017,25 +5667,47 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
&quot;source&quot;: &quot;APEX&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -2047,56 +5719,97 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
- &quot;source&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;changeType&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;changeType&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;nfName&quot;,&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;nfName&quot;,&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_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;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;policyName&quot;,&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;policyName&quot;,&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
@@ -2105,11 +5818,52 @@
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;subscription&quot;,&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;subscription&quot;,&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -2124,25 +5878,25 @@
},&#xd;
&quot;albums&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Albums&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&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;PMSubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
}&#xd;
@@ -2152,191 +5906,247 @@
},&#xd;
&quot;schemas&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Schemas&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&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.Boolean&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSActionIdentifiers_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;actionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;mode\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;AAIRequestErrorType\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;serviceException\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;serviceException\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;messageId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;text\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;variables\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;map\&quot;,\n \&quot;values\&quot;: {\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestPayloadEntry\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_properties\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_properties_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroups_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementTypes_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSActionIdentifiers_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;actionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;mode\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;map\&quot;,\n \&quot;values\&quot;: {\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestPayloadEntry\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;delete_DasH_subscription_DasH_properties\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;delete_DasH_subscription_DasH_properties_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroups_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementTypes_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;map\&quot;,\n \&quot;values\&quot;: {\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSConfigModifyRequestPayloadEntry\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;hostname\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;IP\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;pnfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestCommonHeader_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;CDSConfigResponsePayloadEntry\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;update_DasH_config_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;update_DasH_config_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;execute_DasH_command_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n },\n {\n \&quot;name\&quot;: \&quot;prepare_DasH_environment_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;CDSResponsePayloadEntry\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;namespace\&quot;: \&quot;com.acme.avro\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;odl_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;odl_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;status\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;errorMessage\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;PMSubscription\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.pmcontrol\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;changeType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;closedLoopControlName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;policyName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subscription\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;subscription\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Groups_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Group_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Types_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Managed_Object_Dns_Basic_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&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;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&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;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&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;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&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;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;eventDetails\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;domain\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;lastEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;priority\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;reportingEntityName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sequence\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;startEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timeZoneOffset\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;version\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;internalHeaderFields\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;internalHeaderFields\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: []\n }\n },\n {\n \&quot;name\&quot;: \&quot;vesEventListenerVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;otherFields\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;otherFields\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;hashMap\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;hashMap\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;hostname\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;pnfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;pnfId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;ip\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;otherFieldsVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;target\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;target\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;targetType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;name\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;generatedHostname\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;component\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;name\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;flavour\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;status\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;artifacts\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;artifacts\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;policyName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;policyVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;ActivateSubscriptionStatus_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;changeType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;otherFields\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;useCaseName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;subscription\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Groups_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Group_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Types_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Managed_Object_Dns_Basic_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;target\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;targetType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;pnf_DasH_name\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventType&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;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;:\&quot;event\&quot;,\n \&quot;type\&quot;:\&quot;record\&quot;,\n \&quot;fields\&quot;:[\n {\n \&quot;name\&quot;:\&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;:{\n \&quot;name\&quot;:\&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;:\&quot;record\&quot;,\n \&quot;fields\&quot;:[\n {\n \&quot;name\&quot;:\&quot;domain\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;eventId\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;eventName\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;lastEpochMicrosec\&quot;,\n \&quot;type\&quot;:\&quot;long\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;priority\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;reportingEntityName\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;sequence\&quot;,\n \&quot;type\&quot;:\&quot;int\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;sourceId\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;sourceName\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;startEpochMicrosec\&quot;,\n \&quot;type\&quot;:\&quot;long\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;version\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;internalHeaderFields\&quot;,\n \&quot;type\&quot;:{\n \&quot;name\&quot;:\&quot;internalHeaderFields\&quot;,\n \&quot;type\&quot;:\&quot;record\&quot;,\n \&quot;fields\&quot;:[\n\n ]\n }\n },\n {\n \&quot;name\&quot;:\&quot;vesEventListenerVersion\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;:\&quot;otherFields\&quot;,\n \&quot;type\&quot;:{\n \&quot;name\&quot;:\&quot;otherFields\&quot;,\n \&quot;type\&quot;:\&quot;record\&quot;,\n \&quot;fields\&quot;:[\n {\n \&quot;name\&quot;:\&quot;hashMap\&quot;,\n \&quot;type\&quot;:{\n \&quot;name\&quot;:\&quot;hashMap\&quot;,\n \&quot;type\&quot;:\&quot;record\&quot;,\n \&quot;fields\&quot;:[\n {\n \&quot;name\&quot;:\&quot;hostname\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;pnfName\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;pnfId\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;ip\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;:\&quot;otherFieldsVersion\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&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;
+ &quot;schemaDefinition&quot;: &quot;java.lang.Long&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;
@@ -2345,99 +6155,127 @@
}&#xd;
}&#xd;
},&#xd;
- &quot;eventOutputParameters&quot;: {&#xd;
- &quot;logOutputter&quot;: {&#xd;
+ &quot;eventInputParameters&quot;: {&#xd;
+ &quot;SimpleCL_DCAEConsumer&quot;: {&#xd;
&quot;carrierTechnologyParameters&quot;: {&#xd;
- &quot;carrierTechnology&quot;: &quot;FILE&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;fileName&quot;: &quot;outputevents.log&quot;&#xd;
+ &quot;url&quot;: &quot;http://172.16.2.18:31054/events/unauthenticated.DCAE_CL_OUTPUT/cl/apex?timeout=30000&quot;&#xd;
}&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
- }&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;SimpleCL_VesEvent&quot;&#xd;
},&#xd;
- &quot;CDSRequestProducer&quot;: {&#xd;
+ &quot;SimpleCL_AAIResponseConsumer&quot;: {&#xd;
&quot;carrierTechnologyParameters&quot;: {&#xd;
- &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
- &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;,&#xd;
+ &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;,&#xd;
&quot;parameters&quot;: {&#xd;
- &quot;host&quot;: &quot;10.2.0.122&quot;,&#xd;
- &quot;port&quot;: 54322,&#xd;
- &quot;username&quot;: &quot;ccsdkapps&quot;,&#xd;
- &quot;password&quot;: &quot;ccsdkapps&quot;,&#xd;
- &quot;timeout&quot;: 60&#xd;
+ &quot;url&quot;: &quot;https://aai:8443/aai/v14/network/pnfs/pnf/{pnfName}&quot;,&#xd;
+ &quot;httpMethod&quot;: &quot;GET&quot;,&#xd;
+ &quot;httpCodeFilter&quot;: &quot;[2-5][0-1][0-9]&quot;,&#xd;
+ &quot;httpHeaders&quot;: [&#xd;
+ [&#xd;
+ &quot;Accept&quot;,&#xd;
+ &quot;application/json&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;Content-Type&quot;,&#xd;
+ &quot;application/json&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;X-FromAppId&quot;,&#xd;
+ &quot;dcae-curl&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;x-transactionId&quot;,&#xd;
+ &quot;9998&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;Authorization&quot;,&#xd;
+ &quot;Basic QUFJOkFBSQ==&quot;&#xd;
+ ]&#xd;
+ ]&#xd;
}&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
},&#xd;
- &quot;eventNameFilter&quot;: &quot;(Create|Delete)SubscriptionRequestEvent&quot;,&#xd;
+ &quot;eventName&quot;: &quot;SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
&quot;requestorMode&quot;: true,&#xd;
- &quot;requestorPeer&quot;: &quot;CDSRequestConsumer&quot;,&#xd;
- &quot;requestorTimeout&quot;: 500&#xd;
+ &quot;requestorPeer&quot;: &quot;SimpleCL_AAIProducer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 2000&#xd;
},&#xd;
- &quot;CDSReplyProducer&quot;: {&#xd;
+ &quot;SimpleCL_CDSConfigModifyResponseConsumer&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-CL-MGT&quot;&#xd;
- }&#xd;
+ &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
},&#xd;
- &quot;eventNameFilter&quot;: &quot;CDSResponseStatusEvent&quot;&#xd;
+ &quot;eventName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;SimpleCL_CDSConfigModifyRequestProducer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 500&#xd;
}&#xd;
},&#xd;
- &quot;eventInputParameters&quot;: {&#xd;
- &quot;DCAEConsumer&quot;: {&#xd;
+ &quot;eventOutputParameters&quot;: {&#xd;
+ &quot;SimpleCL_AAIProducer&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/unauthenticated.DCAE_CL_OUTPUT/cg1/c1?timeout=30000&quot;&#xd;
- }&#xd;
+ &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
- &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
- &quot;parameters&quot;: {&#xd;
- &quot;nameAlias&quot;: &quot;testPolicyB&quot;&#xd;
- }&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
},&#xd;
- &quot;eventName&quot;: &quot;testPolicyB&quot;,&#xd;
- &quot;eventNameFilter&quot;: &quot;testPolicyB&quot;&#xd;
+ &quot;eventNameFilter&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;SimpleCL_AAIResponseConsumer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 2000&#xd;
},&#xd;
- &quot;CDSRequestConsumer&quot;: {&#xd;
+ &quot;SimpleCL_CDSConfigModifyRequestProducer&quot;: {&#xd;
&quot;carrierTechnologyParameters&quot;: {&#xd;
&quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
- &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;host&quot;: &quot;policy-models-simulator&quot;,&#xd;
+ &quot;port&quot;: 6680,&#xd;
+ &quot;username&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;password&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;timeout&quot;: 60&#xd;
+ }&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
},&#xd;
- &quot;eventName&quot;: &quot;CDSResponseEvent&quot;,&#xd;
- &quot;eventNameFilter&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;eventNameFilter&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;requestorMode&quot;: true,&#xd;
- &quot;requestorPeer&quot;: &quot;CDSRequestProducer&quot;,&#xd;
+ &quot;requestorPeer&quot;: &quot;SimpleCL_CDSConfigModifyResponseConsumer&quot;,&#xd;
&quot;requestorTimeout&quot;: 500&#xd;
+ },&#xd;
+ &quot;SimpleCL_LogEventProducer&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://172.16.2.18:31054/events/APEX-CL-MGT&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventNameFilter&quot;: &quot;SimpleCL_LogEvent&quot;&#xd;
}&#xd;
}&#xd;
- },&#xd;
- &quot;name&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;policy-id&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
- &quot;policy-version&quot;: &quot;1.0.0&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
- },&#xd;
- &quot;name&quot;: &quot;ToscaServiceTemplateSimple&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
+ }&#xd;
}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
@@ -2469,7 +6307,7 @@
</ResponseAssertion>
<hashTree/>
</hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy policy" enabled="true">
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy policies" enabled="true">
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
<collectionProp name="Arguments.arguments">
@@ -2485,7 +6323,10 @@
&quot;action&quot;: &quot;POST&quot;,&#xd;
&quot;policies&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;&#xd;
+ }, {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
&quot;version&quot;: &quot;1.0.0&quot;&#xd;
}&#xd;
]&#xd;
@@ -2524,6 +6365,10 @@
</ResponseAssertion>
<hashTree/>
</hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
</hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
@@ -2578,78 +6423,139 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</JSR223Assertion>
<hashTree/>
</hashTree>
- <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test Controller" enabled="true"/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Prometheus Metrics" 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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/metrics</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>
- <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="false">
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="false">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ res = jsonSlurper.parseText(prev.getResponseDataAsString());
+
+ assert res instanceof Map;
+ assert res.healthy == true;
+ assert res.message == &apos;alive&apos;;
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
+ <hashTree/>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&amp;timeout=500</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>
+ <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test simple-cl policy - success" enabled="true"/>
+ <hashTree>
+ <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="true">
<stringProp name="groupSize">${threads}</stringProp>
<stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
</SyncTimer>
<hashTree/>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Input Event" enabled="true">
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - simplecl success" 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;changeType&quot;: &quot;CREATE&quot;,&#xd;
- &quot;closedLoopControlName&quot;: &quot;test&quot;,&#xd;
- &quot;policyName&quot;: &quot;test&quot;,&#xd;
- &quot;nfName&quot;: &quot;pnf300&quot;,&#xd;
- &quot;subscription&quot;: {&#xd;
- &quot;subscriptionName&quot;: &quot;testPolicyB&quot;,&#xd;
- &quot;administrativeState&quot;: &quot;UNLOCKED&quot;,&#xd;
- &quot;fileBasedGP&quot;: 15,&#xd;
- &quot;fileLocation&quot;: &quot;/pm/pm.xml&quot;,&#xd;
- &quot;measurementGroups&quot;: [&#xd;
- {&#xd;
- &quot;measurementGroup&quot;: {&#xd;
- &quot;measurementTypes&quot;: [&#xd;
- {&#xd;
- &quot;measurementType&quot;: &quot;countera&quot;&#xd;
- },&#xd;
- {&#xd;
- &quot;measurementType&quot;: &quot;counterb&quot;&#xd;
- }&#xd;
- ],&#xd;
- &quot;managedObjectDNsBasic&quot;: [&#xd;
- {&#xd;
- &quot;DN&quot;: &quot;dna&quot;&#xd;
- },&#xd;
- {&#xd;
- &quot;DN&quot;: &quot;dnb&quot;&#xd;
- }&#xd;
- ]&#xd;
- }&#xd;
+ &quot;event&quot;: {&#xd;
+ &quot;commonEventHeader&quot;: {&#xd;
+ &quot;startEpochMicrosec&quot;: 1597953057126,&#xd;
+ &quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,&#xd;
+ &quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,&#xd;
+ &quot;lastEpochMicrosec&quot;: 1597952499468,&#xd;
+ &quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,&#xd;
+ &quot;sourceName&quot;: &quot;PNF101&quot;,&#xd;
+ &quot;reportingEntityName&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,&#xd;
+ &quot;internalHeaderFields&quot;: {},&#xd;
+ &quot;version&quot;: &quot;4.0.1&quot;,&#xd;
+ &quot;priority&quot;: &quot;Normal&quot;,&#xd;
+ &quot;sequence&quot;: 1,&#xd;
+ &quot;domain&quot;: &quot;other&quot;&#xd;
+ },&#xd;
+ &quot;otherFields&quot;: {&#xd;
+ &quot;hashMap&quot;: {&#xd;
+ &quot;hostname&quot;: &quot;UNDEFINED&quot;,&#xd;
+ &quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,&#xd;
+ &quot;pnfName&quot;: &quot;PNF101&quot;,&#xd;
+ &quot;ip&quot;: &quot;10.101.200.10&quot;&#xd;
},&#xd;
- {&#xd;
- &quot;measurementGroup&quot;: {&#xd;
- &quot;measurementTypes&quot;: [&#xd;
- {&#xd;
- &quot;measurementType&quot;: &quot;counterc&quot;&#xd;
- },&#xd;
- {&#xd;
- &quot;measurementType&quot;: &quot;counterd&quot;&#xd;
- }&#xd;
- ],&#xd;
- &quot;managedObjectDNsBasic&quot;: [&#xd;
- {&#xd;
- &quot;DN&quot;: &quot;dnc&quot;&#xd;
- },&#xd;
- {&#xd;
- &quot;DN&quot;: &quot;dnd&quot;&#xd;
- }&#xd;
- ]&#xd;
- }&#xd;
- }&#xd;
- ]&#xd;
+ &quot;otherFieldsVersion&quot;: &quot;3.0&quot;&#xd;
+ }&#xd;
}&#xd;
}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
- <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
@@ -2662,7 +6568,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp>
- <stringProp name="TestPlan.comments">Send input event to apex-pdp</stringProp>
+ <stringProp name="TestPlan.comments">Send Trigger Event - simplecl success</stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true">
@@ -2677,20 +6583,79 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
</ResponseAssertion>
<hashTree/>
- <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
- <stringProp name="ConstantTimer.delay">${wait}</stringProp>
- </ConstantTimer>
+ </hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - simplecl success" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=50&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Read notification events - simplecl success</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ def responseString = prev.getResponseDataAsString();
+ res = jsonSlurper.parseText(responseString);
+ def expectedNumberOfNotifications = ${threads} * 3;
+ assert res instanceof List;
+ assert res.size() == expectedNumberOfNotifications;
+ assert responseString.contains(&quot;ACTIVE&quot;)
+ assert responseString.contains(&quot;SUCCESS&quot;)
+ assert responseString.contains(&quot;FINAL_SUCCESS&quot;)
+ assert !responseString.contains(&quot;FAILURE&quot;)
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
<hashTree/>
</hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="true">
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" 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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/events/POLICY-CL-MGT/cg${__threadNum}/c1?timeout=30000</stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&amp;timeout=500</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -2699,7 +6664,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp>
- <stringProp name="TestPlan.comments">Check output event </stringProp>
+ <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true">
@@ -2714,22 +6679,484 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
</ResponseAssertion>
<hashTree/>
- <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="true">
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test simple-cl policy - failure" enabled="true"/>
+ <hashTree>
+ <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="true">
+ <stringProp name="groupSize">${threads}</stringProp>
+ <stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
+ </SyncTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - simplecl failure" 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;event&quot;: {&#xd;
+ &quot;commonEventHeader&quot;: {&#xd;
+ &quot;startEpochMicrosec&quot;: 1597953057126,&#xd;
+ &quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,&#xd;
+ &quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,&#xd;
+ &quot;lastEpochMicrosec&quot;: 1597952499468,&#xd;
+ &quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,&#xd;
+ &quot;sourceName&quot;: &quot;PNF101&quot;,&#xd;
+ &quot;reportingEntityName&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,&#xd;
+ &quot;internalHeaderFields&quot;: {},&#xd;
+ &quot;version&quot;: &quot;4.0.1&quot;,&#xd;
+ &quot;priority&quot;: &quot;Normal&quot;,&#xd;
+ &quot;sequence&quot;: 1,&#xd;
+ &quot;domain&quot;: &quot;other&quot;&#xd;
+ },&#xd;
+ &quot;otherFields&quot;: {&#xd;
+ &quot;hashMap&quot;: {&#xd;
+ &quot;hostname&quot;: &quot;UNDEFINED&quot;,&#xd;
+ &quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,&#xd;
+ &quot;pnfName&quot;: &quot;PNF_INVALID&quot;,&#xd;
+ &quot;ip&quot;: &quot;10.101.200.10&quot;&#xd;
+ },&#xd;
+ &quot;otherFieldsVersion&quot;: &quot;3.0&quot;&#xd;
+ }&#xd;
+ }&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</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>
+ <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>
+ <stringProp name="TestPlan.comments">Send Trigger Event - simplecl failure</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true">
<collectionProp name="Asserion.test_strings">
- <stringProp name="1608759622">org.onap.policy.apex.onap.pmcontrol</stringProp>
- <stringProp name="1996002556">CREATE</stringProp>
+ <stringProp name="49586">200</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
- <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
<boolProp name="Assertion.assume_success">false</boolProp>
- <intProp name="Assertion.test_type">2</intProp>
+ <intProp name="Assertion.test_type">8</intProp>
<stringProp name="Scope.variable">Response code</stringProp>
- <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
</ResponseAssertion>
<hashTree/>
- <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
- <stringProp name="ConstantTimer.delay">${wait}</stringProp>
- </ConstantTimer>
+ </hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - simplecl failure" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=50&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Read notification events - simplecl failure</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ def responseString = prev.getResponseDataAsString();
+ res = jsonSlurper.parseText(responseString);
+ def expectedNumberOfNotifications = ${threads} * 2;
+ assert res instanceof List;
+ assert res.size() == expectedNumberOfNotifications;
+ assert responseString.contains(&quot;ACTIVE&quot;)
+ assert responseString.contains(&quot;FINAL_FAILURE&quot;)
+ assert !responseString.contains(&quot;FINAL_SUCCESS&quot;)
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&amp;timeout=500</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>
+ <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test example policy - success" enabled="true"/>
+ <hashTree>
+ <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="true">
+ <stringProp name="groupSize">${threads}</stringProp>
+ <stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
+ </SyncTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - example success" 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;event&quot;: {&#xd;
+ &quot;commonEventHeader&quot;: {&#xd;
+ &quot;domain&quot;: &quot;fault&quot;,&#xd;
+ &quot;eventId&quot;: &quot;fault0000245&quot;,&#xd;
+ &quot;eventName&quot;: &quot;Fault_Vscf:PilotNumberPoolExhaustion&quot;,&#xd;
+ &quot;lastEpochMicrosec&quot;: 1413378172000000,&#xd;
+ &quot;priority&quot;: &quot;High&quot;,&#xd;
+ &quot;reportingEntityName&quot;: &quot;ibcx0001vm002oam001&quot;,&#xd;
+ &quot;sequence&quot;: 1,&#xd;
+ &quot;sourceId&quot;: &quot;de305d54-75b4-431b-adb2-eb6b9e546014${__threadNum}&quot;,&#xd;
+ &quot;sourceName&quot;: &quot;vfw-cnf-cds-test-1-vnf&quot;,&#xd;
+ &quot;startEpochMicrosec&quot;: 1413378172000000,&#xd;
+ &quot;timeZoneOffset&quot;: &quot;UTC-05:30&quot;,&#xd;
+ &quot;version&quot;: &quot;4.0.1&quot;,&#xd;
+ &quot;vesEventListenerVersion&quot;: &quot;7.0.1&quot;&#xd;
+ },&#xd;
+ &quot;faultFields&quot;: {&#xd;
+ &quot;alarmAdditionalInformation&quot;: {&#xd;
+ &quot;PilotNumberPoolSize&quot;: &quot;1000&quot;&#xd;
+ },&#xd;
+ &quot;alarmCondition&quot;: &quot;PilotNumberPoolExhaustion&quot;,&#xd;
+ &quot;eventSeverity&quot;: &quot;CRITICAL&quot;,&#xd;
+ &quot;eventSourceType&quot;: &quot;other&quot;,&#xd;
+ &quot;faultFieldsVersion&quot;: 4,&#xd;
+ &quot;specificProblem&quot;: &quot;Calls cannot complete - pilot numbers are unavailable&quot;,&#xd;
+ &quot;vfStatus&quot;: &quot;Active&quot;&#xd;
+ }&#xd;
+ }&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT</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>
+ <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>
+ <stringProp name="TestPlan.comments">Send Trigger Event - example success</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - example success" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=50&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Read notification events - example success</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ def responseString = prev.getResponseDataAsString();
+ res = jsonSlurper.parseText(responseString);
+ def expectedNumberOfNotifications = ${threads} * 4;
+ assert res instanceof List;
+ assert res.size() == expectedNumberOfNotifications;
+ assert responseString.contains(&quot;ACTIVE&quot;)
+ assert responseString.contains(&quot;SUCCESS&quot;)
+ assert responseString.contains(&quot;FINAL_SUCCESS&quot;)
+ assert !responseString.contains(&quot;FAILURE&quot;)
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&amp;timeout=500</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>
+ <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test example policy - failure" enabled="true"/>
+ <hashTree>
+ <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="true">
+ <stringProp name="groupSize">${threads}</stringProp>
+ <stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
+ </SyncTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - example failure" 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;event&quot;: {&#xd;
+ &quot;commonEventHeader&quot;: {&#xd;
+ &quot;domain&quot;: &quot;fault&quot;,&#xd;
+ &quot;eventId&quot;: &quot;fault0000245&quot;,&#xd;
+ &quot;eventName&quot;: &quot;Fault_Vscf:PilotNumberPoolExhaustion&quot;,&#xd;
+ &quot;lastEpochMicrosec&quot;: 1413378172000000,&#xd;
+ &quot;priority&quot;: &quot;High&quot;,&#xd;
+ &quot;reportingEntityName&quot;: &quot;ibcx0001vm002oam001&quot;,&#xd;
+ &quot;sequence&quot;: 1,&#xd;
+ &quot;sourceId&quot;: &quot;de305d54-75b4-431b-adb2-eb6b9e546014&quot;,&#xd;
+ &quot;sourceName&quot;: &quot;vfw-cnf-cds-test-2-vnf&quot;,&#xd;
+ &quot;startEpochMicrosec&quot;: 1413378172000000,&#xd;
+ &quot;timeZoneOffset&quot;: &quot;UTC-05:30&quot;,&#xd;
+ &quot;version&quot;: &quot;4.0.1&quot;,&#xd;
+ &quot;vesEventListenerVersion&quot;: &quot;7.0.1&quot;&#xd;
+ },&#xd;
+ &quot;faultFields&quot;: {&#xd;
+ &quot;alarmAdditionalInformation&quot;: {&#xd;
+ &quot;PilotNumberPoolSize&quot;: &quot;1000&quot;&#xd;
+ },&#xd;
+ &quot;alarmCondition&quot;: &quot;PilotNumberPoolExhaustion&quot;,&#xd;
+ &quot;eventSeverity&quot;: &quot;CRITICAL&quot;,&#xd;
+ &quot;eventSourceType&quot;: &quot;other&quot;,&#xd;
+ &quot;faultFieldsVersion&quot;: 4,&#xd;
+ &quot;specificProblem&quot;: &quot;Calls cannot complete - pilot numbers are unavailable&quot;,&#xd;
+ &quot;vfStatus&quot;: &quot;InActive&quot;&#xd;
+ }&#xd;
+ }&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT</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>
+ <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>
+ <stringProp name="TestPlan.comments">Send Trigger Event - example failure</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - example failure" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=50&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Read notification events - example failure</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ def responseString = prev.getResponseDataAsString();
+ res = jsonSlurper.parseText(responseString);
+ def expectedNumberOfNotifications = ${threads} * 2;
+ assert res instanceof List;
+ assert res.size() == expectedNumberOfNotifications;
+ assert responseString.contains(&quot;ACTIVE&quot;)
+ assert responseString.contains(&quot;FINAL_FAILURE&quot;)
+ assert !responseString.contains(&quot;FINAL_SUCCESS&quot;)
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
<hashTree/>
</hashTree>
</hashTree>
@@ -2764,7 +7191,10 @@ if (prev.getResponseCode() == &apos;200&apos;) {
&quot;action&quot;: &quot;DELETE&quot;,&#xd;
&quot;policies&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;&#xd;
+ }, {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
&quot;version&quot;: &quot;1.0.0&quot;&#xd;
}&#xd;
]&#xd;
@@ -2811,7 +7241,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">https</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/operational.apex.stabilityTestDefaultDomain/versions/1.0.0</stringProp>
+ <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/onap.policies.apex.Simplecontrolloop/versions/1.0.0</stringProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -2833,6 +7263,405 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</ResponseAssertion>
<hashTree/>
</hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy" 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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/onap.policies.apex.Example/versions/1.0.0</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>
+ <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/>
+ </hashTree>
+ </hashTree>
+ <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Clear DMaaP" enabled="false">
+ <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">${threads}</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="Health Check" enabled="false">
+ <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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/policy/apex-pdp/v1/healthcheck</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>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ res = jsonSlurper.parseText(prev.getResponseDataAsString());
+
+ assert res instanceof Map;
+ assert res.healthy == true;
+ assert res.message == &apos;alive&apos;;
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
+ <hashTree/>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test Controller" enabled="true"/>
+ <hashTree>
+ <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="false">
+ <stringProp name="groupSize">${threads}</stringProp>
+ <stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
+ </SyncTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Input Event" enabled="false">
+ <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;event&quot;: {&#xd;
+ &quot;commonEventHeader&quot;: {&#xd;
+ &quot;startEpochMicrosec&quot;: 1597953057126,&#xd;
+ &quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,&#xd;
+ &quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,&#xd;
+ &quot;lastEpochMicrosec&quot;: 1597952499468,&#xd;
+ &quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,&#xd;
+ &quot;sourceName&quot;: &quot;PNF101&quot;,&#xd;
+ &quot;reportingEntityName&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,&#xd;
+ &quot;internalHeaderFields&quot;: {},&#xd;
+ &quot;version&quot;: &quot;4.0.1&quot;,&#xd;
+ &quot;priority&quot;: &quot;Normal&quot;,&#xd;
+ &quot;sequence&quot;: 1,&#xd;
+ &quot;domain&quot;: &quot;other&quot;&#xd;
+ },&#xd;
+ &quot;otherFields&quot;: {&#xd;
+ &quot;hashMap&quot;: {&#xd;
+ &quot;hostname&quot;: &quot;UNDEFINED&quot;,&#xd;
+ &quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,&#xd;
+ &quot;pnfName&quot;: &quot;PNF101&quot;,&#xd;
+ &quot;ip&quot;: &quot;10.101.200.10&quot;&#xd;
+ },&#xd;
+ &quot;otherFieldsVersion&quot;: &quot;3.0&quot;&#xd;
+ }&#xd;
+ }&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</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>
+ <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>
+ <stringProp name="TestPlan.comments">Send input event to apex-pdp</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">1000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" 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">172.16.2.173</stringProp>
+ <stringProp name="HTTPSampler.port">3904</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?timeout=30000</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>
+ <stringProp name="TestPlan.comments">Check output event </stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">1000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="1925346054">ACTIVE</stringProp>
+ <stringProp name="-310150889">VES event has been received. Going to fetch details from AAI.</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">2</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="false">
+ <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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=1&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Check output event </stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">1000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1149187101">SUCCESS</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">2</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="false">
+ <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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=1&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Check output event </stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">1000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="439453178">FINAL_SUCCESS</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">2</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ </hashTree>
+ <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="While Controller" enabled="false">
+ <stringProp name="WhileController.condition">${__javaScript((&quot;${response}&quot;.indexOf(&quot;VES event has been received. Going to fetch details from AAI&quot;) == -1 &amp;&amp; ${counter} &lt; 5),)}</stringProp>
+ </WhileController>
+ <hashTree>
+ <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
+ <stringProp name="CounterConfig.start">0</stringProp>
+ <stringProp name="CounterConfig.end">1</stringProp>
+ <stringProp name="CounterConfig.incr">1</stringProp>
+ <stringProp name="CounterConfig.name"></stringProp>
+ <stringProp name="CounterConfig.format"></stringProp>
+ <boolProp name="CounterConfig.per_user">false</boolProp>
+ </CounterConfig>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" 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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?timeout=30000</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>
+ <stringProp name="TestPlan.comments">Check output event </stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">1000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="false">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="1925346054">ACTIVE</stringProp>
+ <stringProp name="-310150889">VES event has been received. Going to fetch details from AAI.</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">2</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="JSR223 PostProcessor" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">vars.put(&quot;response&quot;, prev.getResponseDataAsString());</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223PostProcessor>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ </hashTree>
</hashTree>
<ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp>
@@ -2863,11 +7692,12 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<threadCounts>true</threadCounts>
+ <sampleCount>true</sampleCount>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">/home/adityap/apex_stability/Stability.log</stringProp>
+ <stringProp name="filename">/home/asreekumar/jmeter_results/apex_stability/summary.log</stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
@@ -2899,11 +7729,12 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<threadCounts>true</threadCounts>
+ <sampleCount>true</sampleCount>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">/home/adityap/apex_stability/resultTree.log</stringProp>
+ <stringProp name="filename">/home/asreekumar/jmeter_results/apex_stability/resultTree.log</stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
@@ -2935,11 +7766,12 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<threadCounts>true</threadCounts>
+ <sampleCount>true</sampleCount>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">/home/adityap/apex_stability/resultTable.log</stringProp>
+ <stringProp name="filename">/home/asreekumar/jmeter_results/apex_stability/resultTable.log</stringProp>
</ResultCollector>
<hashTree/>
</hashTree>
diff --git a/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-modify-config.json b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-modify-config.json
new file mode 100644
index 000000000..4f03bbfa1
--- /dev/null
+++ b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-modify-config.json
@@ -0,0 +1,33 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-12-16T10:29:00.450Z",
+ "originatorId": "POLICY",
+ "requestId": "f392e439-c176-411b-b972-8acadac0f8df",
+ "subRequestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "apex-example-cba",
+ "blueprintVersion": "1.0.0",
+ "actionName": "modify-config",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-12-16T10:29:01.737Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "modify-config-response": {
+ "execute-command-logs": [
+ "INFO:root:Arguments : Active,,"
+ ],
+ "prepare-environment-logs": [
+ "Installed pip packages:\n requirements.txt\n\n"
+ ]
+ }
+ }
+}
diff --git a/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-restart.json b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-restart.json
new file mode 100644
index 000000000..694bc6df0
--- /dev/null
+++ b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-restart.json
@@ -0,0 +1,33 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-12-16T10:30:46.213Z",
+ "originatorId": "POLICY",
+ "requestId": "f392e439-c176-411b-b972-8acadac0f8df",
+ "subRequestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "apex-example-cba",
+ "blueprintVersion": "1.0.0",
+ "actionName": "restart",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-12-16T10:30:46.828Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "restart-response": {
+ "execute-command-logs": [
+ "INFO:root:Arguments : Active,,"
+ ],
+ "prepare-environment-logs": [
+ "Installed pip packages:\n requirements.txt\n\n"
+ ]
+ }
+ }
+}
diff --git a/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/controlloop-hostname-update-update-config.json b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/controlloop-hostname-update-update-config.json
new file mode 100644
index 000000000..342ae8b1e
--- /dev/null
+++ b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/controlloop-hostname-update-update-config.json
@@ -0,0 +1,36 @@
+{
+ "commonHeader": {
+ "timestamp": "2020-08-24T14:45:07.491Z",
+ "originatorId": "CDS",
+ "requestId": "123456",
+ "subRequestId": "123-123",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "controlloop-hostname-update",
+ "blueprintVersion": "1.0.4",
+ "actionName": "update-config",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-08-24T14:45:12.863Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "update-config-response": {
+ "execute-command-logs": [
+ "INFO:root:<data xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\"/>",
+ "INFO:root:configuring Device....",
+ "INFO:root:Done Device Configuration Successfully",
+ "INFO:root:Device Configuration After modification",
+ "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount",
+ "INFO:root:<data xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\"><system
+xmlns=\"urn:opendaylight:hostname\"><hostname>testhost-1212332324343</hostname></system></data>"
+ ],
+ "prepare-environment-logs": ["Installed pip packages:\n requirements.txt\n\n"]
+ }
+ }
+}
diff --git a/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/simParameters.json b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/simParameters.json
new file mode 100644
index 000000000..248c858cc
--- /dev/null
+++ b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/simParameters.json
@@ -0,0 +1,27 @@
+{
+ "dmaapProvider": {
+ "name": "DMaaP simulator",
+ "topicSweepSec": 300
+ },
+ "restServers": [
+ {
+ "name": "DMaaP simulator",
+ "providerClass": "org.onap.policy.models.sim.dmaap.rest.DmaapSimRestControllerV1",
+ "host": "0.0.0.0",
+ "port": 3905,
+ "https": false
+ }
+ ],
+ "grpcServer": {
+ "name": "CDS simulator",
+ "providerClass": "org.onap.policy.simulators.CdsSimulator",
+ "host": "0.0.0.0",
+ "port": 6680,
+ "timeout": 30,
+ "username": "ccsdkapps",
+ "password": "ccsdkapps",
+ "resourceLocation": "/opt/app/policy/simulators/etc/mounted/cdsresponse/",
+ "successRepeatCount": 0,
+ "requestedResponseDelayMs": 0
+ }
+}
diff --git a/testsuites/performance/performance-benchmark-test/src/main/resources/apexPdpPerformanceTestPlan.jmx b/testsuites/performance/performance-benchmark-test/src/main/resources/apexPdpPerformanceTestPlan.jmx
index 5d6533e29..21f7401ea 100644
--- a/testsuites/performance/performance-benchmark-test/src/main/resources/apexPdpPerformanceTestPlan.jmx
+++ b/testsuites/performance/performance-benchmark-test/src/main/resources/apexPdpPerformanceTestPlan.jmx
@@ -48,43 +48,48 @@
</elementProp>
<elementProp name="threadsTimeOutInMs" elementType="Argument">
<stringProp name="Argument.name">threadsTimeOutInMs</stringProp>
- <stringProp name="Argument.value">${__P(threadsTimeOutInMs,5000)}</stringProp>
+ <stringProp name="Argument.value">${__P(threadsTimeOutInMs,2000)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="wait" elementType="Argument">
<stringProp name="Argument.name">wait</stringProp>
- <stringProp name="Argument.value">${__P(wait,10000)}</stringProp>
+ <stringProp name="Argument.value">${__P(wait,5000)}</stringProp>
<stringProp name="Argument.desc">Wait time between requests to apex-pdp</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="PAP_PORT" elementType="Argument">
<stringProp name="Argument.name">PAP_PORT</stringProp>
- <stringProp name="Argument.value">${__P(PAP_PORT,30211)}</stringProp>
+ <stringProp name="Argument.value">${__P(PAP_PORT,31262)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="API_PORT" elementType="Argument">
<stringProp name="Argument.name">API_PORT</stringProp>
- <stringProp name="Argument.value">${__P(API_PORT,30785)}</stringProp>
+ <stringProp name="Argument.value">${__P(API_PORT,30421)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="APEX_PORT" elementType="Argument">
<stringProp name="Argument.name">APEX_PORT</stringProp>
- <stringProp name="Argument.value">${__P(APEX_PORT,30687)}</stringProp>
+ <stringProp name="Argument.value">${__P(APEX_PORT,31151)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="DMAAP_PORT" elementType="Argument">
<stringProp name="Argument.name">DMAAP_PORT</stringProp>
- <stringProp name="Argument.value">${__P(DMAAP_PORT,31345)}</stringProp>
+ <stringProp name="Argument.value">${__P(DMAAP_PORT,31054)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="HOSTNAME" elementType="Argument">
<stringProp name="Argument.name">HOSTNAME</stringProp>
- <stringProp name="Argument.value">${__P(HOSTNAME,10.2.0.120)}</stringProp>
+ <stringProp name="Argument.value">${__P(HOSTNAME,172.16.2.18)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="LOG_PATH" elementType="Argument">
<stringProp name="Argument.name">LOG_PATH</stringProp>
- <stringProp name="Argument.value">${__P(LOG_PATH,/home/arkadiusza/apex_stability)}</stringProp>
+ <stringProp name="Argument.value">${__P(LOG_PATH,/home/asreekumar/jmeter_results/apex_perf)}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ <elementProp name="SIM_HOST" elementType="Argument">
+ <stringProp name="Argument.name">SIM_HOST</stringProp>
+ <stringProp name="Argument.value">${__P(SIM_HOST,172.16.2.18)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
@@ -131,7 +136,7 @@
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
</SetupThreadGroup>
<hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy" enabled="true">
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-ApexExample" enabled="true">
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
<collectionProp name="Arguments.arguments">
@@ -142,15 +147,17 @@
&quot;topology_template&quot;: {&#xd;
&quot;policies&quot;: [&#xd;
{&#xd;
- &quot;operational.apex.stabilityTestDefaultDomain&quot;: {&#xd;
+ &quot;onap.policies.apex.Example&quot;: {&#xd;
&quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
&quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
&quot;properties&quot;: {&#xd;
&quot;engineServiceParameters&quot;: {&#xd;
- &quot;name&quot;: &quot;MyApexEngine&quot;,&#xd;
+ &quot;name&quot;: &quot;NSOApexEngine&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;,&#xd;
&quot;id&quot;: 45,&#xd;
- &quot;instanceCount&quot;: 4,&#xd;
+ &quot;instanceCount&quot;: 5,&#xd;
&quot;deploymentPort&quot;: 12561,&#xd;
&quot;engineParameters&quot;: {&#xd;
&quot;executorParameters&quot;: {&#xd;
@@ -165,467 +172,599 @@
&quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters&quot;&#xd;
}&#xd;
}&#xd;
- }&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;logUrl&quot;,&#xd;
+ &quot;value&quot;: &quot;http://172.16.2.18:31054/events/APEX-CL-MGT&quot;&#xd;
+ }&#xd;
+ ]&#xd;
},&#xd;
&quot;policy_type_impl&quot;: {&#xd;
&quot;apexPolicyModel&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;keyInformation&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_KeyInfo&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;APEXgRPCPolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;fc0c1892-a2ae-3678-818f-b9b23939b241&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;ba931e7e-aee9-3af8-98d8-16b92a909e8a&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;b4dd59c5-0169-3810-800c-1396c2206de4&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIRequestErrorType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;b8424cdb-29fb-3566-b77a-f4f847d81cc9&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;599c297e-96c8-3b21-ad1c-e643bddeacbf&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIRequestEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Albums&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Albums&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;9922906c-ccaa-34f7-95e2-bcc36e77821b&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Albums:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;b5e3f122-2dcd-3cdf-a0ec-8210b3f80478&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAISuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Events&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Events&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;5bf28afd-787c-3138-a3e1-b33ad94a038a&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Events:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;15504e23-78c5-305e-9fce-cf1f50e75013&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAISuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_KeyInfo&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_KeyInfo&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;68abaa6f-8d03-3a53-9590-007115817d5c&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_KeyInfo:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;e2715e7d-835e-32c7-b433-a2e92bcad6ee&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSActionIdentifiersType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Policies&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Policies&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;819d06c3-33c2-3031-aa78-96281aa4270a&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Policies:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;b492e841-2c03-36a9-9ec2-dda5852152c3&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Schemas&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Schemas&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;8e67d466-f990-3a39-9fd7-4490cac342dc&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Schemas:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;ef4e45f4-1181-3121-a3b6-507126df25e7&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Tasks&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Tasks&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;4668db3d-6fe2-3885-8e47-f30cd0102f0a&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Tasks:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;91cb711a-0c73-3f51-83e6-fca9c547c71d&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyFailureResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;6e5fa19b-14df-37e3-a4ae-8c537e861a82&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSActionIdentifiersType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;dda3c648-dc8b-38e0-855d-9cb72397f957&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyRequestEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;8350ac5e-c157-38b9-9614-a0f93a830e60&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSCreateSubscriptionPayloadType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;96b306bd-6dee-3d47-981c-eaac316d5ae1&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyResponsePayloadType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;12658406-9147-3c9d-a38c-5ad5e30b092b&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSDeleteSubscriptionPayloadType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;1b65abfb-ce35-3765-9b9c-d2ee02bef28b&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifySuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;35590ac0-062c-39f1-8786-b4ff716e30b1&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSRequestCommonHeaderType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;4dac3de7-3817-396f-91d6-ce701d162877&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;dd7e1805-885a-350b-aaf9-ed541321ae3c&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;92dc9e6b-2082-3d90-ba5e-f2dba18b72b6&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifySuccessResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;15161037-9ac8-3223-820f-4e743562a345&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;a6801c93-f15b-3158-ba33-7760197d3609&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSFailureResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;97dc5f58-25bb-3c20-8d53-fdb70d7ca256&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponsePayloadType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;e2da0a15-c542-3e77-874d-4512e9b4162e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSFailureResponseStatusType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;c28b05a8-7436-3ac0-82ca-6d5fc18c9584&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponsePolicy:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;f54edff0-532f-3142-8e65-a5c9d67888ef&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRequestCommonHeaderType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;7986e21b-32f7-302e-9554-31f21b673493&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseStatusEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;b967dc44-a156-32d3-a796-f03dbf74316c&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRequestPayloadType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseStatusType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;f2aa4552-069d-3db8-8638-2d1f59124e7a&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;d22c78a5-272c-391d-8083-28588280caf9&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;c2e3b07f-2c09-3195-9527-6b3ab0666d61&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;92162397-1a8e-3a3f-a469-d2af7700af4a&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionPayloadEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;a7c28cc1-9fe5-30b7-9dd8-5a4f7f7d811e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartFailureResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;bc0c69f0-52ed-38ea-b468-ae4a6fd1730d&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionPayloadTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;d01d1022-48ac-391d-904d-282ccb063f8a&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartRequestEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;7cfcf843-337e-3f41-b755-5043cb0a08fc&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionRequestEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;ad8cbd94-6eb5-3743-8a7d-42cbe49a5320&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartResponsePayloadType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;89cb75e9-f06c-30d3-b4ff-698d45f63869&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionRequestTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;bbb06330-9161-392e-a0ca-a6bb5e3376af&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartSuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;994fa441-04ab-33bb-832d-1cd12ab5d074&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionPayloadEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;70c6c6e5-00da-30cb-8ec0-14437d657f39&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;0f519117-5fea-3e4b-941f-8f778100465f&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionPayloadTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;77f16151-80b5-304c-a448-19d8528feed1&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartSuccessResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;15d618d8-1689-3a05-89a5-05efa9388f65&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionRequestEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;2f17aee2-fbdf-3c41-a779-f9c17b5bda5b&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSSuccessResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;acb772fe-d442-39e3-98f9-b1080caf4150&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionRequestTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;8c554852-3ed6-3027-a0d3-fccd2db19875&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSSuccessResponseStatusType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;c2bd6f0d-6854-317a-9be2-97c08338428c&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;PMSubscriptionAlbum:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;b402baca-915b-3952-97fc-d9899f9ca81c&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_EventDetailsAlbum:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;992b7819-9f69-3aa0-bb0f-6e45ea15ce05&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;PMSubscriptionOutputEvent:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;3626f32a-eee6-3254-b3d4-e4829518c381&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_EventDetailsAlbumType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;73c1c397-4fc3-357f-93b6-a8ad707fbaae&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;PMSubscriptionType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;87abb453-a919-3131-8ffb-3e5c910c6049&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_HandleAAIFailureResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&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;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&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;
+ &quot;UUID&quot;: &quot;8881e644-3cca-3aec-8201-312ca6f719e0&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_HandleAAISuccessResponseTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;6c1c6c45-26e0-3591-94bf-679d20e283f4&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ReceivePMSubscriptionTask:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;057f6ddd-d6aa-3ce2-a060-d344de16d7f3&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_HandleVesEventTask:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&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;name&quot;: &quot;ApexExample_LogStatusEvent&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;
+ &quot;UUID&quot;: &quot;4867b1e7-a819-3b9f-be2b-a97fe6019827&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_LogStatusEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;975b3071-b775-3617-a888-f831fe5a31db&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VesEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;ad9efe17-a03e-3b64-8e8a-51e144f57d2c&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VesEventHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;0054393c-10df-3214-af86-cb04a23325bf&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VesEventType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;865a5903-201b-34ff-918b-2bfdde743576&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VnfRelationShipListType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;7218fb2f-59e3-321d-9ae1-bc97b19eb4ae&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleBooleanType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleLongType:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
@@ -644,58 +783,100 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;b2501730-8870-3475-b22a-4a4d22792ebb&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_Albums&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;597643b1-9db1-31ce-85d0-e1c63c43b30b&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SubscriptionStatusType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;7dc5f49d-c291-38de-bcae-1db30d00581f&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Albums:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_Events&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;184547bb-7d64-3cb2-a273-d7185102c5ce&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SubscriptionType:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;06b3112b-ae8b-3f37-8aa6-f539c0250550&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Events:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_KeyInfo&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;
+ &quot;UUID&quot;: &quot;454848e1-43ac-3ce4-bfdc-b9b6271dc563&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_KeyInfo:0.0.1\&quot;&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;testPolicyB&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_Policies&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;UUID&quot;: &quot;ead590a3-ba2e-3a01-b6e9-9329f5c8fee1&quot;,&#xd;
- &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;testPolicyB:0.0.1\&quot;&quot;&#xd;
+ &quot;UUID&quot;: &quot;24c3fca5-b0dd-398c-83ee-66a187296b32&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Policies:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;onap.policies.apex.Example_Schemas&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;c6aff774-f50a-329d-a731-9c23a6e7e02e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Schemas:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;onap.policies.apex.Example_Tasks&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;f856a6df-6237-3acc-aa68-f55e64cc0ec9&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Tasks:0.0.1\&quot;&quot;&#xd;
}&#xd;
}&#xd;
]&#xd;
@@ -703,50 +884,50 @@
},&#xd;
&quot;policies&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Policies&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;CDSResponsePolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;policyKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&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;CDSResponseState&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
- &quot;localName&quot;: &quot;CDSResponseState&quot;&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;&#xd;
},&#xd;
&quot;trigger&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&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;ResponseOutput&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_AAIFailureStateOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CDSResponseState&quot;,&#xd;
- &quot;localName&quot;: &quot;ResponseOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAIFailureStateOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
@@ -769,29 +950,29 @@
&quot;entry&quot;: []&#xd;
},&#xd;
&quot;defaultTask&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&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;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CDSResponseState&quot;,&#xd;
- &quot;localName&quot;: &quot;CDSResponsePolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CDSResponseState&quot;,&#xd;
- &quot;localName&quot;: &quot;ResponseOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAIFailureStateOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
@@ -801,173 +982,336 @@
}&#xd;
]&#xd;
},&#xd;
- &quot;firstState&quot;: &quot;CDSResponseState&quot;&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&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;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&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;CreateOrDeleteState&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
- &quot;localName&quot;: &quot;CreateOrDeleteState&quot;&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;&#xd;
},&#xd;
&quot;trigger&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&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;CreateSubscriptionPayload&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_AAISuccessStateOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;CreateSubscriptionPayload&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAISuccessStateOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
- &quot;parentKeyVersion&quot;: &quot;0.0.1&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;CreateSubscription&quot;&#xd;
+ &quot;localName&quot;: &quot;NULL&quot;&#xd;
}&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
+ &quot;taskSelectionLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;NULL&quot;,&#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;ApexExample_HandleAAISuccessResponseTask&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;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_AAISuccessStateOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&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;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&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;DeleteSubscriptionPayload&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_ConfigModifyFailureResponseOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;DeleteSubscriptionPayload&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ConfigModifyFailureResponseOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
- &quot;parentKeyVersion&quot;: &quot;0.0.1&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;DeleteSubscription&quot;&#xd;
+ &quot;localName&quot;: &quot;NULL&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
},&#xd;
- &quot;contextAlbumReference&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- }&#xd;
- ],&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
&quot;taskSelectionLogic&quot;: {&#xd;
- &quot;key&quot;: &quot;TaskSelectionLogic&quot;,&#xd;
- &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\nvar changeType = pmSubscriptionInfo.get(\&quot;changeType\&quot;).toString()\n\nif (\&quot;CREATE\&quot;.equals(changeType)) {\n executor.subject.getTaskKey(\&quot;CreateSubscriptionPayloadTask\&quot;).copyTo(executor.selectedTask);\n}\nelse if (\&quot;DELETE\&quot;.equals(changeType)) {\n executor.subject.getTaskKey(\&quot;DeleteSubscriptionPayloadTask\&quot;).copyTo(executor.selectedTask);\n}\n\ntrue;&quot;&#xd;
+ &quot;key&quot;: &quot;NULL&quot;,&#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;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&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;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&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;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;CreateSubscriptionPayload&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ConfigModifyFailureResponseOutput&quot;&#xd;
}&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&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;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&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;ApexExample_ConfigModifySuccessResponseOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ConfigModifySuccessResponseOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#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;: &quot;NULL&quot;,&#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;ApexExample_CDSConfigModifySuccessResponseTask&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;DeleteSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&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;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
- &quot;localName&quot;: &quot;DeleteSubscriptionPayload&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ConfigModifySuccessResponseOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&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;CreateSubscription&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
- &quot;localName&quot;: &quot;CreateSubscription&quot;&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;&#xd;
},&#xd;
&quot;trigger&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&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;IssueCreateSubscriptionRequestOutput&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_RestartFailureResponseOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;IssueCreateSubscriptionRequestOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_RestartFailureResponseOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
@@ -980,12 +1324,7 @@
}&#xd;
]&#xd;
},&#xd;
- &quot;contextAlbumReference&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- }&#xd;
- ],&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
&quot;taskSelectionLogic&quot;: {&#xd;
&quot;key&quot;: &quot;NULL&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
@@ -995,62 +1334,80 @@
&quot;entry&quot;: []&#xd;
},&#xd;
&quot;defaultTask&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&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;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&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;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;CreateSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;IssueCreateSubscriptionRequestOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_RestartFailureResponseOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&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;DeleteSubscription&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
- &quot;localName&quot;: &quot;DeleteSubscription&quot;&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;&#xd;
},&#xd;
&quot;trigger&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&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;IssueDeleteSubscriptionRequestOutput&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_RestartSuccessResponseOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;DeleteSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;IssueDeleteSubscriptionRequestOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_RestartSuccessResponseOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
@@ -1063,12 +1420,7 @@
}&#xd;
]&#xd;
},&#xd;
- &quot;contextAlbumReference&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- }&#xd;
- ],&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
&quot;taskSelectionLogic&quot;: {&#xd;
&quot;key&quot;: &quot;NULL&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
@@ -1078,80 +1430,93 @@
&quot;entry&quot;: []&#xd;
},&#xd;
&quot;defaultTask&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&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;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&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;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;DeleteSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;DeleteSubscription&quot;,&#xd;
- &quot;localName&quot;: &quot;IssueDeleteSubscriptionRequestOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_RestartSuccessResponseOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&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;ReceiveSubscriptionState&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveSubscriptionState&quot;&#xd;
+ &quot;localName&quot;: &quot;ApexExample_ReceiveVesState&quot;&#xd;
},&#xd;
&quot;trigger&quot;: {&#xd;
- &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEvent&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;ReceivePMSubscriptionOutput&quot;,&#xd;
+ &quot;key&quot;: &quot;ApexExample_VesOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;ReceiveSubscriptionState&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceivePMSubscriptionOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_VesOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;nextState&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
- &quot;parentKeyVersion&quot;: &quot;0.0.1&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;CreateOrDeleteState&quot;&#xd;
+ &quot;localName&quot;: &quot;NULL&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
},&#xd;
- &quot;contextAlbumReference&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- }&#xd;
- ],&#xd;
+ &quot;contextAlbumReference&quot;: [],&#xd;
&quot;taskSelectionLogic&quot;: {&#xd;
&quot;key&quot;: &quot;NULL&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
@@ -1161,29 +1526,29 @@
&quot;entry&quot;: []&#xd;
},&#xd;
&quot;defaultTask&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&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;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&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;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;ReceiveSubscriptionState&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&quot;: {&#xd;
- &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
+ &quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
- &quot;parentLocalName&quot;: &quot;ReceiveSubscriptionState&quot;,&#xd;
- &quot;localName&quot;: &quot;ReceivePMSubscriptionOutput&quot;&#xd;
+ &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ApexExample_VesOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
@@ -1193,7 +1558,7 @@
}&#xd;
]&#xd;
},&#xd;
- &quot;firstState&quot;: &quot;ReceiveSubscriptionState&quot;&#xd;
+ &quot;firstState&quot;: &quot;ApexExample_ReceiveVesState&quot;&#xd;
}&#xd;
}&#xd;
]&#xd;
@@ -1201,19 +1566,19 @@
},&#xd;
&quot;tasks&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Tasks&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
@@ -1223,7 +1588,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1234,7 +1599,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1245,7 +1610,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1256,7 +1621,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;status&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1267,11 +1632,11 @@
&quot;outputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1284,35 +1649,68 @@
},&#xd;
&quot;contextAlbumReference&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
],&#xd;
&quot;taskLogic&quot;: {&#xd;
&quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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\n\nvar uuidType = java.util.UUID;\n\nvar albumID = uuidType.fromString(\&quot;d0050623-18e5-46c9-9298-9a567990cd7c\&quot;);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(albumID.toString());\n\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\&quot;status\&quot;).createNewInstance();\n\nresponseStatus.put(\&quot;subscriptionName\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;subscriptionName\&quot;))\nresponseStatus.put(\&quot;nfName\&quot;, pmSubscriptionInfo.get(\&quot;nfName\&quot;))\nresponseStatus.put(\&quot;changeType\&quot;, pmSubscriptionInfo.get(\&quot;changeType\&quot;))\n\nvar response = executor.inFields.get(\&quot;payload\&quot;)\n\nif (\&quot;failure\&quot;.equals(response.get(\&quot;create_DasH_subscription_DasH_response\&quot;).get(\&quot;odl_DasH_response\&quot;).get(\&quot;status\&quot;))) {\n responseStatus.put(\&quot;message\&quot;, \&quot;failed\&quot;)\n} else {\n responseStatus.put(\&quot;message\&quot;, \&quot;success\&quot;)\n}\n\nexecutor.outFields.put(\&quot;status\&quot;, responseStatus)\n\ntrue;&quot;&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar timestamp = longType(new Date().getTime())\nvar errorMessage = \&quot;CDS operation failed. Error message from CDS - \&quot; + executor.inFields.get(\&quot;status\&quot;).get(\&quot;errorMessage\&quot;);\nerrorMessage = errorMessage.replace(/\&quot;/g, &apos;\\\\\\\&quot;&apos;)\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + errorMessage);\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1323,11 +1721,22 @@
&quot;outputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1338,7 +1747,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1351,35 +1760,46 @@
},&#xd;
&quot;contextAlbumReference&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
],&#xd;
&quot;taskLogic&quot;: {&#xd;
&quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\n\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;create_DasH_subscription_DasH_properties_record\&quot;);\n\npayloadProperties.put(\&quot;nfName\&quot;, pmSubscriptionInfo.get(\&quot;nfName\&quot;))\npayloadProperties.put(\&quot;subscriptionName\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;subscriptionName\&quot;))\npayloadProperties.put(\&quot;administrativeState\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;administrativeState\&quot;))\npayloadProperties.put(\&quot;fileBasedGP\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileBasedGP\&quot;).toString())\npayloadProperties.put(\&quot;fileLocation\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileLocation\&quot;))\npayloadProperties.put(\&quot;measurementGroups\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;measurementGroups\&quot;))\n\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSRequestPayloadEntry\&quot;);\npayloadEntry.put(\&quot;create_DasH_subscription_DasH_properties\&quot;, payloadProperties)\n\nvar payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\npayload.put(\&quot;create_DasH_subscription_DasH_request\&quot;, payloadEntry);\n\nexecutor.outFields.put(\&quot;albumID\&quot;, executor.inFields.get(\&quot;albumID\&quot;))\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending Create Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar timestamp = longType(new Date().getTime());\nvar faultFields = eventDetailsAlbum.get(\&quot;faultFields\&quot;);\nvar vnfDetails = eventDetailsAlbum.get(\&quot;vnfDetails\&quot;);\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\ncommonHeader.put(\&quot;subRequestId\&quot;, commonEventHeader.get(\&quot;eventId\&quot;));\ncommonHeader.put(\&quot;requestId\&quot;, uuidType.randomUUID().toString());\ncommonHeader.put(\&quot;originatorId\&quot;, \&quot;POLICY\&quot;);\n\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\nactionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\nactionIdentifiers.put(\&quot;blueprintName\&quot;, \&quot;apex-example-cba\&quot;);\nactionIdentifiers.put(\&quot;blueprintVersion\&quot;, \&quot;1.0.0\&quot;);\nactionIdentifiers.put(\&quot;actionName\&quot;, \&quot;restart\&quot;);\n\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;update_DasH_properties_record\&quot;);\npayloadProperties.put(\&quot;service_DasH_instance_DoT_service_DasH_instance_DasH_id\&quot;, vnfDetails.get(\&quot;service-id\&quot;).toString())\npayloadProperties.put(\&quot;generic_DasH_vnf_DoT_vnf_DasH_id\&quot;, vnfDetails.get(\&quot;vnf-name\&quot;).toString())\nvar dataRecord = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;update_DasH_data_record\&quot;);\ndataRecord.put(\&quot;active_DasH_streams\&quot;,\&quot;7\&quot;)\npayloadProperties.put(\&quot;data\&quot;, dataRecord)\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSRequestPayloadEntry\&quot;);\npayloadEntry.put(\&quot;update_DasH_properties\&quot;, payloadProperties)\npayloadEntry.put(\&quot;vfStatus\&quot;, faultFields.get(\&quot;vfStatus\&quot;))\nvar payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\npayload.put(\&quot;restart_DasH_request\&quot;, payloadEntry);\n\nexecutor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\nexecutor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(+executor.outFields);\n\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;SUCCESS\&quot;, \&quot;ConfigModify request is successful. Sending restart request to CDS.\&quot;)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1390,7 +1810,18 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1401,11 +1832,52 @@
&quot;outputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#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;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar timestamp = longType(new Date().getTime())\nvar errorMessage = \&quot;CDS operation failed. Error message from CDS - \&quot; + executor.inFields.get(\&quot;status\&quot;).get(\&quot;errorMessage\&quot;);\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + errorMessage);\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputFields&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1416,7 +1888,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1427,7 +1899,33 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;outputFields&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#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;
@@ -1440,35 +1938,35 @@
},&#xd;
&quot;contextAlbumReference&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
],&#xd;
&quot;taskLogic&quot;: {&#xd;
&quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\nvar payload = executor.inFields.get(\&quot;payload\&quot;)\nvar actionName = \&quot;create-subscription\&quot;\n\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\ncommonHeader.put(\&quot;originatorId\&quot;, \&quot;sdnc\&quot;);\ncommonHeader.put(\&quot;requestId\&quot;, \&quot;123456-1000\&quot;);\ncommonHeader.put(\&quot;subRequestId\&quot;, \&quot;sub-123456-1000\&quot;);\n\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\nactionIdentifiers.put(\&quot;actionName\&quot;, actionName);\nactionIdentifiers.put(\&quot;blueprintName\&quot;, \&quot;pm_control\&quot;);\nactionIdentifiers.put(\&quot;blueprintVersion\&quot;, \&quot;1.0.0\&quot;);\nactionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\n\nexecutor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\nexecutor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending Activate Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar timestamp = longType(new Date().getTime());\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;FINAL_SUCCESS\&quot;, \&quot;Successfully processed the VES Event. Restart is complete.\&quot;)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1479,22 +1977,11 @@
&quot;outputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- },&#xd;
- &quot;optional&quot;: false&#xd;
- }&#xd;
- },&#xd;
- {&#xd;
- &quot;key&quot;: &quot;payload&quot;,&#xd;
- &quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;payload&quot;,&#xd;
- &quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1507,46 +1994,167 @@
},&#xd;
&quot;contextAlbumReference&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
],&#xd;
&quot;taskLogic&quot;: {&#xd;
&quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\n\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;delete_DasH_subscription_DasH_properties_record\&quot;);\n\npayloadProperties.put(\&quot;nfName\&quot;, pmSubscriptionInfo.get(\&quot;nfName\&quot;))\npayloadProperties.put(\&quot;subscriptionName\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;subscriptionName\&quot;))\npayloadProperties.put(\&quot;administrativeState\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;administrativeState\&quot;))\npayloadProperties.put(\&quot;fileBasedGP\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileBasedGP\&quot;).toString())\npayloadProperties.put(\&quot;fileLocation\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileLocation\&quot;))\npayloadProperties.put(\&quot;measurementGroups\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;measurementGroups\&quot;))\n\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSRequestPayloadEntry\&quot;);\npayloadEntry.put(\&quot;delete_DasH_subscription_DasH_properties\&quot;, payloadProperties)\n\nvar payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\npayload.put(\&quot;delete_DasH_subscription_DasH_request\&quot;, payloadEntry);\n\nexecutor.outFields.put(\&quot;albumID\&quot;, executor.inFields.get(\&quot;albumID\&quot;))\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending delete Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\n\nvar aaiErrorMessage = \&quot;AAI operation failed. Error message from AAI - \&quot; + executor.inFields.get(\&quot;requestError\&quot;).get(\&quot;serviceException\&quot;).get(\&quot;text\&quot;);\nvar timestamp = longType(new Date().getTime());\n\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + aaiErrorMessage)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;model-customization-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;model-customization-id&quot;,&#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;model-invariant-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;model-invariant-id&quot;,&#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;model-version-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;model-version-id&quot;,&#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;orchestration-status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;orchestration-status&quot;,&#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;prov-status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;prov-status&quot;,&#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;relationship-list&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;relationship-list&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#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;service-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;service-id&quot;,&#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;vnf-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-id&quot;,&#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;vnf-name&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-name&quot;,&#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;vnf-type&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-type&quot;,&#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;
@@ -1561,7 +2169,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1572,7 +2180,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1583,7 +2191,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1596,33 +2204,195 @@
},&#xd;
&quot;contextAlbumReference&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
],&#xd;
&quot;taskLogic&quot;: {&#xd;
&quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
&quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\nvar payload = executor.inFields.get(\&quot;payload\&quot;)\nvar actionName = \&quot;delete-subscription\&quot;\n\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\ncommonHeader.put(\&quot;originatorId\&quot;, \&quot;sdnc\&quot;);\ncommonHeader.put(\&quot;requestId\&quot;, \&quot;123456-1000\&quot;);\ncommonHeader.put(\&quot;subRequestId\&quot;, \&quot;sub-123456-1000\&quot;);\n\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\nactionIdentifiers.put(\&quot;actionName\&quot;, actionName);\nactionIdentifiers.put(\&quot;blueprintName\&quot;, \&quot;pm_control\&quot;);\nactionIdentifiers.put(\&quot;blueprintVersion\&quot;, \&quot;1.0.0\&quot;);\nactionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\n\nexecutor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\nexecutor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending Deactivate Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).get(albumID.toString());\n\nvar vnfDetails = executor.inFields;\nexecutor.logger.info(\&quot;ApexExample_HandleAAISuccessResponseTask processing event - \&quot; + vnfDetails);\neventDetailsAlbum.put(\&quot;vnfDetails\&quot;, vnfDetails);\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar faultFields = eventDetailsAlbum.get(\&quot;faultFields\&quot;);\n\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\ncommonHeader.put(\&quot;subRequestId\&quot;, commonEventHeader.get(\&quot;eventId\&quot;));\ncommonHeader.put(\&quot;requestId\&quot;, uuidType.randomUUID().toString());\ncommonHeader.put(\&quot;originatorId\&quot;, \&quot;POLICY\&quot;);\n\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\nactionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\nactionIdentifiers.put(\&quot;blueprintName\&quot;, \&quot;apex-example-cba\&quot;);\nactionIdentifiers.put(\&quot;blueprintVersion\&quot;, \&quot;1.0.0\&quot;);\nactionIdentifiers.put(\&quot;actionName\&quot;, \&quot;modify-config\&quot;);\n\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;update_DasH_properties_record\&quot;);\npayloadProperties.put(\&quot;service_DasH_instance_DoT_service_DasH_instance_DasH_id\&quot;, vnfDetails.get(\&quot;service-id\&quot;).toString())\npayloadProperties.put(\&quot;generic_DasH_vnf_DoT_vnf_DasH_id\&quot;, vnfDetails.get(\&quot;vnf-id\&quot;).toString())\nvar dataRecord = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;update_DasH_data_record\&quot;);\ndataRecord.put(\&quot;active_DasH_streams\&quot;,\&quot;7\&quot;)\npayloadProperties.put(\&quot;data\&quot;, dataRecord)\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSRequestPayloadEntry\&quot;);\npayloadEntry.put(\&quot;update_DasH_properties\&quot;, payloadProperties)\npayloadEntry.put(\&quot;vfStatus\&quot;, faultFields.get(\&quot;vfStatus\&quot;))\nvar payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\nvar payloadSchemaHelper = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;);\npayload.put(\&quot;modify_DasH_config_DasH_request\&quot;, payloadEntry);\n\n//always use the executor.stringify2json method instead of JSON.strngify\nexecutor.logger.info(\&quot;CDS modify config request payload - \&quot; + executor.stringify2Json(payload, payloadSchemaHelper));\n\nexecutor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\nexecutor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\nvar timestamp = longType(new Date().getTime());\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, commonEventHeader.get(\&quot;sourceId\&quot;), timestamp, \&quot;SUCCESS\&quot;, \&quot;VNF details are received from AAI successfully. Sending ConfigModify request to CDS.\&quot;)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;inputFields&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;changeType&quot;,&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;outputFields&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#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;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\&quot;event\&quot;);\nexecutor.logger.info(\&quot;ApexExample_HandleVesEventTask processing VES event - \&quot; + event);\n\nvar commonEventHeader = event.get(\&quot;commonEventHeader\&quot;);\nvar faultFields = event.get(\&quot;faultFields\&quot;);\n\n//albumID will be used to fetch info from our album later\nvar albumID = commonEventHeader.get(\&quot;sourceId\&quot;);\n\n// save the event processing start time in apex\ncommonEventHeader.put(\&quot;startEpochMicrosec\&quot;, longType(new Date().getTime()));\n//save the incoming fault event details to album\neventDetailsAlbum.put(\&quot;commonEventHeader\&quot;, commonEventHeader)\neventDetailsAlbum.put(\&quot;faultFields\&quot;, faultFields)\nexecutor.getContextAlbum(\&quot;ApexExample_EventDetailsAlbum\&quot;).put(albumID.toString(), eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\&quot;albumId\&quot;, albumID);\nexecutor.getExecutionProperties().setProperty(\&quot;vnf-name\&quot;, eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;sourceName\&quot;));\n\nvar timestamp = longType(new Date().getTime());\nsend(eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;eventId\&quot;), \&quot;VNF\&quot;, eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;sourceId\&quot;), timestamp, \&quot;ACTIVE\&quot;, \&quot;VES event has been received. Going to fetch VNF details from AAI.\&quot;)\n\nexecutor.logger.info(executor.outFields);\nreturnValue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = &apos;{&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n +&apos;\&quot;target\&quot; : {&apos;\n +&apos;\&quot;targetType\&quot; : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n +&apos;\&quot;entityInfo\&quot; : {&apos;\n +&apos;\&quot;id\&quot; : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;component\&quot; : {&apos;\n +&apos;\&quot;name\&quot; : \&quot;Policy\&quot;,&apos;\n +&apos;\&quot;flavour\&quot; : \&quot;Apex-PDP\&quot;,&apos;\n +&apos;\&quot;timestamp\&quot; : &apos; + timestamp + &apos;,&apos;\n +&apos;\&quot;status\&quot; : \&quot;&apos; + status + &apos;\&quot;,&apos;\n +&apos;\&quot;message\&quot; : \&quot;&apos; + message + &apos;\&quot;,&apos;\n +&apos;\&quot;artifacts\&quot; : {&apos;\n +&apos;\&quot;policyName\&quot; : \&quot;onap.policies.apex.Example\&quot;,&apos;\n +&apos;\&quot;policyVersion\&quot; : \&quot;1.0.0\&quot;&apos;\n +&apos;}&apos;\n +&apos;},&apos;\n +&apos;\&quot;otherFields\&quot; : {&apos;\n +&apos;\&quot;useCaseName\&quot; : \&quot;apex-pdp-policy-example\&quot;&apos;\n +&apos;}&apos;\n +&apos;}&apos;;\n\n executor.logger.info(\&quot;sending the status to log.\&quot;);\n fireLogEvent(logData);\n}\n\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\&quot;logUrl\&quot;),\n \&quot;\&quot;,\n \&quot;\&quot;,\n headers,\n \&quot;application/json\&quot;,\n logEvent\n );\n executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n return response;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;events&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;AAI&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;model-customization-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;model-customization-id&quot;,&#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;model-invariant-id&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;changeType&quot;,&#xd;
+ &quot;key&quot;: &quot;model-invariant-id&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
@@ -1631,9 +2401,9 @@
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
+ &quot;key&quot;: &quot;model-version-id&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
+ &quot;key&quot;: &quot;model-version-id&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
@@ -1642,9 +2412,9 @@
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;nfName&quot;,&#xd;
+ &quot;key&quot;: &quot;orchestration-status&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;nfName&quot;,&#xd;
+ &quot;key&quot;: &quot;orchestration-status&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
@@ -1653,9 +2423,9 @@
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;policyName&quot;,&#xd;
+ &quot;key&quot;: &quot;prov-status&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;policyName&quot;,&#xd;
+ &quot;key&quot;: &quot;prov-status&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
@@ -1664,70 +2434,201 @@
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;subscription&quot;,&#xd;
+ &quot;key&quot;: &quot;relationship-list&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;subscription&quot;,&#xd;
+ &quot;key&quot;: &quot;relationship-list&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#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;service-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;service-id&quot;,&#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;vnf-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-id&quot;,&#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;vnf-name&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-name&quot;,&#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;vnf-type&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;vnf-type&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;outputFields&quot;: {&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
}&#xd;
]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;taskParameters&quot;: {&#xd;
- &quot;entry&quot;: []&#xd;
- },&#xd;
- &quot;contextAlbumReference&quot;: [&#xd;
- {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- }&#xd;
- ],&#xd;
- &quot;taskLogic&quot;: {&#xd;
- &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
- &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
- &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\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 \&quot;AS IS\&quot; 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 */\nvar uuidType = java.util.UUID;\n\n\n//albumID will be used to fetch info from our album later\nvar albumID = uuidType.fromString(\&quot;d0050623-18e5-46c9-9298-9a567990cd7c\&quot;);\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).getSchemaHelper().createNewInstance();\nvar returnValue = true;;\n\nif(executor.inFields.get(\&quot;policyName\&quot;) != null) {\n var changeType = executor.inFields.get(\&quot;changeType\&quot;)\n var nfName = executor.inFields.get(\&quot;nfName\&quot;)\n var policyName = executor.inFields.get(\&quot;policyName\&quot;)\n var closedLoopControlName = executor.inFields.get(\&quot;closedLoopControlName\&quot;)\n var subscription = executor.inFields.get(\&quot;subscription\&quot;)\n\n pmSubscriptionInfo.put(\&quot;nfName\&quot;, executor.inFields.get(\&quot;nfName\&quot;));\n pmSubscriptionInfo.put(\&quot;changeType\&quot;, executor.inFields.get(\&quot;changeType\&quot;))\n pmSubscriptionInfo.put(\&quot;policyName\&quot;, executor.inFields.get(\&quot;policyName\&quot;))\n pmSubscriptionInfo.put(\&quot;closedLoopControlName\&quot;, executor.inFields.get(\&quot;closedLoopControlName\&quot;))\n pmSubscriptionInfo.put(\&quot;subscription\&quot;, subscription)\n\n executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).put(albumID.toString(), pmSubscriptionInfo);\n\n executor.outFields.put(\&quot;albumID\&quot;, albumID)\n} else {\n executor.message = \&quot;Received invalid event\&quot;\n returnValue = false;\n}\nreturnValue;&quot;&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
}&#xd;
}&#xd;
- }&#xd;
- ]&#xd;
- }&#xd;
- },&#xd;
- &quot;events&quot;: {&#xd;
- &quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Events&quot;,&#xd;
- &quot;version&quot;: &quot;0.0.1&quot;&#xd;
- },&#xd;
- &quot;eventMap&quot;: {&#xd;
- &quot;entry&quot;: [&#xd;
+ },&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
&quot;source&quot;: &quot;CDS&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
@@ -1737,7 +2638,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1748,7 +2649,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1759,7 +2660,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1770,7 +2671,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;status&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1782,25 +2683,58 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
- &quot;source&quot;: &quot;APEX&quot;,&#xd;
- &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
&quot;key&quot;: &quot;status&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;status&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1812,25 +2746,36 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
&quot;source&quot;: &quot;APEX&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1841,7 +2786,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1853,16 +2798,16 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
- &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
@@ -1871,7 +2816,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1882,7 +2827,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1893,7 +2838,18 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1905,36 +2861,2548 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
&quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;message&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
+ &quot;source&quot;: &quot;DCAE&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
- },&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;albums&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example_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;ApexExample_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&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;ApexExample_EventDetailsAlbumType&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;onap.policies.apex.Example_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;ApexExample_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;AAIRequestErrorType\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;serviceException\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;serviceException\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;messageId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;text\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;variables\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSActionIdentifiers_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;actionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;mode\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;CDSConfigResponsePayloadEntry\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;modify_DasH_config_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;modify_DasH_config_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;execute_DasH_command_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n },\n {\n \&quot;name\&quot;: \&quot;prepare_DasH_environment_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;errorMessage\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;map\&quot;,\n \&quot;values\&quot;: {\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestPayloadEntry\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;vfStatus\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;update_DasH_properties\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;update_DasH_properties_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;service_DasH_instance_DoT_service_DasH_instance_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;generic_DasH_vnf_DoT_vnf_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;data\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;update_DasH_data_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;active_DasH_streams\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }\n }\n ]\n }\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;CDSRestartResponsePayloadEntry\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;restart_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;restart_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;execute_DasH_command_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n },\n {\n \&quot;name\&quot;: \&quot;prepare_DasH_environment_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;eventDetails\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;domain\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;lastEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;priority\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;reportingEntityName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sequence\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;startEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timeZoneOffset\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;version\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vesEventListenerVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;faultFields\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;faultFields\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;alarmAdditionalInformation\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;alarmAdditionalInformation\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;PilotNumberPoolSize\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;alarmCondition\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventSeverity\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventSourceType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;faultFieldsVersion\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;specificProblem\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vfStatus\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;vnfDetails\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;vnfDetails\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;vnf_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vnf_DasH_name\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vnf_DasH_type\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;service_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;prov_DasH_status\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;orchestration_DasH_status\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;in_DasH_maint\&quot;,\n \&quot;type\&quot;: \&quot;boolean\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;is_DasH_closed_DasH_loop_DasH_disabled\&quot;,\n \&quot;type\&quot;: \&quot;boolean\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;resource_DasH_version\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;model_DasH_invariant_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;model_DasH_version_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;model_DasH_customization_DasH_id\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;target\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;target\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;targetType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;name\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;event\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;domain\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;lastEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;priority\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;reportingEntityName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sequence\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;startEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timeZoneOffset\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;version\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vesEventListenerVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;faultFields\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;faultFields\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;alarmAdditionalInformation\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;alarmAdditionalInformation\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;PilotNumberPoolSize\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;alarmCondition\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventSeverity\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventSourceType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;faultFieldsVersion\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;specificProblem\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;vfStatus\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;VnfRelationShipListType\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;relationship\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;relationship_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;related_DasH_to\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;relationship_DasH_label\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;related_DasH_link\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;relationship_DasH_data\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;relationship_DasH_data_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;relationship_DasH_key\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;relationship_DasH_value\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;related_DasH_to_DasH_property\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;related_DasH_to_DasH_property_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;property_DasH_key\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;property_DasH_value\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&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.Boolean&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&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.Long&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;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventInputParameters&quot;: {&#xd;
+ &quot;ApexExample_DCAEConsumer&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://172.16.2.18:31054/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT/ApexExampleCG1/1?timeout=30000&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;ApexExample_VesEvent&quot;&#xd;
+ },&#xd;
+ &quot;ApexExample_AAIResponseConsumer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;url&quot;: &quot;https://aai:8443/aai/v14/network/generic-vnfs/generic-vnf?vnf-name={vnf-name}&quot;,&#xd;
+ &quot;httpMethod&quot;: &quot;GET&quot;,&#xd;
+ &quot;httpCodeFilter&quot;: &quot;[245][0-9][0-9]&quot;,&#xd;
+ &quot;httpHeaders&quot;: [&#xd;
+ [&#xd;
+ &quot;Accept&quot;,&#xd;
+ &quot;application/json&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;Content-Type&quot;,&#xd;
+ &quot;application/json&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;X-FromAppId&quot;,&#xd;
+ &quot;dcae-curl&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;x-transactionId&quot;,&#xd;
+ &quot;9998&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;Authorization&quot;,&#xd;
+ &quot;Basic QUFJOkFBSQ==&quot;&#xd;
+ ]&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;ApexExample_AAISuccessResponseEvent|ApexExample_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_AAIProducer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 2000&#xd;
+ },&#xd;
+ &quot;ApexExample_CDSConfigModifyResponseConsumer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent|ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_CDSConfigModifyRequestProducer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 500&#xd;
+ },&#xd;
+ &quot;ApexExample_CDSRestartResponseConsumer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent|ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_CDSRestartRequestProducer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 500&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventOutputParameters&quot;: {&#xd;
+ &quot;ApexExample_AAIProducer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventNameFilter&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_AAIResponseConsumer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 2000&#xd;
+ },&#xd;
+ &quot;ApexExample_CDSConfigModifyRequestProducer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;host&quot;: &quot;policy-models-simulator&quot;,&#xd;
+ &quot;port&quot;: 6680,&#xd;
+ &quot;username&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;password&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;timeout&quot;: 10&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventNameFilter&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_CDSConfigModifyResponseConsumer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 500&#xd;
+ },&#xd;
+ &quot;ApexExample_CDSRestartRequestProducer&quot;: {&#xd;
+ &quot;carrierTechnologyParameters&quot;: {&#xd;
+ &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;host&quot;: &quot;policy-models-simulator&quot;,&#xd;
+ &quot;port&quot;: 6680,&#xd;
+ &quot;username&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;password&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;timeout&quot;: 10&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventNameFilter&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;ApexExample_CDSRestartResponseConsumer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 500&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/policy/api/v1/policies</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>
+ <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/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-SimpleCL" 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;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
+ &quot;topology_template&quot;: {&#xd;
+ &quot;policies&quot;: [&#xd;
+ {&#xd;
+ &quot;onap.policies.apex.Simplecontrolloop&quot;: {&#xd;
+ &quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
+ &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
+ &quot;properties&quot;: {&#xd;
+ &quot;engineServiceParameters&quot;: {&#xd;
+ &quot;name&quot;: &quot;NSOApexEngine&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;id&quot;: 45,&#xd;
+ &quot;instanceCount&quot;: 5,&#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;Avro&quot;: {&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;policy_type_impl&quot;: {&#xd;
+ &quot;apexPolicyModel&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;keyInformation&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;7218fb2f-59e3-321d-9ae1-bc97b19eb4ae&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleBooleanType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;c8a29e27-0a15-354a-84f9-4c7f207e5c81&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;5e843cee-0180-39b9-8989-180b2ffe11c0&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;90291c92-9b27-3cd9-8720-db572419c048&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIRequestErrorType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;7b7e6751-4e0b-389d-98c0-5567bbc0294c&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIRequestEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;63d5680c-14ef-3505-8d34-ebb646bba07b&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAISuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;a84ca97d-6e94-39a2-91f9-59a6c9aa435e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;0e2ee622-7fd3-3e49-82e2-539c4f5e9624&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSActionIdentifiersType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;e84f8682-ea33-3ad0-8626-8bc4634581fc&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;a252f835-2479-38ef-9ef4-20af62725752&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;cfc46ea9-b8c1-38dd-ac9c-304c916daf34&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;1e7095d6-a455-3f89-acae-486e35d7e311&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyRequestEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;d22ea83b-695d-3da9-b9f5-41f16ca433bf&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;e9fe2e40-1f0d-30dd-8b9e-885695878693&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;5e04fa76-0a17-38a9-8524-23b2d1a23fa5&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;15866380-40f5-3f8e-87d9-13747a36d352&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;2c3d76ce-dd42-32ac-a397-ab418534e1cf&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;b99c44da-dae7-3c96-b528-58852537d063&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;1db688e2-3afe-3b03-9795-fdbfa80fa240&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSFailureResponseStatusType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;31022456-e85b-3a9b-9ecb-a09691792d3e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSRequestCommonHeaderType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;d6075720-622e-3a0d-827a-aa4580a2f5d7&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSSuccessResponseStatusType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_EventDetailsAlbum:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;a0407d0b-5719-38bf-9529-25ad62ace8c4&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_EventDetailsAlbumType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;28e894dc-4ab8-3469-aab7-d81bd05bb4c9&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleAAIFailureResponseTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;073f1433-999e-3506-98ad-ef820d2fa7f0&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleAAISuccessResponseTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleVesEventTask:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_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;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;317be184-a01a-3e2d-9ae4-cafaa405de70&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;be7fc79b-9b73-381a-8e23-9dd6e6b1233d&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEventComponentType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;1a082851-49e3-3f4c-b023-c05236cc8389&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEventOtherFieldsType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;cab6cd51-ea7b-3241-a173-ea8a24e29737&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEventTargetType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;0f57665a-f0a9-314e-ad0a-04c1f5758174&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEvent:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEventHandlerPolicy:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;9fd7a967-57d4-36ef-81e9-c3396f3aa8d1&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEventType:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleLongType: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;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;ecc97b87-f30b-344c-a476-d36501bf5cbd&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_Albums&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;1469671a-56dd-3a68-bf6c-77a5cf7a9487&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Albums:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_Events&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;23c4eee4-aba5-36f6-96d6-46f40061bfed&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Events:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_KeyInfo&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;ea9e73ff-483c-3827-896c-6eaa9d69bc6e&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_Policies&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;38c068e5-bb9a-3997-9e50-ec77c66825c8&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Policies:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_Schemas&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;38514b27-8b9b-3d06-844a-3aced27deb0a&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;onap.policies.apex.Simplecontrolloop_Tasks&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;UUID&quot;: &quot;0e0387b5-07fa-30e4-8554-eb51d2e18939&quot;,&#xd;
+ &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\&quot;&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;policies&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&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;payload&quot;,&#xd;
+ &quot;key&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&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;AAIFailureStateOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;AAIFailureStateOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&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;: &quot;NULL&quot;,&#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;SimpleCL_HandleAAIFailureResponseTask&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;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;AAIFailureStateOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&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;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&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;AAISuccessStateOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;AAISuccessStateOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&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;: &quot;NULL&quot;,&#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;SimpleCL_HandleAAISuccessResponseTask&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;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;AAISuccessStateOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&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;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&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;ConfigModifyFailureResponseOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ConfigModifyFailureResponseOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&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;: &quot;NULL&quot;,&#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;SimpleCL_CDSConfigModifyFailureResponseTask&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;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ConfigModifyFailureResponseOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&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;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&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;ConfigModifySuccessResponseOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ConfigModifySuccessResponseOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&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;: &quot;NULL&quot;,&#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;SimpleCL_CDSConfigModifySuccessResponseTask&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;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
+ &quot;localName&quot;: &quot;ConfigModifySuccessResponseOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;policyKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&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;SimpleCL_ReceiveVesState&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;stateKey&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_ReceiveVesState&quot;&#xd;
+ },&#xd;
+ &quot;trigger&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&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;VesOutput&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;VesOutput&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEvent&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;outgoingEventReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&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;: &quot;NULL&quot;,&#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;SimpleCL_HandleVesEventTask&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;SimpleCL_HandleVesEventTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;&#xd;
+ },&#xd;
+ &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
+ &quot;output&quot;: {&#xd;
+ &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
+ &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
+ &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
+ &quot;localName&quot;: &quot;VesOutput&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;firstState&quot;: &quot;SimpleCL_ReceiveVesState&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;tasks&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#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;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar errorMessage = \&quot;CDS operation failed. Error message from CDS - \&quot; + executor.inFields.get(\&quot;status\&quot;).get(\&quot;errorMessage\&quot;);\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\&quot;eventId\&quot;), eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\&quot;id\&quot;, eventId);\n\n var entityInfo = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewSubInstance(\&quot;entityInfo\&quot;);\n entityInfo.put(\&quot;pnf_DasH_name\&quot;, pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewInstance();\n target.put(\&quot;entityInfo\&quot;, entityInfo);\n target.put(\&quot;targetType\&quot;, targetType)\n logEventFields.put(\&quot;target\&quot;, target);\n\n var artifacts = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewSubInstance(\&quot;artifacts\&quot;);\n artifacts.put(\&quot;policyName\&quot;, \&quot;onap.policies.apex.Simplecontrolloop\&quot;);\n artifacts.put(\&quot;policyVersion\&quot;, \&quot;1.0.0\&quot;);\n var component = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewInstance();\n component.put(\&quot;artifacts\&quot;, artifacts);\n component.put(\&quot;name\&quot;, \&quot;Policy\&quot;)\n component.put(\&quot;flavour\&quot;, \&quot;Apex-PDP\&quot;)\n component.put(\&quot;timestamp\&quot;, timestamp)\n component.put(\&quot;status\&quot;, status)\n component.put(\&quot;message\&quot;, message)\n logEventFields.put(\&quot;component\&quot;, component);\n\n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;otherFields\&quot;).createNewInstance();\n otherFieldsEntry.put(\&quot;useCaseName\&quot;, \&quot;simple-controlloop-usecase\&quot;);\n logEventFields.put(\&quot;otherFields\&quot;, otherFieldsEntry);\n\n return logEventFields;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#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;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\&quot;eventId\&quot;), eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;FINAL_SUCCESS\&quot;, \&quot;Successfully processed the VES event. Hostname is updated.\&quot;)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\&quot;id\&quot;, eventId);\n\n var entityInfo = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewSubInstance(\&quot;entityInfo\&quot;);\n entityInfo.put(\&quot;pnf_DasH_name\&quot;, pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewInstance();\n target.put(\&quot;entityInfo\&quot;, entityInfo);\n target.put(\&quot;targetType\&quot;, targetType)\n logEventFields.put(\&quot;target\&quot;, target);\n\n var artifacts = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewSubInstance(\&quot;artifacts\&quot;);\n artifacts.put(\&quot;policyName\&quot;, \&quot;onap.policies.apex.Simplecontrolloop\&quot;);\n artifacts.put(\&quot;policyVersion\&quot;, \&quot;1.0.0\&quot;);\n var component = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewInstance();\n component.put(\&quot;artifacts\&quot;, artifacts);\n component.put(\&quot;name\&quot;, \&quot;Policy\&quot;)\n component.put(\&quot;flavour\&quot;, \&quot;Apex-PDP\&quot;)\n component.put(\&quot;timestamp\&quot;, timestamp)\n component.put(\&quot;status\&quot;, status)\n component.put(\&quot;message\&quot;, message)\n logEventFields.put(\&quot;component\&quot;, component);\n\n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;otherFields\&quot;).createNewInstance();\n otherFieldsEntry.put(\&quot;useCaseName\&quot;, \&quot;simple-controlloop-usecase\&quot;);\n logEventFields.put(\&quot;otherFields\&quot;, otherFieldsEntry);\n\n return logEventFields;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#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;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\n\nvar aaiErrorMessage = \&quot;AAI operation failed. Error message from AAI - \&quot; + executor.inFields.get(\&quot;requestError\&quot;).get(\&quot;serviceException\&quot;).get(\&quot;text\&quot;);\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;eventId\&quot;), eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\&quot;id\&quot;, eventId);\n\n var entityInfo = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewSubInstance(\&quot;entityInfo\&quot;);\n entityInfo.put(\&quot;pnf_DasH_name\&quot;, pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewInstance();\n target.put(\&quot;entityInfo\&quot;, entityInfo);\n target.put(\&quot;targetType\&quot;, targetType)\n logEventFields.put(\&quot;target\&quot;, target);\n\n var artifacts = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewSubInstance(\&quot;artifacts\&quot;);\n artifacts.put(\&quot;policyName\&quot;, \&quot;onap.policies.apex.Simplecontrolloop\&quot;);\n artifacts.put(\&quot;policyVersion\&quot;, \&quot;1.0.0\&quot;);\n var component = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewInstance();\n component.put(\&quot;artifacts\&quot;, artifacts);\n component.put(\&quot;name\&quot;, \&quot;Policy\&quot;)\n component.put(\&quot;flavour\&quot;, \&quot;Apex-PDP\&quot;)\n component.put(\&quot;timestamp\&quot;, timestamp)\n component.put(\&quot;status\&quot;, status)\n component.put(\&quot;message\&quot;, message)\n logEventFields.put(\&quot;component\&quot;, component);\n\n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;otherFields\&quot;).createNewInstance();\n otherFieldsEntry.put(\&quot;useCaseName\&quot;, \&quot;simple-controlloop-usecase\&quot;);\n logEventFields.put(\&quot;otherFields\&quot;, otherFieldsEntry);\n\n return logEventFields;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;equip-model&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-model&quot;,&#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;equip-type&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-type&quot;,&#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;equip-vendor&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-vendor&quot;,&#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;in-maint&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#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;ipaddress-v6-oam&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#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;management-option&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;management-option&quot;,&#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;pnf-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-id&quot;,&#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;pnf-name&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-name&quot;,&#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;pnf-name2&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-name2&quot;,&#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;resource-version&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#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;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#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;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\&quot;albumId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\nexecutor.logger.info(\&quot;HandleAAISuccessResponseTask extracted context album - \&quot; + albumID.toString() + \&quot;::\&quot; + eventDetailsAlbum);\n\nvar eventId = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;eventId\&quot;);\nvar otherFieldsMap = eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;);\n\nvar targetEntityName = executor.inFields.get(\&quot;pnf-name\&quot;)\nvar logMessage = \&quot;\&quot;;\nvar existingHostname = executor.inFields.get(\&quot;pnf-name2\&quot;);\nvar hostnameInVesEvent = otherFieldsMap.get(\&quot;hostname\&quot;);\n\nvar albumSchemaHelper = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\&quot;target\&quot;);\ntarget.put(\&quot;targetType\&quot;, \&quot;PNF\&quot;)\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\&quot;entityInfo\&quot;);\nentityInfo.put(\&quot;name\&quot;,targetEntityName);\ntarget.put(\&quot;entityInfo\&quot;, entityInfo);\neventDetailsAlbum.put(\&quot;target\&quot;, target);\n\nvar returnVal = true;\n\nif ((String(hostnameInVesEvent) != \&quot;UNDEFINED\&quot;) &amp;&amp; (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \&quot;Hostname available in AAI does not match with the hostname received in the VES Event.\&quot;;\n returnVal = false\n var logEventFields = populateLogEventFields(eventId, otherFieldsMap.get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \&quot;Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\&quot;;\n\n var cdsRequestEventFields = populateCdsRequestEventFields(albumID.toString(), eventId, executor.inFields.get(\&quot;ipaddress-v4-oam\&quot;), otherFieldsMap.get(\&quot;pnfName\&quot;));\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(eventId, otherFieldsMap.get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;SUCCESS\&quot;, logMessage);\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateCdsRequestEventFields(subRequestId, requestId, ipAddress, pnfName) {\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\n commonHeader.put(\&quot;subRequestId\&quot;, subRequestId);\n commonHeader.put(\&quot;requestId\&quot;, requestId);\n commonHeader.put(\&quot;originatorId\&quot;, \&quot;POLICY\&quot;);\n\n var blueprintName = \&quot;controlloop-hostname-update\&quot;;\n var blueprintVersion = \&quot;1.0.4\&quot;;\n var newHostname = \&quot;host\&quot; + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\&quot;generatedHostname\&quot;, newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\n actionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\n actionIdentifiers.put(\&quot;blueprintName\&quot;, blueprintName);\n actionIdentifiers.put(\&quot;blueprintVersion\&quot;, blueprintVersion);\n actionIdentifiers.put(\&quot;actionName\&quot;, \&quot;update-config\&quot;);\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSConfigModifyRequestPayloadEntry\&quot;);\n payloadEntry.put(\&quot;hostname\&quot;, newHostname)\n payloadEntry.put(\&quot;IP\&quot;, ipAddress);\n payloadEntry.put(\&quot;pnfName\&quot;, pnfName);\n\n var payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\n payload.put(\&quot;update_DasH_config_DasH_request\&quot;, payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\&quot;commonHeader\&quot;, commonHeader);\n cdsRequestEventFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\n cdsRequestEventFields.put(\&quot;payload\&quot;, payload);\n\n return cdsRequestEventFields;\n}\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\&quot;id\&quot;, eventId);\n\n var entityInfo = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewSubInstance(\&quot;entityInfo\&quot;);\n entityInfo.put(\&quot;pnf_DasH_name\&quot;, pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewInstance();\n target.put(\&quot;entityInfo\&quot;, entityInfo);\n target.put(\&quot;targetType\&quot;, targetType)\n logEventFields.put(\&quot;target\&quot;, target);\n\n var artifacts = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewSubInstance(\&quot;artifacts\&quot;);\n artifacts.put(\&quot;policyName\&quot;, \&quot;onap.policies.apex.Simplecontrolloop\&quot;);\n artifacts.put(\&quot;policyVersion\&quot;, \&quot;1.0.0\&quot;);\n var component = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewInstance();\n component.put(\&quot;artifacts\&quot;, artifacts);\n component.put(\&quot;name\&quot;, \&quot;Policy\&quot;)\n component.put(\&quot;flavour\&quot;, \&quot;Apex-PDP\&quot;)\n component.put(\&quot;timestamp\&quot;, timestamp)\n component.put(\&quot;status\&quot;, status)\n component.put(\&quot;message\&quot;, message)\n logEventFields.put(\&quot;component\&quot;, component);\n\n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;otherFields\&quot;).createNewInstance();\n otherFieldsEntry.put(\&quot;useCaseName\&quot;, \&quot;simple-controlloop-usecase\&quot;);\n logEventFields.put(\&quot;otherFields\&quot;, otherFieldsEntry);\n\n return logEventFields;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;inputEvent&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;outputEvents&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;AAI&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#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;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ },&#xd;
+ &quot;taskParameters&quot;: {&#xd;
+ &quot;entry&quot;: []&#xd;
+ },&#xd;
+ &quot;contextAlbumReference&quot;: [&#xd;
+ {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ }&#xd;
+ ],&#xd;
+ &quot;taskLogic&quot;: {&#xd;
+ &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
+ &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
+ &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\&quot;event\&quot;);\nexecutor.logger.info(\&quot;HandleVesEventTask processing VES event - \&quot; + event);\n\nvar commonEventHeader = event.get(\&quot;commonEventHeader\&quot;);\nvar otherFields = event.get(\&quot;otherFields\&quot;);\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\&quot;sourceId\&quot;);\n// save the event processing start time in apex\ncommonEventHeader.put(\&quot;startEpochMicrosec\&quot;, longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\&quot;commonEventHeader\&quot;, commonEventHeader);\neventDetailsAlbum.put(\&quot;otherFields\&quot;, otherFields);\nexecutor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\&quot;HandleVesEventTask storing context album - \&quot; + albumID.toString() + \&quot;::\&quot; + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\&quot;albumId\&quot;, albumID);\nexecutor.getExecutionProperties().setProperty(\&quot;pnfName\&quot;, otherFields.get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;eventId\&quot;), otherFields.get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), \&quot;PNF\&quot;, \&quot;ACTIVE\&quot;, \&quot;VES event has been received. Going to fetch details from AAI.\&quot;)\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\&quot;id\&quot;, eventId);\n\n var entityInfo = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewSubInstance(\&quot;entityInfo\&quot;);\n entityInfo.put(\&quot;pnf_DasH_name\&quot;, pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;target\&quot;).createNewInstance();\n target.put(\&quot;entityInfo\&quot;, entityInfo);\n target.put(\&quot;targetType\&quot;, targetType)\n logEventFields.put(\&quot;target\&quot;, target);\n\n var artifacts = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewSubInstance(\&quot;artifacts\&quot;);\n artifacts.put(\&quot;policyName\&quot;, \&quot;onap.policies.apex.Simplecontrolloop\&quot;);\n artifacts.put(\&quot;policyVersion\&quot;, \&quot;1.0.0\&quot;);\n var component = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;component\&quot;).createNewInstance();\n component.put(\&quot;artifacts\&quot;, artifacts);\n component.put(\&quot;name\&quot;, \&quot;Policy\&quot;)\n component.put(\&quot;flavour\&quot;, \&quot;Apex-PDP\&quot;)\n component.put(\&quot;timestamp\&quot;, timestamp)\n component.put(\&quot;status\&quot;, status)\n component.put(\&quot;message\&quot;, message)\n logEventFields.put(\&quot;component\&quot;, component);\n\n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\&quot;SimpleCL_LogEvent\&quot;, \&quot;otherFields\&quot;).createNewInstance();\n otherFieldsEntry.put(\&quot;useCaseName\&quot;, \&quot;simple-controlloop-usecase\&quot;);\n logEventFields.put(\&quot;otherFields\&quot;, otherFieldsEntry);\n\n return logEventFields;\n}&quot;&#xd;
+ }&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;events&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;requestError&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1946,16 +5414,186 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
&quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;AAI&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;aaifield&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;AAI&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;equip-model&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-model&quot;,&#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;equip-type&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-type&quot;,&#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;equip-vendor&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;equip-vendor&quot;,&#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;in-maint&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;in-maint&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#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;ipaddress-v6-oam&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#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;management-option&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;management-option&quot;,&#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;pnf-id&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-id&quot;,&#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;pnf-name&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-name&quot;,&#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;pnf-name2&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;pnf-name2&quot;,&#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;resource-version&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;resource-version&quot;,&#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;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
@@ -1964,7 +5602,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1975,7 +5613,7 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1986,7 +5624,18 @@
&quot;value&quot;: {&#xd;
&quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -1998,25 +5647,47 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
&quot;source&quot;: &quot;APEX&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;albumID&quot;,&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -2028,56 +5699,97 @@
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
- &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
- &quot;source&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;CDS&quot;,&#xd;
&quot;target&quot;: &quot;APEX&quot;,&#xd;
&quot;parameter&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
- &quot;key&quot;: &quot;changeType&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;changeType&quot;,&#xd;
+ &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
+ &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;nfName&quot;,&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;nfName&quot;,&#xd;
+ &quot;key&quot;: &quot;payload&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;status&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_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;SimpleCL_LogEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;APEX&quot;,&#xd;
+ &quot;target&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;component&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;policyName&quot;,&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;policyName&quot;,&#xd;
+ &quot;key&quot;: &quot;id&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
@@ -2086,11 +5798,52 @@
}&#xd;
},&#xd;
{&#xd;
- &quot;key&quot;: &quot;subscription&quot;,&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;otherFields&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
&quot;value&quot;: {&#xd;
- &quot;key&quot;: &quot;subscription&quot;,&#xd;
+ &quot;key&quot;: &quot;target&quot;,&#xd;
&quot;fieldSchemaKey&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;optional&quot;: false&#xd;
+ }&#xd;
+ }&#xd;
+ ]&#xd;
+ }&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
+ &quot;source&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;target&quot;: &quot;APEX&quot;,&#xd;
+ &quot;parameter&quot;: {&#xd;
+ &quot;entry&quot;: [&#xd;
+ {&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: &quot;event&quot;,&#xd;
+ &quot;fieldSchemaKey&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;optional&quot;: false&#xd;
@@ -2105,25 +5858,25 @@
},&#xd;
&quot;albums&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Albums&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&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;PMSubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
}&#xd;
}&#xd;
@@ -2133,191 +5886,247 @@
},&#xd;
&quot;schemas&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;APEXgRPCPolicy_Schemas&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_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;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleBooleanType&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.Boolean&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSActionIdentifiers_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;actionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;mode\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;AAIRequestErrorType\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;serviceException\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;serviceException\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;messageId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;text\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;variables\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;map\&quot;,\n \&quot;values\&quot;: {\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestPayloadEntry\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_properties\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_properties_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroups_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementTypes_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSActionIdentifiers_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;actionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;mode\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;map\&quot;,\n \&quot;values\&quot;: {\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestPayloadEntry\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;delete_DasH_subscription_DasH_properties\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;delete_DasH_subscription_DasH_properties_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroups_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementTypes_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;map\&quot;,\n \&quot;values\&quot;: {\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSConfigModifyRequestPayloadEntry\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;hostname\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;IP\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;pnfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestCommonHeader_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;CDSConfigResponsePayloadEntry\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;update_DasH_config_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;update_DasH_config_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;execute_DasH_command_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n },\n {\n \&quot;name\&quot;: \&quot;prepare_DasH_environment_DasH_logs\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: \&quot;string\&quot;\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;CDSResponsePayloadEntry\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;namespace\&quot;: \&quot;com.acme.avro\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;odl_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;odl_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;status\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;errorMessage\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;PMSubscription\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.pmcontrol\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;changeType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;closedLoopControlName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;policyName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subscription\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;subscription\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Groups_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Group_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Types_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Managed_Object_Dns_Basic_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&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;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&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;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&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;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&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;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;eventDetails\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;domain\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;lastEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;priority\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;reportingEntityName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sequence\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;sourceName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;startEpochMicrosec\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timeZoneOffset\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;version\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;internalHeaderFields\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;internalHeaderFields\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: []\n }\n },\n {\n \&quot;name\&quot;: \&quot;vesEventListenerVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;otherFields\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;otherFields\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;hashMap\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;hashMap\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;hostname\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;pnfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;pnfId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;ip\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;otherFieldsVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;target\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;target\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;targetType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;name\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }\n },\n {\n \&quot;name\&quot;: \&quot;generatedHostname\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;component\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;name\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;flavour\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;long\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;status\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;artifacts\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;artifacts\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;policyName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;policyVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;ActivateSubscriptionStatus_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;changeType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;otherFields\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;useCaseName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#xd;
&quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
- &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;subscription\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Groups_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Group_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Types_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Managed_Object_Dns_Basic_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n}&quot;&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;target\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;targetType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;pnf_DasH_name\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&quot;: {&#xd;
- &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
+ &quot;name&quot;: &quot;SimpleCL_VesEventType&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;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
+ &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;:\&quot;event\&quot;,\n \&quot;type\&quot;:\&quot;record\&quot;,\n \&quot;fields\&quot;:[\n {\n \&quot;name\&quot;:\&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;:{\n \&quot;name\&quot;:\&quot;commonEventHeader\&quot;,\n \&quot;type\&quot;:\&quot;record\&quot;,\n \&quot;fields\&quot;:[\n {\n \&quot;name\&quot;:\&quot;domain\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;eventId\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;eventName\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;lastEpochMicrosec\&quot;,\n \&quot;type\&quot;:\&quot;long\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;priority\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;reportingEntityName\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;sequence\&quot;,\n \&quot;type\&quot;:\&quot;int\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;sourceId\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;sourceName\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;startEpochMicrosec\&quot;,\n \&quot;type\&quot;:\&quot;long\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;version\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;internalHeaderFields\&quot;,\n \&quot;type\&quot;:{\n \&quot;name\&quot;:\&quot;internalHeaderFields\&quot;,\n \&quot;type\&quot;:\&quot;record\&quot;,\n \&quot;fields\&quot;:[\n\n ]\n }\n },\n {\n \&quot;name\&quot;:\&quot;vesEventListenerVersion\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;:\&quot;otherFields\&quot;,\n \&quot;type\&quot;:{\n \&quot;name\&quot;:\&quot;otherFields\&quot;,\n \&quot;type\&quot;:\&quot;record\&quot;,\n \&quot;fields\&quot;:[\n {\n \&quot;name\&quot;:\&quot;hashMap\&quot;,\n \&quot;type\&quot;:{\n \&quot;name\&quot;:\&quot;hashMap\&quot;,\n \&quot;type\&quot;:\&quot;record\&quot;,\n \&quot;fields\&quot;:[\n {\n \&quot;name\&quot;:\&quot;hostname\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;pnfName\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;pnfId\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n },\n {\n \&quot;name\&quot;:\&quot;ip\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n }\n ]\n }\n },\n {\n \&quot;name\&quot;:\&quot;otherFieldsVersion\&quot;,\n \&quot;type\&quot;:\&quot;string\&quot;\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
+ &quot;version&quot;: &quot;0.0.1&quot;&#xd;
+ },&#xd;
+ &quot;value&quot;: {&#xd;
+ &quot;key&quot;: {&#xd;
+ &quot;name&quot;: &quot;SimpleLongType&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;
+ &quot;schemaDefinition&quot;: &quot;java.lang.Long&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;
@@ -2326,99 +6135,127 @@
}&#xd;
}&#xd;
},&#xd;
- &quot;eventOutputParameters&quot;: {&#xd;
- &quot;logOutputter&quot;: {&#xd;
+ &quot;eventInputParameters&quot;: {&#xd;
+ &quot;SimpleCL_DCAEConsumer&quot;: {&#xd;
&quot;carrierTechnologyParameters&quot;: {&#xd;
- &quot;carrierTechnology&quot;: &quot;FILE&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;fileName&quot;: &quot;outputevents.log&quot;&#xd;
+ &quot;url&quot;: &quot;http://172.16.2.18:31054/events/unauthenticated.DCAE_CL_OUTPUT/cl/apex?timeout=30000&quot;&#xd;
}&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
- }&#xd;
+ },&#xd;
+ &quot;eventName&quot;: &quot;SimpleCL_VesEvent&quot;&#xd;
},&#xd;
- &quot;CDSRequestProducer&quot;: {&#xd;
+ &quot;SimpleCL_AAIResponseConsumer&quot;: {&#xd;
&quot;carrierTechnologyParameters&quot;: {&#xd;
- &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
- &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;,&#xd;
+ &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;,&#xd;
&quot;parameters&quot;: {&#xd;
- &quot;host&quot;: &quot;10.2.0.122&quot;,&#xd;
- &quot;port&quot;: 54322,&#xd;
- &quot;username&quot;: &quot;ccsdkapps&quot;,&#xd;
- &quot;password&quot;: &quot;ccsdkapps&quot;,&#xd;
- &quot;timeout&quot;: 60&#xd;
+ &quot;url&quot;: &quot;https://aai:8443/aai/v14/network/pnfs/pnf/{pnfName}&quot;,&#xd;
+ &quot;httpMethod&quot;: &quot;GET&quot;,&#xd;
+ &quot;httpCodeFilter&quot;: &quot;[2-5][0-1][0-9]&quot;,&#xd;
+ &quot;httpHeaders&quot;: [&#xd;
+ [&#xd;
+ &quot;Accept&quot;,&#xd;
+ &quot;application/json&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;Content-Type&quot;,&#xd;
+ &quot;application/json&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;X-FromAppId&quot;,&#xd;
+ &quot;dcae-curl&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;x-transactionId&quot;,&#xd;
+ &quot;9998&quot;&#xd;
+ ],&#xd;
+ [&#xd;
+ &quot;Authorization&quot;,&#xd;
+ &quot;Basic QUFJOkFBSQ==&quot;&#xd;
+ ]&#xd;
+ ]&#xd;
}&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
},&#xd;
- &quot;eventNameFilter&quot;: &quot;(Create|Delete)SubscriptionRequestEvent&quot;,&#xd;
+ &quot;eventName&quot;: &quot;SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
&quot;requestorMode&quot;: true,&#xd;
- &quot;requestorPeer&quot;: &quot;CDSRequestConsumer&quot;,&#xd;
- &quot;requestorTimeout&quot;: 500&#xd;
+ &quot;requestorPeer&quot;: &quot;SimpleCL_AAIProducer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 2000&#xd;
},&#xd;
- &quot;CDSReplyProducer&quot;: {&#xd;
+ &quot;SimpleCL_CDSConfigModifyResponseConsumer&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-CL-MGT&quot;&#xd;
- }&#xd;
+ &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
},&#xd;
- &quot;eventNameFilter&quot;: &quot;CDSResponseStatusEvent&quot;&#xd;
+ &quot;eventName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;SimpleCL_CDSConfigModifyRequestProducer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 500&#xd;
}&#xd;
},&#xd;
- &quot;eventInputParameters&quot;: {&#xd;
- &quot;DCAEConsumer&quot;: {&#xd;
+ &quot;eventOutputParameters&quot;: {&#xd;
+ &quot;SimpleCL_AAIProducer&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/unauthenticated.DCAE_CL_OUTPUT/cg1/c1?timeout=30000&quot;&#xd;
- }&#xd;
+ &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
- &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
- &quot;parameters&quot;: {&#xd;
- &quot;nameAlias&quot;: &quot;testPolicyB&quot;&#xd;
- }&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
},&#xd;
- &quot;eventName&quot;: &quot;testPolicyB&quot;,&#xd;
- &quot;eventNameFilter&quot;: &quot;testPolicyB&quot;&#xd;
+ &quot;eventNameFilter&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
+ &quot;requestorMode&quot;: true,&#xd;
+ &quot;requestorPeer&quot;: &quot;SimpleCL_AAIResponseConsumer&quot;,&#xd;
+ &quot;requestorTimeout&quot;: 2000&#xd;
},&#xd;
- &quot;CDSRequestConsumer&quot;: {&#xd;
+ &quot;SimpleCL_CDSConfigModifyRequestProducer&quot;: {&#xd;
&quot;carrierTechnologyParameters&quot;: {&#xd;
&quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
- &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;&#xd;
+ &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;,&#xd;
+ &quot;parameters&quot;: {&#xd;
+ &quot;host&quot;: &quot;policy-models-simulator&quot;,&#xd;
+ &quot;port&quot;: 6680,&#xd;
+ &quot;username&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;password&quot;: &quot;ccsdkapps&quot;,&#xd;
+ &quot;timeout&quot;: 60&#xd;
+ }&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
},&#xd;
- &quot;eventName&quot;: &quot;CDSResponseEvent&quot;,&#xd;
- &quot;eventNameFilter&quot;: &quot;CDSResponseEvent&quot;,&#xd;
+ &quot;eventNameFilter&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
&quot;requestorMode&quot;: true,&#xd;
- &quot;requestorPeer&quot;: &quot;CDSRequestProducer&quot;,&#xd;
+ &quot;requestorPeer&quot;: &quot;SimpleCL_CDSConfigModifyResponseConsumer&quot;,&#xd;
&quot;requestorTimeout&quot;: 500&#xd;
+ },&#xd;
+ &quot;SimpleCL_LogEventProducer&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://172.16.2.18:31054/events/APEX-CL-MGT&quot;&#xd;
+ }&#xd;
+ },&#xd;
+ &quot;eventProtocolParameters&quot;: {&#xd;
+ &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
+ },&#xd;
+ &quot;eventNameFilter&quot;: &quot;SimpleCL_LogEvent&quot;&#xd;
}&#xd;
}&#xd;
- },&#xd;
- &quot;name&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;metadata&quot;: {&#xd;
- &quot;policy-id&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
- &quot;policy-version&quot;: &quot;1.0.0&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
- },&#xd;
- &quot;name&quot;: &quot;ToscaServiceTemplateSimple&quot;,&#xd;
- &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
- &quot;metadata&quot;: {}&#xd;
+ }&#xd;
}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
@@ -2450,7 +6287,7 @@
</ResponseAssertion>
<hashTree/>
</hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy policy" enabled="true">
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy policies" enabled="true">
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
<collectionProp name="Arguments.arguments">
@@ -2466,7 +6303,10 @@
&quot;action&quot;: &quot;POST&quot;,&#xd;
&quot;policies&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;&#xd;
+ }, {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
&quot;version&quot;: &quot;1.0.0&quot;&#xd;
}&#xd;
]&#xd;
@@ -2505,6 +6345,10 @@
</ResponseAssertion>
<hashTree/>
</hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
</hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
@@ -2515,7 +6359,7 @@
<stringProp name="ThreadGroup.num_threads">${threads}</stringProp>
<stringProp name="ThreadGroup.ramp_time">1</stringProp>
<boolProp name="ThreadGroup.scheduler">true</boolProp>
- <stringProp name="ThreadGroup.duration">5400</stringProp>
+ <stringProp name="ThreadGroup.duration">7200</stringProp>
<stringProp name="ThreadGroup.delay"></stringProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
</ThreadGroup>
@@ -2559,78 +6403,139 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</JSR223Assertion>
<hashTree/>
</hashTree>
- <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test Controller" enabled="true"/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Prometheus Metrics" 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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/metrics</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>
- <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="false">
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="false">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ res = jsonSlurper.parseText(prev.getResponseDataAsString());
+
+ assert res instanceof Map;
+ assert res.healthy == true;
+ assert res.message == &apos;alive&apos;;
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
+ <hashTree/>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=300&amp;timeout=500</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>
+ <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test simple-cl policy - success" enabled="true"/>
+ <hashTree>
+ <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="true">
<stringProp name="groupSize">${threads}</stringProp>
<stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
</SyncTimer>
<hashTree/>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Input Event" enabled="true">
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - simplecl success" 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;changeType&quot;: &quot;CREATE&quot;,&#xd;
- &quot;closedLoopControlName&quot;: &quot;test&quot;,&#xd;
- &quot;policyName&quot;: &quot;test&quot;,&#xd;
- &quot;nfName&quot;: &quot;pnf300&quot;,&#xd;
- &quot;subscription&quot;: {&#xd;
- &quot;subscriptionName&quot;: &quot;testPolicyB&quot;,&#xd;
- &quot;administrativeState&quot;: &quot;UNLOCKED&quot;,&#xd;
- &quot;fileBasedGP&quot;: 15,&#xd;
- &quot;fileLocation&quot;: &quot;/pm/pm.xml&quot;,&#xd;
- &quot;measurementGroups&quot;: [&#xd;
- {&#xd;
- &quot;measurementGroup&quot;: {&#xd;
- &quot;measurementTypes&quot;: [&#xd;
- {&#xd;
- &quot;measurementType&quot;: &quot;countera&quot;&#xd;
- },&#xd;
- {&#xd;
- &quot;measurementType&quot;: &quot;counterb&quot;&#xd;
- }&#xd;
- ],&#xd;
- &quot;managedObjectDNsBasic&quot;: [&#xd;
- {&#xd;
- &quot;DN&quot;: &quot;dna&quot;&#xd;
- },&#xd;
- {&#xd;
- &quot;DN&quot;: &quot;dnb&quot;&#xd;
- }&#xd;
- ]&#xd;
- }&#xd;
+ &quot;event&quot;: {&#xd;
+ &quot;commonEventHeader&quot;: {&#xd;
+ &quot;startEpochMicrosec&quot;: 1597953057126,&#xd;
+ &quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,&#xd;
+ &quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,&#xd;
+ &quot;lastEpochMicrosec&quot;: 1597952499468,&#xd;
+ &quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,&#xd;
+ &quot;sourceName&quot;: &quot;PNF101&quot;,&#xd;
+ &quot;reportingEntityName&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,&#xd;
+ &quot;internalHeaderFields&quot;: {},&#xd;
+ &quot;version&quot;: &quot;4.0.1&quot;,&#xd;
+ &quot;priority&quot;: &quot;Normal&quot;,&#xd;
+ &quot;sequence&quot;: 1,&#xd;
+ &quot;domain&quot;: &quot;other&quot;&#xd;
+ },&#xd;
+ &quot;otherFields&quot;: {&#xd;
+ &quot;hashMap&quot;: {&#xd;
+ &quot;hostname&quot;: &quot;UNDEFINED&quot;,&#xd;
+ &quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,&#xd;
+ &quot;pnfName&quot;: &quot;PNF101&quot;,&#xd;
+ &quot;ip&quot;: &quot;10.101.200.10&quot;&#xd;
},&#xd;
- {&#xd;
- &quot;measurementGroup&quot;: {&#xd;
- &quot;measurementTypes&quot;: [&#xd;
- {&#xd;
- &quot;measurementType&quot;: &quot;counterc&quot;&#xd;
- },&#xd;
- {&#xd;
- &quot;measurementType&quot;: &quot;counterd&quot;&#xd;
- }&#xd;
- ],&#xd;
- &quot;managedObjectDNsBasic&quot;: [&#xd;
- {&#xd;
- &quot;DN&quot;: &quot;dnc&quot;&#xd;
- },&#xd;
- {&#xd;
- &quot;DN&quot;: &quot;dnd&quot;&#xd;
- }&#xd;
- ]&#xd;
- }&#xd;
- }&#xd;
- ]&#xd;
+ &quot;otherFieldsVersion&quot;: &quot;3.0&quot;&#xd;
+ }&#xd;
}&#xd;
}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
- <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
@@ -2643,7 +6548,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp>
- <stringProp name="TestPlan.comments">Send input event to apex-pdp</stringProp>
+ <stringProp name="TestPlan.comments">Send Trigger Event - simplecl success</stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true">
@@ -2658,20 +6563,79 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
</ResponseAssertion>
<hashTree/>
- <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
- <stringProp name="ConstantTimer.delay">${wait}</stringProp>
- </ConstantTimer>
+ </hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - simplecl success" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Read notification events - simplecl success</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ def responseString = prev.getResponseDataAsString();
+ res = jsonSlurper.parseText(responseString);
+ def expectedNumberOfNotifications = ${threads} * 3;
+ assert res instanceof List;
+ assert res.size() == expectedNumberOfNotifications;
+ assert responseString.contains(&quot;ACTIVE&quot;)
+ assert responseString.contains(&quot;SUCCESS&quot;)
+ assert responseString.contains(&quot;FINAL_SUCCESS&quot;)
+ assert !responseString.contains(&quot;FAILURE&quot;)
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
<hashTree/>
</hashTree>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="true">
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" 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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/events/POLICY-CL-MGT/cg${__threadNum}/c1?timeout=30000</stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=300&amp;timeout=500</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -2680,7 +6644,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp>
- <stringProp name="TestPlan.comments">Check output event </stringProp>
+ <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true">
@@ -2695,22 +6659,484 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
</ResponseAssertion>
<hashTree/>
- <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="true">
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test simple-cl policy - failure" enabled="true"/>
+ <hashTree>
+ <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="true">
+ <stringProp name="groupSize">${threads}</stringProp>
+ <stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
+ </SyncTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - simplecl failure" 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;event&quot;: {&#xd;
+ &quot;commonEventHeader&quot;: {&#xd;
+ &quot;startEpochMicrosec&quot;: 1597953057126,&#xd;
+ &quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,&#xd;
+ &quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,&#xd;
+ &quot;lastEpochMicrosec&quot;: 1597952499468,&#xd;
+ &quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,&#xd;
+ &quot;sourceName&quot;: &quot;PNF101&quot;,&#xd;
+ &quot;reportingEntityName&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,&#xd;
+ &quot;internalHeaderFields&quot;: {},&#xd;
+ &quot;version&quot;: &quot;4.0.1&quot;,&#xd;
+ &quot;priority&quot;: &quot;Normal&quot;,&#xd;
+ &quot;sequence&quot;: 1,&#xd;
+ &quot;domain&quot;: &quot;other&quot;&#xd;
+ },&#xd;
+ &quot;otherFields&quot;: {&#xd;
+ &quot;hashMap&quot;: {&#xd;
+ &quot;hostname&quot;: &quot;UNDEFINED&quot;,&#xd;
+ &quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,&#xd;
+ &quot;pnfName&quot;: &quot;PNF_INVALID&quot;,&#xd;
+ &quot;ip&quot;: &quot;10.101.200.10&quot;&#xd;
+ },&#xd;
+ &quot;otherFieldsVersion&quot;: &quot;3.0&quot;&#xd;
+ }&#xd;
+ }&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</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>
+ <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>
+ <stringProp name="TestPlan.comments">Send Trigger Event - simplecl failure</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true">
<collectionProp name="Asserion.test_strings">
- <stringProp name="1608759622">org.onap.policy.apex.onap.pmcontrol</stringProp>
- <stringProp name="1996002556">CREATE</stringProp>
+ <stringProp name="49586">200</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
- <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
<boolProp name="Assertion.assume_success">false</boolProp>
- <intProp name="Assertion.test_type">2</intProp>
+ <intProp name="Assertion.test_type">8</intProp>
<stringProp name="Scope.variable">Response code</stringProp>
- <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
</ResponseAssertion>
<hashTree/>
- <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
- <stringProp name="ConstantTimer.delay">${wait}</stringProp>
- </ConstantTimer>
+ </hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - simplecl failure" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Read notification events - simplecl failure</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ def responseString = prev.getResponseDataAsString();
+ res = jsonSlurper.parseText(responseString);
+ def expectedNumberOfNotifications = ${threads} * 2;
+ assert res instanceof List;
+ assert res.size() == expectedNumberOfNotifications;
+ assert responseString.contains(&quot;ACTIVE&quot;)
+ assert responseString.contains(&quot;FINAL_FAILURE&quot;)
+ assert !responseString.contains(&quot;FINAL_SUCCESS&quot;)
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=300&amp;timeout=500</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>
+ <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test example policy - success" enabled="true"/>
+ <hashTree>
+ <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="true">
+ <stringProp name="groupSize">${threads}</stringProp>
+ <stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
+ </SyncTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - example success" 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;event&quot;: {&#xd;
+ &quot;commonEventHeader&quot;: {&#xd;
+ &quot;domain&quot;: &quot;fault&quot;,&#xd;
+ &quot;eventId&quot;: &quot;fault0000245&quot;,&#xd;
+ &quot;eventName&quot;: &quot;Fault_Vscf:PilotNumberPoolExhaustion&quot;,&#xd;
+ &quot;lastEpochMicrosec&quot;: 1413378172000000,&#xd;
+ &quot;priority&quot;: &quot;High&quot;,&#xd;
+ &quot;reportingEntityName&quot;: &quot;ibcx0001vm002oam001&quot;,&#xd;
+ &quot;sequence&quot;: 1,&#xd;
+ &quot;sourceId&quot;: &quot;de305d54-75b4-431b-adb2-eb6b9e546014${__threadNum}&quot;,&#xd;
+ &quot;sourceName&quot;: &quot;vfw-cnf-cds-test-1-vnf&quot;,&#xd;
+ &quot;startEpochMicrosec&quot;: 1413378172000000,&#xd;
+ &quot;timeZoneOffset&quot;: &quot;UTC-05:30&quot;,&#xd;
+ &quot;version&quot;: &quot;4.0.1&quot;,&#xd;
+ &quot;vesEventListenerVersion&quot;: &quot;7.0.1&quot;&#xd;
+ },&#xd;
+ &quot;faultFields&quot;: {&#xd;
+ &quot;alarmAdditionalInformation&quot;: {&#xd;
+ &quot;PilotNumberPoolSize&quot;: &quot;1000&quot;&#xd;
+ },&#xd;
+ &quot;alarmCondition&quot;: &quot;PilotNumberPoolExhaustion&quot;,&#xd;
+ &quot;eventSeverity&quot;: &quot;CRITICAL&quot;,&#xd;
+ &quot;eventSourceType&quot;: &quot;other&quot;,&#xd;
+ &quot;faultFieldsVersion&quot;: 4,&#xd;
+ &quot;specificProblem&quot;: &quot;Calls cannot complete - pilot numbers are unavailable&quot;,&#xd;
+ &quot;vfStatus&quot;: &quot;Active&quot;&#xd;
+ }&#xd;
+ }&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT</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>
+ <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>
+ <stringProp name="TestPlan.comments">Send Trigger Event - example success</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - example success" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Read notification events - example success</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ def responseString = prev.getResponseDataAsString();
+ res = jsonSlurper.parseText(responseString);
+ def expectedNumberOfNotifications = ${threads} * 4;
+ assert res instanceof List;
+ assert res.size() == expectedNumberOfNotifications;
+ assert responseString.contains(&quot;ACTIVE&quot;)
+ assert responseString.contains(&quot;SUCCESS&quot;)
+ assert responseString.contains(&quot;FINAL_SUCCESS&quot;)
+ assert !responseString.contains(&quot;FAILURE&quot;)
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=300&amp;timeout=500</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>
+ <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test example policy - failure" enabled="true"/>
+ <hashTree>
+ <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="true">
+ <stringProp name="groupSize">${threads}</stringProp>
+ <stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
+ </SyncTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - example failure" 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;event&quot;: {&#xd;
+ &quot;commonEventHeader&quot;: {&#xd;
+ &quot;domain&quot;: &quot;fault&quot;,&#xd;
+ &quot;eventId&quot;: &quot;fault0000245&quot;,&#xd;
+ &quot;eventName&quot;: &quot;Fault_Vscf:PilotNumberPoolExhaustion&quot;,&#xd;
+ &quot;lastEpochMicrosec&quot;: 1413378172000000,&#xd;
+ &quot;priority&quot;: &quot;High&quot;,&#xd;
+ &quot;reportingEntityName&quot;: &quot;ibcx0001vm002oam001&quot;,&#xd;
+ &quot;sequence&quot;: 1,&#xd;
+ &quot;sourceId&quot;: &quot;de305d54-75b4-431b-adb2-eb6b9e546014&quot;,&#xd;
+ &quot;sourceName&quot;: &quot;vfw-cnf-cds-test-2-vnf&quot;,&#xd;
+ &quot;startEpochMicrosec&quot;: 1413378172000000,&#xd;
+ &quot;timeZoneOffset&quot;: &quot;UTC-05:30&quot;,&#xd;
+ &quot;version&quot;: &quot;4.0.1&quot;,&#xd;
+ &quot;vesEventListenerVersion&quot;: &quot;7.0.1&quot;&#xd;
+ },&#xd;
+ &quot;faultFields&quot;: {&#xd;
+ &quot;alarmAdditionalInformation&quot;: {&#xd;
+ &quot;PilotNumberPoolSize&quot;: &quot;1000&quot;&#xd;
+ },&#xd;
+ &quot;alarmCondition&quot;: &quot;PilotNumberPoolExhaustion&quot;,&#xd;
+ &quot;eventSeverity&quot;: &quot;CRITICAL&quot;,&#xd;
+ &quot;eventSourceType&quot;: &quot;other&quot;,&#xd;
+ &quot;faultFieldsVersion&quot;: 4,&#xd;
+ &quot;specificProblem&quot;: &quot;Calls cannot complete - pilot numbers are unavailable&quot;,&#xd;
+ &quot;vfStatus&quot;: &quot;InActive&quot;&#xd;
+ }&#xd;
+ }&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT</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>
+ <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>
+ <stringProp name="TestPlan.comments">Send Trigger Event - example failure</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - example failure" 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">${SIM_HOST}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Read notification events - example failure</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ def responseString = prev.getResponseDataAsString();
+ res = jsonSlurper.parseText(responseString);
+ def expectedNumberOfNotifications = ${threads} * 2;
+ assert res instanceof List;
+ assert res.size() == expectedNumberOfNotifications;
+ assert responseString.contains(&quot;ACTIVE&quot;)
+ assert responseString.contains(&quot;FINAL_FAILURE&quot;)
+ assert !responseString.contains(&quot;FINAL_SUCCESS&quot;)
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
<hashTree/>
</hashTree>
</hashTree>
@@ -2745,7 +7171,10 @@ if (prev.getResponseCode() == &apos;200&apos;) {
&quot;action&quot;: &quot;DELETE&quot;,&#xd;
&quot;policies&quot;: [&#xd;
{&#xd;
- &quot;name&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
+ &quot;version&quot;: &quot;1.0.0&quot;&#xd;
+ }, {&#xd;
+ &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
&quot;version&quot;: &quot;1.0.0&quot;&#xd;
}&#xd;
]&#xd;
@@ -2792,7 +7221,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">https</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/operational.apex.stabilityTestDefaultDomain/versions/1.0.0</stringProp>
+ <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/onap.policies.apex.Simplecontrolloop/versions/1.0.0</stringProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -2814,6 +7243,405 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</ResponseAssertion>
<hashTree/>
</hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy" 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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/onap.policies.apex.Example/versions/1.0.0</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>
+ <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/>
+ </hashTree>
+ </hashTree>
+ <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Clear DMaaP" enabled="false">
+ <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">${threads}</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="Health Check" enabled="false">
+ <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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/policy/apex-pdp/v1/healthcheck</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>
+ <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">import groovy.json.JsonSlurper;
+
+def res = [];
+if (prev.getResponseCode() == &apos;200&apos;) {
+ def jsonSlurper = new JsonSlurper();
+ res = jsonSlurper.parseText(prev.getResponseDataAsString());
+
+ assert res instanceof Map;
+ assert res.healthy == true;
+ assert res.message == &apos;alive&apos;;
+}
+</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223Assertion>
+ <hashTree/>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test Controller" enabled="true"/>
+ <hashTree>
+ <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="false">
+ <stringProp name="groupSize">${threads}</stringProp>
+ <stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
+ </SyncTimer>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Input Event" enabled="false">
+ <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;event&quot;: {&#xd;
+ &quot;commonEventHeader&quot;: {&#xd;
+ &quot;startEpochMicrosec&quot;: 1597953057126,&#xd;
+ &quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,&#xd;
+ &quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,&#xd;
+ &quot;lastEpochMicrosec&quot;: 1597952499468,&#xd;
+ &quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,&#xd;
+ &quot;sourceName&quot;: &quot;PNF101&quot;,&#xd;
+ &quot;reportingEntityName&quot;: &quot;DCAE&quot;,&#xd;
+ &quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,&#xd;
+ &quot;internalHeaderFields&quot;: {},&#xd;
+ &quot;version&quot;: &quot;4.0.1&quot;,&#xd;
+ &quot;priority&quot;: &quot;Normal&quot;,&#xd;
+ &quot;sequence&quot;: 1,&#xd;
+ &quot;domain&quot;: &quot;other&quot;&#xd;
+ },&#xd;
+ &quot;otherFields&quot;: {&#xd;
+ &quot;hashMap&quot;: {&#xd;
+ &quot;hostname&quot;: &quot;UNDEFINED&quot;,&#xd;
+ &quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,&#xd;
+ &quot;pnfName&quot;: &quot;PNF101&quot;,&#xd;
+ &quot;ip&quot;: &quot;10.101.200.10&quot;&#xd;
+ },&#xd;
+ &quot;otherFieldsVersion&quot;: &quot;3.0&quot;&#xd;
+ }&#xd;
+ }&#xd;
+}</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</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>
+ <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>
+ <stringProp name="TestPlan.comments">Send input event to apex-pdp</stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">1000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" 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">172.16.2.173</stringProp>
+ <stringProp name="HTTPSampler.port">3904</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?timeout=30000</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>
+ <stringProp name="TestPlan.comments">Check output event </stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">1000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="1925346054">ACTIVE</stringProp>
+ <stringProp name="-310150889">VES event has been received. Going to fetch details from AAI.</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">2</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="false">
+ <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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=1&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Check output event </stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">1000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1149187101">SUCCESS</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">2</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="false">
+ <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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=1&amp;timeout=30000</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>
+ <stringProp name="TestPlan.comments">Check output event </stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">1000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="439453178">FINAL_SUCCESS</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">2</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ </hashTree>
+ <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="While Controller" enabled="false">
+ <stringProp name="WhileController.condition">${__javaScript((&quot;${response}&quot;.indexOf(&quot;VES event has been received. Going to fetch details from AAI&quot;) == -1 &amp;&amp; ${counter} &lt; 5),)}</stringProp>
+ </WhileController>
+ <hashTree>
+ <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
+ <stringProp name="CounterConfig.start">0</stringProp>
+ <stringProp name="CounterConfig.end">1</stringProp>
+ <stringProp name="CounterConfig.incr">1</stringProp>
+ <stringProp name="CounterConfig.name"></stringProp>
+ <stringProp name="CounterConfig.format"></stringProp>
+ <boolProp name="CounterConfig.per_user">false</boolProp>
+ </CounterConfig>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" 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">${HOSTNAME}</stringProp>
+ <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?timeout=30000</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>
+ <stringProp name="TestPlan.comments">Check output event </stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">1000</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" 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">8</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="false">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="1925346054">ACTIVE</stringProp>
+ <stringProp name="-310150889">VES event has been received. Going to fetch details from AAI.</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.custom_message"></stringProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">2</intProp>
+ <stringProp name="Scope.variable">Response code</stringProp>
+ <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
+ <stringProp name="ConstantTimer.delay">${wait}</stringProp>
+ </ConstantTimer>
+ <hashTree/>
+ <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="JSR223 PostProcessor" enabled="true">
+ <stringProp name="cacheKey">true</stringProp>
+ <stringProp name="filename"></stringProp>
+ <stringProp name="parameters"></stringProp>
+ <stringProp name="script">vars.put(&quot;response&quot;, prev.getResponseDataAsString());</stringProp>
+ <stringProp name="scriptLanguage">groovy</stringProp>
+ </JSR223PostProcessor>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ </hashTree>
</hashTree>
<ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp>
@@ -2844,11 +7672,12 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<threadCounts>true</threadCounts>
+ <sampleCount>true</sampleCount>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">/home/adityap/apex_stability/Stability.log</stringProp>
+ <stringProp name="filename">/home/asreekumar/jmeter_results/apex_perf/summary.log</stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
@@ -2880,11 +7709,12 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<threadCounts>true</threadCounts>
+ <sampleCount>true</sampleCount>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">/mnt/c/Users/arek/Desktop/s3p_results/performance/6/testresults_1.jtl</stringProp>
+ <stringProp name="filename">/home/asreekumar/jmeter_results/apex_perf/resultTree.log</stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
@@ -2916,11 +7746,12 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<threadCounts>true</threadCounts>
+ <sampleCount>true</sampleCount>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">/home/adityap/apex_stability/resultTable.log</stringProp>
+ <stringProp name="filename">/home/asreekumar/jmeter_results/apex_perf/resultTable.log</stringProp>
</ResultCollector>
<hashTree/>
</hashTree>