blob: c43fc85b8a696fd890e908c728cf99ff10459feb [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
============LICENSE_START=======================================================
ONAP Apex-PDP
================================================================================
Copyright (C) 2020-2022 Nordix Foundation.All rights reserved.
Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
Modifications Copyright (C) 2024 Nordix Foundation.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
============LICENSE_END=========================================================
-->
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="APEX PDP STABILITY TEST PLAN">
<boolProp name="TestPlan.serialize_threadgroups">true</boolProp>
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
</TestPlan>
<hashTree>
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager">
<collectionProp name="HeaderManager.headers">
<elementProp name="" elementType="Header">
<stringProp name="Header.name">Content-Type</stringProp>
<stringProp name="Header.value">application/json</stringProp>
</elementProp>
<elementProp name="" elementType="Header">
<stringProp name="Header.name">Accept</stringProp>
<stringProp name="Header.value">application/json</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
<stringProp name="HTTPSampler.port">23324</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="HTTPSampler.implementation"></stringProp>
</ConfigTestElement>
<hashTree/>
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments">
<elementProp name="threads" elementType="Argument">
<stringProp name="Argument.name">threads</stringProp>
<stringProp name="Argument.value">${__P(threads,5)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="threadsTimeOutInMs" elementType="Argument">
<stringProp name="Argument.name">threadsTimeOutInMs</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,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,30003)}</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,30002)}</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,30001)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="KAFKA_PORT" elementType="Argument">
<stringProp name="Argument.name">KAFKA_PORT</stringProp>
<stringProp name="Argument.value">${__P(KAFKA_PORT,9092)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="CDS_PORT" elementType="Argument">
<stringProp name="Argument.name">CDS_PORT</stringProp>
<stringProp name="Argument.value">${__P(CDS_PORT,6680)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="HOSTNAME" elementType="Argument">
<stringProp name="Argument.name">HOSTNAME</stringProp>
<stringProp name="Argument.value">${__P(HOSTNAME,localhost)}</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,/jmeter_results/apex_stability)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="KAFKA_HOST" elementType="Argument">
<stringProp name="Argument.name">KAFKA_HOST</stringProp>
<stringProp name="Argument.value">${__P(KAFKA_HOST,localhost)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</Arguments>
<hashTree/>
<AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
<collectionProp name="AuthManager.auth_list">
<elementProp name="" elementType="Authorization">
<stringProp name="Authorization.url">http://${HOSTNAME}:${API_PORT}</stringProp>
<stringProp name="Authorization.username">policyadmin</stringProp>
<stringProp name="Authorization.password">zb!XztG34</stringProp>
<stringProp name="Authorization.domain"></stringProp>
<stringProp name="Authorization.realm"></stringProp>
</elementProp>
<elementProp name="" elementType="Authorization">
<stringProp name="Authorization.url">http://${HOSTNAME}:${PAP_PORT}</stringProp>
<stringProp name="Authorization.username">policyadmin</stringProp>
<stringProp name="Authorization.password">zb!XztG34</stringProp>
<stringProp name="Authorization.domain"></stringProp>
<stringProp name="Authorization.realm"></stringProp>
</elementProp>
<elementProp name="" elementType="Authorization">
<stringProp name="Authorization.url">http://${HOSTNAME}:${APEX_PORT}/policy/apex-pdp/v1/healthcheck</stringProp>
<stringProp name="Authorization.username">policyadmin</stringProp>
<stringProp name="Authorization.password">zb!XztG34</stringProp>
<stringProp name="Authorization.domain"></stringProp>
<stringProp name="Authorization.realm"></stringProp>
</elementProp>
<elementProp name="" elementType="Authorization">
<stringProp name="Authorization.url">http://${HOSTNAME}:${APEX_PORT}/metrics</stringProp>
<stringProp name="Authorization.username">policyadmin</stringProp>
<stringProp name="Authorization.password">zb!XztG34</stringProp>
<stringProp name="Authorization.domain"></stringProp>
<stringProp name="Authorization.realm"></stringProp>
</elementProp>
<elementProp name="" elementType="Authorization">
<stringProp name="Authorization.url">http://${HOSTNAME}:${APEX_PORT}</stringProp>
<stringProp name="Authorization.username">policyadmin</stringProp>
<stringProp name="Authorization.password">zb!XztG34</stringProp>
<stringProp name="Authorization.domain"></stringProp>
<stringProp name="Authorization.realm"></stringProp>
</elementProp>
</collectionProp>
<boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
</AuthManager>
<hashTree/>
<SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true">
<intProp name="ThreadGroup.num_threads">1</intProp>
<intProp name="ThreadGroup.ramp_time">1</intProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
<stringProp name="LoopController.loops">1</stringProp>
<boolProp name="LoopController.continue_forever">false</boolProp>
</elementProp>
</SetupThreadGroup>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-ApexExample" enabled="true">
<intProp name="HTTPSampler.concurrentPool">6</intProp>
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<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.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;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;
&quot;taskParameters&quot;: [&#xd;
{&#xd;
&quot;key&quot;: &quot;logUrl&quot;,&#xd;
&quot;value&quot;: &quot;http://${KAFKA_HOST}:${KAFKA_PORT}/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;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;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;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;ApexExample_AAIRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;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;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;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;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;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;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;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;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;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;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;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;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;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;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;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;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;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;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;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;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;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;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;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;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;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;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;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;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;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;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;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;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;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;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;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;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;ApexExample_HandleVesEventTask&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;ApexExample_LogStatusEvent&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;
&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.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;onap.policies.apex.Example_Albums&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;onap.policies.apex.Example_Events&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;onap.policies.apex.Example_KeyInfo&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;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;onap.policies.apex.Example_Policies&quot;,&#xd;
&quot;version&quot;: &quot;0.0.1&quot;&#xd;
},&#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;
}&#xd;
},&#xd;
&quot;policies&quot;: {&#xd;
&quot;key&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;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;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;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&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;ApexExample_ReceiveAAIFailureResponseState&quot;&#xd;
},&#xd;
&quot;trigger&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;ApexExample_AAIFailureStateOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
&quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;ApexExample_LogStatusEvent&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_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;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;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
&quot;localName&quot;: &quot;ApexExample_AAIFailureStateOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
},&#xd;
&quot;firstState&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&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;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;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&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;ApexExample_ReceiveAAISuccessResponseState&quot;&#xd;
},&#xd;
&quot;trigger&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;ApexExample_AAISuccessStateOutput&quot;,&#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_AAISuccessStateOutput&quot;&#xd;
},&#xd;
&quot;outgoingEvent&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;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_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;ApexExample_ConfigModifyFailureResponseOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
&quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;ApexExample_LogStatusEvent&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_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;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;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;
&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;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;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_CDSConfigModifySuccessResponseHandlerPolicy&quot;&#xd;
},&#xd;
&quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
&quot;output&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;
}&#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;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&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;ApexExample_CDSRestartFailureResponseState&quot;&#xd;
},&#xd;
&quot;trigger&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;ApexExample_RestartFailureResponseOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
&quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;ApexExample_LogStatusEvent&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_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;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;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;
&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;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&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;ApexExample_CDSRestartSuccessResponseState&quot;&#xd;
},&#xd;
&quot;trigger&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;ApexExample_RestartSuccessResponseOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
&quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;ApexExample_LogStatusEvent&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_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;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;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;
&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;ApexExample_ReceiveVesState&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;stateKey&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;ApexExample_ReceiveVesState&quot;&#xd;
},&#xd;
&quot;trigger&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;ApexExample_VesOutput&quot;,&#xd;
&quot;value&quot;: {&#xd;
&quot;key&quot;: {&#xd;
&quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;ApexExample_AAIRequestEvent&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_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;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;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&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;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
&quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
&quot;parentLocalName&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
&quot;localName&quot;: &quot;ApexExample_VesOutput&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
},&#xd;
&quot;firstState&quot;: &quot;ApexExample_ReceiveVesState&quot;&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
},&#xd;
&quot;tasks&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;taskMap&quot;: {&#xd;
&quot;entry&quot;: [&#xd;
{&#xd;
&quot;key&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;ApexExample_CDSConfigModifyFailureResponseTask&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;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;
&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;\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;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;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;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;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_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;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;
&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;\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;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;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;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;ApexExample_CDSFailureResponseStatusType&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;
}&#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;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;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;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;
}&#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;\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;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;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;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;
&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;\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;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;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;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;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;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;
&quot;outputFields&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;
&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 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;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;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;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;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;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;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_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;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;
&quot;key&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;ApexExample_CDSConfigModifySuccessResponseEvent&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;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_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;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;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}&#xd;
},&#xd;
{&#xd;
&quot;key&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;ApexExample_CDSRestartFailureResponseEvent&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;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;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_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;ApexExample_CDSRestartRequestEvent&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;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;
&quot;key&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;ApexExample_CDSRestartSuccessResponseEvent&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;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_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;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;
}&#xd;
},&#xd;
{&#xd;
&quot;key&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;ApexExample_LogStatusEvent&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;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;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;
}&#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;KAFKA&quot;,&#xd;
&quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters&quot;,&#xd;
&quot;parameters&quot;: {&#xd;
&quot;bootstrapServers&quot;: &quot;kafka:9092&quot;,&#xd;
&quot;groupId&quot;: &quot;apex-group&quot;,&#xd;
&quot;enableAutoCommit&quot;: true,&#xd;
&quot;autoCommitTime&quot;: 1000,&#xd;
&quot;sessionTimeout&quot;: 30000,&#xd;
&quot;consumerPollTime&quot;: 100,&#xd;
&quot;consumerTopicList&quot;: [&quot;unauthenticated.dcae_policy_example_output&quot;],&#xd;
&quot;keyDeserializer&quot;: &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;,&#xd;
&quot;valueDeserializer&quot;: &quot;org.apache.kafka.common.serialization.StringDeserializer&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;
},&#xd;
&quot;eventOutputParameters&quot;: {&#xd;
&quot;ApexExample_AAIProducer&quot;: {&#xd;
&quot;carrierTechnologyParameters&quot;: {&#xd;
&quot;carrierTechnology&quot;: &quot;KAFKA&quot;,&#xd;
&quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters&quot;,&#xd;
&quot;parameters&quot;: {&#xd;
&quot;bootstrapServers&quot;: &quot;kafka:9092&quot;,&#xd;
&quot;acks&quot;: &quot;all&quot;,&#xd;
&quot;retries&quot;: 0,&#xd;
&quot;batchSize&quot;: 16384,&#xd;
&quot;lingerTime&quot;: 1,&#xd;
&quot;bufferMemory&quot;: 33554432,&#xd;
&quot;producerTopic&quot;: &quot;apex-cl-mgt&quot;,&#xd;
&quot;keySerializer&quot;: &quot;org.apache.kafka.common.serialization.StringSerializer&quot;,&#xd;
&quot;valueSerializer&quot;: &quot;org.apache.kafka.common.serialization.StringSerializer&quot;&#xd;
}&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
<collectionProp name="Asserion.test_strings">
<stringProp name="49587">201</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
<boolProp name="Assertion.assume_success">false</boolProp>
<intProp name="Assertion.test_type">1</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-SimpleCL" enabled="true">
<intProp name="HTTPSampler.concurrentPool">6</intProp>
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<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;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;SimpleCL_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;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;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;
{&#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;
},&#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;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;: {&#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;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;
},&#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;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;
&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;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
},&#xd;
&quot;albums&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;albums&quot;: {&#xd;
&quot;entry&quot;: [&#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;scope&quot;: &quot;policy&quot;,&#xd;
&quot;isWritable&quot;: true,&#xd;
&quot;itemSchema&quot;: {&#xd;
&quot;name&quot;: &quot;SimpleCL_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.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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;schemaFlavour&quot;: &quot;Avro&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;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;schemaFlavour&quot;: &quot;Avro&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;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;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.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;SimpleCL_DCAEConsumer&quot;: {&#xd;
&quot;carrierTechnologyParameters&quot;: {&#xd;
&quot;carrierTechnology&quot;: &quot;KAFKA&quot;,&#xd;
&quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters&quot;,&#xd;
&quot;parameters&quot;: {&#xd;
&quot;bootstrapServers&quot;: &quot;kafka:9092&quot;,&#xd;
&quot;groupId&quot;: &quot;apex-group&quot;,&#xd;
&quot;enableAutoCommit&quot;: true,&#xd;
&quot;autoCommitTime&quot;: 1000,&#xd;
&quot;sessionTimeout&quot;: 30000,&#xd;
&quot;consumerPollTime&quot;: 100,&#xd;
&quot;consumerTopicList&quot;: [&quot;unauthenticated.dcae_cl_output&quot;],&#xd;
&quot;keyDeserializer&quot;: &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;,&#xd;
&quot;valueDeserializer&quot;: &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;&#xd;
}&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
},&#xd;
&quot;eventName&quot;: &quot;SimpleCL_VesEvent&quot;&#xd;
}&#xd;
},&#xd;
&quot;eventOutputParameters&quot;: {&#xd;
&quot;SimpleCL_LogEventProducer&quot;: {&#xd;
&quot;carrierTechnologyParameters&quot;: {&#xd;
&quot;carrierTechnology&quot;: &quot;KAFKA&quot;,&#xd;
&quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters&quot;,&#xd;
&quot;parameters&quot;: {&#xd;
&quot;bootstrapServers&quot;: &quot;kafka:9092&quot;,&#xd;
&quot;acks&quot;: &quot;all&quot;,&#xd;
&quot;retries&quot;: 0,&#xd;
&quot;batchSize&quot;: 16384,&#xd;
&quot;lingerTime&quot;: 1,&#xd;
&quot;bufferMemory&quot;: 33554432,&#xd;
&quot;producerTopic&quot;: &quot;apex-cl-mgt&quot;,&#xd;
&quot;keySerializer&quot;: &quot;org.apache.kafka.common.serialization.StringSerializer&quot;,&#xd;
&quot;valueSerializer&quot;: &quot;org.apache.kafka.common.serialization.StringSerializer&quot;&#xd;
}&#xd;
},&#xd;
&quot;eventProtocolParameters&quot;: {&#xd;
&quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
}&#xd;
}&#xd;
}&#xd;
}&#xd;
}&#xd;
}&#xd;
]&#xd;
}&#xd;
}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
<collectionProp name="Asserion.test_strings">
<stringProp name="49587">201</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
<boolProp name="Assertion.assume_success">false</boolProp>
<intProp name="Assertion.test_type">1</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy policies" enabled="true">
<intProp name="HTTPSampler.concurrentPool">6</intProp>
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<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;groups&quot;: [&#xd;
{&#xd;
&quot;name&quot;: &quot;defaultGroup&quot;,&#xd;
&quot;deploymentSubgroups&quot;: [&#xd;
{&#xd;
&quot;pdpType&quot;: &quot;apex&quot;,&#xd;
&quot;action&quot;: &quot;POST&quot;,&#xd;
&quot;policies&quot;: [&#xd;
{&#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;
}&#xd;
]&#xd;
}&#xd;
]&#xd;
}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
<collectionProp name="Asserion.test_strings">
<stringProp name="49587">201</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
<boolProp name="Assertion.assume_success">false</boolProp>
<intProp name="Assertion.test_type">1</intProp>
</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.num_threads">${threads}</stringProp>
<intProp name="ThreadGroup.ramp_time">1</intProp>
<longProp name="ThreadGroup.duration">259200</longProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
<boolProp name="ThreadGroup.scheduler">true</boolProp>
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
<intProp name="LoopController.loops">-1</intProp>
<boolProp name="LoopController.continue_forever">false</boolProp>
</elementProp>
</ThreadGroup>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Health Check" enabled="true">
<intProp name="HTTPSampler.concurrentPool">6</intProp>
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.path">/policy/apex-pdp/v1/healthcheck</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
</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">8</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Prometheus Metrics" enabled="true">
<intProp name="HTTPSampler.concurrentPool">6</intProp>
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.path">/metrics</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
</HTTPSamplerProxy>
<hashTree>
<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/>
</hashTree>
<GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test simple-cl policy - success"/>
<hashTree>
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Send Trigger Event - simple-cl success">
<stringProp name="cacheKey">true</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="script">import org.apache.kafka.clients.producer.Callback
import org.apache.kafka.clients.producer.RecordMetadata
import org.apache.kafka.clients.producer.KafkaProducer
import org.apache.kafka.clients.producer.ProducerRecord
import org.apache.kafka.clients.producer.ProducerConfig
import org.apache.kafka.common.serialization.StringSerializer
def props = new Properties()
props.put(&quot;bootstrap.servers&quot;, &quot;localhost:9092&quot;)
props.put(&quot;acks&quot;, &quot;all&quot;)
props.put(&quot;retries&quot;, 0)
props.put(&quot;batch.size&quot;, 16384)
props.put(&quot;linger.ms&quot;, 1)
props.put(&quot;buffer.memory&quot;, 33554432)
props.put(&quot;key.serializer&quot;, StringSerializer.class.getName())
props.put(&quot;value.serializer&quot;, StringSerializer.class.getName())
def producer = new KafkaProducer&lt;&gt;(props)
def jsonString = &apos;&apos;&apos;{
&quot;event&quot;: {
&quot;commonEventHeader&quot;: {
&quot;startEpochMicrosec&quot;: 1597953057126,
&quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,
&quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,
&quot;lastEpochMicrosec&quot;: 1597952499468,
&quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,
&quot;sourceName&quot;: &quot;PNF101&quot;,
&quot;reportingEntityName&quot;: &quot;DCAE&quot;,
&quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,
&quot;internalHeaderFields&quot;: {},
&quot;version&quot;: &quot;4.0.1&quot;,
&quot;priority&quot;: &quot;Normal&quot;,
&quot;sequence&quot;: 1,
&quot;domain&quot;: &quot;other&quot;
},
&quot;otherFields&quot;: {
&quot;hashMap&quot;: {
&quot;hostname&quot;: &quot;UNDEFINED&quot;,
&quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,
&quot;pnfName&quot;: &quot;PNF101&quot;,
&quot;ip&quot;: &quot;10.101.200.10&quot;
},
&quot;otherFieldsVersion&quot;: &quot;3.0&quot;
}
}
}&apos;&apos;&apos;
def record = new ProducerRecord&lt;&gt;(&quot;unauthenticated.dcae_cl_output&quot;, jsonString)
producer.send(record, new Callback() {
@Override
void onCompletion(RecordMetadata metadata, Exception exception) {
if (exception != null) {
exception.printStackTrace()
} else {
println(&quot;Sent message to topic ${metadata.topic()} partition ${metadata.partition()} with offset ${metadata.offset()}&quot;)
}
}
})
producer.close()
</stringProp>
<stringProp name="scriptLanguage">groovy</stringProp>
</JSR223Sampler>
<hashTree/>
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Read notification events - simplecl success">
<stringProp name="scriptLanguage">groovy</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="cacheKey">true</stringProp>
<stringProp name="script">import org.apache.kafka.clients.consumer.ConsumerConfig
import org.apache.kafka.clients.consumer.KafkaConsumer
import org.apache.kafka.clients.consumer.ConsumerRecords
import org.apache.kafka.clients.consumer.ConsumerRecord
import org.apache.kafka.common.serialization.StringDeserializer
import groovy.json.JsonSlurper
// Consumer properties
def props = new Properties()
props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, &quot;localhost:9092&quot;) // Adjust to your Kafka bootstrap server
props.put(ConsumerConfig.GROUP_ID_CONFIG, &quot;apex-group&quot;)
props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
props.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, &quot;earliest&quot;)
// Create the Kafka consumer
def consumer = new KafkaConsumer&lt;&gt;(props)
// Subscribe to the topic
consumer.subscribe([&quot;apex-cl-mgt&quot;])
// Poll for messages and assert the value
def found = false
def timeout = 10000 // timeout in milliseconds
def startTime = System.currentTimeMillis()
while (!found &amp;&amp; (System.currentTimeMillis() - startTime) &lt; timeout) {
println(&quot;Inside while loop&quot;)
ConsumerRecords&lt;String, String&gt; records = consumer.poll(1000)
for (ConsumerRecord&lt;String, String&gt; record : records) {
println(&quot;Received message: Key=${record.key()}, Value=${record.value()}, Partition=${record.partition()}, Offset=${record.offset()}&quot;)
// Parse the JSON value
def jsonSlurper = new JsonSlurper()
def message = jsonSlurper.parseText(record.value())
// Perform assertion on specific fields in the JSON
if ((message?.source == &quot;APEX&quot;) || (message?.component?.status == &quot;ACTIVE&quot;)) {
found = true
println(&quot;Assertion passed: source is &apos;APEX&apos; or status is &apos;ACTIVE&apos;&quot;)
break
}
}
}
// Close the consumer
consumer.close()
</stringProp>
</JSR223Sampler>
<hashTree/>
</hashTree>
<GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test example policy - success" enabled="false"/>
<hashTree>
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="JSR223 Sampler" enabled="true">
<stringProp name="scriptLanguage">groovy</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="cacheKey">true</stringProp>
<stringProp name="script">import org.apache.kafka.clients.producer.Callback
import org.apache.kafka.clients.producer.RecordMetadata
import org.apache.kafka.clients.producer.KafkaProducer
import org.apache.kafka.clients.producer.ProducerRecord
import org.apache.kafka.clients.producer.ProducerConfig
import org.apache.kafka.common.serialization.StringSerializer
def props = new Properties()
props.put(&quot;bootstrap.servers&quot;, &quot;kafka:9092&quot;)
props.put(&quot;group.id&quot;, &quot;new-group&quot;)
props.put(&quot;acks&quot;, &quot;all&quot;)
props.put(&quot;retries&quot;, 0)
props.put(&quot;batch.size&quot;, 16384)
props.put(&quot;linger.ms&quot;, 1)
props.put(&quot;buffer.memory&quot;, 33554432)
props.put(&quot;key.serializer&quot;, StringSerializer.class.getName())
props.put(&quot;value.serializer&quot;, StringSerializer.class.getName())
def producer = new KafkaProducer&lt;&gt;(props)
def jsonString = &apos;&apos;&apos;{
&quot;event&quot;: {
&quot;commonEventHeader&quot;: {
&quot;domain&quot;: &quot;fault&quot;,
&quot;eventId&quot;: &quot;fault0000245&quot;,
&quot;eventName&quot;: &quot;Fault_Vscf:PilotNumberPoolExhaustion&quot;,
&quot;lastEpochMicrosec&quot;: 1413378172000000,
&quot;priority&quot;: &quot;High&quot;,
&quot;reportingEntityName&quot;: &quot;ibcx0001vm002oam001&quot;,
&quot;sequence&quot;: 1,
&quot;sourceId&quot;: &quot;de305d54-75b4-431b-adb2-eb6b9e546014${__threadNum}&quot;,
&quot;sourceName&quot;: &quot;vfw-cnf-cds-test-1-vnf&quot;,
&quot;startEpochMicrosec&quot;: 1413378172000000,
&quot;timeZoneOffset&quot;: &quot;UTC-05:30&quot;,
&quot;version&quot;: &quot;4.0.1&quot;,
&quot;vesEventListenerVersion&quot;: &quot;7.0.1&quot;
},
&quot;faultFields&quot;: {
&quot;alarmAdditionalInformation&quot;: {
&quot;PilotNumberPoolSize&quot;: &quot;1000&quot;
},
&quot;alarmCondition&quot;: &quot;PilotNumberPoolExhaustion&quot;,
&quot;eventSeverity&quot;: &quot;CRITICAL&quot;,
&quot;eventSourceType&quot;: &quot;other&quot;,
&quot;faultFieldsVersion&quot;: 4,
&quot;specificProblem&quot;: &quot;Calls cannot complete - pilot numbers are unavailable&quot;,
&quot;vfStatus&quot;: &quot;Active&quot;
}
}
}&apos;&apos;&apos;
def record = new ProducerRecord&lt;&gt;(&quot;unauthenticated.dcae_policy_example_output&quot;, jsonString)
producer.send(record, new Callback() {
@Override
void onCompletion(RecordMetadata metadata, Exception exception) {
if (exception != null) {
exception.printStackTrace()
} else {
println(&quot;Sent message to topic ${metadata.topic()} partition ${metadata.partition()} with offset ${metadata.offset()}&quot;)
}
}
})
producer.close()
</stringProp>
</JSR223Sampler>
<hashTree/>
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Read notification events - simplecl success" enabled="true">
<stringProp name="scriptLanguage">groovy</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="cacheKey">true</stringProp>
<stringProp name="script">import org.apache.kafka.clients.consumer.ConsumerConfig
import org.apache.kafka.clients.consumer.KafkaConsumer
import org.apache.kafka.clients.consumer.ConsumerRecords
import org.apache.kafka.clients.consumer.ConsumerRecord
import org.apache.kafka.common.serialization.StringDeserializer
import groovy.json.JsonSlurper
// Consumer properties
def props = new Properties()
props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, &quot;kafka:9092&quot;) // Adjust to your Kafka bootstrap server
props.put(ConsumerConfig.GROUP_ID_CONFIG, &quot;apex-group&quot;)
props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
props.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, &quot;earliest&quot;)
// Create the Kafka consumer
def consumer = new KafkaConsumer&lt;&gt;(props)
// Subscribe to the topic
consumer.subscribe([&quot;apex-cl-mgt&quot;])
// Poll for messages and assert the value
def found = false
def timeout = 10000 // timeout in milliseconds
def startTime = System.currentTimeMillis()
while (!found &amp;&amp; (System.currentTimeMillis() - startTime) &lt; timeout) {
println(&quot;Inside while loop&quot;)
ConsumerRecords&lt;String, String&gt; records = consumer.poll(1000)
for (ConsumerRecord&lt;String, String&gt; record : records) {
println(&quot;Received message: Key=${record.key()}, Value=${record.value()}, Partition=${record.partition()}, Offset=${record.offset()}&quot;)
// Parse the JSON value
def jsonSlurper = new JsonSlurper()
def message = jsonSlurper.parseText(record.value())
// Perform assertion on specific fields in the JSON
if ((message?.source == &quot;APEX&quot;) || (message?.component?.status == &quot;ACTIVE&quot;)) {
found = true
println(&quot;Assertion passed: source is &apos;APEX&apos; or status is &apos;ACTIVE&apos;&quot;)
break
}
}
}
// Close the consumer
consumer.close()
</stringProp>
</JSR223Sampler>
<hashTree/>
</hashTree>
<GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test simple-cl policy - failure" enabled="false"/>
<hashTree>
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Send Trigger Event - simple-cl failure" enabled="true">
<stringProp name="cacheKey">true</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="script">import org.apache.kafka.clients.producer.Callback
import org.apache.kafka.clients.producer.RecordMetadata
import org.apache.kafka.clients.producer.KafkaProducer
import org.apache.kafka.clients.producer.ProducerRecord
import org.apache.kafka.clients.producer.ProducerConfig
import org.apache.kafka.common.serialization.StringSerializer
def props = new Properties()
props.put(&quot;bootstrap.servers&quot;, &quot;kafka:9092&quot;)
props.put(&quot;group.id&quot;, &quot;new-group&quot;)
props.put(&quot;acks&quot;, &quot;all&quot;)
props.put(&quot;retries&quot;, 0)
props.put(&quot;batch.size&quot;, 16384)
props.put(&quot;linger.ms&quot;, 1)
props.put(&quot;buffer.memory&quot;, 33554432)
props.put(&quot;key.serializer&quot;, StringSerializer.class.getName())
props.put(&quot;value.serializer&quot;, StringSerializer.class.getName())
def producer = new KafkaProducer&lt;&gt;(props)
def jsonString = &apos;&apos;&apos;{
&quot;event&quot;: {
&quot;commonEventHeader&quot;: {
&quot;startEpochMicrosec&quot;: 1597953057126,
&quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,
&quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,
&quot;lastEpochMicrosec&quot;: 1597952499468,
&quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,
&quot;sourceName&quot;: &quot;PNF101&quot;,
&quot;reportingEntityName&quot;: &quot;DCAE&quot;,
&quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,
&quot;internalHeaderFields&quot;: {},
&quot;version&quot;: &quot;4.0.1&quot;,
&quot;priority&quot;: &quot;Normal&quot;,
&quot;sequence&quot;: 1,
&quot;domain&quot;: &quot;other&quot;
},
&quot;otherFields&quot;: {
&quot;hashMap&quot;: {
&quot;hostname&quot;: &quot;UNDEFINED&quot;,
&quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,
&quot;pnfName&quot;: &quot;PNF_INVALID&quot;,
&quot;ip&quot;: &quot;10.101.200.10&quot;
},
&quot;otherFieldsVersion&quot;: &quot;3.0&quot;
}
}
}&apos;&apos;&apos;
def record = new ProducerRecord&lt;&gt;(&quot;unauthenticated.dcae_cl_output&quot;, jsonString)
producer.send(record, new Callback() {
@Override
void onCompletion(RecordMetadata metadata, Exception exception) {
if (exception != null) {
exception.printStackTrace()
} else {
println(&quot;Sent message to topic ${metadata.topic()} partition ${metadata.partition()} with offset ${metadata.offset()}&quot;)
}
}
})
producer.close()
</stringProp>
<stringProp name="scriptLanguage">groovy</stringProp>
</JSR223Sampler>
<hashTree/>
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Read notification events - simplecl success" enabled="true">
<stringProp name="scriptLanguage">groovy</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="cacheKey">true</stringProp>
<stringProp name="script">import org.apache.kafka.clients.consumer.ConsumerConfig
import org.apache.kafka.clients.consumer.KafkaConsumer
import org.apache.kafka.clients.consumer.ConsumerRecords
import org.apache.kafka.clients.consumer.ConsumerRecord
import org.apache.kafka.common.serialization.StringDeserializer
import groovy.json.JsonSlurper
// Consumer properties
def props = new Properties()
props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, &quot;kafka:9092&quot;) // Adjust to your Kafka bootstrap server
props.put(ConsumerConfig.GROUP_ID_CONFIG, &quot;apex-group&quot;)
props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
props.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, &quot;earliest&quot;)
// Create the Kafka consumer
def consumer = new KafkaConsumer&lt;&gt;(props)
// Subscribe to the topic
consumer.subscribe([&quot;apex-cl-mgt&quot;])
// Poll for messages and assert the value
def found = false
def timeout = 10000 // timeout in milliseconds
def startTime = System.currentTimeMillis()
while (!found &amp;&amp; (System.currentTimeMillis() - startTime) &lt; timeout) {
println(&quot;Inside while loop&quot;)
ConsumerRecords&lt;String, String&gt; records = consumer.poll(1000)
for (ConsumerRecord&lt;String, String&gt; record : records) {
println(&quot;Received message: Key=${record.key()}, Value=${record.value()}, Partition=${record.partition()}, Offset=${record.offset()}&quot;)
// Parse the JSON value
def jsonSlurper = new JsonSlurper()
def message = jsonSlurper.parseText(record.value())
// Perform assertion on specific fields in the JSON
if (!(message?.name != &quot;SUCCESS&quot;)) {
found = true
println(&quot;Assertion passed&quot;)
break
}
}
}
// Close the consumer
consumer.close()
</stringProp>
</JSR223Sampler>
<hashTree/>
</hashTree>
<GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test example policy - failure" enabled="false"/>
<hashTree>
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Send Trigger Event - example failure" enabled="true">
<stringProp name="cacheKey">true</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="script">import org.apache.kafka.clients.producer.Callback
import org.apache.kafka.clients.producer.RecordMetadata
import org.apache.kafka.clients.producer.KafkaProducer
import org.apache.kafka.clients.producer.ProducerRecord
import org.apache.kafka.clients.producer.ProducerConfig
import org.apache.kafka.common.serialization.StringSerializer
def props = new Properties()
props.put(&quot;bootstrap.servers&quot;, &quot;kafka:9092&quot;)
props.put(&quot;group.id&quot;, &quot;new-group&quot;)
props.put(&quot;acks&quot;, &quot;all&quot;)
props.put(&quot;retries&quot;, 0)
props.put(&quot;batch.size&quot;, 16384)
props.put(&quot;linger.ms&quot;, 1)
props.put(&quot;buffer.memory&quot;, 33554432)
props.put(&quot;key.serializer&quot;, StringSerializer.class.getName())
props.put(&quot;value.serializer&quot;, StringSerializer.class.getName())
def producer = new KafkaProducer&lt;&gt;(props)
def jsonString = &apos;&apos;&apos;{
&quot;event&quot;: {
&quot;commonEventHeader&quot;: {
&quot;startEpochMicrosec&quot;: 1597953057126,
&quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,
&quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,
&quot;lastEpochMicrosec&quot;: 1597952499468,
&quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,
&quot;sourceName&quot;: &quot;PNF101&quot;,
&quot;reportingEntityName&quot;: &quot;DCAE&quot;,
&quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,
&quot;internalHeaderFields&quot;: {},
&quot;version&quot;: &quot;4.0.1&quot;,
&quot;priority&quot;: &quot;Normal&quot;,
&quot;sequence&quot;: 1,
&quot;domain&quot;: &quot;other&quot;
},
&quot;otherFields&quot;: {
&quot;hashMap&quot;: {
&quot;hostname&quot;: &quot;UNDEFINED&quot;,
&quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,
&quot;pnfName&quot;: &quot;PNF101&quot;,
&quot;ip&quot;: &quot;10.101.200.10&quot;
},
&quot;otherFieldsVersion&quot;: &quot;3.0&quot;
}
}
}&apos;&apos;&apos;
def record = new ProducerRecord&lt;&gt;(&quot;unauthenticated.dcae_policy_example_output&quot;, jsonString)
producer.send(record, new Callback() {
@Override
void onCompletion(RecordMetadata metadata, Exception exception) {
if (exception != null) {
exception.printStackTrace()
} else {
println(&quot;Sent message to topic ${metadata.topic()} partition ${metadata.partition()} with offset ${metadata.offset()}&quot;)
}
}
})
producer.close()
</stringProp>
<stringProp name="scriptLanguage">groovy</stringProp>
</JSR223Sampler>
<hashTree/>
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Read notification events - simplecl success" enabled="true">
<stringProp name="scriptLanguage">groovy</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="cacheKey">true</stringProp>
<stringProp name="script">import org.apache.kafka.clients.consumer.ConsumerConfig
import org.apache.kafka.clients.consumer.KafkaConsumer
import org.apache.kafka.clients.consumer.ConsumerRecords
import org.apache.kafka.clients.consumer.ConsumerRecord
import org.apache.kafka.common.serialization.StringDeserializer
import groovy.json.JsonSlurper
// Consumer properties
def props = new Properties()
props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, &quot;kafka:9092&quot;) // Adjust to your Kafka bootstrap server
props.put(ConsumerConfig.GROUP_ID_CONFIG, &quot;apex-group&quot;)
props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
props.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, &quot;earliest&quot;)
// Create the Kafka consumer
def consumer = new KafkaConsumer&lt;&gt;(props)
// Subscribe to the topic
consumer.subscribe([&quot;apex-cl-mgt&quot;])
// Poll for messages and assert the value
def found = false
def timeout = 10000 // timeout in milliseconds
def startTime = System.currentTimeMillis()
while (!found &amp;&amp; (System.currentTimeMillis() - startTime) &lt; timeout) {
println(&quot;Inside while loop&quot;)
ConsumerRecords&lt;String, String&gt; records = consumer.poll(1000)
for (ConsumerRecord&lt;String, String&gt; record : records) {
println(&quot;Received message: Key=${record.key()}, Value=${record.value()}, Partition=${record.partition()}, Offset=${record.offset()}&quot;)
// Parse the JSON value
def jsonSlurper = new JsonSlurper()
def message = jsonSlurper.parseText(record.value())
// Perform assertion on specific fields in the JSON
if (!(message?.name == &quot;SUCCESS&quot;)) {
found = true
println(&quot;Assertion passed: source is &apos;APEX&apos; or status is &apos;ACTIVE&apos;&quot;)
break
}
}
}
// Close the consumer
consumer.close()
</stringProp>
</JSR223Sampler>
<hashTree/>
</hashTree>
</hashTree>
<PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
<intProp name="ThreadGroup.num_threads">1</intProp>
<intProp name="ThreadGroup.ramp_time">1</intProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
<stringProp name="LoopController.loops">1</stringProp>
<boolProp name="LoopController.continue_forever">false</boolProp>
</elementProp>
</PostThreadGroup>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Un deploy policy" enabled="true">
<intProp name="HTTPSampler.concurrentPool">6</intProp>
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<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;groups&quot;: [&#xd;
{&#xd;
&quot;name&quot;: &quot;defaultGroup&quot;,&#xd;
&quot;deploymentSubgroups&quot;: [&#xd;
{&#xd;
&quot;pdpType&quot;: &quot;apex&quot;,&#xd;
&quot;action&quot;: &quot;DELETE&quot;,&#xd;
&quot;policies&quot;: [&#xd;
{&#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;
}&#xd;
]&#xd;
}&#xd;
]&#xd;
}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="false">
<collectionProp name="Asserion.test_strings">
<stringProp name="49588">202</stringProp>
</collectionProp>
<stringProp name="Assertion.custom_message"></stringProp>
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
<boolProp name="Assertion.assume_success">false</boolProp>
<intProp name="Assertion.test_type">1</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy" enabled="true">
<intProp name="HTTPSampler.concurrentPool">6</intProp>
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</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>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="false">
<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="Delete Policy" enabled="true">
<intProp name="HTTPSampler.concurrentPool">6</intProp>
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">http</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>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="false">
<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>
<ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp>
<objProp>
<name>saveConfig</name>
<value class="SampleSaveConfiguration">
<time>true</time>
<latency>true</latency>
<timestamp>true</timestamp>
<success>true</success>
<label>true</label>
<code>true</code>
<message>true</message>
<threadName>true</threadName>
<dataType>true</dataType>
<encoding>false</encoding>
<assertions>true</assertions>
<subresults>true</subresults>
<responseData>false</responseData>
<samplerData>false</samplerData>
<xml>false</xml>
<fieldNames>true</fieldNames>
<responseHeaders>false</responseHeaders>
<requestHeaders>false</requestHeaders>
<responseDataOnError>false</responseDataOnError>
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
<assertionsResultsToSave>0</assertionsResultsToSave>
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<threadCounts>true</threadCounts>
<sampleCount>true</sampleCount>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
<stringProp name="filename">/home/wayne/dev/s3ps/apex-pdp/testsuites/apex-pdp-stability/src/main/resources/s3pTestResults.jtl</stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp>
<objProp>
<name>saveConfig</name>
<value class="SampleSaveConfiguration">
<time>true</time>
<latency>true</latency>
<timestamp>true</timestamp>
<success>true</success>
<label>true</label>
<code>true</code>
<message>true</message>
<threadName>true</threadName>
<dataType>true</dataType>
<encoding>false</encoding>
<assertions>true</assertions>
<subresults>true</subresults>
<responseData>false</responseData>
<samplerData>false</samplerData>
<xml>false</xml>
<fieldNames>true</fieldNames>
<responseHeaders>false</responseHeaders>
<requestHeaders>false</requestHeaders>
<responseDataOnError>false</responseDataOnError>
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
<assertionsResultsToSave>0</assertionsResultsToSave>
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<threadCounts>true</threadCounts>
<sampleCount>true</sampleCount>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
<stringProp name="filename">/home/wayne/dev/s3ps/apex-pdp/testsuites/apex-pdp-stability/src/main/resources/s3pTestResults.jtl</stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp>
<objProp>
<name>saveConfig</name>
<value class="SampleSaveConfiguration">
<time>true</time>
<latency>true</latency>
<timestamp>true</timestamp>
<success>true</success>
<label>true</label>
<code>true</code>
<message>true</message>
<threadName>true</threadName>
<dataType>true</dataType>
<encoding>false</encoding>
<assertions>true</assertions>
<subresults>true</subresults>
<responseData>false</responseData>
<samplerData>false</samplerData>
<xml>false</xml>
<fieldNames>true</fieldNames>
<responseHeaders>false</responseHeaders>
<requestHeaders>false</requestHeaders>
<responseDataOnError>false</responseDataOnError>
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
<assertionsResultsToSave>0</assertionsResultsToSave>
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<threadCounts>true</threadCounts>
<sampleCount>true</sampleCount>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
<stringProp name="filename">/home/wayne/dev/s3ps/apex-pdp/testsuites/apex-pdp-stability/src/main/resources/s3pTestResults.jtl</stringProp>
</ResultCollector>
<hashTree/>
</hashTree>
</hashTree>
</jmeterTestPlan>