Update to Apex jmx files
[policy/apex-pdp.git] / testsuites / apex-pdp-stability / src / main / resources / apexPdpStabilityTestPlan.jmx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP Apex-PDP
5   ================================================================================
6   Copyright (C) 2020-2022 Nordix Foundation.All rights reserved.
7   Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
8   Modifications Copyright (C) 2024 Nordix Foundation.
9   ================================================================================
10   Licensed under the Apache License, Version 2.0 (the "License");
11   you may not use this file except in compliance with the License.
12   You may obtain a copy of the License at
13
14        http://www.apache.org/licenses/LICENSE-2.0
15
16   Unless required by applicable law or agreed to in writing, software
17   distributed under the License is distributed on an "AS IS" BASIS,
18   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   See the License for the specific language governing permissions and
20   limitations under the License.
21   ============LICENSE_END=========================================================
22   -->
23 <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3">
24   <hashTree>
25     <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="APEX PDP STABILITY TEST PLAN">
26       <boolProp name="TestPlan.serialize_threadgroups">true</boolProp>
27       <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
28       <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
29         <collectionProp name="Arguments.arguments"/>
30       </elementProp>
31     </TestPlan>
32     <hashTree>
33       <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager">
34         <collectionProp name="HeaderManager.headers">
35           <elementProp name="" elementType="Header">
36             <stringProp name="Header.name">Content-Type</stringProp>
37             <stringProp name="Header.value">application/json</stringProp>
38           </elementProp>
39           <elementProp name="" elementType="Header">
40             <stringProp name="Header.name">Accept</stringProp>
41             <stringProp name="Header.value">application/json</stringProp>
42           </elementProp>
43         </collectionProp>
44       </HeaderManager>
45       <hashTree/>
46       <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
47         <stringProp name="HTTPSampler.port">23324</stringProp>
48         <stringProp name="HTTPSampler.protocol">http</stringProp>
49         <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
50           <collectionProp name="Arguments.arguments"/>
51         </elementProp>
52         <stringProp name="HTTPSampler.implementation"></stringProp>
53       </ConfigTestElement>
54       <hashTree/>
55       <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
56         <collectionProp name="Arguments.arguments">
57           <elementProp name="threads" elementType="Argument">
58             <stringProp name="Argument.name">threads</stringProp>
59             <stringProp name="Argument.value">${__P(threads,5)}</stringProp>
60             <stringProp name="Argument.metadata">=</stringProp>
61           </elementProp>
62           <elementProp name="threadsTimeOutInMs" elementType="Argument">
63             <stringProp name="Argument.name">threadsTimeOutInMs</stringProp>
64             <stringProp name="Argument.value">${__P(threadsTimeOutInMs,2000)}</stringProp>
65             <stringProp name="Argument.metadata">=</stringProp>
66           </elementProp>
67           <elementProp name="wait" elementType="Argument">
68             <stringProp name="Argument.name">wait</stringProp>
69             <stringProp name="Argument.value">${__P(wait,5000)}</stringProp>
70             <stringProp name="Argument.desc">Wait time between requests to apex-pdp</stringProp>
71             <stringProp name="Argument.metadata">=</stringProp>
72           </elementProp>
73           <elementProp name="PAP_PORT" elementType="Argument">
74             <stringProp name="Argument.name">PAP_PORT</stringProp>
75             <stringProp name="Argument.value">${__P(PAP_PORT,30003)}</stringProp>
76             <stringProp name="Argument.metadata">=</stringProp>
77           </elementProp>
78           <elementProp name="API_PORT" elementType="Argument">
79             <stringProp name="Argument.name">API_PORT</stringProp>
80             <stringProp name="Argument.value">${__P(API_PORT,30002)}</stringProp>
81             <stringProp name="Argument.metadata">=</stringProp>
82           </elementProp>
83           <elementProp name="APEX_PORT" elementType="Argument">
84             <stringProp name="Argument.name">APEX_PORT</stringProp>
85             <stringProp name="Argument.value">${__P(APEX_PORT,30001)}</stringProp>
86             <stringProp name="Argument.metadata">=</stringProp>
87           </elementProp>
88           <elementProp name="KAFKA_PORT" elementType="Argument">
89             <stringProp name="Argument.name">KAFKA_PORT</stringProp>
90             <stringProp name="Argument.value">${__P(KAFKA_PORT,9092)}</stringProp>
91             <stringProp name="Argument.metadata">=</stringProp>
92           </elementProp>
93           <elementProp name="CDS_PORT" elementType="Argument">
94             <stringProp name="Argument.name">CDS_PORT</stringProp>
95             <stringProp name="Argument.value">${__P(CDS_PORT,6680)}</stringProp>
96             <stringProp name="Argument.metadata">=</stringProp>
97           </elementProp>
98           <elementProp name="HOSTNAME" elementType="Argument">
99             <stringProp name="Argument.name">HOSTNAME</stringProp>
100             <stringProp name="Argument.value">${__P(HOSTNAME,localhost)}</stringProp>
101             <stringProp name="Argument.metadata">=</stringProp>
102           </elementProp>
103           <elementProp name="LOG_PATH" elementType="Argument">
104             <stringProp name="Argument.name">LOG_PATH</stringProp>
105             <stringProp name="Argument.value">${__P(LOG_PATH,/jmeter_results/apex_stability)}</stringProp>
106             <stringProp name="Argument.metadata">=</stringProp>
107           </elementProp>
108           <elementProp name="KAFKA_HOST" elementType="Argument">
109             <stringProp name="Argument.name">KAFKA_HOST</stringProp>
110             <stringProp name="Argument.value">${__P(KAFKA_HOST,localhost)}</stringProp>
111             <stringProp name="Argument.metadata">=</stringProp>
112           </elementProp>
113         </collectionProp>
114       </Arguments>
115       <hashTree/>
116       <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
117         <collectionProp name="AuthManager.auth_list">
118           <elementProp name="" elementType="Authorization">
119             <stringProp name="Authorization.url">http://${HOSTNAME}:${API_PORT}</stringProp>
120             <stringProp name="Authorization.username">policyadmin</stringProp>
121             <stringProp name="Authorization.password">zb!XztG34</stringProp>
122             <stringProp name="Authorization.domain"></stringProp>
123             <stringProp name="Authorization.realm"></stringProp>
124           </elementProp>
125           <elementProp name="" elementType="Authorization">
126             <stringProp name="Authorization.url">http://${HOSTNAME}:${PAP_PORT}</stringProp>
127             <stringProp name="Authorization.username">policyadmin</stringProp>
128             <stringProp name="Authorization.password">zb!XztG34</stringProp>
129             <stringProp name="Authorization.domain"></stringProp>
130             <stringProp name="Authorization.realm"></stringProp>
131           </elementProp>
132           <elementProp name="" elementType="Authorization">
133             <stringProp name="Authorization.url">http://${HOSTNAME}:${APEX_PORT}/policy/apex-pdp/v1/healthcheck</stringProp>
134             <stringProp name="Authorization.username">policyadmin</stringProp>
135             <stringProp name="Authorization.password">zb!XztG34</stringProp>
136             <stringProp name="Authorization.domain"></stringProp>
137             <stringProp name="Authorization.realm"></stringProp>
138           </elementProp>
139           <elementProp name="" elementType="Authorization">
140             <stringProp name="Authorization.url">http://${HOSTNAME}:${APEX_PORT}/metrics</stringProp>
141             <stringProp name="Authorization.username">policyadmin</stringProp>
142             <stringProp name="Authorization.password">zb!XztG34</stringProp>
143             <stringProp name="Authorization.domain"></stringProp>
144             <stringProp name="Authorization.realm"></stringProp>
145           </elementProp>
146           <elementProp name="" elementType="Authorization">
147             <stringProp name="Authorization.url">http://${HOSTNAME}:${APEX_PORT}</stringProp>
148             <stringProp name="Authorization.username">policyadmin</stringProp>
149             <stringProp name="Authorization.password">zb!XztG34</stringProp>
150             <stringProp name="Authorization.domain"></stringProp>
151             <stringProp name="Authorization.realm"></stringProp>
152           </elementProp>
153         </collectionProp>
154         <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
155       </AuthManager>
156       <hashTree/>
157       <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true">
158         <intProp name="ThreadGroup.num_threads">1</intProp>
159         <intProp name="ThreadGroup.ramp_time">1</intProp>
160         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
161         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
162         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
163           <stringProp name="LoopController.loops">1</stringProp>
164           <boolProp name="LoopController.continue_forever">false</boolProp>
165         </elementProp>
166       </SetupThreadGroup>
167       <hashTree>
168         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-ApexExample">
169           <intProp name="HTTPSampler.concurrentPool">6</intProp>
170           <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
171           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
172           <stringProp name="HTTPSampler.protocol">http</stringProp>
173           <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
174           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
175           <stringProp name="HTTPSampler.method">POST</stringProp>
176           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
177           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
178           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
179             <collectionProp name="Arguments.arguments">
180               <elementProp name="" elementType="HTTPArgument">
181                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
182                 <stringProp name="Argument.value">{&#xd;
183   &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
184   &quot;topology_template&quot;: {&#xd;
185     &quot;policies&quot;: [&#xd;
186       {&#xd;
187         &quot;onap.policies.apex.Example&quot;: {&#xd;
188           &quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
189           &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
190           &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
191           &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
192           &quot;properties&quot;: {&#xd;
193             &quot;engineServiceParameters&quot;: {&#xd;
194               &quot;name&quot;: &quot;NSOApexEngine&quot;,&#xd;
195               &quot;version&quot;: &quot;0.0.1&quot;,&#xd;
196               &quot;id&quot;: 45,&#xd;
197               &quot;instanceCount&quot;: 5,&#xd;
198               &quot;deploymentPort&quot;: 12561,&#xd;
199               &quot;engineParameters&quot;: {&#xd;
200                 &quot;executorParameters&quot;: {&#xd;
201                   &quot;JAVASCRIPT&quot;: {&#xd;
202                     &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters&quot;&#xd;
203                   }&#xd;
204                 },&#xd;
205                 &quot;contextParameters&quot;: {&#xd;
206                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.context.parameters.ContextParameters&quot;,&#xd;
207                   &quot;schemaParameters&quot;: {&#xd;
208                     &quot;Avro&quot;: {&#xd;
209                       &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters&quot;&#xd;
210                     }&#xd;
211                   }&#xd;
212                 },&#xd;
213                 &quot;taskParameters&quot;: [&#xd;
214                   {&#xd;
215                     &quot;key&quot;: &quot;logUrl&quot;,&#xd;
216                     &quot;value&quot;: &quot;http://${KAFKA_HOST}:${KAFKA_PORT}/events/apex-cl-mgt&quot;&#xd;
217                   }&#xd;
218                 ]&#xd;
219               },&#xd;
220               &quot;policy_type_impl&quot;: {&#xd;
221                 &quot;apexPolicyModel&quot;: {&#xd;
222                   &quot;key&quot;: {&#xd;
223                     &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
224                     &quot;version&quot;: &quot;0.0.1&quot;&#xd;
225                   },&#xd;
226                   &quot;keyInformation&quot;: {&#xd;
227                     &quot;key&quot;: {&#xd;
228                       &quot;name&quot;: &quot;onap.policies.apex.Example_KeyInfo&quot;,&#xd;
229                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
230                     },&#xd;
231                     &quot;keyInfoMap&quot;: {&#xd;
232                       &quot;entry&quot;: [&#xd;
233                         {&#xd;
234                           &quot;key&quot;: {&#xd;
235                             &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
236                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
237                           },&#xd;
238                           &quot;value&quot;: {&#xd;
239                             &quot;key&quot;: {&#xd;
240                               &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
241                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
242                             },&#xd;
243                             &quot;UUID&quot;: &quot;fc0c1892-a2ae-3678-818f-b9b23939b241&quot;,&#xd;
244                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
245                           }&#xd;
246                         },&#xd;
247                         {&#xd;
248                           &quot;key&quot;: {&#xd;
249                             &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
250                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
251                           },&#xd;
252                           &quot;value&quot;: {&#xd;
253                             &quot;key&quot;: {&#xd;
254                               &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
255                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
256                             },&#xd;
257                             &quot;UUID&quot;: &quot;ba931e7e-aee9-3af8-98d8-16b92a909e8a&quot;,&#xd;
258                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
259                           }&#xd;
260                         },&#xd;
261                         {&#xd;
262                           &quot;key&quot;: {&#xd;
263                             &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
264                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
265                           },&#xd;
266                           &quot;value&quot;: {&#xd;
267                             &quot;key&quot;: {&#xd;
268                               &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
269                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
270                             },&#xd;
271                             &quot;UUID&quot;: &quot;b4dd59c5-0169-3810-800c-1396c2206de4&quot;,&#xd;
272                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIRequestErrorType:0.0.1\&quot;&quot;&#xd;
273                           }&#xd;
274                         },&#xd;
275                         {&#xd;
276                           &quot;key&quot;: {&#xd;
277                             &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
278                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
279                           },&#xd;
280                           &quot;value&quot;: {&#xd;
281                             &quot;key&quot;: {&#xd;
282                               &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
283                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
284                             },&#xd;
285                             &quot;UUID&quot;: &quot;599c297e-96c8-3b21-ad1c-e643bddeacbf&quot;,&#xd;
286                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAIRequestEvent:0.0.1\&quot;&quot;&#xd;
287                           }&#xd;
288                         },&#xd;
289                         {&#xd;
290                           &quot;key&quot;: {&#xd;
291                             &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
292                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
293                           },&#xd;
294                           &quot;value&quot;: {&#xd;
295                             &quot;key&quot;: {&#xd;
296                               &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
297                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
298                             },&#xd;
299                             &quot;UUID&quot;: &quot;b5e3f122-2dcd-3cdf-a0ec-8210b3f80478&quot;,&#xd;
300                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAISuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
301                           }&#xd;
302                         },&#xd;
303                         {&#xd;
304                           &quot;key&quot;: {&#xd;
305                             &quot;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
306                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
307                           },&#xd;
308                           &quot;value&quot;: {&#xd;
309                             &quot;key&quot;: {&#xd;
310                               &quot;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
311                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
312                             },&#xd;
313                             &quot;UUID&quot;: &quot;15504e23-78c5-305e-9fce-cf1f50e75013&quot;,&#xd;
314                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_AAISuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
315                           }&#xd;
316                         },&#xd;
317                         {&#xd;
318                           &quot;key&quot;: {&#xd;
319                             &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
320                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
321                           },&#xd;
322                           &quot;value&quot;: {&#xd;
323                             &quot;key&quot;: {&#xd;
324                               &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
325                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
326                             },&#xd;
327                             &quot;UUID&quot;: &quot;e2715e7d-835e-32c7-b433-a2e92bcad6ee&quot;,&#xd;
328                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSActionIdentifiersType:0.0.1\&quot;&quot;&#xd;
329                           }&#xd;
330                         },&#xd;
331                         {&#xd;
332                           &quot;key&quot;: {&#xd;
333                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
334                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
335                           },&#xd;
336                           &quot;value&quot;: {&#xd;
337                             &quot;key&quot;: {&#xd;
338                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
339                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
340                             },&#xd;
341                             &quot;UUID&quot;: &quot;b492e841-2c03-36a9-9ec2-dda5852152c3&quot;,&#xd;
342                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
343                           }&#xd;
344                         },&#xd;
345                         {&#xd;
346                           &quot;key&quot;: {&#xd;
347                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
348                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
349                           },&#xd;
350                           &quot;value&quot;: {&#xd;
351                             &quot;key&quot;: {&#xd;
352                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
353                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
354                             },&#xd;
355                             &quot;UUID&quot;: &quot;ef4e45f4-1181-3121-a3b6-507126df25e7&quot;,&#xd;
356                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
357                           }&#xd;
358                         },&#xd;
359                         {&#xd;
360                           &quot;key&quot;: {&#xd;
361                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
362                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
363                           },&#xd;
364                           &quot;value&quot;: {&#xd;
365                             &quot;key&quot;: {&#xd;
366                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
367                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
368                             },&#xd;
369                             &quot;UUID&quot;: &quot;91cb711a-0c73-3f51-83e6-fca9c547c71d&quot;,&#xd;
370                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyFailureResponseTask:0.0.1\&quot;&quot;&#xd;
371                           }&#xd;
372                         },&#xd;
373                         {&#xd;
374                           &quot;key&quot;: {&#xd;
375                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
376                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
377                           },&#xd;
378                           &quot;value&quot;: {&#xd;
379                             &quot;key&quot;: {&#xd;
380                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
381                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
382                             },&#xd;
383                             &quot;UUID&quot;: &quot;dda3c648-dc8b-38e0-855d-9cb72397f957&quot;,&#xd;
384                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyRequestEvent:0.0.1\&quot;&quot;&#xd;
385                           }&#xd;
386                         },&#xd;
387                         {&#xd;
388                           &quot;key&quot;: {&#xd;
389                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
390                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
391                           },&#xd;
392                           &quot;value&quot;: {&#xd;
393                             &quot;key&quot;: {&#xd;
394                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
395                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
396                             },&#xd;
397                             &quot;UUID&quot;: &quot;96b306bd-6dee-3d47-981c-eaac316d5ae1&quot;,&#xd;
398                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifyResponsePayloadType:0.0.1\&quot;&quot;&#xd;
399                           }&#xd;
400                         },&#xd;
401                         {&#xd;
402                           &quot;key&quot;: {&#xd;
403                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
404                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
405                           },&#xd;
406                           &quot;value&quot;: {&#xd;
407                             &quot;key&quot;: {&#xd;
408                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
409                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
410                             },&#xd;
411                             &quot;UUID&quot;: &quot;1b65abfb-ce35-3765-9b9c-d2ee02bef28b&quot;,&#xd;
412                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifySuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
413                           }&#xd;
414                         },&#xd;
415                         {&#xd;
416                           &quot;key&quot;: {&#xd;
417                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
418                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
419                           },&#xd;
420                           &quot;value&quot;: {&#xd;
421                             &quot;key&quot;: {&#xd;
422                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
423                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
424                             },&#xd;
425                             &quot;UUID&quot;: &quot;4dac3de7-3817-396f-91d6-ce701d162877&quot;,&#xd;
426                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
427                           }&#xd;
428                         },&#xd;
429                         {&#xd;
430                           &quot;key&quot;: {&#xd;
431                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
432                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
433                           },&#xd;
434                           &quot;value&quot;: {&#xd;
435                             &quot;key&quot;: {&#xd;
436                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
437                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
438                             },&#xd;
439                             &quot;UUID&quot;: &quot;92dc9e6b-2082-3d90-ba5e-f2dba18b72b6&quot;,&#xd;
440                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSConfigModifySuccessResponseTask:0.0.1\&quot;&quot;&#xd;
441                           }&#xd;
442                         },&#xd;
443                         {&#xd;
444                           &quot;key&quot;: {&#xd;
445                             &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
446                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
447                           },&#xd;
448                           &quot;value&quot;: {&#xd;
449                             &quot;key&quot;: {&#xd;
450                               &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
451                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
452                             },&#xd;
453                             &quot;UUID&quot;: &quot;a6801c93-f15b-3158-ba33-7760197d3609&quot;,&#xd;
454                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSFailureResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
455                           }&#xd;
456                         },&#xd;
457                         {&#xd;
458                           &quot;key&quot;: {&#xd;
459                             &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
460                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
461                           },&#xd;
462                           &quot;value&quot;: {&#xd;
463                             &quot;key&quot;: {&#xd;
464                               &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
465                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
466                             },&#xd;
467                             &quot;UUID&quot;: &quot;e2da0a15-c542-3e77-874d-4512e9b4162e&quot;,&#xd;
468                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSFailureResponseStatusType:0.0.1\&quot;&quot;&#xd;
469                           }&#xd;
470                         },&#xd;
471                         {&#xd;
472                           &quot;key&quot;: {&#xd;
473                             &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
474                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
475                           },&#xd;
476                           &quot;value&quot;: {&#xd;
477                             &quot;key&quot;: {&#xd;
478                               &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
479                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
480                             },&#xd;
481                             &quot;UUID&quot;: &quot;f54edff0-532f-3142-8e65-a5c9d67888ef&quot;,&#xd;
482                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRequestCommonHeaderType:0.0.1\&quot;&quot;&#xd;
483                           }&#xd;
484                         },&#xd;
485                         {&#xd;
486                           &quot;key&quot;: {&#xd;
487                             &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
488                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
489                           },&#xd;
490                           &quot;value&quot;: {&#xd;
491                             &quot;key&quot;: {&#xd;
492                               &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
493                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
494                             },&#xd;
495                             &quot;UUID&quot;: &quot;b967dc44-a156-32d3-a796-f03dbf74316c&quot;,&#xd;
496                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRequestPayloadType:0.0.1\&quot;&quot;&#xd;
497                           }&#xd;
498                         },&#xd;
499                         {&#xd;
500                           &quot;key&quot;: {&#xd;
501                             &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
502                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
503                           },&#xd;
504                           &quot;value&quot;: {&#xd;
505                             &quot;key&quot;: {&#xd;
506                               &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
507                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
508                             },&#xd;
509                             &quot;UUID&quot;: &quot;f2aa4552-069d-3db8-8638-2d1f59124e7a&quot;,&#xd;
510                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
511                           }&#xd;
512                         },&#xd;
513                         {&#xd;
514                           &quot;key&quot;: {&#xd;
515                             &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
516                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
517                           },&#xd;
518                           &quot;value&quot;: {&#xd;
519                             &quot;key&quot;: {&#xd;
520                               &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
521                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
522                             },&#xd;
523                             &quot;UUID&quot;: &quot;c2e3b07f-2c09-3195-9527-6b3ab0666d61&quot;,&#xd;
524                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
525                           }&#xd;
526                         },&#xd;
527                         {&#xd;
528                           &quot;key&quot;: {&#xd;
529                             &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
530                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
531                           },&#xd;
532                           &quot;value&quot;: {&#xd;
533                             &quot;key&quot;: {&#xd;
534                               &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
535                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
536                             },&#xd;
537                             &quot;UUID&quot;: &quot;a7c28cc1-9fe5-30b7-9dd8-5a4f7f7d811e&quot;,&#xd;
538                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartFailureResponseTask:0.0.1\&quot;&quot;&#xd;
539                           }&#xd;
540                         },&#xd;
541                         {&#xd;
542                           &quot;key&quot;: {&#xd;
543                             &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
544                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
545                           },&#xd;
546                           &quot;value&quot;: {&#xd;
547                             &quot;key&quot;: {&#xd;
548                               &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
549                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
550                             },&#xd;
551                             &quot;UUID&quot;: &quot;d01d1022-48ac-391d-904d-282ccb063f8a&quot;,&#xd;
552                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartRequestEvent:0.0.1\&quot;&quot;&#xd;
553                           }&#xd;
554                         },&#xd;
555                         {&#xd;
556                           &quot;key&quot;: {&#xd;
557                             &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
558                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
559                           },&#xd;
560                           &quot;value&quot;: {&#xd;
561                             &quot;key&quot;: {&#xd;
562                               &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
563                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
564                             },&#xd;
565                             &quot;UUID&quot;: &quot;ad8cbd94-6eb5-3743-8a7d-42cbe49a5320&quot;,&#xd;
566                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartResponsePayloadType:0.0.1\&quot;&quot;&#xd;
567                           }&#xd;
568                         },&#xd;
569                         {&#xd;
570                           &quot;key&quot;: {&#xd;
571                             &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
572                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
573                           },&#xd;
574                           &quot;value&quot;: {&#xd;
575                             &quot;key&quot;: {&#xd;
576                               &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
577                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
578                             },&#xd;
579                             &quot;UUID&quot;: &quot;bbb06330-9161-392e-a0ca-a6bb5e3376af&quot;,&#xd;
580                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartSuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
581                           }&#xd;
582                         },&#xd;
583                         {&#xd;
584                           &quot;key&quot;: {&#xd;
585                             &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
586                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
587                           },&#xd;
588                           &quot;value&quot;: {&#xd;
589                             &quot;key&quot;: {&#xd;
590                               &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
591                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
592                             },&#xd;
593                             &quot;UUID&quot;: &quot;70c6c6e5-00da-30cb-8ec0-14437d657f39&quot;,&#xd;
594                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
595                           }&#xd;
596                         },&#xd;
597                         {&#xd;
598                           &quot;key&quot;: {&#xd;
599                             &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
600                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
601                           },&#xd;
602                           &quot;value&quot;: {&#xd;
603                             &quot;key&quot;: {&#xd;
604                               &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
605                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
606                             },&#xd;
607                             &quot;UUID&quot;: &quot;77f16151-80b5-304c-a448-19d8528feed1&quot;,&#xd;
608                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSRestartSuccessResponseTask:0.0.1\&quot;&quot;&#xd;
609                           }&#xd;
610                         },&#xd;
611                         {&#xd;
612                           &quot;key&quot;: {&#xd;
613                             &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
614                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
615                           },&#xd;
616                           &quot;value&quot;: {&#xd;
617                             &quot;key&quot;: {&#xd;
618                               &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
619                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
620                             },&#xd;
621                             &quot;UUID&quot;: &quot;2f17aee2-fbdf-3c41-a779-f9c17b5bda5b&quot;,&#xd;
622                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSSuccessResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
623                           }&#xd;
624                         },&#xd;
625                         {&#xd;
626                           &quot;key&quot;: {&#xd;
627                             &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
628                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
629                           },&#xd;
630                           &quot;value&quot;: {&#xd;
631                             &quot;key&quot;: {&#xd;
632                               &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
633                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
634                             },&#xd;
635                             &quot;UUID&quot;: &quot;8c554852-3ed6-3027-a0d3-fccd2db19875&quot;,&#xd;
636                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_CDSSuccessResponseStatusType:0.0.1\&quot;&quot;&#xd;
637                           }&#xd;
638                         },&#xd;
639                         {&#xd;
640                           &quot;key&quot;: {&#xd;
641                             &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
642                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
643                           },&#xd;
644                           &quot;value&quot;: {&#xd;
645                             &quot;key&quot;: {&#xd;
646                               &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
647                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
648                             },&#xd;
649                             &quot;UUID&quot;: &quot;b402baca-915b-3952-97fc-d9899f9ca81c&quot;,&#xd;
650                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_EventDetailsAlbum:0.0.1\&quot;&quot;&#xd;
651                           }&#xd;
652                         },&#xd;
653                         {&#xd;
654                           &quot;key&quot;: {&#xd;
655                             &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
656                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
657                           },&#xd;
658                           &quot;value&quot;: {&#xd;
659                             &quot;key&quot;: {&#xd;
660                               &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
661                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
662                             },&#xd;
663                             &quot;UUID&quot;: &quot;3626f32a-eee6-3254-b3d4-e4829518c381&quot;,&#xd;
664                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_EventDetailsAlbumType:0.0.1\&quot;&quot;&#xd;
665                           }&#xd;
666                         },&#xd;
667                         {&#xd;
668                           &quot;key&quot;: {&#xd;
669                             &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
670                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
671                           },&#xd;
672                           &quot;value&quot;: {&#xd;
673                             &quot;key&quot;: {&#xd;
674                               &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
675                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
676                             },&#xd;
677                             &quot;UUID&quot;: &quot;87abb453-a919-3131-8ffb-3e5c910c6049&quot;,&#xd;
678                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_HandleAAIFailureResponseTask:0.0.1\&quot;&quot;&#xd;
679                           }&#xd;
680                         },&#xd;
681                         {&#xd;
682                           &quot;key&quot;: {&#xd;
683                             &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
684                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
685                           },&#xd;
686                           &quot;value&quot;: {&#xd;
687                             &quot;key&quot;: {&#xd;
688                               &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
689                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
690                             },&#xd;
691                             &quot;UUID&quot;: &quot;8881e644-3cca-3aec-8201-312ca6f719e0&quot;,&#xd;
692                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_HandleAAISuccessResponseTask:0.0.1\&quot;&quot;&#xd;
693                           }&#xd;
694                         },&#xd;
695                         {&#xd;
696                           &quot;key&quot;: {&#xd;
697                             &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
698                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
699                           },&#xd;
700                           &quot;value&quot;: {&#xd;
701                             &quot;key&quot;: {&#xd;
702                               &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
703                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
704                             },&#xd;
705                             &quot;UUID&quot;: &quot;057f6ddd-d6aa-3ce2-a060-d344de16d7f3&quot;,&#xd;
706                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_HandleVesEventTask:0.0.1\&quot;&quot;&#xd;
707                           }&#xd;
708                         },&#xd;
709                         {&#xd;
710                           &quot;key&quot;: {&#xd;
711                             &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
712                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
713                           },&#xd;
714                           &quot;value&quot;: {&#xd;
715                             &quot;key&quot;: {&#xd;
716                               &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
717                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
718                             },&#xd;
719                             &quot;UUID&quot;: &quot;4867b1e7-a819-3b9f-be2b-a97fe6019827&quot;,&#xd;
720                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_LogStatusEvent:0.0.1\&quot;&quot;&#xd;
721                           }&#xd;
722                         },&#xd;
723                         {&#xd;
724                           &quot;key&quot;: {&#xd;
725                             &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
726                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
727                           },&#xd;
728                           &quot;value&quot;: {&#xd;
729                             &quot;key&quot;: {&#xd;
730                               &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
731                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
732                             },&#xd;
733                             &quot;UUID&quot;: &quot;975b3071-b775-3617-a888-f831fe5a31db&quot;,&#xd;
734                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VesEvent:0.0.1\&quot;&quot;&#xd;
735                           }&#xd;
736                         },&#xd;
737                         {&#xd;
738                           &quot;key&quot;: {&#xd;
739                             &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
740                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
741                           },&#xd;
742                           &quot;value&quot;: {&#xd;
743                             &quot;key&quot;: {&#xd;
744                               &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
745                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
746                             },&#xd;
747                             &quot;UUID&quot;: &quot;ad9efe17-a03e-3b64-8e8a-51e144f57d2c&quot;,&#xd;
748                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VesEventHandlerPolicy:0.0.1\&quot;&quot;&#xd;
749                           }&#xd;
750                         },&#xd;
751                         {&#xd;
752                           &quot;key&quot;: {&#xd;
753                             &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
754                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
755                           },&#xd;
756                           &quot;value&quot;: {&#xd;
757                             &quot;key&quot;: {&#xd;
758                               &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
759                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
760                             },&#xd;
761                             &quot;UUID&quot;: &quot;0054393c-10df-3214-af86-cb04a23325bf&quot;,&#xd;
762                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VesEventType:0.0.1\&quot;&quot;&#xd;
763                           }&#xd;
764                         },&#xd;
765                         {&#xd;
766                           &quot;key&quot;: {&#xd;
767                             &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
768                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
769                           },&#xd;
770                           &quot;value&quot;: {&#xd;
771                             &quot;key&quot;: {&#xd;
772                               &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
773                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
774                             },&#xd;
775                             &quot;UUID&quot;: &quot;865a5903-201b-34ff-918b-2bfdde743576&quot;,&#xd;
776                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ApexExample_VnfRelationShipListType:0.0.1\&quot;&quot;&#xd;
777                           }&#xd;
778                         },&#xd;
779                         {&#xd;
780                           &quot;key&quot;: {&#xd;
781                             &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
782                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
783                           },&#xd;
784                           &quot;value&quot;: {&#xd;
785                             &quot;key&quot;: {&#xd;
786                               &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
787                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
788                             },&#xd;
789                             &quot;UUID&quot;: &quot;7218fb2f-59e3-321d-9ae1-bc97b19eb4ae&quot;,&#xd;
790                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleBooleanType:0.0.1\&quot;&quot;&#xd;
791                           }&#xd;
792                         },&#xd;
793                         {&#xd;
794                           &quot;key&quot;: {&#xd;
795                             &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
796                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
797                           },&#xd;
798                           &quot;value&quot;: {&#xd;
799                             &quot;key&quot;: {&#xd;
800                               &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
801                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
802                             },&#xd;
803                             &quot;UUID&quot;: &quot;2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574&quot;,&#xd;
804                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleLongType:0.0.1\&quot;&quot;&#xd;
805                           }&#xd;
806                         },&#xd;
807                         {&#xd;
808                           &quot;key&quot;: {&#xd;
809                             &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
810                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
811                           },&#xd;
812                           &quot;value&quot;: {&#xd;
813                             &quot;key&quot;: {&#xd;
814                               &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
815                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
816                             },&#xd;
817                             &quot;UUID&quot;: &quot;8a4957cf-9493-3a76-8c22-a208e23259af&quot;,&#xd;
818                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleStringType:0.0.1\&quot;&quot;&#xd;
819                           }&#xd;
820                         },&#xd;
821                         {&#xd;
822                           &quot;key&quot;: {&#xd;
823                             &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
824                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
825                           },&#xd;
826                           &quot;value&quot;: {&#xd;
827                             &quot;key&quot;: {&#xd;
828                               &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
829                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
830                             },&#xd;
831                             &quot;UUID&quot;: &quot;b2501730-8870-3475-b22a-4a4d22792ebb&quot;,&#xd;
832                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example:0.0.1\&quot;&quot;&#xd;
833                           }&#xd;
834                         },&#xd;
835                         {&#xd;
836                           &quot;key&quot;: {&#xd;
837                             &quot;name&quot;: &quot;onap.policies.apex.Example_Albums&quot;,&#xd;
838                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
839                           },&#xd;
840                           &quot;value&quot;: {&#xd;
841                             &quot;key&quot;: {&#xd;
842                               &quot;name&quot;: &quot;onap.policies.apex.Example_Albums&quot;,&#xd;
843                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
844                             },&#xd;
845                             &quot;UUID&quot;: &quot;7dc5f49d-c291-38de-bcae-1db30d00581f&quot;,&#xd;
846                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Albums:0.0.1\&quot;&quot;&#xd;
847                           }&#xd;
848                         },&#xd;
849                         {&#xd;
850                           &quot;key&quot;: {&#xd;
851                             &quot;name&quot;: &quot;onap.policies.apex.Example_Events&quot;,&#xd;
852                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
853                           },&#xd;
854                           &quot;value&quot;: {&#xd;
855                             &quot;key&quot;: {&#xd;
856                               &quot;name&quot;: &quot;onap.policies.apex.Example_Events&quot;,&#xd;
857                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
858                             },&#xd;
859                             &quot;UUID&quot;: &quot;06b3112b-ae8b-3f37-8aa6-f539c0250550&quot;,&#xd;
860                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Events:0.0.1\&quot;&quot;&#xd;
861                           }&#xd;
862                         },&#xd;
863                         {&#xd;
864                           &quot;key&quot;: {&#xd;
865                             &quot;name&quot;: &quot;onap.policies.apex.Example_KeyInfo&quot;,&#xd;
866                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
867                           },&#xd;
868                           &quot;value&quot;: {&#xd;
869                             &quot;key&quot;: {&#xd;
870                               &quot;name&quot;: &quot;onap.policies.apex.Example_KeyInfo&quot;,&#xd;
871                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
872                             },&#xd;
873                             &quot;UUID&quot;: &quot;454848e1-43ac-3ce4-bfdc-b9b6271dc563&quot;,&#xd;
874                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_KeyInfo:0.0.1\&quot;&quot;&#xd;
875                           }&#xd;
876                         },&#xd;
877                         {&#xd;
878                           &quot;key&quot;: {&#xd;
879                             &quot;name&quot;: &quot;onap.policies.apex.Example_Policies&quot;,&#xd;
880                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
881                           },&#xd;
882                           &quot;value&quot;: {&#xd;
883                             &quot;key&quot;: {&#xd;
884                               &quot;name&quot;: &quot;onap.policies.apex.Example_Policies&quot;,&#xd;
885                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
886                             },&#xd;
887                             &quot;UUID&quot;: &quot;24c3fca5-b0dd-398c-83ee-66a187296b32&quot;,&#xd;
888                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Policies:0.0.1\&quot;&quot;&#xd;
889                           }&#xd;
890                         },&#xd;
891                         {&#xd;
892                           &quot;key&quot;: {&#xd;
893                             &quot;name&quot;: &quot;onap.policies.apex.Example_Schemas&quot;,&#xd;
894                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
895                           },&#xd;
896                           &quot;value&quot;: {&#xd;
897                             &quot;key&quot;: {&#xd;
898                               &quot;name&quot;: &quot;onap.policies.apex.Example_Schemas&quot;,&#xd;
899                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
900                             },&#xd;
901                             &quot;UUID&quot;: &quot;c6aff774-f50a-329d-a731-9c23a6e7e02e&quot;,&#xd;
902                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Schemas:0.0.1\&quot;&quot;&#xd;
903                           }&#xd;
904                         },&#xd;
905                         {&#xd;
906                           &quot;key&quot;: {&#xd;
907                             &quot;name&quot;: &quot;onap.policies.apex.Example_Tasks&quot;,&#xd;
908                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
909                           },&#xd;
910                           &quot;value&quot;: {&#xd;
911                             &quot;key&quot;: {&#xd;
912                               &quot;name&quot;: &quot;onap.policies.apex.Example_Tasks&quot;,&#xd;
913                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
914                             },&#xd;
915                             &quot;UUID&quot;: &quot;f856a6df-6237-3acc-aa68-f55e64cc0ec9&quot;,&#xd;
916                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Example_Tasks:0.0.1\&quot;&quot;&#xd;
917                           }&#xd;
918                         }&#xd;
919                       ]&#xd;
920                     }&#xd;
921                   },&#xd;
922                   &quot;policies&quot;: {&#xd;
923                     &quot;key&quot;: {&#xd;
924                       &quot;name&quot;: &quot;onap.policies.apex.Example_Policies&quot;,&#xd;
925                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
926                     },&#xd;
927                     &quot;policyMap&quot;: {&#xd;
928                       &quot;entry&quot;: [&#xd;
929                         {&#xd;
930                           &quot;key&quot;: {&#xd;
931                             &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
932                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
933                           },&#xd;
934                           &quot;value&quot;: {&#xd;
935                             &quot;policyKey&quot;: {&#xd;
936                               &quot;name&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
937                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
938                             },&#xd;
939                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
940                             &quot;state&quot;: {&#xd;
941                               &quot;entry&quot;: [&#xd;
942                                 {&#xd;
943                                   &quot;key&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
944                                   &quot;value&quot;: {&#xd;
945                                     &quot;stateKey&quot;: {&#xd;
946                                       &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
947                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
948                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
949                                       &quot;localName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;&#xd;
950                                     },&#xd;
951                                     &quot;trigger&quot;: {&#xd;
952                                       &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
953                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
954                                     },&#xd;
955                                     &quot;stateOutputs&quot;: {&#xd;
956                                       &quot;entry&quot;: [&#xd;
957                                         {&#xd;
958                                           &quot;key&quot;: &quot;ApexExample_AAIFailureStateOutput&quot;,&#xd;
959                                           &quot;value&quot;: {&#xd;
960                                             &quot;key&quot;: {&#xd;
961                                               &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
962                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
963                                               &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
964                                               &quot;localName&quot;: &quot;ApexExample_AAIFailureStateOutput&quot;&#xd;
965                                             },&#xd;
966                                             &quot;outgoingEvent&quot;: {&#xd;
967                                               &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
968                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
969                                             },&#xd;
970                                             &quot;nextState&quot;: {&#xd;
971                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
972                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
973                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
974                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
975                                             }&#xd;
976                                           }&#xd;
977                                         }&#xd;
978                                       ]&#xd;
979                                     },&#xd;
980                                     &quot;contextAlbumReference&quot;: [],&#xd;
981                                     &quot;taskSelectionLogic&quot;: {&#xd;
982                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
983                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
984                                       &quot;logic&quot;: &quot;&quot;&#xd;
985                                     },&#xd;
986                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
987                                       &quot;entry&quot;: []&#xd;
988                                     },&#xd;
989                                     &quot;defaultTask&quot;: {&#xd;
990                                       &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
991                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
992                                     },&#xd;
993                                     &quot;taskReferences&quot;: {&#xd;
994                                       &quot;entry&quot;: [&#xd;
995                                         {&#xd;
996                                           &quot;key&quot;: {&#xd;
997                                             &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
998                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
999                                           },&#xd;
1000                                           &quot;value&quot;: {&#xd;
1001                                             &quot;key&quot;: {&#xd;
1002                                               &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
1003                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1004                                               &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
1005                                               &quot;localName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;&#xd;
1006                                             },&#xd;
1007                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
1008                                             &quot;output&quot;: {&#xd;
1009                                               &quot;parentKeyName&quot;: &quot;ApexExample_AAIFailureResponseHandlerPolicy&quot;,&#xd;
1010                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1011                                               &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;,&#xd;
1012                                               &quot;localName&quot;: &quot;ApexExample_AAIFailureStateOutput&quot;&#xd;
1013                                             }&#xd;
1014                                           }&#xd;
1015                                         }&#xd;
1016                                       ]&#xd;
1017                                     }&#xd;
1018                                   }&#xd;
1019                                 }&#xd;
1020                               ]&#xd;
1021                             },&#xd;
1022                             &quot;firstState&quot;: &quot;ApexExample_ReceiveAAIFailureResponseState&quot;&#xd;
1023                           }&#xd;
1024                         },&#xd;
1025                         {&#xd;
1026                           &quot;key&quot;: {&#xd;
1027                             &quot;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
1028                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1029                           },&#xd;
1030                           &quot;value&quot;: {&#xd;
1031                             &quot;policyKey&quot;: {&#xd;
1032                               &quot;name&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
1033                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1034                             },&#xd;
1035                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
1036                             &quot;state&quot;: {&#xd;
1037                               &quot;entry&quot;: [&#xd;
1038                                 {&#xd;
1039                                   &quot;key&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
1040                                   &quot;value&quot;: {&#xd;
1041                                     &quot;stateKey&quot;: {&#xd;
1042                                       &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
1043                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1044                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1045                                       &quot;localName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;&#xd;
1046                                     },&#xd;
1047                                     &quot;trigger&quot;: {&#xd;
1048                                       &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
1049                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1050                                     },&#xd;
1051                                     &quot;stateOutputs&quot;: {&#xd;
1052                                       &quot;entry&quot;: [&#xd;
1053                                         {&#xd;
1054                                           &quot;key&quot;: &quot;ApexExample_AAISuccessStateOutput&quot;,&#xd;
1055                                           &quot;value&quot;: {&#xd;
1056                                             &quot;key&quot;: {&#xd;
1057                                               &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
1058                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1059                                               &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
1060                                               &quot;localName&quot;: &quot;ApexExample_AAISuccessStateOutput&quot;&#xd;
1061                                             },&#xd;
1062                                             &quot;outgoingEvent&quot;: {&#xd;
1063                                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
1064                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1065                                             },&#xd;
1066                                             &quot;nextState&quot;: {&#xd;
1067                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
1068                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
1069                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1070                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
1071                                             }&#xd;
1072                                           }&#xd;
1073                                         }&#xd;
1074                                       ]&#xd;
1075                                     },&#xd;
1076                                     &quot;contextAlbumReference&quot;: [],&#xd;
1077                                     &quot;taskSelectionLogic&quot;: {&#xd;
1078                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
1079                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
1080                                       &quot;logic&quot;: &quot;&quot;&#xd;
1081                                     },&#xd;
1082                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
1083                                       &quot;entry&quot;: []&#xd;
1084                                     },&#xd;
1085                                     &quot;defaultTask&quot;: {&#xd;
1086                                       &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
1087                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1088                                     },&#xd;
1089                                     &quot;taskReferences&quot;: {&#xd;
1090                                       &quot;entry&quot;: [&#xd;
1091                                         {&#xd;
1092                                           &quot;key&quot;: {&#xd;
1093                                             &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
1094                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1095                                           },&#xd;
1096                                           &quot;value&quot;: {&#xd;
1097                                             &quot;key&quot;: {&#xd;
1098                                               &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
1099                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1100                                               &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
1101                                               &quot;localName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;&#xd;
1102                                             },&#xd;
1103                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
1104                                             &quot;output&quot;: {&#xd;
1105                                               &quot;parentKeyName&quot;: &quot;ApexExample_AAISuccessResponseHandlerPolicy&quot;,&#xd;
1106                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1107                                               &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;,&#xd;
1108                                               &quot;localName&quot;: &quot;ApexExample_AAISuccessStateOutput&quot;&#xd;
1109                                             }&#xd;
1110                                           }&#xd;
1111                                         }&#xd;
1112                                       ]&#xd;
1113                                     }&#xd;
1114                                   }&#xd;
1115                                 }&#xd;
1116                               ]&#xd;
1117                             },&#xd;
1118                             &quot;firstState&quot;: &quot;ApexExample_ReceiveAAISuccessResponseState&quot;&#xd;
1119                           }&#xd;
1120                         },&#xd;
1121                         {&#xd;
1122                           &quot;key&quot;: {&#xd;
1123                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
1124                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1125                           },&#xd;
1126                           &quot;value&quot;: {&#xd;
1127                             &quot;policyKey&quot;: {&#xd;
1128                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
1129                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1130                             },&#xd;
1131                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
1132                             &quot;state&quot;: {&#xd;
1133                               &quot;entry&quot;: [&#xd;
1134                                 {&#xd;
1135                                   &quot;key&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
1136                                   &quot;value&quot;: {&#xd;
1137                                     &quot;stateKey&quot;: {&#xd;
1138                                       &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
1139                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1140                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1141                                       &quot;localName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;&#xd;
1142                                     },&#xd;
1143                                     &quot;trigger&quot;: {&#xd;
1144                                       &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
1145                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1146                                     },&#xd;
1147                                     &quot;stateOutputs&quot;: {&#xd;
1148                                       &quot;entry&quot;: [&#xd;
1149                                         {&#xd;
1150                                           &quot;key&quot;: &quot;ApexExample_ConfigModifyFailureResponseOutput&quot;,&#xd;
1151                                           &quot;value&quot;: {&#xd;
1152                                             &quot;key&quot;: {&#xd;
1153                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
1154                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1155                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
1156                                               &quot;localName&quot;: &quot;ApexExample_ConfigModifyFailureResponseOutput&quot;&#xd;
1157                                             },&#xd;
1158                                             &quot;outgoingEvent&quot;: {&#xd;
1159                                               &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
1160                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1161                                             },&#xd;
1162                                             &quot;nextState&quot;: {&#xd;
1163                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
1164                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
1165                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1166                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
1167                                             }&#xd;
1168                                           }&#xd;
1169                                         }&#xd;
1170                                       ]&#xd;
1171                                     },&#xd;
1172                                     &quot;contextAlbumReference&quot;: [],&#xd;
1173                                     &quot;taskSelectionLogic&quot;: {&#xd;
1174                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
1175                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
1176                                       &quot;logic&quot;: &quot;&quot;&#xd;
1177                                     },&#xd;
1178                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
1179                                       &quot;entry&quot;: []&#xd;
1180                                     },&#xd;
1181                                     &quot;defaultTask&quot;: {&#xd;
1182                                       &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
1183                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1184                                     },&#xd;
1185                                     &quot;taskReferences&quot;: {&#xd;
1186                                       &quot;entry&quot;: [&#xd;
1187                                         {&#xd;
1188                                           &quot;key&quot;: {&#xd;
1189                                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
1190                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1191                                           },&#xd;
1192                                           &quot;value&quot;: {&#xd;
1193                                             &quot;key&quot;: {&#xd;
1194                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
1195                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1196                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
1197                                               &quot;localName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;&#xd;
1198                                             },&#xd;
1199                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
1200                                             &quot;output&quot;: {&#xd;
1201                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
1202                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1203                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;,&#xd;
1204                                               &quot;localName&quot;: &quot;ApexExample_ConfigModifyFailureResponseOutput&quot;&#xd;
1205                                             }&#xd;
1206                                           }&#xd;
1207                                         }&#xd;
1208                                       ]&#xd;
1209                                     }&#xd;
1210                                   }&#xd;
1211                                 }&#xd;
1212                               ]&#xd;
1213                             },&#xd;
1214                             &quot;firstState&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseState&quot;&#xd;
1215                           }&#xd;
1216                         },&#xd;
1217                         {&#xd;
1218                           &quot;key&quot;: {&#xd;
1219                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
1220                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1221                           },&#xd;
1222                           &quot;value&quot;: {&#xd;
1223                             &quot;policyKey&quot;: {&#xd;
1224                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
1225                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1226                             },&#xd;
1227                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
1228                             &quot;state&quot;: {&#xd;
1229                               &quot;entry&quot;: [&#xd;
1230                                 {&#xd;
1231                                   &quot;key&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
1232                                   &quot;value&quot;: {&#xd;
1233                                     &quot;stateKey&quot;: {&#xd;
1234                                       &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
1235                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1236                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1237                                       &quot;localName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;&#xd;
1238                                     },&#xd;
1239                                     &quot;trigger&quot;: {&#xd;
1240                                       &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
1241                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1242                                     },&#xd;
1243                                     &quot;stateOutputs&quot;: {&#xd;
1244                                       &quot;entry&quot;: [&#xd;
1245                                         {&#xd;
1246                                           &quot;key&quot;: &quot;ApexExample_ConfigModifySuccessResponseOutput&quot;,&#xd;
1247                                           &quot;value&quot;: {&#xd;
1248                                             &quot;key&quot;: {&#xd;
1249                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
1250                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1251                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
1252                                               &quot;localName&quot;: &quot;ApexExample_ConfigModifySuccessResponseOutput&quot;&#xd;
1253                                             },&#xd;
1254                                             &quot;outgoingEvent&quot;: {&#xd;
1255                                               &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
1256                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1257                                             },&#xd;
1258                                             &quot;nextState&quot;: {&#xd;
1259                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
1260                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
1261                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1262                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
1263                                             }&#xd;
1264                                           }&#xd;
1265                                         }&#xd;
1266                                       ]&#xd;
1267                                     },&#xd;
1268                                     &quot;contextAlbumReference&quot;: [],&#xd;
1269                                     &quot;taskSelectionLogic&quot;: {&#xd;
1270                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
1271                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
1272                                       &quot;logic&quot;: &quot;&quot;&#xd;
1273                                     },&#xd;
1274                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
1275                                       &quot;entry&quot;: []&#xd;
1276                                     },&#xd;
1277                                     &quot;defaultTask&quot;: {&#xd;
1278                                       &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
1279                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1280                                     },&#xd;
1281                                     &quot;taskReferences&quot;: {&#xd;
1282                                       &quot;entry&quot;: [&#xd;
1283                                         {&#xd;
1284                                           &quot;key&quot;: {&#xd;
1285                                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
1286                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1287                                           },&#xd;
1288                                           &quot;value&quot;: {&#xd;
1289                                             &quot;key&quot;: {&#xd;
1290                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
1291                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1292                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
1293                                               &quot;localName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;&#xd;
1294                                             },&#xd;
1295                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
1296                                             &quot;output&quot;: {&#xd;
1297                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
1298                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1299                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;,&#xd;
1300                                               &quot;localName&quot;: &quot;ApexExample_ConfigModifySuccessResponseOutput&quot;&#xd;
1301                                             }&#xd;
1302                                           }&#xd;
1303                                         }&#xd;
1304                                       ]&#xd;
1305                                     }&#xd;
1306                                   }&#xd;
1307                                 }&#xd;
1308                               ]&#xd;
1309                             },&#xd;
1310                             &quot;firstState&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseState&quot;&#xd;
1311                           }&#xd;
1312                         },&#xd;
1313                         {&#xd;
1314                           &quot;key&quot;: {&#xd;
1315                             &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
1316                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1317                           },&#xd;
1318                           &quot;value&quot;: {&#xd;
1319                             &quot;policyKey&quot;: {&#xd;
1320                               &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
1321                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1322                             },&#xd;
1323                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
1324                             &quot;state&quot;: {&#xd;
1325                               &quot;entry&quot;: [&#xd;
1326                                 {&#xd;
1327                                   &quot;key&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
1328                                   &quot;value&quot;: {&#xd;
1329                                     &quot;stateKey&quot;: {&#xd;
1330                                       &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
1331                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1332                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1333                                       &quot;localName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;&#xd;
1334                                     },&#xd;
1335                                     &quot;trigger&quot;: {&#xd;
1336                                       &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
1337                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1338                                     },&#xd;
1339                                     &quot;stateOutputs&quot;: {&#xd;
1340                                       &quot;entry&quot;: [&#xd;
1341                                         {&#xd;
1342                                           &quot;key&quot;: &quot;ApexExample_RestartFailureResponseOutput&quot;,&#xd;
1343                                           &quot;value&quot;: {&#xd;
1344                                             &quot;key&quot;: {&#xd;
1345                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
1346                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1347                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
1348                                               &quot;localName&quot;: &quot;ApexExample_RestartFailureResponseOutput&quot;&#xd;
1349                                             },&#xd;
1350                                             &quot;outgoingEvent&quot;: {&#xd;
1351                                               &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
1352                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1353                                             },&#xd;
1354                                             &quot;nextState&quot;: {&#xd;
1355                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
1356                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
1357                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1358                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
1359                                             }&#xd;
1360                                           }&#xd;
1361                                         }&#xd;
1362                                       ]&#xd;
1363                                     },&#xd;
1364                                     &quot;contextAlbumReference&quot;: [],&#xd;
1365                                     &quot;taskSelectionLogic&quot;: {&#xd;
1366                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
1367                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
1368                                       &quot;logic&quot;: &quot;&quot;&#xd;
1369                                     },&#xd;
1370                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
1371                                       &quot;entry&quot;: []&#xd;
1372                                     },&#xd;
1373                                     &quot;defaultTask&quot;: {&#xd;
1374                                       &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
1375                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1376                                     },&#xd;
1377                                     &quot;taskReferences&quot;: {&#xd;
1378                                       &quot;entry&quot;: [&#xd;
1379                                         {&#xd;
1380                                           &quot;key&quot;: {&#xd;
1381                                             &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
1382                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1383                                           },&#xd;
1384                                           &quot;value&quot;: {&#xd;
1385                                             &quot;key&quot;: {&#xd;
1386                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
1387                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1388                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
1389                                               &quot;localName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;&#xd;
1390                                             },&#xd;
1391                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
1392                                             &quot;output&quot;: {&#xd;
1393                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartFailureResponseHandlerPolicy&quot;,&#xd;
1394                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1395                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;,&#xd;
1396                                               &quot;localName&quot;: &quot;ApexExample_RestartFailureResponseOutput&quot;&#xd;
1397                                             }&#xd;
1398                                           }&#xd;
1399                                         }&#xd;
1400                                       ]&#xd;
1401                                     }&#xd;
1402                                   }&#xd;
1403                                 }&#xd;
1404                               ]&#xd;
1405                             },&#xd;
1406                             &quot;firstState&quot;: &quot;ApexExample_CDSRestartFailureResponseState&quot;&#xd;
1407                           }&#xd;
1408                         },&#xd;
1409                         {&#xd;
1410                           &quot;key&quot;: {&#xd;
1411                             &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
1412                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1413                           },&#xd;
1414                           &quot;value&quot;: {&#xd;
1415                             &quot;policyKey&quot;: {&#xd;
1416                               &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
1417                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1418                             },&#xd;
1419                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
1420                             &quot;state&quot;: {&#xd;
1421                               &quot;entry&quot;: [&#xd;
1422                                 {&#xd;
1423                                   &quot;key&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
1424                                   &quot;value&quot;: {&#xd;
1425                                     &quot;stateKey&quot;: {&#xd;
1426                                       &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
1427                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1428                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1429                                       &quot;localName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;&#xd;
1430                                     },&#xd;
1431                                     &quot;trigger&quot;: {&#xd;
1432                                       &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
1433                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1434                                     },&#xd;
1435                                     &quot;stateOutputs&quot;: {&#xd;
1436                                       &quot;entry&quot;: [&#xd;
1437                                         {&#xd;
1438                                           &quot;key&quot;: &quot;ApexExample_RestartSuccessResponseOutput&quot;,&#xd;
1439                                           &quot;value&quot;: {&#xd;
1440                                             &quot;key&quot;: {&#xd;
1441                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
1442                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1443                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
1444                                               &quot;localName&quot;: &quot;ApexExample_RestartSuccessResponseOutput&quot;&#xd;
1445                                             },&#xd;
1446                                             &quot;outgoingEvent&quot;: {&#xd;
1447                                               &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
1448                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1449                                             },&#xd;
1450                                             &quot;nextState&quot;: {&#xd;
1451                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
1452                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
1453                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1454                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
1455                                             }&#xd;
1456                                           }&#xd;
1457                                         }&#xd;
1458                                       ]&#xd;
1459                                     },&#xd;
1460                                     &quot;contextAlbumReference&quot;: [],&#xd;
1461                                     &quot;taskSelectionLogic&quot;: {&#xd;
1462                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
1463                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
1464                                       &quot;logic&quot;: &quot;&quot;&#xd;
1465                                     },&#xd;
1466                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
1467                                       &quot;entry&quot;: []&#xd;
1468                                     },&#xd;
1469                                     &quot;defaultTask&quot;: {&#xd;
1470                                       &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
1471                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1472                                     },&#xd;
1473                                     &quot;taskReferences&quot;: {&#xd;
1474                                       &quot;entry&quot;: [&#xd;
1475                                         {&#xd;
1476                                           &quot;key&quot;: {&#xd;
1477                                             &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
1478                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1479                                           },&#xd;
1480                                           &quot;value&quot;: {&#xd;
1481                                             &quot;key&quot;: {&#xd;
1482                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
1483                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1484                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
1485                                               &quot;localName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;&#xd;
1486                                             },&#xd;
1487                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
1488                                             &quot;output&quot;: {&#xd;
1489                                               &quot;parentKeyName&quot;: &quot;ApexExample_CDSRestartSuccessResponseHandlerPolicy&quot;,&#xd;
1490                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1491                                               &quot;parentLocalName&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;,&#xd;
1492                                               &quot;localName&quot;: &quot;ApexExample_RestartSuccessResponseOutput&quot;&#xd;
1493                                             }&#xd;
1494                                           }&#xd;
1495                                         }&#xd;
1496                                       ]&#xd;
1497                                     }&#xd;
1498                                   }&#xd;
1499                                 }&#xd;
1500                               ]&#xd;
1501                             },&#xd;
1502                             &quot;firstState&quot;: &quot;ApexExample_CDSRestartSuccessResponseState&quot;&#xd;
1503                           }&#xd;
1504                         },&#xd;
1505                         {&#xd;
1506                           &quot;key&quot;: {&#xd;
1507                             &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
1508                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1509                           },&#xd;
1510                           &quot;value&quot;: {&#xd;
1511                             &quot;policyKey&quot;: {&#xd;
1512                               &quot;name&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
1513                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1514                             },&#xd;
1515                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
1516                             &quot;state&quot;: {&#xd;
1517                               &quot;entry&quot;: [&#xd;
1518                                 {&#xd;
1519                                   &quot;key&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
1520                                   &quot;value&quot;: {&#xd;
1521                                     &quot;stateKey&quot;: {&#xd;
1522                                       &quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
1523                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1524                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1525                                       &quot;localName&quot;: &quot;ApexExample_ReceiveVesState&quot;&#xd;
1526                                     },&#xd;
1527                                     &quot;trigger&quot;: {&#xd;
1528                                       &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
1529                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1530                                     },&#xd;
1531                                     &quot;stateOutputs&quot;: {&#xd;
1532                                       &quot;entry&quot;: [&#xd;
1533                                         {&#xd;
1534                                           &quot;key&quot;: &quot;ApexExample_VesOutput&quot;,&#xd;
1535                                           &quot;value&quot;: {&#xd;
1536                                             &quot;key&quot;: {&#xd;
1537                                               &quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
1538                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1539                                               &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
1540                                               &quot;localName&quot;: &quot;ApexExample_VesOutput&quot;&#xd;
1541                                             },&#xd;
1542                                             &quot;outgoingEvent&quot;: {&#xd;
1543                                               &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
1544                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1545                                             },&#xd;
1546                                             &quot;nextState&quot;: {&#xd;
1547                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
1548                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
1549                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1550                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
1551                                             }&#xd;
1552                                           }&#xd;
1553                                         }&#xd;
1554                                       ]&#xd;
1555                                     },&#xd;
1556                                     &quot;contextAlbumReference&quot;: [],&#xd;
1557                                     &quot;taskSelectionLogic&quot;: {&#xd;
1558                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
1559                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
1560                                       &quot;logic&quot;: &quot;&quot;&#xd;
1561                                     },&#xd;
1562                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
1563                                       &quot;entry&quot;: []&#xd;
1564                                     },&#xd;
1565                                     &quot;defaultTask&quot;: {&#xd;
1566                                       &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
1567                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1568                                     },&#xd;
1569                                     &quot;taskReferences&quot;: {&#xd;
1570                                       &quot;entry&quot;: [&#xd;
1571                                         {&#xd;
1572                                           &quot;key&quot;: {&#xd;
1573                                             &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
1574                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1575                                           },&#xd;
1576                                           &quot;value&quot;: {&#xd;
1577                                             &quot;key&quot;: {&#xd;
1578                                               &quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
1579                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1580                                               &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
1581                                               &quot;localName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;&#xd;
1582                                             },&#xd;
1583                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
1584                                             &quot;output&quot;: {&#xd;
1585                                               &quot;parentKeyName&quot;: &quot;ApexExample_VesEventHandlerPolicy&quot;,&#xd;
1586                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1587                                               &quot;parentLocalName&quot;: &quot;ApexExample_ReceiveVesState&quot;,&#xd;
1588                                               &quot;localName&quot;: &quot;ApexExample_VesOutput&quot;&#xd;
1589                                             }&#xd;
1590                                           }&#xd;
1591                                         }&#xd;
1592                                       ]&#xd;
1593                                     }&#xd;
1594                                   }&#xd;
1595                                 }&#xd;
1596                               ]&#xd;
1597                             },&#xd;
1598                             &quot;firstState&quot;: &quot;ApexExample_ReceiveVesState&quot;&#xd;
1599                           }&#xd;
1600                         }&#xd;
1601                       ]&#xd;
1602                     }&#xd;
1603                   },&#xd;
1604                   &quot;tasks&quot;: {&#xd;
1605                     &quot;key&quot;: {&#xd;
1606                       &quot;name&quot;: &quot;onap.policies.apex.Example_Tasks&quot;,&#xd;
1607                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1608                     },&#xd;
1609                     &quot;taskMap&quot;: {&#xd;
1610                       &quot;entry&quot;: [&#xd;
1611                         {&#xd;
1612                           &quot;key&quot;: {&#xd;
1613                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
1614                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1615                           },&#xd;
1616                           &quot;value&quot;: {&#xd;
1617                             &quot;key&quot;: {&#xd;
1618                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseTask&quot;,&#xd;
1619                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1620                             },&#xd;
1621                             &quot;inputFields&quot;: {&#xd;
1622                               &quot;entry&quot;: [&#xd;
1623                                 {&#xd;
1624                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1625                                   &quot;value&quot;: {&#xd;
1626                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1627                                     &quot;fieldSchemaKey&quot;: {&#xd;
1628                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
1629                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1630                                     },&#xd;
1631                                     &quot;optional&quot;: false&#xd;
1632                                   }&#xd;
1633                                 },&#xd;
1634                                 {&#xd;
1635                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1636                                   &quot;value&quot;: {&#xd;
1637                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1638                                     &quot;fieldSchemaKey&quot;: {&#xd;
1639                                       &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
1640                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1641                                     },&#xd;
1642                                     &quot;optional&quot;: false&#xd;
1643                                   }&#xd;
1644                                 },&#xd;
1645                                 {&#xd;
1646                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
1647                                   &quot;value&quot;: {&#xd;
1648                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
1649                                     &quot;fieldSchemaKey&quot;: {&#xd;
1650                                       &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
1651                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1652                                     },&#xd;
1653                                     &quot;optional&quot;: false&#xd;
1654                                   }&#xd;
1655                                 },&#xd;
1656                                 {&#xd;
1657                                   &quot;key&quot;: &quot;status&quot;,&#xd;
1658                                   &quot;value&quot;: {&#xd;
1659                                     &quot;key&quot;: &quot;status&quot;,&#xd;
1660                                     &quot;fieldSchemaKey&quot;: {&#xd;
1661                                       &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
1662                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1663                                     },&#xd;
1664                                     &quot;optional&quot;: false&#xd;
1665                                   }&#xd;
1666                                 }&#xd;
1667                               ]&#xd;
1668                             },&#xd;
1669                             &quot;outputFields&quot;: {&#xd;
1670                               &quot;entry&quot;: [&#xd;
1671                                 {&#xd;
1672                                   &quot;key&quot;: &quot;message&quot;,&#xd;
1673                                   &quot;value&quot;: {&#xd;
1674                                     &quot;key&quot;: &quot;message&quot;,&#xd;
1675                                     &quot;fieldSchemaKey&quot;: {&#xd;
1676                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
1677                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1678                                     },&#xd;
1679                                     &quot;optional&quot;: false&#xd;
1680                                   }&#xd;
1681                                 }&#xd;
1682                               ]&#xd;
1683                             },&#xd;
1684                             &quot;taskParameters&quot;: {&#xd;
1685                               &quot;entry&quot;: []&#xd;
1686                             },&#xd;
1687                             &quot;contextAlbumReference&quot;: [&#xd;
1688                               {&#xd;
1689                                 &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
1690                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1691                               }&#xd;
1692                             ],&#xd;
1693                             &quot;taskLogic&quot;: {&#xd;
1694                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
1695                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
1696                               &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;
1697                             }&#xd;
1698                           }&#xd;
1699                         },&#xd;
1700                         {&#xd;
1701                           &quot;key&quot;: {&#xd;
1702                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
1703                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1704                           },&#xd;
1705                           &quot;value&quot;: {&#xd;
1706                             &quot;key&quot;: {&#xd;
1707                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseTask&quot;,&#xd;
1708                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1709                             },&#xd;
1710                             &quot;inputFields&quot;: {&#xd;
1711                               &quot;entry&quot;: [&#xd;
1712                                 {&#xd;
1713                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1714                                   &quot;value&quot;: {&#xd;
1715                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1716                                     &quot;fieldSchemaKey&quot;: {&#xd;
1717                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
1718                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1719                                     },&#xd;
1720                                     &quot;optional&quot;: false&#xd;
1721                                   }&#xd;
1722                                 },&#xd;
1723                                 {&#xd;
1724                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1725                                   &quot;value&quot;: {&#xd;
1726                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1727                                     &quot;fieldSchemaKey&quot;: {&#xd;
1728                                       &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
1729                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1730                                     },&#xd;
1731                                     &quot;optional&quot;: false&#xd;
1732                                   }&#xd;
1733                                 },&#xd;
1734                                 {&#xd;
1735                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
1736                                   &quot;value&quot;: {&#xd;
1737                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
1738                                     &quot;fieldSchemaKey&quot;: {&#xd;
1739                                       &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
1740                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1741                                     },&#xd;
1742                                     &quot;optional&quot;: false&#xd;
1743                                   }&#xd;
1744                                 },&#xd;
1745                                 {&#xd;
1746                                   &quot;key&quot;: &quot;status&quot;,&#xd;
1747                                   &quot;value&quot;: {&#xd;
1748                                     &quot;key&quot;: &quot;status&quot;,&#xd;
1749                                     &quot;fieldSchemaKey&quot;: {&#xd;
1750                                       &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
1751                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1752                                     },&#xd;
1753                                     &quot;optional&quot;: false&#xd;
1754                                   }&#xd;
1755                                 }&#xd;
1756                               ]&#xd;
1757                             },&#xd;
1758                             &quot;outputFields&quot;: {&#xd;
1759                               &quot;entry&quot;: [&#xd;
1760                                 {&#xd;
1761                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1762                                   &quot;value&quot;: {&#xd;
1763                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1764                                     &quot;fieldSchemaKey&quot;: {&#xd;
1765                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
1766                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1767                                     },&#xd;
1768                                     &quot;optional&quot;: false&#xd;
1769                                   }&#xd;
1770                                 },&#xd;
1771                                 {&#xd;
1772                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1773                                   &quot;value&quot;: {&#xd;
1774                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1775                                     &quot;fieldSchemaKey&quot;: {&#xd;
1776                                       &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
1777                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1778                                     },&#xd;
1779                                     &quot;optional&quot;: false&#xd;
1780                                   }&#xd;
1781                                 },&#xd;
1782                                 {&#xd;
1783                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
1784                                   &quot;value&quot;: {&#xd;
1785                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
1786                                     &quot;fieldSchemaKey&quot;: {&#xd;
1787                                       &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
1788                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1789                                     },&#xd;
1790                                     &quot;optional&quot;: false&#xd;
1791                                   }&#xd;
1792                                 }&#xd;
1793                               ]&#xd;
1794                             },&#xd;
1795                             &quot;taskParameters&quot;: {&#xd;
1796                               &quot;entry&quot;: []&#xd;
1797                             },&#xd;
1798                             &quot;contextAlbumReference&quot;: [&#xd;
1799                               {&#xd;
1800                                 &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
1801                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1802                               }&#xd;
1803                             ],&#xd;
1804                             &quot;taskLogic&quot;: {&#xd;
1805                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
1806                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
1807                               &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;
1808                             }&#xd;
1809                           }&#xd;
1810                         },&#xd;
1811                         {&#xd;
1812                           &quot;key&quot;: {&#xd;
1813                             &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
1814                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1815                           },&#xd;
1816                           &quot;value&quot;: {&#xd;
1817                             &quot;key&quot;: {&#xd;
1818                               &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseTask&quot;,&#xd;
1819                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1820                             },&#xd;
1821                             &quot;inputFields&quot;: {&#xd;
1822                               &quot;entry&quot;: [&#xd;
1823                                 {&#xd;
1824                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1825                                   &quot;value&quot;: {&#xd;
1826                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1827                                     &quot;fieldSchemaKey&quot;: {&#xd;
1828                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
1829                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1830                                     },&#xd;
1831                                     &quot;optional&quot;: false&#xd;
1832                                   }&#xd;
1833                                 },&#xd;
1834                                 {&#xd;
1835                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1836                                   &quot;value&quot;: {&#xd;
1837                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1838                                     &quot;fieldSchemaKey&quot;: {&#xd;
1839                                       &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
1840                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1841                                     },&#xd;
1842                                     &quot;optional&quot;: false&#xd;
1843                                   }&#xd;
1844                                 },&#xd;
1845                                 {&#xd;
1846                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
1847                                   &quot;value&quot;: {&#xd;
1848                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
1849                                     &quot;fieldSchemaKey&quot;: {&#xd;
1850                                       &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
1851                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1852                                     },&#xd;
1853                                     &quot;optional&quot;: false&#xd;
1854                                   }&#xd;
1855                                 },&#xd;
1856                                 {&#xd;
1857                                   &quot;key&quot;: &quot;status&quot;,&#xd;
1858                                   &quot;value&quot;: {&#xd;
1859                                     &quot;key&quot;: &quot;status&quot;,&#xd;
1860                                     &quot;fieldSchemaKey&quot;: {&#xd;
1861                                       &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
1862                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1863                                     },&#xd;
1864                                     &quot;optional&quot;: false&#xd;
1865                                   }&#xd;
1866                                 }&#xd;
1867                               ]&#xd;
1868                             },&#xd;
1869                             &quot;outputFields&quot;: {&#xd;
1870                               &quot;entry&quot;: [&#xd;
1871                                 {&#xd;
1872                                   &quot;key&quot;: &quot;message&quot;,&#xd;
1873                                   &quot;value&quot;: {&#xd;
1874                                     &quot;key&quot;: &quot;message&quot;,&#xd;
1875                                     &quot;fieldSchemaKey&quot;: {&#xd;
1876                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
1877                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1878                                     },&#xd;
1879                                     &quot;optional&quot;: false&#xd;
1880                                   }&#xd;
1881                                 }&#xd;
1882                               ]&#xd;
1883                             },&#xd;
1884                             &quot;taskParameters&quot;: {&#xd;
1885                               &quot;entry&quot;: []&#xd;
1886                             },&#xd;
1887                             &quot;contextAlbumReference&quot;: [&#xd;
1888                               {&#xd;
1889                                 &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
1890                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1891                               }&#xd;
1892                             ],&#xd;
1893                             &quot;taskLogic&quot;: {&#xd;
1894                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
1895                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
1896                               &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;
1897                             }&#xd;
1898                           }&#xd;
1899                         },&#xd;
1900                         {&#xd;
1901                           &quot;key&quot;: {&#xd;
1902                             &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
1903                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1904                           },&#xd;
1905                           &quot;value&quot;: {&#xd;
1906                             &quot;key&quot;: {&#xd;
1907                               &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseTask&quot;,&#xd;
1908                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1909                             },&#xd;
1910                             &quot;inputFields&quot;: {&#xd;
1911                               &quot;entry&quot;: [&#xd;
1912                                 {&#xd;
1913                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1914                                   &quot;value&quot;: {&#xd;
1915                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1916                                     &quot;fieldSchemaKey&quot;: {&#xd;
1917                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
1918                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1919                                     },&#xd;
1920                                     &quot;optional&quot;: false&#xd;
1921                                   }&#xd;
1922                                 },&#xd;
1923                                 {&#xd;
1924                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1925                                   &quot;value&quot;: {&#xd;
1926                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1927                                     &quot;fieldSchemaKey&quot;: {&#xd;
1928                                       &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
1929                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1930                                     },&#xd;
1931                                     &quot;optional&quot;: false&#xd;
1932                                   }&#xd;
1933                                 },&#xd;
1934                                 {&#xd;
1935                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
1936                                   &quot;value&quot;: {&#xd;
1937                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
1938                                     &quot;fieldSchemaKey&quot;: {&#xd;
1939                                       &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
1940                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1941                                     },&#xd;
1942                                     &quot;optional&quot;: false&#xd;
1943                                   }&#xd;
1944                                 },&#xd;
1945                                 {&#xd;
1946                                   &quot;key&quot;: &quot;status&quot;,&#xd;
1947                                   &quot;value&quot;: {&#xd;
1948                                     &quot;key&quot;: &quot;status&quot;,&#xd;
1949                                     &quot;fieldSchemaKey&quot;: {&#xd;
1950                                       &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
1951                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1952                                     },&#xd;
1953                                     &quot;optional&quot;: false&#xd;
1954                                   }&#xd;
1955                                 }&#xd;
1956                               ]&#xd;
1957                             },&#xd;
1958                             &quot;outputFields&quot;: {&#xd;
1959                               &quot;entry&quot;: [&#xd;
1960                                 {&#xd;
1961                                   &quot;key&quot;: &quot;message&quot;,&#xd;
1962                                   &quot;value&quot;: {&#xd;
1963                                     &quot;key&quot;: &quot;message&quot;,&#xd;
1964                                     &quot;fieldSchemaKey&quot;: {&#xd;
1965                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
1966                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1967                                     },&#xd;
1968                                     &quot;optional&quot;: false&#xd;
1969                                   }&#xd;
1970                                 }&#xd;
1971                               ]&#xd;
1972                             },&#xd;
1973                             &quot;taskParameters&quot;: {&#xd;
1974                               &quot;entry&quot;: []&#xd;
1975                             },&#xd;
1976                             &quot;contextAlbumReference&quot;: [&#xd;
1977                               {&#xd;
1978                                 &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
1979                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1980                               }&#xd;
1981                             ],&#xd;
1982                             &quot;taskLogic&quot;: {&#xd;
1983                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
1984                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
1985                               &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;
1986                             }&#xd;
1987                           }&#xd;
1988                         },&#xd;
1989                         {&#xd;
1990                           &quot;key&quot;: {&#xd;
1991                             &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
1992                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1993                           },&#xd;
1994                           &quot;value&quot;: {&#xd;
1995                             &quot;key&quot;: {&#xd;
1996                               &quot;name&quot;: &quot;ApexExample_HandleAAIFailureResponseTask&quot;,&#xd;
1997                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1998                             },&#xd;
1999                             &quot;inputFields&quot;: {&#xd;
2000                               &quot;entry&quot;: [&#xd;
2001                                 {&#xd;
2002                                   &quot;key&quot;: &quot;requestError&quot;,&#xd;
2003                                   &quot;value&quot;: {&#xd;
2004                                     &quot;key&quot;: &quot;requestError&quot;,&#xd;
2005                                     &quot;fieldSchemaKey&quot;: {&#xd;
2006                                       &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
2007                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2008                                     },&#xd;
2009                                     &quot;optional&quot;: false&#xd;
2010                                   }&#xd;
2011                                 }&#xd;
2012                               ]&#xd;
2013                             },&#xd;
2014                             &quot;outputFields&quot;: {&#xd;
2015                               &quot;entry&quot;: [&#xd;
2016                                 {&#xd;
2017                                   &quot;key&quot;: &quot;message&quot;,&#xd;
2018                                   &quot;value&quot;: {&#xd;
2019                                     &quot;key&quot;: &quot;message&quot;,&#xd;
2020                                     &quot;fieldSchemaKey&quot;: {&#xd;
2021                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2022                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2023                                     },&#xd;
2024                                     &quot;optional&quot;: false&#xd;
2025                                   }&#xd;
2026                                 }&#xd;
2027                               ]&#xd;
2028                             },&#xd;
2029                             &quot;taskParameters&quot;: {&#xd;
2030                               &quot;entry&quot;: []&#xd;
2031                             },&#xd;
2032                             &quot;contextAlbumReference&quot;: [&#xd;
2033                               {&#xd;
2034                                 &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
2035                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2036                               }&#xd;
2037                             ],&#xd;
2038                             &quot;taskLogic&quot;: {&#xd;
2039                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
2040                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
2041                               &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;
2042                             }&#xd;
2043                           }&#xd;
2044                         },&#xd;
2045                         {&#xd;
2046                           &quot;key&quot;: {&#xd;
2047                             &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
2048                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2049                           },&#xd;
2050                           &quot;value&quot;: {&#xd;
2051                             &quot;key&quot;: {&#xd;
2052                               &quot;name&quot;: &quot;ApexExample_HandleAAISuccessResponseTask&quot;,&#xd;
2053                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2054                             },&#xd;
2055                             &quot;inputFields&quot;: {&#xd;
2056                               &quot;entry&quot;: [&#xd;
2057                                 {&#xd;
2058                                   &quot;key&quot;: &quot;in-maint&quot;,&#xd;
2059                                   &quot;value&quot;: {&#xd;
2060                                     &quot;key&quot;: &quot;in-maint&quot;,&#xd;
2061                                     &quot;fieldSchemaKey&quot;: {&#xd;
2062                                       &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
2063                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2064                                     },&#xd;
2065                                     &quot;optional&quot;: false&#xd;
2066                                   }&#xd;
2067                                 },&#xd;
2068                                 {&#xd;
2069                                   &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
2070                                   &quot;value&quot;: {&#xd;
2071                                     &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
2072                                     &quot;fieldSchemaKey&quot;: {&#xd;
2073                                       &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
2074                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2075                                     },&#xd;
2076                                     &quot;optional&quot;: false&#xd;
2077                                   }&#xd;
2078                                 },&#xd;
2079                                 {&#xd;
2080                                   &quot;key&quot;: &quot;model-customization-id&quot;,&#xd;
2081                                   &quot;value&quot;: {&#xd;
2082                                     &quot;key&quot;: &quot;model-customization-id&quot;,&#xd;
2083                                     &quot;fieldSchemaKey&quot;: {&#xd;
2084                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2085                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2086                                     },&#xd;
2087                                     &quot;optional&quot;: false&#xd;
2088                                   }&#xd;
2089                                 },&#xd;
2090                                 {&#xd;
2091                                   &quot;key&quot;: &quot;model-invariant-id&quot;,&#xd;
2092                                   &quot;value&quot;: {&#xd;
2093                                     &quot;key&quot;: &quot;model-invariant-id&quot;,&#xd;
2094                                     &quot;fieldSchemaKey&quot;: {&#xd;
2095                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2096                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2097                                     },&#xd;
2098                                     &quot;optional&quot;: false&#xd;
2099                                   }&#xd;
2100                                 },&#xd;
2101                                 {&#xd;
2102                                   &quot;key&quot;: &quot;model-version-id&quot;,&#xd;
2103                                   &quot;value&quot;: {&#xd;
2104                                     &quot;key&quot;: &quot;model-version-id&quot;,&#xd;
2105                                     &quot;fieldSchemaKey&quot;: {&#xd;
2106                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2107                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2108                                     },&#xd;
2109                                     &quot;optional&quot;: false&#xd;
2110                                   }&#xd;
2111                                 },&#xd;
2112                                 {&#xd;
2113                                   &quot;key&quot;: &quot;orchestration-status&quot;,&#xd;
2114                                   &quot;value&quot;: {&#xd;
2115                                     &quot;key&quot;: &quot;orchestration-status&quot;,&#xd;
2116                                     &quot;fieldSchemaKey&quot;: {&#xd;
2117                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2118                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2119                                     },&#xd;
2120                                     &quot;optional&quot;: false&#xd;
2121                                   }&#xd;
2122                                 },&#xd;
2123                                 {&#xd;
2124                                   &quot;key&quot;: &quot;prov-status&quot;,&#xd;
2125                                   &quot;value&quot;: {&#xd;
2126                                     &quot;key&quot;: &quot;prov-status&quot;,&#xd;
2127                                     &quot;fieldSchemaKey&quot;: {&#xd;
2128                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2129                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2130                                     },&#xd;
2131                                     &quot;optional&quot;: false&#xd;
2132                                   }&#xd;
2133                                 },&#xd;
2134                                 {&#xd;
2135                                   &quot;key&quot;: &quot;relationship-list&quot;,&#xd;
2136                                   &quot;value&quot;: {&#xd;
2137                                     &quot;key&quot;: &quot;relationship-list&quot;,&#xd;
2138                                     &quot;fieldSchemaKey&quot;: {&#xd;
2139                                       &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
2140                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2141                                     },&#xd;
2142                                     &quot;optional&quot;: false&#xd;
2143                                   }&#xd;
2144                                 },&#xd;
2145                                 {&#xd;
2146                                   &quot;key&quot;: &quot;resource-version&quot;,&#xd;
2147                                   &quot;value&quot;: {&#xd;
2148                                     &quot;key&quot;: &quot;resource-version&quot;,&#xd;
2149                                     &quot;fieldSchemaKey&quot;: {&#xd;
2150                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2151                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2152                                     },&#xd;
2153                                     &quot;optional&quot;: false&#xd;
2154                                   }&#xd;
2155                                 },&#xd;
2156                                 {&#xd;
2157                                   &quot;key&quot;: &quot;service-id&quot;,&#xd;
2158                                   &quot;value&quot;: {&#xd;
2159                                     &quot;key&quot;: &quot;service-id&quot;,&#xd;
2160                                     &quot;fieldSchemaKey&quot;: {&#xd;
2161                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2162                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2163                                     },&#xd;
2164                                     &quot;optional&quot;: false&#xd;
2165                                   }&#xd;
2166                                 },&#xd;
2167                                 {&#xd;
2168                                   &quot;key&quot;: &quot;vnf-id&quot;,&#xd;
2169                                   &quot;value&quot;: {&#xd;
2170                                     &quot;key&quot;: &quot;vnf-id&quot;,&#xd;
2171                                     &quot;fieldSchemaKey&quot;: {&#xd;
2172                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2173                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2174                                     },&#xd;
2175                                     &quot;optional&quot;: false&#xd;
2176                                   }&#xd;
2177                                 },&#xd;
2178                                 {&#xd;
2179                                   &quot;key&quot;: &quot;vnf-name&quot;,&#xd;
2180                                   &quot;value&quot;: {&#xd;
2181                                     &quot;key&quot;: &quot;vnf-name&quot;,&#xd;
2182                                     &quot;fieldSchemaKey&quot;: {&#xd;
2183                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2184                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2185                                     },&#xd;
2186                                     &quot;optional&quot;: false&#xd;
2187                                   }&#xd;
2188                                 },&#xd;
2189                                 {&#xd;
2190                                   &quot;key&quot;: &quot;vnf-type&quot;,&#xd;
2191                                   &quot;value&quot;: {&#xd;
2192                                     &quot;key&quot;: &quot;vnf-type&quot;,&#xd;
2193                                     &quot;fieldSchemaKey&quot;: {&#xd;
2194                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2195                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2196                                     },&#xd;
2197                                     &quot;optional&quot;: false&#xd;
2198                                   }&#xd;
2199                                 }&#xd;
2200                               ]&#xd;
2201                             },&#xd;
2202                             &quot;outputFields&quot;: {&#xd;
2203                               &quot;entry&quot;: [&#xd;
2204                                 {&#xd;
2205                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2206                                   &quot;value&quot;: {&#xd;
2207                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2208                                     &quot;fieldSchemaKey&quot;: {&#xd;
2209                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
2210                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2211                                     },&#xd;
2212                                     &quot;optional&quot;: false&#xd;
2213                                   }&#xd;
2214                                 },&#xd;
2215                                 {&#xd;
2216                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2217                                   &quot;value&quot;: {&#xd;
2218                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2219                                     &quot;fieldSchemaKey&quot;: {&#xd;
2220                                       &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
2221                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2222                                     },&#xd;
2223                                     &quot;optional&quot;: false&#xd;
2224                                   }&#xd;
2225                                 },&#xd;
2226                                 {&#xd;
2227                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
2228                                   &quot;value&quot;: {&#xd;
2229                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
2230                                     &quot;fieldSchemaKey&quot;: {&#xd;
2231                                       &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
2232                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2233                                     },&#xd;
2234                                     &quot;optional&quot;: false&#xd;
2235                                   }&#xd;
2236                                 }&#xd;
2237                               ]&#xd;
2238                             },&#xd;
2239                             &quot;taskParameters&quot;: {&#xd;
2240                               &quot;entry&quot;: []&#xd;
2241                             },&#xd;
2242                             &quot;contextAlbumReference&quot;: [&#xd;
2243                               {&#xd;
2244                                 &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
2245                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2246                               }&#xd;
2247                             ],&#xd;
2248                             &quot;taskLogic&quot;: {&#xd;
2249                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
2250                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
2251                               &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;
2252                             }&#xd;
2253                           }&#xd;
2254                         },&#xd;
2255                         {&#xd;
2256                           &quot;key&quot;: {&#xd;
2257                             &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
2258                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2259                           },&#xd;
2260                           &quot;value&quot;: {&#xd;
2261                             &quot;key&quot;: {&#xd;
2262                               &quot;name&quot;: &quot;ApexExample_HandleVesEventTask&quot;,&#xd;
2263                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2264                             },&#xd;
2265                             &quot;inputFields&quot;: {&#xd;
2266                               &quot;entry&quot;: [&#xd;
2267                                 {&#xd;
2268                                   &quot;key&quot;: &quot;event&quot;,&#xd;
2269                                   &quot;value&quot;: {&#xd;
2270                                     &quot;key&quot;: &quot;event&quot;,&#xd;
2271                                     &quot;fieldSchemaKey&quot;: {&#xd;
2272                                       &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
2273                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2274                                     },&#xd;
2275                                     &quot;optional&quot;: false&#xd;
2276                                   }&#xd;
2277                                 }&#xd;
2278                               ]&#xd;
2279                             },&#xd;
2280                             &quot;outputFields&quot;: {&#xd;
2281                               &quot;entry&quot;: [&#xd;
2282                                 {&#xd;
2283                                   &quot;key&quot;: &quot;aaifield&quot;,&#xd;
2284                                   &quot;value&quot;: {&#xd;
2285                                     &quot;key&quot;: &quot;aaifield&quot;,&#xd;
2286                                     &quot;fieldSchemaKey&quot;: {&#xd;
2287                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2288                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2289                                     },&#xd;
2290                                     &quot;optional&quot;: false&#xd;
2291                                   }&#xd;
2292                                 }&#xd;
2293                               ]&#xd;
2294                             },&#xd;
2295                             &quot;taskParameters&quot;: {&#xd;
2296                               &quot;entry&quot;: []&#xd;
2297                             },&#xd;
2298                             &quot;contextAlbumReference&quot;: [&#xd;
2299                               {&#xd;
2300                                 &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
2301                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2302                               }&#xd;
2303                             ],&#xd;
2304                             &quot;taskLogic&quot;: {&#xd;
2305                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
2306                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
2307                               &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;
2308                             }&#xd;
2309                           }&#xd;
2310                         }&#xd;
2311                       ]&#xd;
2312                     }&#xd;
2313                   },&#xd;
2314                   &quot;events&quot;: {&#xd;
2315                     &quot;key&quot;: {&#xd;
2316                       &quot;name&quot;: &quot;onap.policies.apex.Example_Events&quot;,&#xd;
2317                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2318                     },&#xd;
2319                     &quot;eventMap&quot;: {&#xd;
2320                       &quot;entry&quot;: [&#xd;
2321                         {&#xd;
2322                           &quot;key&quot;: {&#xd;
2323                             &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
2324                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2325                           },&#xd;
2326                           &quot;value&quot;: {&#xd;
2327                             &quot;key&quot;: {&#xd;
2328                               &quot;name&quot;: &quot;ApexExample_AAIFailureResponseEvent&quot;,&#xd;
2329                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2330                             },&#xd;
2331                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2332                             &quot;source&quot;: &quot;AAI&quot;,&#xd;
2333                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
2334                             &quot;parameter&quot;: {&#xd;
2335                               &quot;entry&quot;: [&#xd;
2336                                 {&#xd;
2337                                   &quot;key&quot;: &quot;requestError&quot;,&#xd;
2338                                   &quot;value&quot;: {&#xd;
2339                                     &quot;key&quot;: &quot;requestError&quot;,&#xd;
2340                                     &quot;fieldSchemaKey&quot;: {&#xd;
2341                                       &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
2342                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2343                                     },&#xd;
2344                                     &quot;optional&quot;: false&#xd;
2345                                   }&#xd;
2346                                 }&#xd;
2347                               ]&#xd;
2348                             }&#xd;
2349                           }&#xd;
2350                         },&#xd;
2351                         {&#xd;
2352                           &quot;key&quot;: {&#xd;
2353                             &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
2354                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2355                           },&#xd;
2356                           &quot;value&quot;: {&#xd;
2357                             &quot;key&quot;: {&#xd;
2358                               &quot;name&quot;: &quot;ApexExample_AAIRequestEvent&quot;,&#xd;
2359                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2360                             },&#xd;
2361                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2362                             &quot;source&quot;: &quot;APEX&quot;,&#xd;
2363                             &quot;target&quot;: &quot;AAI&quot;,&#xd;
2364                             &quot;parameter&quot;: {&#xd;
2365                               &quot;entry&quot;: [&#xd;
2366                                 {&#xd;
2367                                   &quot;key&quot;: &quot;aaifield&quot;,&#xd;
2368                                   &quot;value&quot;: {&#xd;
2369                                     &quot;key&quot;: &quot;aaifield&quot;,&#xd;
2370                                     &quot;fieldSchemaKey&quot;: {&#xd;
2371                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2372                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2373                                     },&#xd;
2374                                     &quot;optional&quot;: false&#xd;
2375                                   }&#xd;
2376                                 }&#xd;
2377                               ]&#xd;
2378                             }&#xd;
2379                           }&#xd;
2380                         },&#xd;
2381                         {&#xd;
2382                           &quot;key&quot;: {&#xd;
2383                             &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
2384                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2385                           },&#xd;
2386                           &quot;value&quot;: {&#xd;
2387                             &quot;key&quot;: {&#xd;
2388                               &quot;name&quot;: &quot;ApexExample_AAISuccessResponseEvent&quot;,&#xd;
2389                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2390                             },&#xd;
2391                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2392                             &quot;source&quot;: &quot;AAI&quot;,&#xd;
2393                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
2394                             &quot;parameter&quot;: {&#xd;
2395                               &quot;entry&quot;: [&#xd;
2396                                 {&#xd;
2397                                   &quot;key&quot;: &quot;in-maint&quot;,&#xd;
2398                                   &quot;value&quot;: {&#xd;
2399                                     &quot;key&quot;: &quot;in-maint&quot;,&#xd;
2400                                     &quot;fieldSchemaKey&quot;: {&#xd;
2401                                       &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
2402                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2403                                     },&#xd;
2404                                     &quot;optional&quot;: false&#xd;
2405                                   }&#xd;
2406                                 },&#xd;
2407                                 {&#xd;
2408                                   &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
2409                                   &quot;value&quot;: {&#xd;
2410                                     &quot;key&quot;: &quot;is-closed-loop-disabled&quot;,&#xd;
2411                                     &quot;fieldSchemaKey&quot;: {&#xd;
2412                                       &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
2413                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2414                                     },&#xd;
2415                                     &quot;optional&quot;: false&#xd;
2416                                   }&#xd;
2417                                 },&#xd;
2418                                 {&#xd;
2419                                   &quot;key&quot;: &quot;model-customization-id&quot;,&#xd;
2420                                   &quot;value&quot;: {&#xd;
2421                                     &quot;key&quot;: &quot;model-customization-id&quot;,&#xd;
2422                                     &quot;fieldSchemaKey&quot;: {&#xd;
2423                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2424                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2425                                     },&#xd;
2426                                     &quot;optional&quot;: false&#xd;
2427                                   }&#xd;
2428                                 },&#xd;
2429                                 {&#xd;
2430                                   &quot;key&quot;: &quot;model-invariant-id&quot;,&#xd;
2431                                   &quot;value&quot;: {&#xd;
2432                                     &quot;key&quot;: &quot;model-invariant-id&quot;,&#xd;
2433                                     &quot;fieldSchemaKey&quot;: {&#xd;
2434                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2435                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2436                                     },&#xd;
2437                                     &quot;optional&quot;: false&#xd;
2438                                   }&#xd;
2439                                 },&#xd;
2440                                 {&#xd;
2441                                   &quot;key&quot;: &quot;model-version-id&quot;,&#xd;
2442                                   &quot;value&quot;: {&#xd;
2443                                     &quot;key&quot;: &quot;model-version-id&quot;,&#xd;
2444                                     &quot;fieldSchemaKey&quot;: {&#xd;
2445                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2446                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2447                                     },&#xd;
2448                                     &quot;optional&quot;: false&#xd;
2449                                   }&#xd;
2450                                 },&#xd;
2451                                 {&#xd;
2452                                   &quot;key&quot;: &quot;orchestration-status&quot;,&#xd;
2453                                   &quot;value&quot;: {&#xd;
2454                                     &quot;key&quot;: &quot;orchestration-status&quot;,&#xd;
2455                                     &quot;fieldSchemaKey&quot;: {&#xd;
2456                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2457                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2458                                     },&#xd;
2459                                     &quot;optional&quot;: false&#xd;
2460                                   }&#xd;
2461                                 },&#xd;
2462                                 {&#xd;
2463                                   &quot;key&quot;: &quot;prov-status&quot;,&#xd;
2464                                   &quot;value&quot;: {&#xd;
2465                                     &quot;key&quot;: &quot;prov-status&quot;,&#xd;
2466                                     &quot;fieldSchemaKey&quot;: {&#xd;
2467                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2468                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2469                                     },&#xd;
2470                                     &quot;optional&quot;: false&#xd;
2471                                   }&#xd;
2472                                 },&#xd;
2473                                 {&#xd;
2474                                   &quot;key&quot;: &quot;relationship-list&quot;,&#xd;
2475                                   &quot;value&quot;: {&#xd;
2476                                     &quot;key&quot;: &quot;relationship-list&quot;,&#xd;
2477                                     &quot;fieldSchemaKey&quot;: {&#xd;
2478                                       &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
2479                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2480                                     },&#xd;
2481                                     &quot;optional&quot;: false&#xd;
2482                                   }&#xd;
2483                                 },&#xd;
2484                                 {&#xd;
2485                                   &quot;key&quot;: &quot;resource-version&quot;,&#xd;
2486                                   &quot;value&quot;: {&#xd;
2487                                     &quot;key&quot;: &quot;resource-version&quot;,&#xd;
2488                                     &quot;fieldSchemaKey&quot;: {&#xd;
2489                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2490                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2491                                     },&#xd;
2492                                     &quot;optional&quot;: false&#xd;
2493                                   }&#xd;
2494                                 },&#xd;
2495                                 {&#xd;
2496                                   &quot;key&quot;: &quot;service-id&quot;,&#xd;
2497                                   &quot;value&quot;: {&#xd;
2498                                     &quot;key&quot;: &quot;service-id&quot;,&#xd;
2499                                     &quot;fieldSchemaKey&quot;: {&#xd;
2500                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2501                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2502                                     },&#xd;
2503                                     &quot;optional&quot;: false&#xd;
2504                                   }&#xd;
2505                                 },&#xd;
2506                                 {&#xd;
2507                                   &quot;key&quot;: &quot;vnf-id&quot;,&#xd;
2508                                   &quot;value&quot;: {&#xd;
2509                                     &quot;key&quot;: &quot;vnf-id&quot;,&#xd;
2510                                     &quot;fieldSchemaKey&quot;: {&#xd;
2511                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2512                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2513                                     },&#xd;
2514                                     &quot;optional&quot;: false&#xd;
2515                                   }&#xd;
2516                                 },&#xd;
2517                                 {&#xd;
2518                                   &quot;key&quot;: &quot;vnf-name&quot;,&#xd;
2519                                   &quot;value&quot;: {&#xd;
2520                                     &quot;key&quot;: &quot;vnf-name&quot;,&#xd;
2521                                     &quot;fieldSchemaKey&quot;: {&#xd;
2522                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2523                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2524                                     },&#xd;
2525                                     &quot;optional&quot;: false&#xd;
2526                                   }&#xd;
2527                                 },&#xd;
2528                                 {&#xd;
2529                                   &quot;key&quot;: &quot;vnf-type&quot;,&#xd;
2530                                   &quot;value&quot;: {&#xd;
2531                                     &quot;key&quot;: &quot;vnf-type&quot;,&#xd;
2532                                     &quot;fieldSchemaKey&quot;: {&#xd;
2533                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2534                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2535                                     },&#xd;
2536                                     &quot;optional&quot;: false&#xd;
2537                                   }&#xd;
2538                                 }&#xd;
2539                               ]&#xd;
2540                             }&#xd;
2541                           }&#xd;
2542                         },&#xd;
2543                         {&#xd;
2544                           &quot;key&quot;: {&#xd;
2545                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
2546                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2547                           },&#xd;
2548                           &quot;value&quot;: {&#xd;
2549                             &quot;key&quot;: {&#xd;
2550                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
2551                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2552                             },&#xd;
2553                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2554                             &quot;source&quot;: &quot;CDS&quot;,&#xd;
2555                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
2556                             &quot;parameter&quot;: {&#xd;
2557                               &quot;entry&quot;: [&#xd;
2558                                 {&#xd;
2559                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2560                                   &quot;value&quot;: {&#xd;
2561                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2562                                     &quot;fieldSchemaKey&quot;: {&#xd;
2563                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
2564                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2565                                     },&#xd;
2566                                     &quot;optional&quot;: false&#xd;
2567                                   }&#xd;
2568                                 },&#xd;
2569                                 {&#xd;
2570                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2571                                   &quot;value&quot;: {&#xd;
2572                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2573                                     &quot;fieldSchemaKey&quot;: {&#xd;
2574                                       &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
2575                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2576                                     },&#xd;
2577                                     &quot;optional&quot;: false&#xd;
2578                                   }&#xd;
2579                                 },&#xd;
2580                                 {&#xd;
2581                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
2582                                   &quot;value&quot;: {&#xd;
2583                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
2584                                     &quot;fieldSchemaKey&quot;: {&#xd;
2585                                       &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
2586                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2587                                     },&#xd;
2588                                     &quot;optional&quot;: false&#xd;
2589                                   }&#xd;
2590                                 },&#xd;
2591                                 {&#xd;
2592                                   &quot;key&quot;: &quot;status&quot;,&#xd;
2593                                   &quot;value&quot;: {&#xd;
2594                                     &quot;key&quot;: &quot;status&quot;,&#xd;
2595                                     &quot;fieldSchemaKey&quot;: {&#xd;
2596                                       &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
2597                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2598                                     },&#xd;
2599                                     &quot;optional&quot;: false&#xd;
2600                                   }&#xd;
2601                                 }&#xd;
2602                               ]&#xd;
2603                             }&#xd;
2604                           }&#xd;
2605                         },&#xd;
2606                         {&#xd;
2607                           &quot;key&quot;: {&#xd;
2608                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
2609                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2610                           },&#xd;
2611                           &quot;value&quot;: {&#xd;
2612                             &quot;key&quot;: {&#xd;
2613                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyRequestEvent&quot;,&#xd;
2614                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2615                             },&#xd;
2616                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2617                             &quot;source&quot;: &quot;APEX&quot;,&#xd;
2618                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
2619                             &quot;parameter&quot;: {&#xd;
2620                               &quot;entry&quot;: [&#xd;
2621                                 {&#xd;
2622                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2623                                   &quot;value&quot;: {&#xd;
2624                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2625                                     &quot;fieldSchemaKey&quot;: {&#xd;
2626                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
2627                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2628                                     },&#xd;
2629                                     &quot;optional&quot;: false&#xd;
2630                                   }&#xd;
2631                                 },&#xd;
2632                                 {&#xd;
2633                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2634                                   &quot;value&quot;: {&#xd;
2635                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2636                                     &quot;fieldSchemaKey&quot;: {&#xd;
2637                                       &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
2638                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2639                                     },&#xd;
2640                                     &quot;optional&quot;: false&#xd;
2641                                   }&#xd;
2642                                 },&#xd;
2643                                 {&#xd;
2644                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
2645                                   &quot;value&quot;: {&#xd;
2646                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
2647                                     &quot;fieldSchemaKey&quot;: {&#xd;
2648                                       &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
2649                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2650                                     },&#xd;
2651                                     &quot;optional&quot;: false&#xd;
2652                                   }&#xd;
2653                                 }&#xd;
2654                               ]&#xd;
2655                             }&#xd;
2656                           }&#xd;
2657                         },&#xd;
2658                         {&#xd;
2659                           &quot;key&quot;: {&#xd;
2660                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
2661                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2662                           },&#xd;
2663                           &quot;value&quot;: {&#xd;
2664                             &quot;key&quot;: {&#xd;
2665                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
2666                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2667                             },&#xd;
2668                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2669                             &quot;source&quot;: &quot;CDS&quot;,&#xd;
2670                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
2671                             &quot;parameter&quot;: {&#xd;
2672                               &quot;entry&quot;: [&#xd;
2673                                 {&#xd;
2674                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2675                                   &quot;value&quot;: {&#xd;
2676                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2677                                     &quot;fieldSchemaKey&quot;: {&#xd;
2678                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
2679                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2680                                     },&#xd;
2681                                     &quot;optional&quot;: false&#xd;
2682                                   }&#xd;
2683                                 },&#xd;
2684                                 {&#xd;
2685                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2686                                   &quot;value&quot;: {&#xd;
2687                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2688                                     &quot;fieldSchemaKey&quot;: {&#xd;
2689                                       &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
2690                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2691                                     },&#xd;
2692                                     &quot;optional&quot;: false&#xd;
2693                                   }&#xd;
2694                                 },&#xd;
2695                                 {&#xd;
2696                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
2697                                   &quot;value&quot;: {&#xd;
2698                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
2699                                     &quot;fieldSchemaKey&quot;: {&#xd;
2700                                       &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
2701                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2702                                     },&#xd;
2703                                     &quot;optional&quot;: false&#xd;
2704                                   }&#xd;
2705                                 },&#xd;
2706                                 {&#xd;
2707                                   &quot;key&quot;: &quot;status&quot;,&#xd;
2708                                   &quot;value&quot;: {&#xd;
2709                                     &quot;key&quot;: &quot;status&quot;,&#xd;
2710                                     &quot;fieldSchemaKey&quot;: {&#xd;
2711                                       &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
2712                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2713                                     },&#xd;
2714                                     &quot;optional&quot;: false&#xd;
2715                                   }&#xd;
2716                                 }&#xd;
2717                               ]&#xd;
2718                             }&#xd;
2719                           }&#xd;
2720                         },&#xd;
2721                         {&#xd;
2722                           &quot;key&quot;: {&#xd;
2723                             &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
2724                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2725                           },&#xd;
2726                           &quot;value&quot;: {&#xd;
2727                             &quot;key&quot;: {&#xd;
2728                               &quot;name&quot;: &quot;ApexExample_CDSRestartFailureResponseEvent&quot;,&#xd;
2729                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2730                             },&#xd;
2731                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2732                             &quot;source&quot;: &quot;CDS&quot;,&#xd;
2733                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
2734                             &quot;parameter&quot;: {&#xd;
2735                               &quot;entry&quot;: [&#xd;
2736                                 {&#xd;
2737                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2738                                   &quot;value&quot;: {&#xd;
2739                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2740                                     &quot;fieldSchemaKey&quot;: {&#xd;
2741                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
2742                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2743                                     },&#xd;
2744                                     &quot;optional&quot;: false&#xd;
2745                                   }&#xd;
2746                                 },&#xd;
2747                                 {&#xd;
2748                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2749                                   &quot;value&quot;: {&#xd;
2750                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2751                                     &quot;fieldSchemaKey&quot;: {&#xd;
2752                                       &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
2753                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2754                                     },&#xd;
2755                                     &quot;optional&quot;: false&#xd;
2756                                   }&#xd;
2757                                 },&#xd;
2758                                 {&#xd;
2759                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
2760                                   &quot;value&quot;: {&#xd;
2761                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
2762                                     &quot;fieldSchemaKey&quot;: {&#xd;
2763                                       &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
2764                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2765                                     },&#xd;
2766                                     &quot;optional&quot;: false&#xd;
2767                                   }&#xd;
2768                                 },&#xd;
2769                                 {&#xd;
2770                                   &quot;key&quot;: &quot;status&quot;,&#xd;
2771                                   &quot;value&quot;: {&#xd;
2772                                     &quot;key&quot;: &quot;status&quot;,&#xd;
2773                                     &quot;fieldSchemaKey&quot;: {&#xd;
2774                                       &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
2775                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2776                                     },&#xd;
2777                                     &quot;optional&quot;: false&#xd;
2778                                   }&#xd;
2779                                 }&#xd;
2780                               ]&#xd;
2781                             }&#xd;
2782                           }&#xd;
2783                         },&#xd;
2784                         {&#xd;
2785                           &quot;key&quot;: {&#xd;
2786                             &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
2787                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2788                           },&#xd;
2789                           &quot;value&quot;: {&#xd;
2790                             &quot;key&quot;: {&#xd;
2791                               &quot;name&quot;: &quot;ApexExample_CDSRestartRequestEvent&quot;,&#xd;
2792                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2793                             },&#xd;
2794                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2795                             &quot;source&quot;: &quot;APEX&quot;,&#xd;
2796                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
2797                             &quot;parameter&quot;: {&#xd;
2798                               &quot;entry&quot;: [&#xd;
2799                                 {&#xd;
2800                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2801                                   &quot;value&quot;: {&#xd;
2802                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2803                                     &quot;fieldSchemaKey&quot;: {&#xd;
2804                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
2805                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2806                                     },&#xd;
2807                                     &quot;optional&quot;: false&#xd;
2808                                   }&#xd;
2809                                 },&#xd;
2810                                 {&#xd;
2811                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2812                                   &quot;value&quot;: {&#xd;
2813                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2814                                     &quot;fieldSchemaKey&quot;: {&#xd;
2815                                       &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
2816                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2817                                     },&#xd;
2818                                     &quot;optional&quot;: false&#xd;
2819                                   }&#xd;
2820                                 },&#xd;
2821                                 {&#xd;
2822                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
2823                                   &quot;value&quot;: {&#xd;
2824                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
2825                                     &quot;fieldSchemaKey&quot;: {&#xd;
2826                                       &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
2827                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2828                                     },&#xd;
2829                                     &quot;optional&quot;: false&#xd;
2830                                   }&#xd;
2831                                 }&#xd;
2832                               ]&#xd;
2833                             }&#xd;
2834                           }&#xd;
2835                         },&#xd;
2836                         {&#xd;
2837                           &quot;key&quot;: {&#xd;
2838                             &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
2839                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2840                           },&#xd;
2841                           &quot;value&quot;: {&#xd;
2842                             &quot;key&quot;: {&#xd;
2843                               &quot;name&quot;: &quot;ApexExample_CDSRestartSuccessResponseEvent&quot;,&#xd;
2844                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2845                             },&#xd;
2846                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2847                             &quot;source&quot;: &quot;CDS&quot;,&#xd;
2848                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
2849                             &quot;parameter&quot;: {&#xd;
2850                               &quot;entry&quot;: [&#xd;
2851                                 {&#xd;
2852                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2853                                   &quot;value&quot;: {&#xd;
2854                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
2855                                     &quot;fieldSchemaKey&quot;: {&#xd;
2856                                       &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
2857                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2858                                     },&#xd;
2859                                     &quot;optional&quot;: false&#xd;
2860                                   }&#xd;
2861                                 },&#xd;
2862                                 {&#xd;
2863                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2864                                   &quot;value&quot;: {&#xd;
2865                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2866                                     &quot;fieldSchemaKey&quot;: {&#xd;
2867                                       &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
2868                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2869                                     },&#xd;
2870                                     &quot;optional&quot;: false&#xd;
2871                                   }&#xd;
2872                                 },&#xd;
2873                                 {&#xd;
2874                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
2875                                   &quot;value&quot;: {&#xd;
2876                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
2877                                     &quot;fieldSchemaKey&quot;: {&#xd;
2878                                       &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
2879                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2880                                     },&#xd;
2881                                     &quot;optional&quot;: false&#xd;
2882                                   }&#xd;
2883                                 },&#xd;
2884                                 {&#xd;
2885                                   &quot;key&quot;: &quot;status&quot;,&#xd;
2886                                   &quot;value&quot;: {&#xd;
2887                                     &quot;key&quot;: &quot;status&quot;,&#xd;
2888                                     &quot;fieldSchemaKey&quot;: {&#xd;
2889                                       &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
2890                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2891                                     },&#xd;
2892                                     &quot;optional&quot;: false&#xd;
2893                                   }&#xd;
2894                                 }&#xd;
2895                               ]&#xd;
2896                             }&#xd;
2897                           }&#xd;
2898                         },&#xd;
2899                         {&#xd;
2900                           &quot;key&quot;: {&#xd;
2901                             &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
2902                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2903                           },&#xd;
2904                           &quot;value&quot;: {&#xd;
2905                             &quot;key&quot;: {&#xd;
2906                               &quot;name&quot;: &quot;ApexExample_LogStatusEvent&quot;,&#xd;
2907                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2908                             },&#xd;
2909                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2910                             &quot;source&quot;: &quot;APEX&quot;,&#xd;
2911                             &quot;target&quot;: &quot;DCAE&quot;,&#xd;
2912                             &quot;parameter&quot;: {&#xd;
2913                               &quot;entry&quot;: [&#xd;
2914                                 {&#xd;
2915                                   &quot;key&quot;: &quot;message&quot;,&#xd;
2916                                   &quot;value&quot;: {&#xd;
2917                                     &quot;key&quot;: &quot;message&quot;,&#xd;
2918                                     &quot;fieldSchemaKey&quot;: {&#xd;
2919                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2920                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2921                                     },&#xd;
2922                                     &quot;optional&quot;: false&#xd;
2923                                   }&#xd;
2924                                 }&#xd;
2925                               ]&#xd;
2926                             }&#xd;
2927                           }&#xd;
2928                         },&#xd;
2929                         {&#xd;
2930                           &quot;key&quot;: {&#xd;
2931                             &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
2932                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2933                           },&#xd;
2934                           &quot;value&quot;: {&#xd;
2935                             &quot;key&quot;: {&#xd;
2936                               &quot;name&quot;: &quot;ApexExample_VesEvent&quot;,&#xd;
2937                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2938                             },&#xd;
2939                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.example&quot;,&#xd;
2940                             &quot;source&quot;: &quot;DCAE&quot;,&#xd;
2941                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
2942                             &quot;parameter&quot;: {&#xd;
2943                               &quot;entry&quot;: [&#xd;
2944                                 {&#xd;
2945                                   &quot;key&quot;: &quot;event&quot;,&#xd;
2946                                   &quot;value&quot;: {&#xd;
2947                                     &quot;key&quot;: &quot;event&quot;,&#xd;
2948                                     &quot;fieldSchemaKey&quot;: {&#xd;
2949                                       &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
2950                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2951                                     },&#xd;
2952                                     &quot;optional&quot;: false&#xd;
2953                                   }&#xd;
2954                                 }&#xd;
2955                               ]&#xd;
2956                             }&#xd;
2957                           }&#xd;
2958                         }&#xd;
2959                       ]&#xd;
2960                     }&#xd;
2961                   },&#xd;
2962                   &quot;albums&quot;: {&#xd;
2963                     &quot;key&quot;: {&#xd;
2964                       &quot;name&quot;: &quot;onap.policies.apex.Example_Albums&quot;,&#xd;
2965                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2966                     },&#xd;
2967                     &quot;albums&quot;: {&#xd;
2968                       &quot;entry&quot;: [&#xd;
2969                         {&#xd;
2970                           &quot;key&quot;: {&#xd;
2971                             &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
2972                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2973                           },&#xd;
2974                           &quot;value&quot;: {&#xd;
2975                             &quot;key&quot;: {&#xd;
2976                               &quot;name&quot;: &quot;ApexExample_EventDetailsAlbum&quot;,&#xd;
2977                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2978                             },&#xd;
2979                             &quot;scope&quot;: &quot;policy&quot;,&#xd;
2980                             &quot;isWritable&quot;: true,&#xd;
2981                             &quot;itemSchema&quot;: {&#xd;
2982                               &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
2983                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2984                             }&#xd;
2985                           }&#xd;
2986                         }&#xd;
2987                       ]&#xd;
2988                     }&#xd;
2989                   },&#xd;
2990                   &quot;schemas&quot;: {&#xd;
2991                     &quot;key&quot;: {&#xd;
2992                       &quot;name&quot;: &quot;onap.policies.apex.Example_Schemas&quot;,&#xd;
2993                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2994                     },&#xd;
2995                     &quot;schemas&quot;: {&#xd;
2996                       &quot;entry&quot;: [&#xd;
2997                         {&#xd;
2998                           &quot;key&quot;: {&#xd;
2999                             &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
3000                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3001                           },&#xd;
3002                           &quot;value&quot;: {&#xd;
3003                             &quot;key&quot;: {&#xd;
3004                               &quot;name&quot;: &quot;ApexExample_AAIRequestErrorType&quot;,&#xd;
3005                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3006                             },&#xd;
3007                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3008                             &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;
3009                           }&#xd;
3010                         },&#xd;
3011                         {&#xd;
3012                           &quot;key&quot;: {&#xd;
3013                             &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
3014                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3015                           },&#xd;
3016                           &quot;value&quot;: {&#xd;
3017                             &quot;key&quot;: {&#xd;
3018                               &quot;name&quot;: &quot;ApexExample_CDSActionIdentifiersType&quot;,&#xd;
3019                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3020                             },&#xd;
3021                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3022                             &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;
3023                           }&#xd;
3024                         },&#xd;
3025                         {&#xd;
3026                           &quot;key&quot;: {&#xd;
3027                             &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
3028                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3029                           },&#xd;
3030                           &quot;value&quot;: {&#xd;
3031                             &quot;key&quot;: {&#xd;
3032                               &quot;name&quot;: &quot;ApexExample_CDSConfigModifyResponsePayloadType&quot;,&#xd;
3033                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3034                             },&#xd;
3035                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3036                             &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;
3037                           }&#xd;
3038                         },&#xd;
3039                         {&#xd;
3040                           &quot;key&quot;: {&#xd;
3041                             &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
3042                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3043                           },&#xd;
3044                           &quot;value&quot;: {&#xd;
3045                             &quot;key&quot;: {&#xd;
3046                               &quot;name&quot;: &quot;ApexExample_CDSFailureResponseCommonHeaderType&quot;,&#xd;
3047                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3048                             },&#xd;
3049                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3050                             &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;
3051                           }&#xd;
3052                         },&#xd;
3053                         {&#xd;
3054                           &quot;key&quot;: {&#xd;
3055                             &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
3056                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3057                           },&#xd;
3058                           &quot;value&quot;: {&#xd;
3059                             &quot;key&quot;: {&#xd;
3060                               &quot;name&quot;: &quot;ApexExample_CDSFailureResponseStatusType&quot;,&#xd;
3061                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3062                             },&#xd;
3063                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3064                             &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;
3065                           }&#xd;
3066                         },&#xd;
3067                         {&#xd;
3068                           &quot;key&quot;: {&#xd;
3069                             &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
3070                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3071                           },&#xd;
3072                           &quot;value&quot;: {&#xd;
3073                             &quot;key&quot;: {&#xd;
3074                               &quot;name&quot;: &quot;ApexExample_CDSRequestCommonHeaderType&quot;,&#xd;
3075                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3076                             },&#xd;
3077                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3078                             &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;
3079                           }&#xd;
3080                         },&#xd;
3081                         {&#xd;
3082                           &quot;key&quot;: {&#xd;
3083                             &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
3084                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3085                           },&#xd;
3086                           &quot;value&quot;: {&#xd;
3087                             &quot;key&quot;: {&#xd;
3088                               &quot;name&quot;: &quot;ApexExample_CDSRequestPayloadType&quot;,&#xd;
3089                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3090                             },&#xd;
3091                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3092                             &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;
3093                           }&#xd;
3094                         },&#xd;
3095                         {&#xd;
3096                           &quot;key&quot;: {&#xd;
3097                             &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
3098                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3099                           },&#xd;
3100                           &quot;value&quot;: {&#xd;
3101                             &quot;key&quot;: {&#xd;
3102                               &quot;name&quot;: &quot;ApexExample_CDSRestartResponsePayloadType&quot;,&#xd;
3103                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3104                             },&#xd;
3105                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3106                             &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;
3107                           }&#xd;
3108                         },&#xd;
3109                         {&#xd;
3110                           &quot;key&quot;: {&#xd;
3111                             &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
3112                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3113                           },&#xd;
3114                           &quot;value&quot;: {&#xd;
3115                             &quot;key&quot;: {&#xd;
3116                               &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
3117                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3118                             },&#xd;
3119                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3120                             &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;
3121                           }&#xd;
3122                         },&#xd;
3123                         {&#xd;
3124                           &quot;key&quot;: {&#xd;
3125                             &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
3126                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3127                           },&#xd;
3128                           &quot;value&quot;: {&#xd;
3129                             &quot;key&quot;: {&#xd;
3130                               &quot;name&quot;: &quot;ApexExample_CDSSuccessResponseStatusType&quot;,&#xd;
3131                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3132                             },&#xd;
3133                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3134                             &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;
3135                           }&#xd;
3136                         },&#xd;
3137                         {&#xd;
3138                           &quot;key&quot;: {&#xd;
3139                             &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
3140                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3141                           },&#xd;
3142                           &quot;value&quot;: {&#xd;
3143                             &quot;key&quot;: {&#xd;
3144                               &quot;name&quot;: &quot;ApexExample_EventDetailsAlbumType&quot;,&#xd;
3145                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3146                             },&#xd;
3147                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3148                             &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;
3149                           }&#xd;
3150                         },&#xd;
3151                         {&#xd;
3152                           &quot;key&quot;: {&#xd;
3153                             &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
3154                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3155                           },&#xd;
3156                           &quot;value&quot;: {&#xd;
3157                             &quot;key&quot;: {&#xd;
3158                               &quot;name&quot;: &quot;ApexExample_VesEventType&quot;,&#xd;
3159                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3160                             },&#xd;
3161                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3162                             &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;
3163                           }&#xd;
3164                         },&#xd;
3165                         {&#xd;
3166                           &quot;key&quot;: {&#xd;
3167                             &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
3168                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3169                           },&#xd;
3170                           &quot;value&quot;: {&#xd;
3171                             &quot;key&quot;: {&#xd;
3172                               &quot;name&quot;: &quot;ApexExample_VnfRelationShipListType&quot;,&#xd;
3173                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3174                             },&#xd;
3175                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
3176                             &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;
3177                           }&#xd;
3178                         },&#xd;
3179                         {&#xd;
3180                           &quot;key&quot;: {&#xd;
3181                             &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
3182                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3183                           },&#xd;
3184                           &quot;value&quot;: {&#xd;
3185                             &quot;key&quot;: {&#xd;
3186                               &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
3187                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3188                             },&#xd;
3189                             &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
3190                             &quot;schemaDefinition&quot;: &quot;java.lang.Boolean&quot;&#xd;
3191                           }&#xd;
3192                         },&#xd;
3193                         {&#xd;
3194                           &quot;key&quot;: {&#xd;
3195                             &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
3196                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3197                           },&#xd;
3198                           &quot;value&quot;: {&#xd;
3199                             &quot;key&quot;: {&#xd;
3200                               &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
3201                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3202                             },&#xd;
3203                             &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
3204                             &quot;schemaDefinition&quot;: &quot;java.lang.Long&quot;&#xd;
3205                           }&#xd;
3206                         },&#xd;
3207                         {&#xd;
3208                           &quot;key&quot;: {&#xd;
3209                             &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3210                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3211                           },&#xd;
3212                           &quot;value&quot;: {&#xd;
3213                             &quot;key&quot;: {&#xd;
3214                               &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3215                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3216                             },&#xd;
3217                             &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
3218                             &quot;schemaDefinition&quot;: &quot;java.lang.String&quot;&#xd;
3219                           }&#xd;
3220                         }&#xd;
3221                       ]&#xd;
3222                     }&#xd;
3223                   }&#xd;
3224                 }&#xd;
3225               }&#xd;
3226             },&#xd;
3227             &quot;eventInputParameters&quot;: {&#xd;
3228               &quot;ApexExample_DCAEConsumer&quot;: {&#xd;
3229                 &quot;carrierTechnologyParameters&quot;: {&#xd;
3230                   &quot;carrierTechnology&quot;: &quot;KAFKA&quot;,&#xd;
3231                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters&quot;,&#xd;
3232                   &quot;parameters&quot;: {&#xd;
3233                     &quot;bootstrapServers&quot;: &quot;kafka:9092&quot;,&#xd;
3234                     &quot;groupId&quot;: &quot;apex-group&quot;,&#xd;
3235                     &quot;enableAutoCommit&quot;: true,&#xd;
3236                              &quot;autoCommitTime&quot;: 1000,&#xd;
3237                              &quot;sessionTimeout&quot;: 30000,&#xd;
3238                              &quot;consumerPollTime&quot;: 100,&#xd;
3239                              &quot;consumerTopicList&quot;: [&quot;unauthenticated.dcae_policy_example_output&quot;],&#xd;
3240                              &quot;keyDeserializer&quot;: &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;,&#xd;
3241                              &quot;valueDeserializer&quot;: &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;&#xd;
3242                   }&#xd;
3243                 },&#xd;
3244                 &quot;eventProtocolParameters&quot;: {&#xd;
3245                   &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
3246                 },&#xd;
3247                 &quot;eventName&quot;: &quot;ApexExample_VesEvent&quot;&#xd;
3248               }&#xd;
3249             },&#xd;
3250             &quot;eventOutputParameters&quot;: {&#xd;
3251               &quot;ApexExample_AAIProducer&quot;: {&#xd;
3252                 &quot;carrierTechnologyParameters&quot;: {&#xd;
3253                   &quot;carrierTechnology&quot;: &quot;KAFKA&quot;,&#xd;
3254                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters&quot;,&#xd;
3255                   &quot;parameters&quot;: {&#xd;
3256                     &quot;bootstrapServers&quot;: &quot;kafka:9092&quot;,&#xd;
3257                     &quot;acks&quot;: &quot;all&quot;,&#xd;
3258                     &quot;retries&quot;: 0,&#xd;
3259                     &quot;batchSize&quot;: 16384,&#xd;
3260                     &quot;lingerTime&quot;: 1,&#xd;
3261                     &quot;bufferMemory&quot;: 33554432,&#xd;
3262                     &quot;producerTopic&quot;: &quot;apex-cl-mgt&quot;,&#xd;
3263                     &quot;keySerializer&quot;: &quot;org.apache.kafka.common.serialization.StringSerializer&quot;,&#xd;
3264                     &quot;valueSerializer&quot;: &quot;org.apache.kafka.common.serialization.StringSerializer&quot;&#xd;
3265                   }&#xd;
3266                 },&#xd;
3267                 &quot;eventProtocolParameters&quot;: {&#xd;
3268                   &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
3269                 }&#xd;
3270               }&#xd;
3271             }&#xd;
3272           }&#xd;
3273         }&#xd;
3274       }&#xd;
3275     ]&#xd;
3276   }&#xd;
3277 }</stringProp>
3278                 <stringProp name="Argument.metadata">=</stringProp>
3279               </elementProp>
3280             </collectionProp>
3281           </elementProp>
3282         </HTTPSamplerProxy>
3283         <hashTree>
3284           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3285             <collectionProp name="Asserion.test_strings">
3286               <stringProp name="49586">200</stringProp>
3287             </collectionProp>
3288             <stringProp name="Assertion.custom_message"></stringProp>
3289             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3290             <boolProp name="Assertion.assume_success">false</boolProp>
3291             <intProp name="Assertion.test_type">1</intProp>
3292           </ResponseAssertion>
3293           <hashTree/>
3294         </hashTree>
3295         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-SimpleCL">
3296           <intProp name="HTTPSampler.concurrentPool">6</intProp>
3297           <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
3298           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3299           <stringProp name="HTTPSampler.protocol">http</stringProp>
3300           <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
3301           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3302           <stringProp name="HTTPSampler.method">POST</stringProp>
3303           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3304           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
3305           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
3306             <collectionProp name="Arguments.arguments">
3307               <elementProp name="" elementType="HTTPArgument">
3308                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
3309                 <stringProp name="Argument.value">{&#xd;
3310   &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
3311   &quot;topology_template&quot;: {&#xd;
3312     &quot;policies&quot;: [&#xd;
3313       {&#xd;
3314         &quot;onap.policies.apex.Simplecontrolloop&quot;: {&#xd;
3315           &quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
3316           &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
3317           &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
3318           &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
3319           &quot;properties&quot;: {&#xd;
3320             &quot;engineServiceParameters&quot;: {&#xd;
3321               &quot;name&quot;: &quot;NSOApexEngine&quot;,&#xd;
3322               &quot;version&quot;: &quot;0.0.1&quot;,&#xd;
3323               &quot;id&quot;: 45,&#xd;
3324               &quot;instanceCount&quot;: 5,&#xd;
3325               &quot;deploymentPort&quot;: 12561,&#xd;
3326               &quot;engineParameters&quot;: {&#xd;
3327                 &quot;executorParameters&quot;: {&#xd;
3328                   &quot;JAVASCRIPT&quot;: {&#xd;
3329                     &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters&quot;&#xd;
3330                   }&#xd;
3331                 },&#xd;
3332                 &quot;contextParameters&quot;: {&#xd;
3333                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.context.parameters.ContextParameters&quot;,&#xd;
3334                   &quot;schemaParameters&quot;: {&#xd;
3335                     &quot;Avro&quot;: {&#xd;
3336                       &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters&quot;&#xd;
3337                     }&#xd;
3338                   }&#xd;
3339                 }&#xd;
3340               },&#xd;
3341               &quot;policy_type_impl&quot;: {&#xd;
3342                 &quot;apexPolicyModel&quot;: {&#xd;
3343                   &quot;key&quot;: {&#xd;
3344                     &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
3345                     &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3346                   },&#xd;
3347                   &quot;keyInformation&quot;: {&#xd;
3348                     &quot;key&quot;: {&#xd;
3349                       &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_KeyInfo&quot;,&#xd;
3350                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3351                     },&#xd;
3352                     &quot;keyInfoMap&quot;: {&#xd;
3353                       &quot;entry&quot;: [&#xd;
3354                         {&#xd;
3355                           &quot;key&quot;: {&#xd;
3356                             &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
3357                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3358                           },&#xd;
3359                           &quot;value&quot;: {&#xd;
3360                             &quot;key&quot;: {&#xd;
3361                               &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
3362                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3363                             },&#xd;
3364                             &quot;UUID&quot;: &quot;7218fb2f-59e3-321d-9ae1-bc97b19eb4ae&quot;,&#xd;
3365                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleBooleanType:0.0.1\&quot;&quot;&#xd;
3366                           }&#xd;
3367                         },&#xd;
3368                         {&#xd;
3369                           &quot;key&quot;: {&#xd;
3370                             &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
3371                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3372                           },&#xd;
3373                           &quot;value&quot;: {&#xd;
3374                             &quot;key&quot;: {&#xd;
3375                               &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
3376                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3377                             },&#xd;
3378                             &quot;UUID&quot;: &quot;c8a29e27-0a15-354a-84f9-4c7f207e5c81&quot;,&#xd;
3379                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
3380                           }&#xd;
3381                         },&#xd;
3382                         {&#xd;
3383                           &quot;key&quot;: {&#xd;
3384                             &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
3385                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3386                           },&#xd;
3387                           &quot;value&quot;: {&#xd;
3388                             &quot;key&quot;: {&#xd;
3389                               &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
3390                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3391                             },&#xd;
3392                             &quot;UUID&quot;: &quot;5e843cee-0180-39b9-8989-180b2ffe11c0&quot;,&#xd;
3393                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
3394                           }&#xd;
3395                         },&#xd;
3396                         {&#xd;
3397                           &quot;key&quot;: {&#xd;
3398                             &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
3399                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3400                           },&#xd;
3401                           &quot;value&quot;: {&#xd;
3402                             &quot;key&quot;: {&#xd;
3403                               &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
3404                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3405                             },&#xd;
3406                             &quot;UUID&quot;: &quot;90291c92-9b27-3cd9-8720-db572419c048&quot;,&#xd;
3407                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIRequestErrorType:0.0.1\&quot;&quot;&#xd;
3408                           }&#xd;
3409                         },&#xd;
3410                         {&#xd;
3411                           &quot;key&quot;: {&#xd;
3412                             &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
3413                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3414                           },&#xd;
3415                           &quot;value&quot;: {&#xd;
3416                             &quot;key&quot;: {&#xd;
3417                               &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
3418                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3419                             },&#xd;
3420                             &quot;UUID&quot;: &quot;7b7e6751-4e0b-389d-98c0-5567bbc0294c&quot;,&#xd;
3421                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIRequestEvent:0.0.1\&quot;&quot;&#xd;
3422                           }&#xd;
3423                         },&#xd;
3424                         {&#xd;
3425                           &quot;key&quot;: {&#xd;
3426                             &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
3427                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3428                           },&#xd;
3429                           &quot;value&quot;: {&#xd;
3430                             &quot;key&quot;: {&#xd;
3431                               &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
3432                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3433                             },&#xd;
3434                             &quot;UUID&quot;: &quot;63d5680c-14ef-3505-8d34-ebb646bba07b&quot;,&#xd;
3435                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAISuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
3436                           }&#xd;
3437                         },&#xd;
3438                         {&#xd;
3439                           &quot;key&quot;: {&#xd;
3440                             &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
3441                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3442                           },&#xd;
3443                           &quot;value&quot;: {&#xd;
3444                             &quot;key&quot;: {&#xd;
3445                               &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
3446                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3447                             },&#xd;
3448                             &quot;UUID&quot;: &quot;a84ca97d-6e94-39a2-91f9-59a6c9aa435e&quot;,&#xd;
3449                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
3450                           }&#xd;
3451                         },&#xd;
3452                         {&#xd;
3453                           &quot;key&quot;: {&#xd;
3454                             &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
3455                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3456                           },&#xd;
3457                           &quot;value&quot;: {&#xd;
3458                             &quot;key&quot;: {&#xd;
3459                               &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
3460                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3461                             },&#xd;
3462                             &quot;UUID&quot;: &quot;0e2ee622-7fd3-3e49-82e2-539c4f5e9624&quot;,&#xd;
3463                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSActionIdentifiersType:0.0.1\&quot;&quot;&#xd;
3464                           }&#xd;
3465                         },&#xd;
3466                         {&#xd;
3467                           &quot;key&quot;: {&#xd;
3468                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
3469                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3470                           },&#xd;
3471                           &quot;value&quot;: {&#xd;
3472                             &quot;key&quot;: {&#xd;
3473                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
3474                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3475                             },&#xd;
3476                             &quot;UUID&quot;: &quot;e84f8682-ea33-3ad0-8626-8bc4634581fc&quot;,&#xd;
3477                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
3478                           }&#xd;
3479                         },&#xd;
3480                         {&#xd;
3481                           &quot;key&quot;: {&#xd;
3482                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
3483                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3484                           },&#xd;
3485                           &quot;value&quot;: {&#xd;
3486                             &quot;key&quot;: {&#xd;
3487                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
3488                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3489                             },&#xd;
3490                             &quot;UUID&quot;: &quot;a252f835-2479-38ef-9ef4-20af62725752&quot;,&#xd;
3491                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
3492                           }&#xd;
3493                         },&#xd;
3494                         {&#xd;
3495                           &quot;key&quot;: {&#xd;
3496                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
3497                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3498                           },&#xd;
3499                           &quot;value&quot;: {&#xd;
3500                             &quot;key&quot;: {&#xd;
3501                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
3502                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3503                             },&#xd;
3504                             &quot;UUID&quot;: &quot;cfc46ea9-b8c1-38dd-ac9c-304c916daf34&quot;,&#xd;
3505                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\&quot;&quot;&#xd;
3506                           }&#xd;
3507                         },&#xd;
3508                         {&#xd;
3509                           &quot;key&quot;: {&#xd;
3510                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
3511                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3512                           },&#xd;
3513                           &quot;value&quot;: {&#xd;
3514                             &quot;key&quot;: {&#xd;
3515                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
3516                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3517                             },&#xd;
3518                             &quot;UUID&quot;: &quot;1e7095d6-a455-3f89-acae-486e35d7e311&quot;,&#xd;
3519                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyRequestEvent:0.0.1\&quot;&quot;&#xd;
3520                           }&#xd;
3521                         },&#xd;
3522                         {&#xd;
3523                           &quot;key&quot;: {&#xd;
3524                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
3525                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3526                           },&#xd;
3527                           &quot;value&quot;: {&#xd;
3528                             &quot;key&quot;: {&#xd;
3529                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
3530                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3531                             },&#xd;
3532                             &quot;UUID&quot;: &quot;d22ea83b-695d-3da9-b9f5-41f16ca433bf&quot;,&#xd;
3533                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\&quot;&quot;&#xd;
3534                           }&#xd;
3535                         },&#xd;
3536                         {&#xd;
3537                           &quot;key&quot;: {&#xd;
3538                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
3539                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3540                           },&#xd;
3541                           &quot;value&quot;: {&#xd;
3542                             &quot;key&quot;: {&#xd;
3543                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
3544                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3545                             },&#xd;
3546                             &quot;UUID&quot;: &quot;e9fe2e40-1f0d-30dd-8b9e-885695878693&quot;,&#xd;
3547                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\&quot;&quot;&#xd;
3548                           }&#xd;
3549                         },&#xd;
3550                         {&#xd;
3551                           &quot;key&quot;: {&#xd;
3552                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
3553                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3554                           },&#xd;
3555                           &quot;value&quot;: {&#xd;
3556                             &quot;key&quot;: {&#xd;
3557                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
3558                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3559                             },&#xd;
3560                             &quot;UUID&quot;: &quot;5e04fa76-0a17-38a9-8524-23b2d1a23fa5&quot;,&#xd;
3561                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
3562                           }&#xd;
3563                         },&#xd;
3564                         {&#xd;
3565                           &quot;key&quot;: {&#xd;
3566                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
3567                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3568                           },&#xd;
3569                           &quot;value&quot;: {&#xd;
3570                             &quot;key&quot;: {&#xd;
3571                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
3572                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3573                             },&#xd;
3574                             &quot;UUID&quot;: &quot;15866380-40f5-3f8e-87d9-13747a36d352&quot;,&#xd;
3575                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
3576                           }&#xd;
3577                         },&#xd;
3578                         {&#xd;
3579                           &quot;key&quot;: {&#xd;
3580                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
3581                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3582                           },&#xd;
3583                           &quot;value&quot;: {&#xd;
3584                             &quot;key&quot;: {&#xd;
3585                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
3586                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3587                             },&#xd;
3588                             &quot;UUID&quot;: &quot;2c3d76ce-dd42-32ac-a397-ab418534e1cf&quot;,&#xd;
3589                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\&quot;&quot;&#xd;
3590                           }&#xd;
3591                         },&#xd;
3592                         {&#xd;
3593                           &quot;key&quot;: {&#xd;
3594                             &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
3595                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3596                           },&#xd;
3597                           &quot;value&quot;: {&#xd;
3598                             &quot;key&quot;: {&#xd;
3599                               &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
3600                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3601                             },&#xd;
3602                             &quot;UUID&quot;: &quot;b99c44da-dae7-3c96-b528-58852537d063&quot;,&#xd;
3603                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
3604                           }&#xd;
3605                         },&#xd;
3606                         {&#xd;
3607                           &quot;key&quot;: {&#xd;
3608                             &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
3609                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3610                           },&#xd;
3611                           &quot;value&quot;: {&#xd;
3612                             &quot;key&quot;: {&#xd;
3613                               &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
3614                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3615                             },&#xd;
3616                             &quot;UUID&quot;: &quot;1db688e2-3afe-3b03-9795-fdbfa80fa240&quot;,&#xd;
3617                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSFailureResponseStatusType:0.0.1\&quot;&quot;&#xd;
3618                           }&#xd;
3619                         },&#xd;
3620                         {&#xd;
3621                           &quot;key&quot;: {&#xd;
3622                             &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
3623                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3624                           },&#xd;
3625                           &quot;value&quot;: {&#xd;
3626                             &quot;key&quot;: {&#xd;
3627                               &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
3628                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3629                             },&#xd;
3630                             &quot;UUID&quot;: &quot;31022456-e85b-3a9b-9ecb-a09691792d3e&quot;,&#xd;
3631                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSRequestCommonHeaderType:0.0.1\&quot;&quot;&#xd;
3632                           }&#xd;
3633                         },&#xd;
3634                         {&#xd;
3635                           &quot;key&quot;: {&#xd;
3636                             &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
3637                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3638                           },&#xd;
3639                           &quot;value&quot;: {&#xd;
3640                             &quot;key&quot;: {&#xd;
3641                               &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
3642                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3643                             },&#xd;
3644                             &quot;UUID&quot;: &quot;d6075720-622e-3a0d-827a-aa4580a2f5d7&quot;,&#xd;
3645                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
3646                           }&#xd;
3647                         },&#xd;
3648                         {&#xd;
3649                           &quot;key&quot;: {&#xd;
3650                             &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
3651                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3652                           },&#xd;
3653                           &quot;value&quot;: {&#xd;
3654                             &quot;key&quot;: {&#xd;
3655                               &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
3656                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3657                             },&#xd;
3658                             &quot;UUID&quot;: &quot;948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5&quot;,&#xd;
3659                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSSuccessResponseStatusType:0.0.1\&quot;&quot;&#xd;
3660                           }&#xd;
3661                         },&#xd;
3662                         {&#xd;
3663                           &quot;key&quot;: {&#xd;
3664                             &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
3665                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3666                           },&#xd;
3667                           &quot;value&quot;: {&#xd;
3668                             &quot;key&quot;: {&#xd;
3669                               &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
3670                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3671                             },&#xd;
3672                             &quot;UUID&quot;: &quot;63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644&quot;,&#xd;
3673                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_EventDetailsAlbum:0.0.1\&quot;&quot;&#xd;
3674                           }&#xd;
3675                         },&#xd;
3676                         {&#xd;
3677                           &quot;key&quot;: {&#xd;
3678                             &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
3679                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3680                           },&#xd;
3681                           &quot;value&quot;: {&#xd;
3682                             &quot;key&quot;: {&#xd;
3683                               &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
3684                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3685                             },&#xd;
3686                             &quot;UUID&quot;: &quot;a0407d0b-5719-38bf-9529-25ad62ace8c4&quot;,&#xd;
3687                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_EventDetailsAlbumType:0.0.1\&quot;&quot;&#xd;
3688                           }&#xd;
3689                         },&#xd;
3690                         {&#xd;
3691                           &quot;key&quot;: {&#xd;
3692                             &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
3693                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3694                           },&#xd;
3695                           &quot;value&quot;: {&#xd;
3696                             &quot;key&quot;: {&#xd;
3697                               &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
3698                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3699                             },&#xd;
3700                             &quot;UUID&quot;: &quot;28e894dc-4ab8-3469-aab7-d81bd05bb4c9&quot;,&#xd;
3701                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleAAIFailureResponseTask:0.0.1\&quot;&quot;&#xd;
3702                           }&#xd;
3703                         },&#xd;
3704                         {&#xd;
3705                           &quot;key&quot;: {&#xd;
3706                             &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
3707                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3708                           },&#xd;
3709                           &quot;value&quot;: {&#xd;
3710                             &quot;key&quot;: {&#xd;
3711                               &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
3712                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3713                             },&#xd;
3714                             &quot;UUID&quot;: &quot;073f1433-999e-3506-98ad-ef820d2fa7f0&quot;,&#xd;
3715                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleAAISuccessResponseTask:0.0.1\&quot;&quot;&#xd;
3716                           }&#xd;
3717                         },&#xd;
3718                         {&#xd;
3719                           &quot;key&quot;: {&#xd;
3720                             &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
3721                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3722                           },&#xd;
3723                           &quot;value&quot;: {&#xd;
3724                             &quot;key&quot;: {&#xd;
3725                               &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
3726                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3727                             },&#xd;
3728                             &quot;UUID&quot;: &quot;afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74&quot;,&#xd;
3729                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleVesEventTask:0.0.1\&quot;&quot;&#xd;
3730                           }&#xd;
3731                         },&#xd;
3732                         {&#xd;
3733                           &quot;key&quot;: {&#xd;
3734                             &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
3735                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3736                           },&#xd;
3737                           &quot;value&quot;: {&#xd;
3738                             &quot;key&quot;: {&#xd;
3739                               &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
3740                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3741                             },&#xd;
3742                             &quot;UUID&quot;: &quot;317be184-a01a-3e2d-9ae4-cafaa405de70&quot;,&#xd;
3743                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEvent:0.0.1\&quot;&quot;&#xd;
3744                           }&#xd;
3745                         },&#xd;
3746                         {&#xd;
3747                           &quot;key&quot;: {&#xd;
3748                             &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
3749                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3750                           },&#xd;
3751                           &quot;value&quot;: {&#xd;
3752                             &quot;key&quot;: {&#xd;
3753                               &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
3754                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3755                             },&#xd;
3756                             &quot;UUID&quot;: &quot;be7fc79b-9b73-381a-8e23-9dd6e6b1233d&quot;,&#xd;
3757                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEventComponentType:0.0.1\&quot;&quot;&#xd;
3758                           }&#xd;
3759                         },&#xd;
3760                         {&#xd;
3761                           &quot;key&quot;: {&#xd;
3762                             &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
3763                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3764                           },&#xd;
3765                           &quot;value&quot;: {&#xd;
3766                             &quot;key&quot;: {&#xd;
3767                               &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
3768                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3769                             },&#xd;
3770                             &quot;UUID&quot;: &quot;1a082851-49e3-3f4c-b023-c05236cc8389&quot;,&#xd;
3771                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEventOtherFieldsType:0.0.1\&quot;&quot;&#xd;
3772                           }&#xd;
3773                         },&#xd;
3774                         {&#xd;
3775                           &quot;key&quot;: {&#xd;
3776                             &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
3777                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3778                           },&#xd;
3779                           &quot;value&quot;: {&#xd;
3780                             &quot;key&quot;: {&#xd;
3781                               &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
3782                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3783                             },&#xd;
3784                             &quot;UUID&quot;: &quot;cab6cd51-ea7b-3241-a173-ea8a24e29737&quot;,&#xd;
3785                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogEventTargetType:0.0.1\&quot;&quot;&#xd;
3786                           }&#xd;
3787                         },&#xd;
3788                         {&#xd;
3789                           &quot;key&quot;: {&#xd;
3790                             &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
3791                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3792                           },&#xd;
3793                           &quot;value&quot;: {&#xd;
3794                             &quot;key&quot;: {&#xd;
3795                               &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
3796                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3797                             },&#xd;
3798                             &quot;UUID&quot;: &quot;0f57665a-f0a9-314e-ad0a-04c1f5758174&quot;,&#xd;
3799                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEvent:0.0.1\&quot;&quot;&#xd;
3800                           }&#xd;
3801                         },&#xd;
3802                         {&#xd;
3803                           &quot;key&quot;: {&#xd;
3804                             &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
3805                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3806                           },&#xd;
3807                           &quot;value&quot;: {&#xd;
3808                             &quot;key&quot;: {&#xd;
3809                               &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
3810                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3811                             },&#xd;
3812                             &quot;UUID&quot;: &quot;ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b&quot;,&#xd;
3813                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEventHandlerPolicy:0.0.1\&quot;&quot;&#xd;
3814                           }&#xd;
3815                         },&#xd;
3816                         {&#xd;
3817                           &quot;key&quot;: {&#xd;
3818                             &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
3819                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3820                           },&#xd;
3821                           &quot;value&quot;: {&#xd;
3822                             &quot;key&quot;: {&#xd;
3823                               &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
3824                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3825                             },&#xd;
3826                             &quot;UUID&quot;: &quot;9fd7a967-57d4-36ef-81e9-c3396f3aa8d1&quot;,&#xd;
3827                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEventType:0.0.1\&quot;&quot;&#xd;
3828                           }&#xd;
3829                         },&#xd;
3830                         {&#xd;
3831                           &quot;key&quot;: {&#xd;
3832                             &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
3833                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3834                           },&#xd;
3835                           &quot;value&quot;: {&#xd;
3836                             &quot;key&quot;: {&#xd;
3837                               &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
3838                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3839                             },&#xd;
3840                             &quot;UUID&quot;: &quot;2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574&quot;,&#xd;
3841                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleLongType:0.0.1\&quot;&quot;&#xd;
3842                           }&#xd;
3843                         },&#xd;
3844                         {&#xd;
3845                           &quot;key&quot;: {&#xd;
3846                             &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3847                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3848                           },&#xd;
3849                           &quot;value&quot;: {&#xd;
3850                             &quot;key&quot;: {&#xd;
3851                               &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3852                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3853                             },&#xd;
3854                             &quot;UUID&quot;: &quot;8a4957cf-9493-3a76-8c22-a208e23259af&quot;,&#xd;
3855                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleStringType:0.0.1\&quot;&quot;&#xd;
3856                           }&#xd;
3857                         },&#xd;
3858                         {&#xd;
3859                           &quot;key&quot;: {&#xd;
3860                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
3861                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3862                           },&#xd;
3863                           &quot;value&quot;: {&#xd;
3864                             &quot;key&quot;: {&#xd;
3865                               &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
3866                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3867                             },&#xd;
3868                             &quot;UUID&quot;: &quot;ecc97b87-f30b-344c-a476-d36501bf5cbd&quot;,&#xd;
3869                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop:0.0.1\&quot;&quot;&#xd;
3870                           }&#xd;
3871                         },&#xd;
3872                         {&#xd;
3873                           &quot;key&quot;: {&#xd;
3874                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Albums&quot;,&#xd;
3875                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3876                           },&#xd;
3877                           &quot;value&quot;: {&#xd;
3878                             &quot;key&quot;: {&#xd;
3879                               &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Albums&quot;,&#xd;
3880                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3881                             },&#xd;
3882                             &quot;UUID&quot;: &quot;1469671a-56dd-3a68-bf6c-77a5cf7a9487&quot;,&#xd;
3883                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Albums:0.0.1\&quot;&quot;&#xd;
3884                           }&#xd;
3885                         },&#xd;
3886                         {&#xd;
3887                           &quot;key&quot;: {&#xd;
3888                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Events&quot;,&#xd;
3889                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3890                           },&#xd;
3891                           &quot;value&quot;: {&#xd;
3892                             &quot;key&quot;: {&#xd;
3893                               &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Events&quot;,&#xd;
3894                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3895                             },&#xd;
3896                             &quot;UUID&quot;: &quot;23c4eee4-aba5-36f6-96d6-46f40061bfed&quot;,&#xd;
3897                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Events:0.0.1\&quot;&quot;&#xd;
3898                           }&#xd;
3899                         },&#xd;
3900                         {&#xd;
3901                           &quot;key&quot;: {&#xd;
3902                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_KeyInfo&quot;,&#xd;
3903                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3904                           },&#xd;
3905                           &quot;value&quot;: {&#xd;
3906                             &quot;key&quot;: {&#xd;
3907                               &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_KeyInfo&quot;,&#xd;
3908                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3909                             },&#xd;
3910                             &quot;UUID&quot;: &quot;ea9e73ff-483c-3827-896c-6eaa9d69bc6e&quot;,&#xd;
3911                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\&quot;&quot;&#xd;
3912                           }&#xd;
3913                         },&#xd;
3914                         {&#xd;
3915                           &quot;key&quot;: {&#xd;
3916                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Policies&quot;,&#xd;
3917                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3918                           },&#xd;
3919                           &quot;value&quot;: {&#xd;
3920                             &quot;key&quot;: {&#xd;
3921                               &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Policies&quot;,&#xd;
3922                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3923                             },&#xd;
3924                             &quot;UUID&quot;: &quot;38c068e5-bb9a-3997-9e50-ec77c66825c8&quot;,&#xd;
3925                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Policies:0.0.1\&quot;&quot;&#xd;
3926                           }&#xd;
3927                         },&#xd;
3928                         {&#xd;
3929                           &quot;key&quot;: {&#xd;
3930                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Schemas&quot;,&#xd;
3931                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3932                           },&#xd;
3933                           &quot;value&quot;: {&#xd;
3934                             &quot;key&quot;: {&#xd;
3935                               &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Schemas&quot;,&#xd;
3936                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3937                             },&#xd;
3938                             &quot;UUID&quot;: &quot;38514b27-8b9b-3d06-844a-3aced27deb0a&quot;,&#xd;
3939                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\&quot;&quot;&#xd;
3940                           }&#xd;
3941                         },&#xd;
3942                         {&#xd;
3943                           &quot;key&quot;: {&#xd;
3944                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Tasks&quot;,&#xd;
3945                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3946                           },&#xd;
3947                           &quot;value&quot;: {&#xd;
3948                             &quot;key&quot;: {&#xd;
3949                               &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Tasks&quot;,&#xd;
3950                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3951                             },&#xd;
3952                             &quot;UUID&quot;: &quot;0e0387b5-07fa-30e4-8554-eb51d2e18939&quot;,&#xd;
3953                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\&quot;&quot;&#xd;
3954                           }&#xd;
3955                         }&#xd;
3956                       ]&#xd;
3957                     }&#xd;
3958                   },&#xd;
3959                   &quot;policies&quot;: {&#xd;
3960                     &quot;key&quot;: {&#xd;
3961                       &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Policies&quot;,&#xd;
3962                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3963                     },&#xd;
3964                     &quot;policyMap&quot;: {&#xd;
3965                       &quot;entry&quot;: [&#xd;
3966                         {&#xd;
3967                           &quot;key&quot;: {&#xd;
3968                             &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
3969                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3970                           },&#xd;
3971                           &quot;value&quot;: {&#xd;
3972                             &quot;policyKey&quot;: {&#xd;
3973                               &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
3974                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3975                             },&#xd;
3976                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
3977                             &quot;state&quot;: {&#xd;
3978                               &quot;entry&quot;: [&#xd;
3979                                 {&#xd;
3980                                   &quot;key&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
3981                                   &quot;value&quot;: {&#xd;
3982                                     &quot;stateKey&quot;: {&#xd;
3983                                       &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
3984                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
3985                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
3986                                       &quot;localName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;&#xd;
3987                                     },&#xd;
3988                                     &quot;trigger&quot;: {&#xd;
3989                                       &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
3990                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3991                                     },&#xd;
3992                                     &quot;stateOutputs&quot;: {&#xd;
3993                                       &quot;entry&quot;: [&#xd;
3994                                         {&#xd;
3995                                           &quot;key&quot;: &quot;AAIFailureStateOutput&quot;,&#xd;
3996                                           &quot;value&quot;: {&#xd;
3997                                             &quot;key&quot;: {&#xd;
3998                                               &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
3999                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4000                                               &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
4001                                               &quot;localName&quot;: &quot;AAIFailureStateOutput&quot;&#xd;
4002                                             },&#xd;
4003                                             &quot;outgoingEvent&quot;: {&#xd;
4004                                               &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4005                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4006                                             },&#xd;
4007                                             &quot;outgoingEventReference&quot;: [&#xd;
4008                                               {&#xd;
4009                                                 &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4010                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4011                                               }&#xd;
4012                                             ],&#xd;
4013                                             &quot;nextState&quot;: {&#xd;
4014                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
4015                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
4016                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
4017                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
4018                                             }&#xd;
4019                                           }&#xd;
4020                                         }&#xd;
4021                                       ]&#xd;
4022                                     },&#xd;
4023                                     &quot;contextAlbumReference&quot;: [],&#xd;
4024                                     &quot;taskSelectionLogic&quot;: {&#xd;
4025                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
4026                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
4027                                       &quot;logic&quot;: &quot;&quot;&#xd;
4028                                     },&#xd;
4029                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
4030                                       &quot;entry&quot;: []&#xd;
4031                                     },&#xd;
4032                                     &quot;defaultTask&quot;: {&#xd;
4033                                       &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
4034                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4035                                     },&#xd;
4036                                     &quot;taskReferences&quot;: {&#xd;
4037                                       &quot;entry&quot;: [&#xd;
4038                                         {&#xd;
4039                                           &quot;key&quot;: {&#xd;
4040                                             &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
4041                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4042                                           },&#xd;
4043                                           &quot;value&quot;: {&#xd;
4044                                             &quot;key&quot;: {&#xd;
4045                                               &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
4046                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4047                                               &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
4048                                               &quot;localName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;&#xd;
4049                                             },&#xd;
4050                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
4051                                             &quot;output&quot;: {&#xd;
4052                                               &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
4053                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4054                                               &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
4055                                               &quot;localName&quot;: &quot;AAIFailureStateOutput&quot;&#xd;
4056                                             }&#xd;
4057                                           }&#xd;
4058                                         }&#xd;
4059                                       ]&#xd;
4060                                     }&#xd;
4061                                   }&#xd;
4062                                 }&#xd;
4063                               ]&#xd;
4064                             },&#xd;
4065                             &quot;firstState&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;&#xd;
4066                           }&#xd;
4067                         },&#xd;
4068                         {&#xd;
4069                           &quot;key&quot;: {&#xd;
4070                             &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
4071                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4072                           },&#xd;
4073                           &quot;value&quot;: {&#xd;
4074                             &quot;policyKey&quot;: {&#xd;
4075                               &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
4076                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4077                             },&#xd;
4078                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
4079                             &quot;state&quot;: {&#xd;
4080                               &quot;entry&quot;: [&#xd;
4081                                 {&#xd;
4082                                   &quot;key&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
4083                                   &quot;value&quot;: {&#xd;
4084                                     &quot;stateKey&quot;: {&#xd;
4085                                       &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
4086                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4087                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
4088                                       &quot;localName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;&#xd;
4089                                     },&#xd;
4090                                     &quot;trigger&quot;: {&#xd;
4091                                       &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
4092                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4093                                     },&#xd;
4094                                     &quot;stateOutputs&quot;: {&#xd;
4095                                       &quot;entry&quot;: [&#xd;
4096                                         {&#xd;
4097                                           &quot;key&quot;: &quot;AAISuccessStateOutput&quot;,&#xd;
4098                                           &quot;value&quot;: {&#xd;
4099                                             &quot;key&quot;: {&#xd;
4100                                               &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
4101                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4102                                               &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
4103                                               &quot;localName&quot;: &quot;AAISuccessStateOutput&quot;&#xd;
4104                                             },&#xd;
4105                                             &quot;outgoingEvent&quot;: {&#xd;
4106                                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
4107                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4108                                             },&#xd;
4109                                             &quot;outgoingEventReference&quot;: [&#xd;
4110                                               {&#xd;
4111                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
4112                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4113                                               },&#xd;
4114                                               {&#xd;
4115                                                 &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4116                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4117                                               }&#xd;
4118                                             ],&#xd;
4119                                             &quot;nextState&quot;: {&#xd;
4120                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
4121                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
4122                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
4123                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
4124                                             }&#xd;
4125                                           }&#xd;
4126                                         }&#xd;
4127                                       ]&#xd;
4128                                     },&#xd;
4129                                     &quot;contextAlbumReference&quot;: [],&#xd;
4130                                     &quot;taskSelectionLogic&quot;: {&#xd;
4131                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
4132                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
4133                                       &quot;logic&quot;: &quot;&quot;&#xd;
4134                                     },&#xd;
4135                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
4136                                       &quot;entry&quot;: []&#xd;
4137                                     },&#xd;
4138                                     &quot;defaultTask&quot;: {&#xd;
4139                                       &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
4140                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4141                                     },&#xd;
4142                                     &quot;taskReferences&quot;: {&#xd;
4143                                       &quot;entry&quot;: [&#xd;
4144                                         {&#xd;
4145                                           &quot;key&quot;: {&#xd;
4146                                             &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
4147                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4148                                           },&#xd;
4149                                           &quot;value&quot;: {&#xd;
4150                                             &quot;key&quot;: {&#xd;
4151                                               &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
4152                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4153                                               &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
4154                                               &quot;localName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;&#xd;
4155                                             },&#xd;
4156                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
4157                                             &quot;output&quot;: {&#xd;
4158                                               &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
4159                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4160                                               &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
4161                                               &quot;localName&quot;: &quot;AAISuccessStateOutput&quot;&#xd;
4162                                             }&#xd;
4163                                           }&#xd;
4164                                         }&#xd;
4165                                       ]&#xd;
4166                                     }&#xd;
4167                                   }&#xd;
4168                                 }&#xd;
4169                               ]&#xd;
4170                             },&#xd;
4171                             &quot;firstState&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;&#xd;
4172                           }&#xd;
4173                         },&#xd;
4174                         {&#xd;
4175                           &quot;key&quot;: {&#xd;
4176                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
4177                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4178                           },&#xd;
4179                           &quot;value&quot;: {&#xd;
4180                             &quot;policyKey&quot;: {&#xd;
4181                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
4182                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4183                             },&#xd;
4184                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
4185                             &quot;state&quot;: {&#xd;
4186                               &quot;entry&quot;: [&#xd;
4187                                 {&#xd;
4188                                   &quot;key&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
4189                                   &quot;value&quot;: {&#xd;
4190                                     &quot;stateKey&quot;: {&#xd;
4191                                       &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
4192                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4193                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
4194                                       &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;&#xd;
4195                                     },&#xd;
4196                                     &quot;trigger&quot;: {&#xd;
4197                                       &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
4198                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4199                                     },&#xd;
4200                                     &quot;stateOutputs&quot;: {&#xd;
4201                                       &quot;entry&quot;: [&#xd;
4202                                         {&#xd;
4203                                           &quot;key&quot;: &quot;ConfigModifyFailureResponseOutput&quot;,&#xd;
4204                                           &quot;value&quot;: {&#xd;
4205                                             &quot;key&quot;: {&#xd;
4206                                               &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
4207                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4208                                               &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
4209                                               &quot;localName&quot;: &quot;ConfigModifyFailureResponseOutput&quot;&#xd;
4210                                             },&#xd;
4211                                             &quot;outgoingEvent&quot;: {&#xd;
4212                                               &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4213                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4214                                             },&#xd;
4215                                             &quot;outgoingEventReference&quot;: [&#xd;
4216                                               {&#xd;
4217                                                 &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4218                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4219                                               }&#xd;
4220                                             ],&#xd;
4221                                             &quot;nextState&quot;: {&#xd;
4222                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
4223                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
4224                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
4225                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
4226                                             }&#xd;
4227                                           }&#xd;
4228                                         }&#xd;
4229                                       ]&#xd;
4230                                     },&#xd;
4231                                     &quot;contextAlbumReference&quot;: [],&#xd;
4232                                     &quot;taskSelectionLogic&quot;: {&#xd;
4233                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
4234                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
4235                                       &quot;logic&quot;: &quot;&quot;&#xd;
4236                                     },&#xd;
4237                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
4238                                       &quot;entry&quot;: []&#xd;
4239                                     },&#xd;
4240                                     &quot;defaultTask&quot;: {&#xd;
4241                                       &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
4242                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4243                                     },&#xd;
4244                                     &quot;taskReferences&quot;: {&#xd;
4245                                       &quot;entry&quot;: [&#xd;
4246                                         {&#xd;
4247                                           &quot;key&quot;: {&#xd;
4248                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
4249                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4250                                           },&#xd;
4251                                           &quot;value&quot;: {&#xd;
4252                                             &quot;key&quot;: {&#xd;
4253                                               &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
4254                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4255                                               &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
4256                                               &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;&#xd;
4257                                             },&#xd;
4258                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
4259                                             &quot;output&quot;: {&#xd;
4260                                               &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
4261                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4262                                               &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
4263                                               &quot;localName&quot;: &quot;ConfigModifyFailureResponseOutput&quot;&#xd;
4264                                             }&#xd;
4265                                           }&#xd;
4266                                         }&#xd;
4267                                       ]&#xd;
4268                                     }&#xd;
4269                                   }&#xd;
4270                                 }&#xd;
4271                               ]&#xd;
4272                             },&#xd;
4273                             &quot;firstState&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;&#xd;
4274                           }&#xd;
4275                         },&#xd;
4276                         {&#xd;
4277                           &quot;key&quot;: {&#xd;
4278                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
4279                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4280                           },&#xd;
4281                           &quot;value&quot;: {&#xd;
4282                             &quot;policyKey&quot;: {&#xd;
4283                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
4284                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4285                             },&#xd;
4286                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
4287                             &quot;state&quot;: {&#xd;
4288                               &quot;entry&quot;: [&#xd;
4289                                 {&#xd;
4290                                   &quot;key&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
4291                                   &quot;value&quot;: {&#xd;
4292                                     &quot;stateKey&quot;: {&#xd;
4293                                       &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
4294                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4295                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
4296                                       &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;&#xd;
4297                                     },&#xd;
4298                                     &quot;trigger&quot;: {&#xd;
4299                                       &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
4300                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4301                                     },&#xd;
4302                                     &quot;stateOutputs&quot;: {&#xd;
4303                                       &quot;entry&quot;: [&#xd;
4304                                         {&#xd;
4305                                           &quot;key&quot;: &quot;ConfigModifySuccessResponseOutput&quot;,&#xd;
4306                                           &quot;value&quot;: {&#xd;
4307                                             &quot;key&quot;: {&#xd;
4308                                               &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
4309                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4310                                               &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
4311                                               &quot;localName&quot;: &quot;ConfigModifySuccessResponseOutput&quot;&#xd;
4312                                             },&#xd;
4313                                             &quot;outgoingEvent&quot;: {&#xd;
4314                                               &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4315                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4316                                             },&#xd;
4317                                             &quot;outgoingEventReference&quot;: [&#xd;
4318                                               {&#xd;
4319                                                 &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4320                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4321                                               }&#xd;
4322                                             ],&#xd;
4323                                             &quot;nextState&quot;: {&#xd;
4324                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
4325                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
4326                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
4327                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
4328                                             }&#xd;
4329                                           }&#xd;
4330                                         }&#xd;
4331                                       ]&#xd;
4332                                     },&#xd;
4333                                     &quot;contextAlbumReference&quot;: [],&#xd;
4334                                     &quot;taskSelectionLogic&quot;: {&#xd;
4335                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
4336                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
4337                                       &quot;logic&quot;: &quot;&quot;&#xd;
4338                                     },&#xd;
4339                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
4340                                       &quot;entry&quot;: []&#xd;
4341                                     },&#xd;
4342                                     &quot;defaultTask&quot;: {&#xd;
4343                                       &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
4344                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4345                                     },&#xd;
4346                                     &quot;taskReferences&quot;: {&#xd;
4347                                       &quot;entry&quot;: [&#xd;
4348                                         {&#xd;
4349                                           &quot;key&quot;: {&#xd;
4350                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
4351                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4352                                           },&#xd;
4353                                           &quot;value&quot;: {&#xd;
4354                                             &quot;key&quot;: {&#xd;
4355                                               &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
4356                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4357                                               &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
4358                                               &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;&#xd;
4359                                             },&#xd;
4360                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
4361                                             &quot;output&quot;: {&#xd;
4362                                               &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
4363                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4364                                               &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
4365                                               &quot;localName&quot;: &quot;ConfigModifySuccessResponseOutput&quot;&#xd;
4366                                             }&#xd;
4367                                           }&#xd;
4368                                         }&#xd;
4369                                       ]&#xd;
4370                                     }&#xd;
4371                                   }&#xd;
4372                                 }&#xd;
4373                               ]&#xd;
4374                             },&#xd;
4375                             &quot;firstState&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;&#xd;
4376                           }&#xd;
4377                         },&#xd;
4378                         {&#xd;
4379                           &quot;key&quot;: {&#xd;
4380                             &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
4381                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4382                           },&#xd;
4383                           &quot;value&quot;: {&#xd;
4384                             &quot;policyKey&quot;: {&#xd;
4385                               &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
4386                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4387                             },&#xd;
4388                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
4389                             &quot;state&quot;: {&#xd;
4390                               &quot;entry&quot;: [&#xd;
4391                                 {&#xd;
4392                                   &quot;key&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
4393                                   &quot;value&quot;: {&#xd;
4394                                     &quot;stateKey&quot;: {&#xd;
4395                                       &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
4396                                       &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4397                                       &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
4398                                       &quot;localName&quot;: &quot;SimpleCL_ReceiveVesState&quot;&#xd;
4399                                     },&#xd;
4400                                     &quot;trigger&quot;: {&#xd;
4401                                       &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
4402                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4403                                     },&#xd;
4404                                     &quot;stateOutputs&quot;: {&#xd;
4405                                       &quot;entry&quot;: [&#xd;
4406                                         {&#xd;
4407                                           &quot;key&quot;: &quot;VesOutput&quot;,&#xd;
4408                                           &quot;value&quot;: {&#xd;
4409                                             &quot;key&quot;: {&#xd;
4410                                               &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
4411                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4412                                               &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
4413                                               &quot;localName&quot;: &quot;VesOutput&quot;&#xd;
4414                                             },&#xd;
4415                                             &quot;outgoingEvent&quot;: {&#xd;
4416                                               &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
4417                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4418                                             },&#xd;
4419                                             &quot;outgoingEventReference&quot;: [&#xd;
4420                                               {&#xd;
4421                                                 &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
4422                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4423                                               },&#xd;
4424                                               {&#xd;
4425                                                 &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4426                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4427                                               }&#xd;
4428                                             ],&#xd;
4429                                             &quot;nextState&quot;: {&#xd;
4430                                               &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
4431                                               &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
4432                                               &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
4433                                               &quot;localName&quot;: &quot;NULL&quot;&#xd;
4434                                             }&#xd;
4435                                           }&#xd;
4436                                         }&#xd;
4437                                       ]&#xd;
4438                                     },&#xd;
4439                                     &quot;contextAlbumReference&quot;: [],&#xd;
4440                                     &quot;taskSelectionLogic&quot;: {&#xd;
4441                                       &quot;key&quot;: &quot;NULL&quot;,&#xd;
4442                                       &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
4443                                       &quot;logic&quot;: &quot;&quot;&#xd;
4444                                     },&#xd;
4445                                     &quot;stateFinalizerLogicMap&quot;: {&#xd;
4446                                       &quot;entry&quot;: []&#xd;
4447                                     },&#xd;
4448                                     &quot;defaultTask&quot;: {&#xd;
4449                                       &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
4450                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4451                                     },&#xd;
4452                                     &quot;taskReferences&quot;: {&#xd;
4453                                       &quot;entry&quot;: [&#xd;
4454                                         {&#xd;
4455                                           &quot;key&quot;: {&#xd;
4456                                             &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
4457                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4458                                           },&#xd;
4459                                           &quot;value&quot;: {&#xd;
4460                                             &quot;key&quot;: {&#xd;
4461                                               &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
4462                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4463                                               &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
4464                                               &quot;localName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;&#xd;
4465                                             },&#xd;
4466                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
4467                                             &quot;output&quot;: {&#xd;
4468                                               &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
4469                                               &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
4470                                               &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
4471                                               &quot;localName&quot;: &quot;VesOutput&quot;&#xd;
4472                                             }&#xd;
4473                                           }&#xd;
4474                                         }&#xd;
4475                                       ]&#xd;
4476                                     }&#xd;
4477                                   }&#xd;
4478                                 }&#xd;
4479                               ]&#xd;
4480                             },&#xd;
4481                             &quot;firstState&quot;: &quot;SimpleCL_ReceiveVesState&quot;&#xd;
4482                           }&#xd;
4483                         }&#xd;
4484                       ]&#xd;
4485                     }&#xd;
4486                   },&#xd;
4487                   &quot;tasks&quot;: {&#xd;
4488                     &quot;key&quot;: {&#xd;
4489                       &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Tasks&quot;,&#xd;
4490                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4491                     },&#xd;
4492                     &quot;taskMap&quot;: {&#xd;
4493                       &quot;entry&quot;: [&#xd;
4494                         {&#xd;
4495                           &quot;key&quot;: {&#xd;
4496                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
4497                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4498                           },&#xd;
4499                           &quot;value&quot;: {&#xd;
4500                             &quot;key&quot;: {&#xd;
4501                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
4502                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4503                             },&#xd;
4504                             &quot;inputEvent&quot;: {&#xd;
4505                               &quot;key&quot;: {&#xd;
4506                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
4507                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4508                               },&#xd;
4509                               &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
4510                               &quot;source&quot;: &quot;CDS&quot;,&#xd;
4511                               &quot;target&quot;: &quot;APEX&quot;,&#xd;
4512                               &quot;parameter&quot;: {&#xd;
4513                                 &quot;entry&quot;: [&#xd;
4514                                   {&#xd;
4515                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
4516                                     &quot;value&quot;: {&#xd;
4517                                       &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
4518                                       &quot;fieldSchemaKey&quot;: {&#xd;
4519                                         &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
4520                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4521                                       },&#xd;
4522                                       &quot;optional&quot;: false&#xd;
4523                                     }&#xd;
4524                                   },&#xd;
4525                                   {&#xd;
4526                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
4527                                     &quot;value&quot;: {&#xd;
4528                                       &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
4529                                       &quot;fieldSchemaKey&quot;: {&#xd;
4530                                         &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
4531                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4532                                       },&#xd;
4533                                       &quot;optional&quot;: false&#xd;
4534                                     }&#xd;
4535                                   },&#xd;
4536                                   {&#xd;
4537                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
4538                                     &quot;value&quot;: {&#xd;
4539                                       &quot;key&quot;: &quot;payload&quot;,&#xd;
4540                                       &quot;fieldSchemaKey&quot;: {&#xd;
4541                                         &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
4542                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4543                                       },&#xd;
4544                                       &quot;optional&quot;: false&#xd;
4545                                     }&#xd;
4546                                   },&#xd;
4547                                   {&#xd;
4548                                     &quot;key&quot;: &quot;status&quot;,&#xd;
4549                                     &quot;value&quot;: {&#xd;
4550                                       &quot;key&quot;: &quot;status&quot;,&#xd;
4551                                       &quot;fieldSchemaKey&quot;: {&#xd;
4552                                         &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
4553                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4554                                       },&#xd;
4555                                       &quot;optional&quot;: false&#xd;
4556                                     }&#xd;
4557                                   }&#xd;
4558                                 ]&#xd;
4559                               }&#xd;
4560                             },&#xd;
4561                             &quot;outputEvents&quot;: {&#xd;
4562                               &quot;entry&quot;: [&#xd;
4563                                 {&#xd;
4564                                   &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4565                                   &quot;value&quot;: {&#xd;
4566                                     &quot;key&quot;: {&#xd;
4567                                       &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4568                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4569                                     },&#xd;
4570                                     &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
4571                                     &quot;source&quot;: &quot;APEX&quot;,&#xd;
4572                                     &quot;target&quot;: &quot;DCAE&quot;,&#xd;
4573                                     &quot;parameter&quot;: {&#xd;
4574                                       &quot;entry&quot;: [&#xd;
4575                                         {&#xd;
4576                                           &quot;key&quot;: &quot;component&quot;,&#xd;
4577                                           &quot;value&quot;: {&#xd;
4578                                             &quot;key&quot;: &quot;component&quot;,&#xd;
4579                                             &quot;fieldSchemaKey&quot;: {&#xd;
4580                                               &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
4581                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4582                                             },&#xd;
4583                                             &quot;optional&quot;: false&#xd;
4584                                           }&#xd;
4585                                         },&#xd;
4586                                         {&#xd;
4587                                           &quot;key&quot;: &quot;id&quot;,&#xd;
4588                                           &quot;value&quot;: {&#xd;
4589                                             &quot;key&quot;: &quot;id&quot;,&#xd;
4590                                             &quot;fieldSchemaKey&quot;: {&#xd;
4591                                               &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4592                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4593                                             },&#xd;
4594                                             &quot;optional&quot;: false&#xd;
4595                                           }&#xd;
4596                                         },&#xd;
4597                                         {&#xd;
4598                                           &quot;key&quot;: &quot;otherFields&quot;,&#xd;
4599                                           &quot;value&quot;: {&#xd;
4600                                             &quot;key&quot;: &quot;otherFields&quot;,&#xd;
4601                                             &quot;fieldSchemaKey&quot;: {&#xd;
4602                                               &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
4603                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4604                                             },&#xd;
4605                                             &quot;optional&quot;: false&#xd;
4606                                           }&#xd;
4607                                         },&#xd;
4608                                         {&#xd;
4609                                           &quot;key&quot;: &quot;target&quot;,&#xd;
4610                                           &quot;value&quot;: {&#xd;
4611                                             &quot;key&quot;: &quot;target&quot;,&#xd;
4612                                             &quot;fieldSchemaKey&quot;: {&#xd;
4613                                               &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
4614                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4615                                             },&#xd;
4616                                             &quot;optional&quot;: false&#xd;
4617                                           }&#xd;
4618                                         }&#xd;
4619                                       ]&#xd;
4620                                     }&#xd;
4621                                   }&#xd;
4622                                 }&#xd;
4623                               ]&#xd;
4624                             },&#xd;
4625                             &quot;taskParameters&quot;: {&#xd;
4626                               &quot;entry&quot;: []&#xd;
4627                             },&#xd;
4628                             &quot;contextAlbumReference&quot;: [&#xd;
4629                               {&#xd;
4630                                 &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
4631                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4632                               }&#xd;
4633                             ],&#xd;
4634                             &quot;taskLogic&quot;: {&#xd;
4635                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
4636                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
4637                               &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;
4638                             }&#xd;
4639                           }&#xd;
4640                         },&#xd;
4641                         {&#xd;
4642                           &quot;key&quot;: {&#xd;
4643                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
4644                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4645                           },&#xd;
4646                           &quot;value&quot;: {&#xd;
4647                             &quot;key&quot;: {&#xd;
4648                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
4649                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4650                             },&#xd;
4651                             &quot;inputEvent&quot;: {&#xd;
4652                               &quot;key&quot;: {&#xd;
4653                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
4654                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4655                               },&#xd;
4656                               &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
4657                               &quot;source&quot;: &quot;CDS&quot;,&#xd;
4658                               &quot;target&quot;: &quot;APEX&quot;,&#xd;
4659                               &quot;parameter&quot;: {&#xd;
4660                                 &quot;entry&quot;: [&#xd;
4661                                   {&#xd;
4662                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
4663                                     &quot;value&quot;: {&#xd;
4664                                       &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
4665                                       &quot;fieldSchemaKey&quot;: {&#xd;
4666                                         &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
4667                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4668                                       },&#xd;
4669                                       &quot;optional&quot;: false&#xd;
4670                                     }&#xd;
4671                                   },&#xd;
4672                                   {&#xd;
4673                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
4674                                     &quot;value&quot;: {&#xd;
4675                                       &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
4676                                       &quot;fieldSchemaKey&quot;: {&#xd;
4677                                         &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
4678                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4679                                       },&#xd;
4680                                       &quot;optional&quot;: false&#xd;
4681                                     }&#xd;
4682                                   },&#xd;
4683                                   {&#xd;
4684                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
4685                                     &quot;value&quot;: {&#xd;
4686                                       &quot;key&quot;: &quot;payload&quot;,&#xd;
4687                                       &quot;fieldSchemaKey&quot;: {&#xd;
4688                                         &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
4689                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4690                                       },&#xd;
4691                                       &quot;optional&quot;: false&#xd;
4692                                     }&#xd;
4693                                   },&#xd;
4694                                   {&#xd;
4695                                     &quot;key&quot;: &quot;status&quot;,&#xd;
4696                                     &quot;value&quot;: {&#xd;
4697                                       &quot;key&quot;: &quot;status&quot;,&#xd;
4698                                       &quot;fieldSchemaKey&quot;: {&#xd;
4699                                         &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
4700                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4701                                       },&#xd;
4702                                       &quot;optional&quot;: false&#xd;
4703                                     }&#xd;
4704                                   }&#xd;
4705                                 ]&#xd;
4706                               }&#xd;
4707                             },&#xd;
4708                             &quot;outputEvents&quot;: {&#xd;
4709                               &quot;entry&quot;: [&#xd;
4710                                 {&#xd;
4711                                   &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4712                                   &quot;value&quot;: {&#xd;
4713                                     &quot;key&quot;: {&#xd;
4714                                       &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4715                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4716                                     },&#xd;
4717                                     &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
4718                                     &quot;source&quot;: &quot;APEX&quot;,&#xd;
4719                                     &quot;target&quot;: &quot;DCAE&quot;,&#xd;
4720                                     &quot;parameter&quot;: {&#xd;
4721                                       &quot;entry&quot;: [&#xd;
4722                                         {&#xd;
4723                                           &quot;key&quot;: &quot;component&quot;,&#xd;
4724                                           &quot;value&quot;: {&#xd;
4725                                             &quot;key&quot;: &quot;component&quot;,&#xd;
4726                                             &quot;fieldSchemaKey&quot;: {&#xd;
4727                                               &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
4728                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4729                                             },&#xd;
4730                                             &quot;optional&quot;: false&#xd;
4731                                           }&#xd;
4732                                         },&#xd;
4733                                         {&#xd;
4734                                           &quot;key&quot;: &quot;id&quot;,&#xd;
4735                                           &quot;value&quot;: {&#xd;
4736                                             &quot;key&quot;: &quot;id&quot;,&#xd;
4737                                             &quot;fieldSchemaKey&quot;: {&#xd;
4738                                               &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4739                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4740                                             },&#xd;
4741                                             &quot;optional&quot;: false&#xd;
4742                                           }&#xd;
4743                                         },&#xd;
4744                                         {&#xd;
4745                                           &quot;key&quot;: &quot;otherFields&quot;,&#xd;
4746                                           &quot;value&quot;: {&#xd;
4747                                             &quot;key&quot;: &quot;otherFields&quot;,&#xd;
4748                                             &quot;fieldSchemaKey&quot;: {&#xd;
4749                                               &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
4750                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4751                                             },&#xd;
4752                                             &quot;optional&quot;: false&#xd;
4753                                           }&#xd;
4754                                         },&#xd;
4755                                         {&#xd;
4756                                           &quot;key&quot;: &quot;target&quot;,&#xd;
4757                                           &quot;value&quot;: {&#xd;
4758                                             &quot;key&quot;: &quot;target&quot;,&#xd;
4759                                             &quot;fieldSchemaKey&quot;: {&#xd;
4760                                               &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
4761                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4762                                             },&#xd;
4763                                             &quot;optional&quot;: false&#xd;
4764                                           }&#xd;
4765                                         }&#xd;
4766                                       ]&#xd;
4767                                     }&#xd;
4768                                   }&#xd;
4769                                 }&#xd;
4770                               ]&#xd;
4771                             },&#xd;
4772                             &quot;taskParameters&quot;: {&#xd;
4773                               &quot;entry&quot;: []&#xd;
4774                             },&#xd;
4775                             &quot;contextAlbumReference&quot;: [&#xd;
4776                               {&#xd;
4777                                 &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
4778                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4779                               }&#xd;
4780                             ],&#xd;
4781                             &quot;taskLogic&quot;: {&#xd;
4782                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
4783                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
4784                               &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;
4785                             }&#xd;
4786                           }&#xd;
4787                         },&#xd;
4788                         {&#xd;
4789                           &quot;key&quot;: {&#xd;
4790                             &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
4791                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4792                           },&#xd;
4793                           &quot;value&quot;: {&#xd;
4794                             &quot;key&quot;: {&#xd;
4795                               &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
4796                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4797                             },&#xd;
4798                             &quot;inputEvent&quot;: {&#xd;
4799                               &quot;key&quot;: {&#xd;
4800                                 &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
4801                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4802                               },&#xd;
4803                               &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
4804                               &quot;source&quot;: &quot;AAI&quot;,&#xd;
4805                               &quot;target&quot;: &quot;APEX&quot;,&#xd;
4806                               &quot;parameter&quot;: {&#xd;
4807                                 &quot;entry&quot;: [&#xd;
4808                                   {&#xd;
4809                                     &quot;key&quot;: &quot;requestError&quot;,&#xd;
4810                                     &quot;value&quot;: {&#xd;
4811                                       &quot;key&quot;: &quot;requestError&quot;,&#xd;
4812                                       &quot;fieldSchemaKey&quot;: {&#xd;
4813                                         &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
4814                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4815                                       },&#xd;
4816                                       &quot;optional&quot;: false&#xd;
4817                                     }&#xd;
4818                                   }&#xd;
4819                                 ]&#xd;
4820                               }&#xd;
4821                             },&#xd;
4822                             &quot;outputEvents&quot;: {&#xd;
4823                               &quot;entry&quot;: [&#xd;
4824                                 {&#xd;
4825                                   &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4826                                   &quot;value&quot;: {&#xd;
4827                                     &quot;key&quot;: {&#xd;
4828                                       &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
4829                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4830                                     },&#xd;
4831                                     &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
4832                                     &quot;source&quot;: &quot;APEX&quot;,&#xd;
4833                                     &quot;target&quot;: &quot;DCAE&quot;,&#xd;
4834                                     &quot;parameter&quot;: {&#xd;
4835                                       &quot;entry&quot;: [&#xd;
4836                                         {&#xd;
4837                                           &quot;key&quot;: &quot;component&quot;,&#xd;
4838                                           &quot;value&quot;: {&#xd;
4839                                             &quot;key&quot;: &quot;component&quot;,&#xd;
4840                                             &quot;fieldSchemaKey&quot;: {&#xd;
4841                                               &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
4842                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4843                                             },&#xd;
4844                                             &quot;optional&quot;: false&#xd;
4845                                           }&#xd;
4846                                         },&#xd;
4847                                         {&#xd;
4848                                           &quot;key&quot;: &quot;id&quot;,&#xd;
4849                                           &quot;value&quot;: {&#xd;
4850                                             &quot;key&quot;: &quot;id&quot;,&#xd;
4851                                             &quot;fieldSchemaKey&quot;: {&#xd;
4852                                               &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4853                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4854                                             },&#xd;
4855                                             &quot;optional&quot;: false&#xd;
4856                                           }&#xd;
4857                                         },&#xd;
4858                                         {&#xd;
4859                                           &quot;key&quot;: &quot;otherFields&quot;,&#xd;
4860                                           &quot;value&quot;: {&#xd;
4861                                             &quot;key&quot;: &quot;otherFields&quot;,&#xd;
4862                                             &quot;fieldSchemaKey&quot;: {&#xd;
4863                                               &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
4864                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4865                                             },&#xd;
4866                                             &quot;optional&quot;: false&#xd;
4867                                           }&#xd;
4868                                         },&#xd;
4869                                         {&#xd;
4870                                           &quot;key&quot;: &quot;target&quot;,&#xd;
4871                                           &quot;value&quot;: {&#xd;
4872                                             &quot;key&quot;: &quot;target&quot;,&#xd;
4873                                             &quot;fieldSchemaKey&quot;: {&#xd;
4874                                               &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
4875                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4876                                             },&#xd;
4877                                             &quot;optional&quot;: false&#xd;
4878                                           }&#xd;
4879                                         }&#xd;
4880                                       ]&#xd;
4881                                     }&#xd;
4882                                   }&#xd;
4883                                 }&#xd;
4884                               ]&#xd;
4885                             },&#xd;
4886                             &quot;taskParameters&quot;: {&#xd;
4887                               &quot;entry&quot;: []&#xd;
4888                             },&#xd;
4889                             &quot;contextAlbumReference&quot;: [&#xd;
4890                               {&#xd;
4891                                 &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
4892                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4893                               }&#xd;
4894                             ],&#xd;
4895                             &quot;taskLogic&quot;: {&#xd;
4896                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
4897                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
4898                               &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;
4899                             }&#xd;
4900                           }&#xd;
4901                         },&#xd;
4902                         {&#xd;
4903                           &quot;key&quot;: {&#xd;
4904                             &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
4905                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4906                           },&#xd;
4907                           &quot;value&quot;: {&#xd;
4908                             &quot;key&quot;: {&#xd;
4909                               &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
4910                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4911                             },&#xd;
4912                             &quot;inputEvent&quot;: {&#xd;
4913                               &quot;key&quot;: {&#xd;
4914                                 &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
4915                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4916                               },&#xd;
4917                               &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
4918                               &quot;source&quot;: &quot;AAI&quot;,&#xd;
4919                               &quot;target&quot;: &quot;APEX&quot;,&#xd;
4920                               &quot;parameter&quot;: {&#xd;
4921                                 &quot;entry&quot;: [&#xd;
4922                                   {&#xd;
4923                                     &quot;key&quot;: &quot;equip-model&quot;,&#xd;
4924                                     &quot;value&quot;: {&#xd;
4925                                       &quot;key&quot;: &quot;equip-model&quot;,&#xd;
4926                                       &quot;fieldSchemaKey&quot;: {&#xd;
4927                                         &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4928                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4929                                       },&#xd;
4930                                       &quot;optional&quot;: false&#xd;
4931                                     }&#xd;
4932                                   },&#xd;
4933                                   {&#xd;
4934                                     &quot;key&quot;: &quot;equip-type&quot;,&#xd;
4935                                     &quot;value&quot;: {&#xd;
4936                                       &quot;key&quot;: &quot;equip-type&quot;,&#xd;
4937                                       &quot;fieldSchemaKey&quot;: {&#xd;
4938                                         &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4939                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4940                                       },&#xd;
4941                                       &quot;optional&quot;: false&#xd;
4942                                     }&#xd;
4943                                   },&#xd;
4944                                   {&#xd;
4945                                     &quot;key&quot;: &quot;equip-vendor&quot;,&#xd;
4946                                     &quot;value&quot;: {&#xd;
4947                                       &quot;key&quot;: &quot;equip-vendor&quot;,&#xd;
4948                                       &quot;fieldSchemaKey&quot;: {&#xd;
4949                                         &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4950                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4951                                       },&#xd;
4952                                       &quot;optional&quot;: false&#xd;
4953                                     }&#xd;
4954                                   },&#xd;
4955                                   {&#xd;
4956                                     &quot;key&quot;: &quot;in-maint&quot;,&#xd;
4957                                     &quot;value&quot;: {&#xd;
4958                                       &quot;key&quot;: &quot;in-maint&quot;,&#xd;
4959                                       &quot;fieldSchemaKey&quot;: {&#xd;
4960                                         &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
4961                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4962                                       },&#xd;
4963                                       &quot;optional&quot;: false&#xd;
4964                                     }&#xd;
4965                                   },&#xd;
4966                                   {&#xd;
4967                                     &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
4968                                     &quot;value&quot;: {&#xd;
4969                                       &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
4970                                       &quot;fieldSchemaKey&quot;: {&#xd;
4971                                         &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4972                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4973                                       },&#xd;
4974                                       &quot;optional&quot;: false&#xd;
4975                                     }&#xd;
4976                                   },&#xd;
4977                                   {&#xd;
4978                                     &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#xd;
4979                                     &quot;value&quot;: {&#xd;
4980                                       &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#xd;
4981                                       &quot;fieldSchemaKey&quot;: {&#xd;
4982                                         &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4983                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4984                                       },&#xd;
4985                                       &quot;optional&quot;: false&#xd;
4986                                     }&#xd;
4987                                   },&#xd;
4988                                   {&#xd;
4989                                     &quot;key&quot;: &quot;management-option&quot;,&#xd;
4990                                     &quot;value&quot;: {&#xd;
4991                                       &quot;key&quot;: &quot;management-option&quot;,&#xd;
4992                                       &quot;fieldSchemaKey&quot;: {&#xd;
4993                                         &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4994                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4995                                       },&#xd;
4996                                       &quot;optional&quot;: false&#xd;
4997                                     }&#xd;
4998                                   },&#xd;
4999                                   {&#xd;
5000                                     &quot;key&quot;: &quot;pnf-id&quot;,&#xd;
5001                                     &quot;value&quot;: {&#xd;
5002                                       &quot;key&quot;: &quot;pnf-id&quot;,&#xd;
5003                                       &quot;fieldSchemaKey&quot;: {&#xd;
5004                                         &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5005                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5006                                       },&#xd;
5007                                       &quot;optional&quot;: false&#xd;
5008                                     }&#xd;
5009                                   },&#xd;
5010                                   {&#xd;
5011                                     &quot;key&quot;: &quot;pnf-name&quot;,&#xd;
5012                                     &quot;value&quot;: {&#xd;
5013                                       &quot;key&quot;: &quot;pnf-name&quot;,&#xd;
5014                                       &quot;fieldSchemaKey&quot;: {&#xd;
5015                                         &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5016                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5017                                       },&#xd;
5018                                       &quot;optional&quot;: false&#xd;
5019                                     }&#xd;
5020                                   },&#xd;
5021                                   {&#xd;
5022                                     &quot;key&quot;: &quot;pnf-name2&quot;,&#xd;
5023                                     &quot;value&quot;: {&#xd;
5024                                       &quot;key&quot;: &quot;pnf-name2&quot;,&#xd;
5025                                       &quot;fieldSchemaKey&quot;: {&#xd;
5026                                         &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5027                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5028                                       },&#xd;
5029                                       &quot;optional&quot;: false&#xd;
5030                                     }&#xd;
5031                                   },&#xd;
5032                                   {&#xd;
5033                                     &quot;key&quot;: &quot;resource-version&quot;,&#xd;
5034                                     &quot;value&quot;: {&#xd;
5035                                       &quot;key&quot;: &quot;resource-version&quot;,&#xd;
5036                                       &quot;fieldSchemaKey&quot;: {&#xd;
5037                                         &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5038                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5039                                       },&#xd;
5040                                       &quot;optional&quot;: false&#xd;
5041                                     }&#xd;
5042                                   }&#xd;
5043                                 ]&#xd;
5044                               }&#xd;
5045                             },&#xd;
5046                             &quot;outputEvents&quot;: {&#xd;
5047                               &quot;entry&quot;: [&#xd;
5048                                 {&#xd;
5049                                   &quot;key&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
5050                                   &quot;value&quot;: {&#xd;
5051                                     &quot;key&quot;: {&#xd;
5052                                       &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
5053                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5054                                     },&#xd;
5055                                     &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5056                                     &quot;source&quot;: &quot;APEX&quot;,&#xd;
5057                                     &quot;target&quot;: &quot;APEX&quot;,&#xd;
5058                                     &quot;parameter&quot;: {&#xd;
5059                                       &quot;entry&quot;: [&#xd;
5060                                         {&#xd;
5061                                           &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
5062                                           &quot;value&quot;: {&#xd;
5063                                             &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
5064                                             &quot;fieldSchemaKey&quot;: {&#xd;
5065                                               &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
5066                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5067                                             },&#xd;
5068                                             &quot;optional&quot;: false&#xd;
5069                                           }&#xd;
5070                                         },&#xd;
5071                                         {&#xd;
5072                                           &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
5073                                           &quot;value&quot;: {&#xd;
5074                                             &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
5075                                             &quot;fieldSchemaKey&quot;: {&#xd;
5076                                               &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
5077                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5078                                             },&#xd;
5079                                             &quot;optional&quot;: false&#xd;
5080                                           }&#xd;
5081                                         },&#xd;
5082                                         {&#xd;
5083                                           &quot;key&quot;: &quot;payload&quot;,&#xd;
5084                                           &quot;value&quot;: {&#xd;
5085                                             &quot;key&quot;: &quot;payload&quot;,&#xd;
5086                                             &quot;fieldSchemaKey&quot;: {&#xd;
5087                                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
5088                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5089                                             },&#xd;
5090                                             &quot;optional&quot;: false&#xd;
5091                                           }&#xd;
5092                                         }&#xd;
5093                                       ]&#xd;
5094                                     }&#xd;
5095                                   }&#xd;
5096                                 },&#xd;
5097                                 {&#xd;
5098                                   &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
5099                                   &quot;value&quot;: {&#xd;
5100                                     &quot;key&quot;: {&#xd;
5101                                       &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
5102                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5103                                     },&#xd;
5104                                     &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5105                                     &quot;source&quot;: &quot;APEX&quot;,&#xd;
5106                                     &quot;target&quot;: &quot;DCAE&quot;,&#xd;
5107                                     &quot;parameter&quot;: {&#xd;
5108                                       &quot;entry&quot;: [&#xd;
5109                                         {&#xd;
5110                                           &quot;key&quot;: &quot;component&quot;,&#xd;
5111                                           &quot;value&quot;: {&#xd;
5112                                             &quot;key&quot;: &quot;component&quot;,&#xd;
5113                                             &quot;fieldSchemaKey&quot;: {&#xd;
5114                                               &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
5115                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5116                                             },&#xd;
5117                                             &quot;optional&quot;: false&#xd;
5118                                           }&#xd;
5119                                         },&#xd;
5120                                         {&#xd;
5121                                           &quot;key&quot;: &quot;id&quot;,&#xd;
5122                                           &quot;value&quot;: {&#xd;
5123                                             &quot;key&quot;: &quot;id&quot;,&#xd;
5124                                             &quot;fieldSchemaKey&quot;: {&#xd;
5125                                               &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5126                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5127                                             },&#xd;
5128                                             &quot;optional&quot;: false&#xd;
5129                                           }&#xd;
5130                                         },&#xd;
5131                                         {&#xd;
5132                                           &quot;key&quot;: &quot;otherFields&quot;,&#xd;
5133                                           &quot;value&quot;: {&#xd;
5134                                             &quot;key&quot;: &quot;otherFields&quot;,&#xd;
5135                                             &quot;fieldSchemaKey&quot;: {&#xd;
5136                                               &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
5137                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5138                                             },&#xd;
5139                                             &quot;optional&quot;: false&#xd;
5140                                           }&#xd;
5141                                         },&#xd;
5142                                         {&#xd;
5143                                           &quot;key&quot;: &quot;target&quot;,&#xd;
5144                                           &quot;value&quot;: {&#xd;
5145                                             &quot;key&quot;: &quot;target&quot;,&#xd;
5146                                             &quot;fieldSchemaKey&quot;: {&#xd;
5147                                               &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
5148                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5149                                             },&#xd;
5150                                             &quot;optional&quot;: false&#xd;
5151                                           }&#xd;
5152                                         }&#xd;
5153                                       ]&#xd;
5154                                     }&#xd;
5155                                   }&#xd;
5156                                 }&#xd;
5157                               ]&#xd;
5158                             },&#xd;
5159                             &quot;taskParameters&quot;: {&#xd;
5160                               &quot;entry&quot;: []&#xd;
5161                             },&#xd;
5162                             &quot;contextAlbumReference&quot;: [&#xd;
5163                               {&#xd;
5164                                 &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
5165                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5166                               }&#xd;
5167                             ],&#xd;
5168                             &quot;taskLogic&quot;: {&#xd;
5169                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
5170                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
5171                               &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;
5172                             }&#xd;
5173                           }&#xd;
5174                         },&#xd;
5175                         {&#xd;
5176                           &quot;key&quot;: {&#xd;
5177                             &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
5178                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5179                           },&#xd;
5180                           &quot;value&quot;: {&#xd;
5181                             &quot;key&quot;: {&#xd;
5182                               &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
5183                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5184                             },&#xd;
5185                             &quot;inputEvent&quot;: {&#xd;
5186                               &quot;key&quot;: {&#xd;
5187                                 &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
5188                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5189                               },&#xd;
5190                               &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5191                               &quot;source&quot;: &quot;DCAE&quot;,&#xd;
5192                               &quot;target&quot;: &quot;APEX&quot;,&#xd;
5193                               &quot;parameter&quot;: {&#xd;
5194                                 &quot;entry&quot;: [&#xd;
5195                                   {&#xd;
5196                                     &quot;key&quot;: &quot;event&quot;,&#xd;
5197                                     &quot;value&quot;: {&#xd;
5198                                       &quot;key&quot;: &quot;event&quot;,&#xd;
5199                                       &quot;fieldSchemaKey&quot;: {&#xd;
5200                                         &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
5201                                         &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5202                                       },&#xd;
5203                                       &quot;optional&quot;: false&#xd;
5204                                     }&#xd;
5205                                   }&#xd;
5206                                 ]&#xd;
5207                               }&#xd;
5208                             },&#xd;
5209                             &quot;outputEvents&quot;: {&#xd;
5210                               &quot;entry&quot;: [&#xd;
5211                                 {&#xd;
5212                                   &quot;key&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
5213                                   &quot;value&quot;: {&#xd;
5214                                     &quot;key&quot;: {&#xd;
5215                                       &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
5216                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5217                                     },&#xd;
5218                                     &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5219                                     &quot;source&quot;: &quot;APEX&quot;,&#xd;
5220                                     &quot;target&quot;: &quot;AAI&quot;,&#xd;
5221                                     &quot;parameter&quot;: {&#xd;
5222                                       &quot;entry&quot;: [&#xd;
5223                                         {&#xd;
5224                                           &quot;key&quot;: &quot;aaifield&quot;,&#xd;
5225                                           &quot;value&quot;: {&#xd;
5226                                             &quot;key&quot;: &quot;aaifield&quot;,&#xd;
5227                                             &quot;fieldSchemaKey&quot;: {&#xd;
5228                                               &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5229                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5230                                             },&#xd;
5231                                             &quot;optional&quot;: false&#xd;
5232                                           }&#xd;
5233                                         }&#xd;
5234                                       ]&#xd;
5235                                     }&#xd;
5236                                   }&#xd;
5237                                 },&#xd;
5238                                 {&#xd;
5239                                   &quot;key&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
5240                                   &quot;value&quot;: {&#xd;
5241                                     &quot;key&quot;: {&#xd;
5242                                       &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
5243                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5244                                     },&#xd;
5245                                     &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5246                                     &quot;source&quot;: &quot;APEX&quot;,&#xd;
5247                                     &quot;target&quot;: &quot;DCAE&quot;,&#xd;
5248                                     &quot;parameter&quot;: {&#xd;
5249                                       &quot;entry&quot;: [&#xd;
5250                                         {&#xd;
5251                                           &quot;key&quot;: &quot;component&quot;,&#xd;
5252                                           &quot;value&quot;: {&#xd;
5253                                             &quot;key&quot;: &quot;component&quot;,&#xd;
5254                                             &quot;fieldSchemaKey&quot;: {&#xd;
5255                                               &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
5256                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5257                                             },&#xd;
5258                                             &quot;optional&quot;: false&#xd;
5259                                           }&#xd;
5260                                         },&#xd;
5261                                         {&#xd;
5262                                           &quot;key&quot;: &quot;id&quot;,&#xd;
5263                                           &quot;value&quot;: {&#xd;
5264                                             &quot;key&quot;: &quot;id&quot;,&#xd;
5265                                             &quot;fieldSchemaKey&quot;: {&#xd;
5266                                               &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5267                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5268                                             },&#xd;
5269                                             &quot;optional&quot;: false&#xd;
5270                                           }&#xd;
5271                                         },&#xd;
5272                                         {&#xd;
5273                                           &quot;key&quot;: &quot;otherFields&quot;,&#xd;
5274                                           &quot;value&quot;: {&#xd;
5275                                             &quot;key&quot;: &quot;otherFields&quot;,&#xd;
5276                                             &quot;fieldSchemaKey&quot;: {&#xd;
5277                                               &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
5278                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5279                                             },&#xd;
5280                                             &quot;optional&quot;: false&#xd;
5281                                           }&#xd;
5282                                         },&#xd;
5283                                         {&#xd;
5284                                           &quot;key&quot;: &quot;target&quot;,&#xd;
5285                                           &quot;value&quot;: {&#xd;
5286                                             &quot;key&quot;: &quot;target&quot;,&#xd;
5287                                             &quot;fieldSchemaKey&quot;: {&#xd;
5288                                               &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
5289                                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5290                                             },&#xd;
5291                                             &quot;optional&quot;: false&#xd;
5292                                           }&#xd;
5293                                         }&#xd;
5294                                       ]&#xd;
5295                                     }&#xd;
5296                                   }&#xd;
5297                                 }&#xd;
5298                               ]&#xd;
5299                             },&#xd;
5300                             &quot;taskParameters&quot;: {&#xd;
5301                               &quot;entry&quot;: []&#xd;
5302                             },&#xd;
5303                             &quot;contextAlbumReference&quot;: [&#xd;
5304                               {&#xd;
5305                                 &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
5306                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5307                               }&#xd;
5308                             ],&#xd;
5309                             &quot;taskLogic&quot;: {&#xd;
5310                               &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
5311                               &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
5312                               &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;
5313                             }&#xd;
5314                           }&#xd;
5315                         }&#xd;
5316                       ]&#xd;
5317                     }&#xd;
5318                   },&#xd;
5319                   &quot;events&quot;: {&#xd;
5320                     &quot;key&quot;: {&#xd;
5321                       &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Events&quot;,&#xd;
5322                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5323                     },&#xd;
5324                     &quot;eventMap&quot;: {&#xd;
5325                       &quot;entry&quot;: [&#xd;
5326                         {&#xd;
5327                           &quot;key&quot;: {&#xd;
5328                             &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
5329                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5330                           },&#xd;
5331                           &quot;value&quot;: {&#xd;
5332                             &quot;key&quot;: {&#xd;
5333                               &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
5334                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5335                             },&#xd;
5336                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5337                             &quot;source&quot;: &quot;AAI&quot;,&#xd;
5338                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
5339                             &quot;parameter&quot;: {&#xd;
5340                               &quot;entry&quot;: [&#xd;
5341                                 {&#xd;
5342                                   &quot;key&quot;: &quot;requestError&quot;,&#xd;
5343                                   &quot;value&quot;: {&#xd;
5344                                     &quot;key&quot;: &quot;requestError&quot;,&#xd;
5345                                     &quot;fieldSchemaKey&quot;: {&#xd;
5346                                       &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
5347                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5348                                     },&#xd;
5349                                     &quot;optional&quot;: false&#xd;
5350                                   }&#xd;
5351                                 }&#xd;
5352                               ]&#xd;
5353                             }&#xd;
5354                           }&#xd;
5355                         },&#xd;
5356                         {&#xd;
5357                           &quot;key&quot;: {&#xd;
5358                             &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
5359                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5360                           },&#xd;
5361                           &quot;value&quot;: {&#xd;
5362                             &quot;key&quot;: {&#xd;
5363                               &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
5364                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5365                             },&#xd;
5366                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5367                             &quot;source&quot;: &quot;APEX&quot;,&#xd;
5368                             &quot;target&quot;: &quot;AAI&quot;,&#xd;
5369                             &quot;parameter&quot;: {&#xd;
5370                               &quot;entry&quot;: [&#xd;
5371                                 {&#xd;
5372                                   &quot;key&quot;: &quot;aaifield&quot;,&#xd;
5373                                   &quot;value&quot;: {&#xd;
5374                                     &quot;key&quot;: &quot;aaifield&quot;,&#xd;
5375                                     &quot;fieldSchemaKey&quot;: {&#xd;
5376                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5377                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5378                                     },&#xd;
5379                                     &quot;optional&quot;: false&#xd;
5380                                   }&#xd;
5381                                 }&#xd;
5382                               ]&#xd;
5383                             }&#xd;
5384                           }&#xd;
5385                         },&#xd;
5386                         {&#xd;
5387                           &quot;key&quot;: {&#xd;
5388                             &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
5389                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5390                           },&#xd;
5391                           &quot;value&quot;: {&#xd;
5392                             &quot;key&quot;: {&#xd;
5393                               &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
5394                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5395                             },&#xd;
5396                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5397                             &quot;source&quot;: &quot;AAI&quot;,&#xd;
5398                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
5399                             &quot;parameter&quot;: {&#xd;
5400                               &quot;entry&quot;: [&#xd;
5401                                 {&#xd;
5402                                   &quot;key&quot;: &quot;equip-model&quot;,&#xd;
5403                                   &quot;value&quot;: {&#xd;
5404                                     &quot;key&quot;: &quot;equip-model&quot;,&#xd;
5405                                     &quot;fieldSchemaKey&quot;: {&#xd;
5406                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5407                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5408                                     },&#xd;
5409                                     &quot;optional&quot;: false&#xd;
5410                                   }&#xd;
5411                                 },&#xd;
5412                                 {&#xd;
5413                                   &quot;key&quot;: &quot;equip-type&quot;,&#xd;
5414                                   &quot;value&quot;: {&#xd;
5415                                     &quot;key&quot;: &quot;equip-type&quot;,&#xd;
5416                                     &quot;fieldSchemaKey&quot;: {&#xd;
5417                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5418                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5419                                     },&#xd;
5420                                     &quot;optional&quot;: false&#xd;
5421                                   }&#xd;
5422                                 },&#xd;
5423                                 {&#xd;
5424                                   &quot;key&quot;: &quot;equip-vendor&quot;,&#xd;
5425                                   &quot;value&quot;: {&#xd;
5426                                     &quot;key&quot;: &quot;equip-vendor&quot;,&#xd;
5427                                     &quot;fieldSchemaKey&quot;: {&#xd;
5428                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5429                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5430                                     },&#xd;
5431                                     &quot;optional&quot;: false&#xd;
5432                                   }&#xd;
5433                                 },&#xd;
5434                                 {&#xd;
5435                                   &quot;key&quot;: &quot;in-maint&quot;,&#xd;
5436                                   &quot;value&quot;: {&#xd;
5437                                     &quot;key&quot;: &quot;in-maint&quot;,&#xd;
5438                                     &quot;fieldSchemaKey&quot;: {&#xd;
5439                                       &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
5440                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5441                                     },&#xd;
5442                                     &quot;optional&quot;: false&#xd;
5443                                   }&#xd;
5444                                 },&#xd;
5445                                 {&#xd;
5446                                   &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
5447                                   &quot;value&quot;: {&#xd;
5448                                     &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
5449                                     &quot;fieldSchemaKey&quot;: {&#xd;
5450                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5451                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5452                                     },&#xd;
5453                                     &quot;optional&quot;: false&#xd;
5454                                   }&#xd;
5455                                 },&#xd;
5456                                 {&#xd;
5457                                   &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#xd;
5458                                   &quot;value&quot;: {&#xd;
5459                                     &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#xd;
5460                                     &quot;fieldSchemaKey&quot;: {&#xd;
5461                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5462                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5463                                     },&#xd;
5464                                     &quot;optional&quot;: false&#xd;
5465                                   }&#xd;
5466                                 },&#xd;
5467                                 {&#xd;
5468                                   &quot;key&quot;: &quot;management-option&quot;,&#xd;
5469                                   &quot;value&quot;: {&#xd;
5470                                     &quot;key&quot;: &quot;management-option&quot;,&#xd;
5471                                     &quot;fieldSchemaKey&quot;: {&#xd;
5472                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5473                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5474                                     },&#xd;
5475                                     &quot;optional&quot;: false&#xd;
5476                                   }&#xd;
5477                                 },&#xd;
5478                                 {&#xd;
5479                                   &quot;key&quot;: &quot;pnf-id&quot;,&#xd;
5480                                   &quot;value&quot;: {&#xd;
5481                                     &quot;key&quot;: &quot;pnf-id&quot;,&#xd;
5482                                     &quot;fieldSchemaKey&quot;: {&#xd;
5483                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5484                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5485                                     },&#xd;
5486                                     &quot;optional&quot;: false&#xd;
5487                                   }&#xd;
5488                                 },&#xd;
5489                                 {&#xd;
5490                                   &quot;key&quot;: &quot;pnf-name&quot;,&#xd;
5491                                   &quot;value&quot;: {&#xd;
5492                                     &quot;key&quot;: &quot;pnf-name&quot;,&#xd;
5493                                     &quot;fieldSchemaKey&quot;: {&#xd;
5494                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5495                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5496                                     },&#xd;
5497                                     &quot;optional&quot;: false&#xd;
5498                                   }&#xd;
5499                                 },&#xd;
5500                                 {&#xd;
5501                                   &quot;key&quot;: &quot;pnf-name2&quot;,&#xd;
5502                                   &quot;value&quot;: {&#xd;
5503                                     &quot;key&quot;: &quot;pnf-name2&quot;,&#xd;
5504                                     &quot;fieldSchemaKey&quot;: {&#xd;
5505                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5506                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5507                                     },&#xd;
5508                                     &quot;optional&quot;: false&#xd;
5509                                   }&#xd;
5510                                 },&#xd;
5511                                 {&#xd;
5512                                   &quot;key&quot;: &quot;resource-version&quot;,&#xd;
5513                                   &quot;value&quot;: {&#xd;
5514                                     &quot;key&quot;: &quot;resource-version&quot;,&#xd;
5515                                     &quot;fieldSchemaKey&quot;: {&#xd;
5516                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5517                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5518                                     },&#xd;
5519                                     &quot;optional&quot;: false&#xd;
5520                                   }&#xd;
5521                                 }&#xd;
5522                               ]&#xd;
5523                             }&#xd;
5524                           }&#xd;
5525                         },&#xd;
5526                         {&#xd;
5527                           &quot;key&quot;: {&#xd;
5528                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
5529                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5530                           },&#xd;
5531                           &quot;value&quot;: {&#xd;
5532                             &quot;key&quot;: {&#xd;
5533                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
5534                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5535                             },&#xd;
5536                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5537                             &quot;source&quot;: &quot;CDS&quot;,&#xd;
5538                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
5539                             &quot;parameter&quot;: {&#xd;
5540                               &quot;entry&quot;: [&#xd;
5541                                 {&#xd;
5542                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
5543                                   &quot;value&quot;: {&#xd;
5544                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
5545                                     &quot;fieldSchemaKey&quot;: {&#xd;
5546                                       &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
5547                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5548                                     },&#xd;
5549                                     &quot;optional&quot;: false&#xd;
5550                                   }&#xd;
5551                                 },&#xd;
5552                                 {&#xd;
5553                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
5554                                   &quot;value&quot;: {&#xd;
5555                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
5556                                     &quot;fieldSchemaKey&quot;: {&#xd;
5557                                       &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
5558                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5559                                     },&#xd;
5560                                     &quot;optional&quot;: false&#xd;
5561                                   }&#xd;
5562                                 },&#xd;
5563                                 {&#xd;
5564                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
5565                                   &quot;value&quot;: {&#xd;
5566                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
5567                                     &quot;fieldSchemaKey&quot;: {&#xd;
5568                                       &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
5569                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5570                                     },&#xd;
5571                                     &quot;optional&quot;: false&#xd;
5572                                   }&#xd;
5573                                 },&#xd;
5574                                 {&#xd;
5575                                   &quot;key&quot;: &quot;status&quot;,&#xd;
5576                                   &quot;value&quot;: {&#xd;
5577                                     &quot;key&quot;: &quot;status&quot;,&#xd;
5578                                     &quot;fieldSchemaKey&quot;: {&#xd;
5579                                       &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
5580                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5581                                     },&#xd;
5582                                     &quot;optional&quot;: false&#xd;
5583                                   }&#xd;
5584                                 }&#xd;
5585                               ]&#xd;
5586                             }&#xd;
5587                           }&#xd;
5588                         },&#xd;
5589                         {&#xd;
5590                           &quot;key&quot;: {&#xd;
5591                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
5592                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5593                           },&#xd;
5594                           &quot;value&quot;: {&#xd;
5595                             &quot;key&quot;: {&#xd;
5596                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
5597                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5598                             },&#xd;
5599                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5600                             &quot;source&quot;: &quot;APEX&quot;,&#xd;
5601                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
5602                             &quot;parameter&quot;: {&#xd;
5603                               &quot;entry&quot;: [&#xd;
5604                                 {&#xd;
5605                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
5606                                   &quot;value&quot;: {&#xd;
5607                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
5608                                     &quot;fieldSchemaKey&quot;: {&#xd;
5609                                       &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
5610                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5611                                     },&#xd;
5612                                     &quot;optional&quot;: false&#xd;
5613                                   }&#xd;
5614                                 },&#xd;
5615                                 {&#xd;
5616                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
5617                                   &quot;value&quot;: {&#xd;
5618                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
5619                                     &quot;fieldSchemaKey&quot;: {&#xd;
5620                                       &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
5621                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5622                                     },&#xd;
5623                                     &quot;optional&quot;: false&#xd;
5624                                   }&#xd;
5625                                 },&#xd;
5626                                 {&#xd;
5627                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
5628                                   &quot;value&quot;: {&#xd;
5629                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
5630                                     &quot;fieldSchemaKey&quot;: {&#xd;
5631                                       &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
5632                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5633                                     },&#xd;
5634                                     &quot;optional&quot;: false&#xd;
5635                                   }&#xd;
5636                                 }&#xd;
5637                               ]&#xd;
5638                             }&#xd;
5639                           }&#xd;
5640                         },&#xd;
5641                         {&#xd;
5642                           &quot;key&quot;: {&#xd;
5643                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
5644                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5645                           },&#xd;
5646                           &quot;value&quot;: {&#xd;
5647                             &quot;key&quot;: {&#xd;
5648                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
5649                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5650                             },&#xd;
5651                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5652                             &quot;source&quot;: &quot;CDS&quot;,&#xd;
5653                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
5654                             &quot;parameter&quot;: {&#xd;
5655                               &quot;entry&quot;: [&#xd;
5656                                 {&#xd;
5657                                   &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
5658                                   &quot;value&quot;: {&#xd;
5659                                     &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
5660                                     &quot;fieldSchemaKey&quot;: {&#xd;
5661                                       &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
5662                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5663                                     },&#xd;
5664                                     &quot;optional&quot;: false&#xd;
5665                                   }&#xd;
5666                                 },&#xd;
5667                                 {&#xd;
5668                                   &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
5669                                   &quot;value&quot;: {&#xd;
5670                                     &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
5671                                     &quot;fieldSchemaKey&quot;: {&#xd;
5672                                       &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
5673                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5674                                     },&#xd;
5675                                     &quot;optional&quot;: false&#xd;
5676                                   }&#xd;
5677                                 },&#xd;
5678                                 {&#xd;
5679                                   &quot;key&quot;: &quot;payload&quot;,&#xd;
5680                                   &quot;value&quot;: {&#xd;
5681                                     &quot;key&quot;: &quot;payload&quot;,&#xd;
5682                                     &quot;fieldSchemaKey&quot;: {&#xd;
5683                                       &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
5684                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5685                                     },&#xd;
5686                                     &quot;optional&quot;: false&#xd;
5687                                   }&#xd;
5688                                 },&#xd;
5689                                 {&#xd;
5690                                   &quot;key&quot;: &quot;status&quot;,&#xd;
5691                                   &quot;value&quot;: {&#xd;
5692                                     &quot;key&quot;: &quot;status&quot;,&#xd;
5693                                     &quot;fieldSchemaKey&quot;: {&#xd;
5694                                       &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
5695                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5696                                     },&#xd;
5697                                     &quot;optional&quot;: false&#xd;
5698                                   }&#xd;
5699                                 }&#xd;
5700                               ]&#xd;
5701                             }&#xd;
5702                           }&#xd;
5703                         },&#xd;
5704                         {&#xd;
5705                           &quot;key&quot;: {&#xd;
5706                             &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
5707                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5708                           },&#xd;
5709                           &quot;value&quot;: {&#xd;
5710                             &quot;key&quot;: {&#xd;
5711                               &quot;name&quot;: &quot;SimpleCL_LogEvent&quot;,&#xd;
5712                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5713                             },&#xd;
5714                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5715                             &quot;source&quot;: &quot;APEX&quot;,&#xd;
5716                             &quot;target&quot;: &quot;DCAE&quot;,&#xd;
5717                             &quot;parameter&quot;: {&#xd;
5718                               &quot;entry&quot;: [&#xd;
5719                                 {&#xd;
5720                                   &quot;key&quot;: &quot;component&quot;,&#xd;
5721                                   &quot;value&quot;: {&#xd;
5722                                     &quot;key&quot;: &quot;component&quot;,&#xd;
5723                                     &quot;fieldSchemaKey&quot;: {&#xd;
5724                                       &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
5725                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5726                                     },&#xd;
5727                                     &quot;optional&quot;: false&#xd;
5728                                   }&#xd;
5729                                 },&#xd;
5730                                 {&#xd;
5731                                   &quot;key&quot;: &quot;id&quot;,&#xd;
5732                                   &quot;value&quot;: {&#xd;
5733                                     &quot;key&quot;: &quot;id&quot;,&#xd;
5734                                     &quot;fieldSchemaKey&quot;: {&#xd;
5735                                       &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
5736                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5737                                     },&#xd;
5738                                     &quot;optional&quot;: false&#xd;
5739                                   }&#xd;
5740                                 },&#xd;
5741                                 {&#xd;
5742                                   &quot;key&quot;: &quot;otherFields&quot;,&#xd;
5743                                   &quot;value&quot;: {&#xd;
5744                                     &quot;key&quot;: &quot;otherFields&quot;,&#xd;
5745                                     &quot;fieldSchemaKey&quot;: {&#xd;
5746                                       &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
5747                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5748                                     },&#xd;
5749                                     &quot;optional&quot;: false&#xd;
5750                                   }&#xd;
5751                                 },&#xd;
5752                                 {&#xd;
5753                                   &quot;key&quot;: &quot;target&quot;,&#xd;
5754                                   &quot;value&quot;: {&#xd;
5755                                     &quot;key&quot;: &quot;target&quot;,&#xd;
5756                                     &quot;fieldSchemaKey&quot;: {&#xd;
5757                                       &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
5758                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5759                                     },&#xd;
5760                                     &quot;optional&quot;: false&#xd;
5761                                   }&#xd;
5762                                 }&#xd;
5763                               ]&#xd;
5764                             }&#xd;
5765                           }&#xd;
5766                         },&#xd;
5767                         {&#xd;
5768                           &quot;key&quot;: {&#xd;
5769                             &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
5770                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5771                           },&#xd;
5772                           &quot;value&quot;: {&#xd;
5773                             &quot;key&quot;: {&#xd;
5774                               &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
5775                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5776                             },&#xd;
5777                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
5778                             &quot;source&quot;: &quot;DCAE&quot;,&#xd;
5779                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
5780                             &quot;parameter&quot;: {&#xd;
5781                               &quot;entry&quot;: [&#xd;
5782                                 {&#xd;
5783                                   &quot;key&quot;: &quot;event&quot;,&#xd;
5784                                   &quot;value&quot;: {&#xd;
5785                                     &quot;key&quot;: &quot;event&quot;,&#xd;
5786                                     &quot;fieldSchemaKey&quot;: {&#xd;
5787                                       &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
5788                                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5789                                     },&#xd;
5790                                     &quot;optional&quot;: false&#xd;
5791                                   }&#xd;
5792                                 }&#xd;
5793                               ]&#xd;
5794                             }&#xd;
5795                           }&#xd;
5796                         }&#xd;
5797                       ]&#xd;
5798                     }&#xd;
5799                   },&#xd;
5800                   &quot;albums&quot;: {&#xd;
5801                     &quot;key&quot;: {&#xd;
5802                       &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Albums&quot;,&#xd;
5803                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5804                     },&#xd;
5805                     &quot;albums&quot;: {&#xd;
5806                       &quot;entry&quot;: [&#xd;
5807                         {&#xd;
5808                           &quot;key&quot;: {&#xd;
5809                             &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
5810                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5811                           },&#xd;
5812                           &quot;value&quot;: {&#xd;
5813                             &quot;key&quot;: {&#xd;
5814                               &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
5815                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5816                             },&#xd;
5817                             &quot;scope&quot;: &quot;policy&quot;,&#xd;
5818                             &quot;isWritable&quot;: true,&#xd;
5819                             &quot;itemSchema&quot;: {&#xd;
5820                               &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
5821                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5822                             }&#xd;
5823                           }&#xd;
5824                         }&#xd;
5825                       ]&#xd;
5826                     }&#xd;
5827                   },&#xd;
5828                   &quot;schemas&quot;: {&#xd;
5829                     &quot;key&quot;: {&#xd;
5830                       &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Schemas&quot;,&#xd;
5831                       &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5832                     },&#xd;
5833                     &quot;schemas&quot;: {&#xd;
5834                       &quot;entry&quot;: [&#xd;
5835                         {&#xd;
5836                           &quot;key&quot;: {&#xd;
5837                             &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
5838                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5839                           },&#xd;
5840                           &quot;value&quot;: {&#xd;
5841                             &quot;key&quot;: {&#xd;
5842                               &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
5843                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5844                             },&#xd;
5845                             &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
5846                             &quot;schemaDefinition&quot;: &quot;java.lang.Boolean&quot;&#xd;
5847                           }&#xd;
5848                         },&#xd;
5849                         {&#xd;
5850                           &quot;key&quot;: {&#xd;
5851                             &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
5852                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5853                           },&#xd;
5854                           &quot;value&quot;: {&#xd;
5855                             &quot;key&quot;: {&#xd;
5856                               &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
5857                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5858                             },&#xd;
5859                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
5860                             &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;
5861                           }&#xd;
5862                         },&#xd;
5863                         {&#xd;
5864                           &quot;key&quot;: {&#xd;
5865                             &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
5866                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5867                           },&#xd;
5868                           &quot;value&quot;: {&#xd;
5869                             &quot;key&quot;: {&#xd;
5870                               &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
5871                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5872                             },&#xd;
5873                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
5874                             &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;
5875                           }&#xd;
5876                         },&#xd;
5877                         {&#xd;
5878                           &quot;key&quot;: {&#xd;
5879                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
5880                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5881                           },&#xd;
5882                           &quot;value&quot;: {&#xd;
5883                             &quot;key&quot;: {&#xd;
5884                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
5885                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5886                             },&#xd;
5887                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
5888                             &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;
5889                           }&#xd;
5890                         },&#xd;
5891                         {&#xd;
5892                           &quot;key&quot;: {&#xd;
5893                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
5894                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5895                           },&#xd;
5896                           &quot;value&quot;: {&#xd;
5897                             &quot;key&quot;: {&#xd;
5898                               &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
5899                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5900                             },&#xd;
5901                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
5902                             &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;
5903                           }&#xd;
5904                         },&#xd;
5905                         {&#xd;
5906                           &quot;key&quot;: {&#xd;
5907                             &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
5908                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5909                           },&#xd;
5910                           &quot;value&quot;: {&#xd;
5911                             &quot;key&quot;: {&#xd;
5912                               &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
5913                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5914                             },&#xd;
5915                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
5916                             &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;
5917                           }&#xd;
5918                         },&#xd;
5919                         {&#xd;
5920                           &quot;key&quot;: {&#xd;
5921                             &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
5922                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5923                           },&#xd;
5924                           &quot;value&quot;: {&#xd;
5925                             &quot;key&quot;: {&#xd;
5926                               &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
5927                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5928                             },&#xd;
5929                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
5930                             &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;
5931                           }&#xd;
5932                         },&#xd;
5933                         {&#xd;
5934                           &quot;key&quot;: {&#xd;
5935                             &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
5936                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5937                           },&#xd;
5938                           &quot;value&quot;: {&#xd;
5939                             &quot;key&quot;: {&#xd;
5940                               &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
5941                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5942                             },&#xd;
5943                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
5944                             &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;
5945                           }&#xd;
5946                         },&#xd;
5947                         {&#xd;
5948                           &quot;key&quot;: {&#xd;
5949                             &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
5950                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5951                           },&#xd;
5952                           &quot;value&quot;: {&#xd;
5953                             &quot;key&quot;: {&#xd;
5954                               &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
5955                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5956                             },&#xd;
5957                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
5958                             &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;
5959                           }&#xd;
5960                         },&#xd;
5961                         {&#xd;
5962                           &quot;key&quot;: {&#xd;
5963                             &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
5964                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5965                           },&#xd;
5966                           &quot;value&quot;: {&#xd;
5967                             &quot;key&quot;: {&#xd;
5968                               &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
5969                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5970                             },&#xd;
5971                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
5972                             &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;
5973                           }&#xd;
5974                         },&#xd;
5975                         {&#xd;
5976                           &quot;key&quot;: {&#xd;
5977                             &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
5978                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5979                           },&#xd;
5980                           &quot;value&quot;: {&#xd;
5981                             &quot;key&quot;: {&#xd;
5982                               &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
5983                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5984                             },&#xd;
5985                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
5986                             &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;
5987                           }&#xd;
5988                         },&#xd;
5989                         {&#xd;
5990                           &quot;key&quot;: {&#xd;
5991                             &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
5992                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5993                           },&#xd;
5994                           &quot;value&quot;: {&#xd;
5995                             &quot;key&quot;: {&#xd;
5996                               &quot;name&quot;: &quot;SimpleCL_LogEventComponentType&quot;,&#xd;
5997                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
5998                             },&#xd;
5999                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
6000                             &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;
6001                           }&#xd;
6002                         },&#xd;
6003                         {&#xd;
6004                           &quot;key&quot;: {&#xd;
6005                             &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
6006                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
6007                           },&#xd;
6008                           &quot;value&quot;: {&#xd;
6009                             &quot;key&quot;: {&#xd;
6010                               &quot;name&quot;: &quot;SimpleCL_LogEventOtherFieldsType&quot;,&#xd;
6011                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
6012                             },&#xd;
6013                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
6014                             &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;
6015                           }&#xd;
6016                         },&#xd;
6017                         {&#xd;
6018                           &quot;key&quot;: {&#xd;
6019                             &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
6020                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
6021                           },&#xd;
6022                           &quot;value&quot;: {&#xd;
6023                             &quot;key&quot;: {&#xd;
6024                               &quot;name&quot;: &quot;SimpleCL_LogEventTargetType&quot;,&#xd;
6025                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
6026                             },&#xd;
6027                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
6028                             &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;
6029                           }&#xd;
6030                         },&#xd;
6031                         {&#xd;
6032                           &quot;key&quot;: {&#xd;
6033                             &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
6034                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
6035                           },&#xd;
6036                           &quot;value&quot;: {&#xd;
6037                             &quot;key&quot;: {&#xd;
6038                               &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
6039                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
6040                             },&#xd;
6041                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
6042                             &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;
6043                           }&#xd;
6044                         },&#xd;
6045                         {&#xd;
6046                           &quot;key&quot;: {&#xd;
6047                             &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
6048                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
6049                           },&#xd;
6050                           &quot;value&quot;: {&#xd;
6051                             &quot;key&quot;: {&#xd;
6052                               &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
6053                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
6054                             },&#xd;
6055                             &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
6056                             &quot;schemaDefinition&quot;: &quot;java.lang.Long&quot;&#xd;
6057                           }&#xd;
6058                         },&#xd;
6059                         {&#xd;
6060                           &quot;key&quot;: {&#xd;
6061                             &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
6062                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
6063                           },&#xd;
6064                           &quot;value&quot;: {&#xd;
6065                             &quot;key&quot;: {&#xd;
6066                               &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
6067                               &quot;version&quot;: &quot;0.0.1&quot;&#xd;
6068                             },&#xd;
6069                             &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
6070                             &quot;schemaDefinition&quot;: &quot;java.lang.String&quot;&#xd;
6071                           }&#xd;
6072                         }&#xd;
6073                       ]&#xd;
6074                     }&#xd;
6075                   }&#xd;
6076                 }&#xd;
6077               }&#xd;
6078             },&#xd;
6079             &quot;eventInputParameters&quot;: {&#xd;
6080               &quot;SimpleCL_DCAEConsumer&quot;: {&#xd;
6081                 &quot;carrierTechnologyParameters&quot;: {&#xd;
6082                   &quot;carrierTechnology&quot;: &quot;KAFKA&quot;,&#xd;
6083                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters&quot;,&#xd;
6084                   &quot;parameters&quot;: {&#xd;
6085                     &quot;bootstrapServers&quot;: &quot;kafka:9092&quot;,&#xd;
6086                     &quot;groupId&quot;: &quot;apex-group&quot;,&#xd;
6087                     &quot;enableAutoCommit&quot;: true,&#xd;
6088                              &quot;autoCommitTime&quot;: 1000,&#xd;
6089                              &quot;sessionTimeout&quot;: 30000,&#xd;
6090                              &quot;consumerPollTime&quot;: 100,&#xd;
6091                              &quot;consumerTopicList&quot;: [&quot;unauthenticated.dcae_cl_output&quot;],&#xd;
6092                              &quot;keyDeserializer&quot;: &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;,&#xd;
6093                              &quot;valueDeserializer&quot;: &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;&#xd;
6094                   }&#xd;
6095                 },&#xd;
6096                 &quot;eventProtocolParameters&quot;: {&#xd;
6097                   &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
6098                 },&#xd;
6099                 &quot;eventName&quot;: &quot;SimpleCL_VesEvent&quot;&#xd;
6100               }&#xd;
6101             },&#xd;
6102             &quot;eventOutputParameters&quot;: {&#xd;
6103               &quot;SimpleCL_LogEventProducer&quot;: {&#xd;
6104                 &quot;carrierTechnologyParameters&quot;: {&#xd;
6105                   &quot;carrierTechnology&quot;: &quot;KAFKA&quot;,&#xd;
6106                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters&quot;,&#xd;
6107                   &quot;parameters&quot;: {&#xd;
6108                     &quot;bootstrapServers&quot;: &quot;kafka:9092&quot;,&#xd;
6109                     &quot;acks&quot;: &quot;all&quot;,&#xd;
6110                     &quot;retries&quot;: 0,&#xd;
6111                     &quot;batchSize&quot;: 16384,&#xd;
6112                     &quot;lingerTime&quot;: 1,&#xd;
6113                     &quot;bufferMemory&quot;: 33554432,&#xd;
6114                     &quot;producerTopic&quot;: &quot;apex-cl-mgt&quot;,&#xd;
6115                     &quot;keySerializer&quot;: &quot;org.apache.kafka.common.serialization.StringSerializer&quot;,&#xd;
6116                     &quot;valueSerializer&quot;: &quot;org.apache.kafka.common.serialization.StringSerializer&quot;&#xd;
6117                   }&#xd;
6118                 },&#xd;
6119                 &quot;eventProtocolParameters&quot;: {&#xd;
6120                   &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
6121                 }&#xd;
6122               }&#xd;
6123             }&#xd;
6124           }&#xd;
6125         }&#xd;
6126       }&#xd;
6127     ]&#xd;
6128   }&#xd;
6129 }</stringProp>
6130                 <stringProp name="Argument.metadata">=</stringProp>
6131               </elementProp>
6132             </collectionProp>
6133           </elementProp>
6134         </HTTPSamplerProxy>
6135         <hashTree>
6136           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6137             <collectionProp name="Asserion.test_strings">
6138               <stringProp name="49586">200</stringProp>
6139             </collectionProp>
6140             <stringProp name="Assertion.custom_message"></stringProp>
6141             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6142             <boolProp name="Assertion.assume_success">false</boolProp>
6143             <intProp name="Assertion.test_type">1</intProp>
6144           </ResponseAssertion>
6145           <hashTree/>
6146         </hashTree>
6147         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy policies" enabled="true">
6148           <intProp name="HTTPSampler.concurrentPool">6</intProp>
6149           <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
6150           <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
6151           <stringProp name="HTTPSampler.protocol">http</stringProp>
6152           <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp>
6153           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6154           <stringProp name="HTTPSampler.method">POST</stringProp>
6155           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6156           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
6157           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
6158             <collectionProp name="Arguments.arguments">
6159               <elementProp name="" elementType="HTTPArgument">
6160                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
6161                 <stringProp name="Argument.value">{&#xd;
6162     &quot;groups&quot;: [&#xd;
6163         {&#xd;
6164             &quot;name&quot;: &quot;defaultGroup&quot;,&#xd;
6165             &quot;deploymentSubgroups&quot;: [&#xd;
6166                 {&#xd;
6167                     &quot;pdpType&quot;: &quot;apex&quot;,&#xd;
6168                     &quot;action&quot;: &quot;POST&quot;,&#xd;
6169                     &quot;policies&quot;: [&#xd;
6170                         {&#xd;
6171                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
6172                             &quot;version&quot;: &quot;1.0.0&quot;&#xd;
6173                         }, {&#xd;
6174                             &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
6175                             &quot;version&quot;: &quot;1.0.0&quot;&#xd;
6176                         }&#xd;
6177                     ]&#xd;
6178                 }&#xd;
6179             ]&#xd;
6180         }&#xd;
6181     ]&#xd;
6182 }</stringProp>
6183                 <stringProp name="Argument.metadata">=</stringProp>
6184               </elementProp>
6185             </collectionProp>
6186           </elementProp>
6187         </HTTPSamplerProxy>
6188         <hashTree>
6189           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6190             <collectionProp name="Asserion.test_strings">
6191               <stringProp name="49588">202</stringProp>
6192             </collectionProp>
6193             <stringProp name="Assertion.custom_message"></stringProp>
6194             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6195             <boolProp name="Assertion.assume_success">false</boolProp>
6196             <intProp name="Assertion.test_type">1</intProp>
6197           </ResponseAssertion>
6198           <hashTree/>
6199         </hashTree>
6200         <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
6201           <stringProp name="ConstantTimer.delay">${wait}</stringProp>
6202         </ConstantTimer>
6203         <hashTree/>
6204       </hashTree>
6205       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group">
6206         <stringProp name="ThreadGroup.num_threads">${threads}</stringProp>
6207         <intProp name="ThreadGroup.ramp_time">1</intProp>
6208         <longProp name="ThreadGroup.duration">259200</longProp>
6209         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
6210         <boolProp name="ThreadGroup.scheduler">true</boolProp>
6211         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
6212         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
6213           <intProp name="LoopController.loops">-1</intProp>
6214           <boolProp name="LoopController.continue_forever">false</boolProp>
6215         </elementProp>
6216       </ThreadGroup>
6217       <hashTree>
6218         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Health Check" enabled="true">
6219           <intProp name="HTTPSampler.concurrentPool">6</intProp>
6220           <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
6221           <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp>
6222           <stringProp name="HTTPSampler.protocol">http</stringProp>
6223           <stringProp name="HTTPSampler.path">/policy/apex-pdp/v1/healthcheck</stringProp>
6224           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6225           <stringProp name="HTTPSampler.method">GET</stringProp>
6226           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6227           <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
6228           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
6229             <collectionProp name="Arguments.arguments"/>
6230           </elementProp>
6231         </HTTPSamplerProxy>
6232         <hashTree>
6233           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6234             <collectionProp name="Asserion.test_strings">
6235               <stringProp name="49586">200</stringProp>
6236             </collectionProp>
6237             <stringProp name="Assertion.custom_message"></stringProp>
6238             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6239             <boolProp name="Assertion.assume_success">false</boolProp>
6240             <intProp name="Assertion.test_type">8</intProp>
6241           </ResponseAssertion>
6242           <hashTree/>
6243         </hashTree>
6244         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Prometheus Metrics">
6245           <intProp name="HTTPSampler.concurrentPool">6</intProp>
6246           <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
6247           <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp>
6248           <stringProp name="HTTPSampler.protocol">http</stringProp>
6249           <stringProp name="HTTPSampler.path">/metrics</stringProp>
6250           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6251           <stringProp name="HTTPSampler.method">GET</stringProp>
6252           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6253           <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
6254           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
6255             <collectionProp name="Arguments.arguments"/>
6256           </elementProp>
6257         </HTTPSamplerProxy>
6258         <hashTree>
6259           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response" enabled="true">
6260             <collectionProp name="Asserion.test_strings">
6261               <stringProp name="49586">200</stringProp>
6262             </collectionProp>
6263             <stringProp name="Assertion.custom_message"></stringProp>
6264             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6265             <boolProp name="Assertion.assume_success">false</boolProp>
6266             <intProp name="Assertion.test_type">8</intProp>
6267             <stringProp name="Scope.variable">Response code</stringProp>
6268             <stringProp name="TestPlan.comments">Assert response coming back from apex-pdp</stringProp>
6269           </ResponseAssertion>
6270           <hashTree/>
6271         </hashTree>
6272         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test simple-cl policy - success"/>
6273         <hashTree>
6274           <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Send Trigger Event - simple-cl success">
6275             <stringProp name="cacheKey">true</stringProp>
6276             <stringProp name="filename"></stringProp>
6277             <stringProp name="parameters"></stringProp>
6278             <stringProp name="script">import org.apache.kafka.clients.producer.Callback
6279 import org.apache.kafka.clients.producer.RecordMetadata
6280 import org.apache.kafka.clients.producer.KafkaProducer
6281 import org.apache.kafka.clients.producer.ProducerRecord
6282 import org.apache.kafka.clients.producer.ProducerConfig
6283 import org.apache.kafka.common.serialization.StringSerializer
6284
6285 def props = new Properties()
6286 props.put(&quot;bootstrap.servers&quot;, &quot;kafka:9092&quot;)
6287 props.put(&quot;group.id&quot;, &quot;new-group&quot;)
6288 props.put(&quot;acks&quot;, &quot;all&quot;)
6289 props.put(&quot;retries&quot;, 0)
6290 props.put(&quot;batch.size&quot;, 16384)
6291 props.put(&quot;linger.ms&quot;, 1)
6292 props.put(&quot;buffer.memory&quot;, 33554432)
6293 props.put(&quot;key.serializer&quot;, StringSerializer.class.getName())
6294 props.put(&quot;value.serializer&quot;, StringSerializer.class.getName())
6295
6296 def producer = new KafkaProducer&lt;&gt;(props)
6297
6298 def jsonString = &apos;&apos;&apos;{
6299     &quot;event&quot;: {
6300         &quot;commonEventHeader&quot;: {
6301             &quot;startEpochMicrosec&quot;: 1597953057126,
6302             &quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,
6303             &quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,
6304             &quot;lastEpochMicrosec&quot;: 1597952499468,
6305             &quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,
6306             &quot;sourceName&quot;: &quot;PNF101&quot;,
6307             &quot;reportingEntityName&quot;: &quot;DCAE&quot;,
6308             &quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,
6309             &quot;internalHeaderFields&quot;: {},
6310             &quot;version&quot;: &quot;4.0.1&quot;,
6311             &quot;priority&quot;: &quot;Normal&quot;,
6312             &quot;sequence&quot;: 1,
6313             &quot;domain&quot;: &quot;other&quot;
6314         },
6315         &quot;otherFields&quot;: {
6316             &quot;hashMap&quot;: {
6317                 &quot;hostname&quot;: &quot;UNDEFINED&quot;,
6318                 &quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,
6319                 &quot;pnfName&quot;: &quot;PNF101&quot;,
6320                 &quot;ip&quot;: &quot;10.101.200.10&quot;
6321             },
6322             &quot;otherFieldsVersion&quot;: &quot;3.0&quot;
6323         }
6324     }
6325 }&apos;&apos;&apos;
6326
6327 def record = new ProducerRecord&lt;&gt;(&quot;unauthenticated.dcae_cl_output&quot;, jsonString)
6328
6329 producer.send(record, new Callback() {
6330     @Override
6331     void onCompletion(RecordMetadata metadata, Exception exception) {
6332         if (exception != null) {
6333             exception.printStackTrace()
6334         } else {
6335             println(&quot;Sent message to topic ${metadata.topic()} partition ${metadata.partition()} with offset ${metadata.offset()}&quot;)
6336         }
6337     }
6338 })
6339
6340 producer.close()
6341 </stringProp>
6342             <stringProp name="scriptLanguage">groovy</stringProp>
6343           </JSR223Sampler>
6344           <hashTree/>
6345           <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Read  notification events - simplecl success">
6346             <stringProp name="scriptLanguage">groovy</stringProp>
6347             <stringProp name="parameters"></stringProp>
6348             <stringProp name="filename"></stringProp>
6349             <stringProp name="cacheKey">true</stringProp>
6350             <stringProp name="script">import org.apache.kafka.clients.consumer.ConsumerConfig
6351 import org.apache.kafka.clients.consumer.KafkaConsumer
6352 import org.apache.kafka.clients.consumer.ConsumerRecords
6353 import org.apache.kafka.clients.consumer.ConsumerRecord
6354 import org.apache.kafka.common.serialization.StringDeserializer
6355 import groovy.json.JsonSlurper
6356
6357 // Consumer properties
6358 def props = new Properties()
6359 props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, &quot;kafka:9092&quot;)  // Adjust to your Kafka bootstrap server
6360 props.put(ConsumerConfig.GROUP_ID_CONFIG, &quot;apex-group&quot;)
6361 props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
6362 props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
6363 props.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, &quot;earliest&quot;)
6364
6365 // Create the Kafka consumer
6366 def consumer = new KafkaConsumer&lt;&gt;(props)
6367
6368 // Subscribe to the topic
6369 consumer.subscribe([&quot;apex-cl-mgt&quot;])
6370
6371 // Poll for messages and assert the value
6372 def found = false
6373 def timeout = 10000 // timeout in milliseconds
6374 def startTime = System.currentTimeMillis()
6375
6376 while (!found &amp;&amp; (System.currentTimeMillis() - startTime) &lt; timeout) {
6377     println(&quot;Inside while loop&quot;)
6378     ConsumerRecords&lt;String, String&gt; records = consumer.poll(1000)
6379     for (ConsumerRecord&lt;String, String&gt; record : records) {
6380         println(&quot;Received message: Key=${record.key()}, Value=${record.value()}, Partition=${record.partition()}, Offset=${record.offset()}&quot;)
6381         
6382         // Parse the JSON value
6383         def jsonSlurper = new JsonSlurper()
6384         def message = jsonSlurper.parseText(record.value())
6385         
6386         // Perform assertion on specific fields in the JSON
6387         if ((message?.source == &quot;APEX&quot;) || (message?.component?.status == &quot;ACTIVE&quot;)) {
6388             found = true
6389             println(&quot;Assertion passed: source is &apos;APEX&apos; or status is &apos;ACTIVE&apos;&quot;)
6390             break
6391         }
6392     }
6393 }
6394
6395 // Close the consumer
6396 consumer.close()
6397 </stringProp>
6398           </JSR223Sampler>
6399           <hashTree/>
6400         </hashTree>
6401         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test example policy - success"/>
6402         <hashTree>
6403           <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="JSR223 Sampler">
6404             <stringProp name="scriptLanguage">groovy</stringProp>
6405             <stringProp name="parameters"></stringProp>
6406             <stringProp name="filename"></stringProp>
6407             <stringProp name="cacheKey">true</stringProp>
6408             <stringProp name="script">import org.apache.kafka.clients.producer.Callback
6409 import org.apache.kafka.clients.producer.RecordMetadata
6410 import org.apache.kafka.clients.producer.KafkaProducer
6411 import org.apache.kafka.clients.producer.ProducerRecord
6412 import org.apache.kafka.clients.producer.ProducerConfig
6413 import org.apache.kafka.common.serialization.StringSerializer
6414
6415 def props = new Properties()
6416 props.put(&quot;bootstrap.servers&quot;, &quot;kafka:9092&quot;)
6417 props.put(&quot;group.id&quot;, &quot;new-group&quot;)
6418 props.put(&quot;acks&quot;, &quot;all&quot;)
6419 props.put(&quot;retries&quot;, 0)
6420 props.put(&quot;batch.size&quot;, 16384)
6421 props.put(&quot;linger.ms&quot;, 1)
6422 props.put(&quot;buffer.memory&quot;, 33554432)
6423 props.put(&quot;key.serializer&quot;, StringSerializer.class.getName())
6424 props.put(&quot;value.serializer&quot;, StringSerializer.class.getName())
6425
6426 def producer = new KafkaProducer&lt;&gt;(props)
6427
6428 def jsonString = &apos;&apos;&apos;{
6429   &quot;event&quot;: {
6430     &quot;commonEventHeader&quot;: {
6431       &quot;domain&quot;: &quot;fault&quot;,
6432       &quot;eventId&quot;: &quot;fault0000245&quot;,
6433       &quot;eventName&quot;: &quot;Fault_Vscf:PilotNumberPoolExhaustion&quot;,
6434       &quot;lastEpochMicrosec&quot;: 1413378172000000,
6435       &quot;priority&quot;: &quot;High&quot;,
6436       &quot;reportingEntityName&quot;: &quot;ibcx0001vm002oam001&quot;,
6437       &quot;sequence&quot;: 1,
6438       &quot;sourceId&quot;: &quot;de305d54-75b4-431b-adb2-eb6b9e546014${__threadNum}&quot;,
6439       &quot;sourceName&quot;: &quot;vfw-cnf-cds-test-1-vnf&quot;,
6440       &quot;startEpochMicrosec&quot;: 1413378172000000,
6441       &quot;timeZoneOffset&quot;: &quot;UTC-05:30&quot;,
6442       &quot;version&quot;: &quot;4.0.1&quot;,
6443       &quot;vesEventListenerVersion&quot;: &quot;7.0.1&quot;
6444     },
6445     &quot;faultFields&quot;: {
6446       &quot;alarmAdditionalInformation&quot;: {
6447         &quot;PilotNumberPoolSize&quot;: &quot;1000&quot;
6448       },
6449       &quot;alarmCondition&quot;: &quot;PilotNumberPoolExhaustion&quot;,
6450       &quot;eventSeverity&quot;: &quot;CRITICAL&quot;,
6451       &quot;eventSourceType&quot;: &quot;other&quot;,
6452       &quot;faultFieldsVersion&quot;: 4,
6453       &quot;specificProblem&quot;: &quot;Calls cannot complete - pilot numbers are unavailable&quot;,
6454       &quot;vfStatus&quot;: &quot;Active&quot;
6455     }
6456   }
6457 }&apos;&apos;&apos;
6458
6459 def record = new ProducerRecord&lt;&gt;(&quot;unauthenticated.dcae_policy_example_output&quot;, jsonString)
6460
6461 producer.send(record, new Callback() {
6462     @Override
6463     void onCompletion(RecordMetadata metadata, Exception exception) {
6464         if (exception != null) {
6465             exception.printStackTrace()
6466         } else {
6467             println(&quot;Sent message to topic ${metadata.topic()} partition ${metadata.partition()} with offset ${metadata.offset()}&quot;)
6468         }
6469     }
6470 })
6471
6472 producer.close()
6473 </stringProp>
6474           </JSR223Sampler>
6475           <hashTree/>
6476           <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Read  notification events - simplecl success">
6477             <stringProp name="scriptLanguage">groovy</stringProp>
6478             <stringProp name="parameters"></stringProp>
6479             <stringProp name="filename"></stringProp>
6480             <stringProp name="cacheKey">true</stringProp>
6481             <stringProp name="script">import org.apache.kafka.clients.consumer.ConsumerConfig
6482 import org.apache.kafka.clients.consumer.KafkaConsumer
6483 import org.apache.kafka.clients.consumer.ConsumerRecords
6484 import org.apache.kafka.clients.consumer.ConsumerRecord
6485 import org.apache.kafka.common.serialization.StringDeserializer
6486 import groovy.json.JsonSlurper
6487
6488 // Consumer properties
6489 def props = new Properties()
6490 props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, &quot;kafka:9092&quot;)  // Adjust to your Kafka bootstrap server
6491 props.put(ConsumerConfig.GROUP_ID_CONFIG, &quot;apex-group&quot;)
6492 props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
6493 props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
6494 props.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, &quot;earliest&quot;)
6495
6496 // Create the Kafka consumer
6497 def consumer = new KafkaConsumer&lt;&gt;(props)
6498
6499 // Subscribe to the topic
6500 consumer.subscribe([&quot;apex-cl-mgt&quot;])
6501
6502 // Poll for messages and assert the value
6503 def found = false
6504 def timeout = 10000 // timeout in milliseconds
6505 def startTime = System.currentTimeMillis()
6506
6507 while (!found &amp;&amp; (System.currentTimeMillis() - startTime) &lt; timeout) {
6508     println(&quot;Inside while loop&quot;)
6509     ConsumerRecords&lt;String, String&gt; records = consumer.poll(1000)
6510     for (ConsumerRecord&lt;String, String&gt; record : records) {
6511         println(&quot;Received message: Key=${record.key()}, Value=${record.value()}, Partition=${record.partition()}, Offset=${record.offset()}&quot;)
6512         
6513         // Parse the JSON value
6514         def jsonSlurper = new JsonSlurper()
6515         def message = jsonSlurper.parseText(record.value())
6516         
6517         // Perform assertion on specific fields in the JSON
6518         if ((message?.source == &quot;APEX&quot;) || (message?.component?.status == &quot;ACTIVE&quot;)) {
6519             found = true
6520             println(&quot;Assertion passed: source is &apos;APEX&apos; or status is &apos;ACTIVE&apos;&quot;)
6521             break
6522         }
6523     }
6524 }
6525
6526 // Close the consumer
6527 consumer.close()
6528 </stringProp>
6529           </JSR223Sampler>
6530           <hashTree/>
6531         </hashTree>
6532         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test simple-cl policy - failure"/>
6533         <hashTree>
6534           <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Send Trigger Event - simple-cl failure">
6535             <stringProp name="cacheKey">true</stringProp>
6536             <stringProp name="filename"></stringProp>
6537             <stringProp name="parameters"></stringProp>
6538             <stringProp name="script">import org.apache.kafka.clients.producer.Callback
6539 import org.apache.kafka.clients.producer.RecordMetadata
6540 import org.apache.kafka.clients.producer.KafkaProducer
6541 import org.apache.kafka.clients.producer.ProducerRecord
6542 import org.apache.kafka.clients.producer.ProducerConfig
6543 import org.apache.kafka.common.serialization.StringSerializer
6544
6545 def props = new Properties()
6546 props.put(&quot;bootstrap.servers&quot;, &quot;kafka:9092&quot;)
6547 props.put(&quot;group.id&quot;, &quot;new-group&quot;)
6548 props.put(&quot;acks&quot;, &quot;all&quot;)
6549 props.put(&quot;retries&quot;, 0)
6550 props.put(&quot;batch.size&quot;, 16384)
6551 props.put(&quot;linger.ms&quot;, 1)
6552 props.put(&quot;buffer.memory&quot;, 33554432)
6553 props.put(&quot;key.serializer&quot;, StringSerializer.class.getName())
6554 props.put(&quot;value.serializer&quot;, StringSerializer.class.getName())
6555
6556 def producer = new KafkaProducer&lt;&gt;(props)
6557
6558 def jsonString = &apos;&apos;&apos;{
6559   &quot;event&quot;: {
6560     &quot;commonEventHeader&quot;: {
6561       &quot;startEpochMicrosec&quot;: 1597953057126,
6562       &quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,
6563       &quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,
6564       &quot;lastEpochMicrosec&quot;: 1597952499468,
6565       &quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,
6566       &quot;sourceName&quot;: &quot;PNF101&quot;,
6567       &quot;reportingEntityName&quot;: &quot;DCAE&quot;,
6568       &quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,
6569       &quot;internalHeaderFields&quot;: {},
6570       &quot;version&quot;: &quot;4.0.1&quot;,
6571       &quot;priority&quot;: &quot;Normal&quot;,
6572       &quot;sequence&quot;: 1,
6573       &quot;domain&quot;: &quot;other&quot;
6574     },
6575     &quot;otherFields&quot;: {
6576       &quot;hashMap&quot;: {
6577         &quot;hostname&quot;: &quot;UNDEFINED&quot;,
6578         &quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,
6579         &quot;pnfName&quot;: &quot;PNF_INVALID&quot;,
6580         &quot;ip&quot;: &quot;10.101.200.10&quot;
6581       },
6582       &quot;otherFieldsVersion&quot;: &quot;3.0&quot;
6583     }
6584   }
6585 }&apos;&apos;&apos;
6586
6587 def record = new ProducerRecord&lt;&gt;(&quot;unauthenticated.dcae_cl_output&quot;, jsonString)
6588
6589 producer.send(record, new Callback() {
6590     @Override
6591     void onCompletion(RecordMetadata metadata, Exception exception) {
6592         if (exception != null) {
6593             exception.printStackTrace()
6594         } else {
6595             println(&quot;Sent message to topic ${metadata.topic()} partition ${metadata.partition()} with offset ${metadata.offset()}&quot;)
6596         }
6597     }
6598 })
6599
6600 producer.close()
6601 </stringProp>
6602             <stringProp name="scriptLanguage">groovy</stringProp>
6603           </JSR223Sampler>
6604           <hashTree/>
6605           <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Read  notification events - simplecl success">
6606             <stringProp name="scriptLanguage">groovy</stringProp>
6607             <stringProp name="parameters"></stringProp>
6608             <stringProp name="filename"></stringProp>
6609             <stringProp name="cacheKey">true</stringProp>
6610             <stringProp name="script">import org.apache.kafka.clients.consumer.ConsumerConfig
6611 import org.apache.kafka.clients.consumer.KafkaConsumer
6612 import org.apache.kafka.clients.consumer.ConsumerRecords
6613 import org.apache.kafka.clients.consumer.ConsumerRecord
6614 import org.apache.kafka.common.serialization.StringDeserializer
6615 import groovy.json.JsonSlurper
6616
6617 // Consumer properties
6618 def props = new Properties()
6619 props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, &quot;kafka:9092&quot;)  // Adjust to your Kafka bootstrap server
6620 props.put(ConsumerConfig.GROUP_ID_CONFIG, &quot;apex-group&quot;)
6621 props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
6622 props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
6623 props.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, &quot;earliest&quot;)
6624
6625 // Create the Kafka consumer
6626 def consumer = new KafkaConsumer&lt;&gt;(props)
6627
6628 // Subscribe to the topic
6629 consumer.subscribe([&quot;apex-cl-mgt&quot;])
6630
6631 // Poll for messages and assert the value
6632 def found = false
6633 def timeout = 10000 // timeout in milliseconds
6634 def startTime = System.currentTimeMillis()
6635
6636 while (!found &amp;&amp; (System.currentTimeMillis() - startTime) &lt; timeout) {
6637     println(&quot;Inside while loop&quot;)
6638     ConsumerRecords&lt;String, String&gt; records = consumer.poll(1000)
6639     for (ConsumerRecord&lt;String, String&gt; record : records) {
6640         println(&quot;Received message: Key=${record.key()}, Value=${record.value()}, Partition=${record.partition()}, Offset=${record.offset()}&quot;)
6641         
6642         // Parse the JSON value
6643         def jsonSlurper = new JsonSlurper()
6644         def message = jsonSlurper.parseText(record.value())
6645         
6646         // Perform assertion on specific fields in the JSON
6647         if (!(message?.name != &quot;SUCCESS&quot;)) {
6648             found = true
6649             println(&quot;Assertion passed&quot;)
6650             break
6651         }
6652     }
6653 }
6654
6655 // Close the consumer
6656 consumer.close()
6657 </stringProp>
6658           </JSR223Sampler>
6659           <hashTree/>
6660         </hashTree>
6661         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test example policy - failure"/>
6662         <hashTree>
6663           <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Send Trigger Event - example failure">
6664             <stringProp name="cacheKey">true</stringProp>
6665             <stringProp name="filename"></stringProp>
6666             <stringProp name="parameters"></stringProp>
6667             <stringProp name="script">import org.apache.kafka.clients.producer.Callback
6668 import org.apache.kafka.clients.producer.RecordMetadata
6669 import org.apache.kafka.clients.producer.KafkaProducer
6670 import org.apache.kafka.clients.producer.ProducerRecord
6671 import org.apache.kafka.clients.producer.ProducerConfig
6672 import org.apache.kafka.common.serialization.StringSerializer
6673
6674 def props = new Properties()
6675 props.put(&quot;bootstrap.servers&quot;, &quot;kafka:9092&quot;)
6676 props.put(&quot;group.id&quot;, &quot;new-group&quot;)
6677 props.put(&quot;acks&quot;, &quot;all&quot;)
6678 props.put(&quot;retries&quot;, 0)
6679 props.put(&quot;batch.size&quot;, 16384)
6680 props.put(&quot;linger.ms&quot;, 1)
6681 props.put(&quot;buffer.memory&quot;, 33554432)
6682 props.put(&quot;key.serializer&quot;, StringSerializer.class.getName())
6683 props.put(&quot;value.serializer&quot;, StringSerializer.class.getName())
6684
6685 def producer = new KafkaProducer&lt;&gt;(props)
6686
6687 def jsonString = &apos;&apos;&apos;{
6688     &quot;event&quot;: {
6689         &quot;commonEventHeader&quot;: {
6690             &quot;startEpochMicrosec&quot;: 1597953057126,
6691             &quot;sourceId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57${__threadNum}&quot;,
6692             &quot;eventId&quot;: &quot;8c7935a4-79d8-4ec0-b661-dcca3cd6800${__threadNum}&quot;,
6693             &quot;lastEpochMicrosec&quot;: 1597952499468,
6694             &quot;eventName&quot;: &quot;Report hostname &amp; IP&quot;,
6695             &quot;sourceName&quot;: &quot;PNF101&quot;,
6696             &quot;reportingEntityName&quot;: &quot;DCAE&quot;,
6697             &quot;vesEventListenerVersion&quot;: &quot;7.1&quot;,
6698             &quot;internalHeaderFields&quot;: {},
6699             &quot;version&quot;: &quot;4.0.1&quot;,
6700             &quot;priority&quot;: &quot;Normal&quot;,
6701             &quot;sequence&quot;: 1,
6702             &quot;domain&quot;: &quot;other&quot;
6703         },
6704         &quot;otherFields&quot;: {
6705             &quot;hashMap&quot;: {
6706                 &quot;hostname&quot;: &quot;UNDEFINED&quot;,
6707                 &quot;pnfId&quot;: &quot;927b2580-36d9-4f13-8421-3c9d43b7a57e&quot;,
6708                 &quot;pnfName&quot;: &quot;PNF101&quot;,
6709                 &quot;ip&quot;: &quot;10.101.200.10&quot;
6710             },
6711             &quot;otherFieldsVersion&quot;: &quot;3.0&quot;
6712         }
6713     }
6714 }&apos;&apos;&apos;
6715
6716 def record = new ProducerRecord&lt;&gt;(&quot;unauthenticated.dcae_policy_example_output&quot;, jsonString)
6717
6718 producer.send(record, new Callback() {
6719     @Override
6720     void onCompletion(RecordMetadata metadata, Exception exception) {
6721         if (exception != null) {
6722             exception.printStackTrace()
6723         } else {
6724             println(&quot;Sent message to topic ${metadata.topic()} partition ${metadata.partition()} with offset ${metadata.offset()}&quot;)
6725         }
6726     }
6727 })
6728
6729 producer.close()
6730 </stringProp>
6731             <stringProp name="scriptLanguage">groovy</stringProp>
6732           </JSR223Sampler>
6733           <hashTree/>
6734           <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Read  notification events - simplecl success">
6735             <stringProp name="scriptLanguage">groovy</stringProp>
6736             <stringProp name="parameters"></stringProp>
6737             <stringProp name="filename"></stringProp>
6738             <stringProp name="cacheKey">true</stringProp>
6739             <stringProp name="script">import org.apache.kafka.clients.consumer.ConsumerConfig
6740 import org.apache.kafka.clients.consumer.KafkaConsumer
6741 import org.apache.kafka.clients.consumer.ConsumerRecords
6742 import org.apache.kafka.clients.consumer.ConsumerRecord
6743 import org.apache.kafka.common.serialization.StringDeserializer
6744 import groovy.json.JsonSlurper
6745
6746 // Consumer properties
6747 def props = new Properties()
6748 props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, &quot;kafka:9092&quot;)  // Adjust to your Kafka bootstrap server
6749 props.put(ConsumerConfig.GROUP_ID_CONFIG, &quot;apex-group&quot;)
6750 props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
6751 props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName())
6752 props.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, &quot;earliest&quot;)
6753
6754 // Create the Kafka consumer
6755 def consumer = new KafkaConsumer&lt;&gt;(props)
6756
6757 // Subscribe to the topic
6758 consumer.subscribe([&quot;apex-cl-mgt&quot;])
6759
6760 // Poll for messages and assert the value
6761 def found = false
6762 def timeout = 10000 // timeout in milliseconds
6763 def startTime = System.currentTimeMillis()
6764
6765 while (!found &amp;&amp; (System.currentTimeMillis() - startTime) &lt; timeout) {
6766     println(&quot;Inside while loop&quot;)
6767     ConsumerRecords&lt;String, String&gt; records = consumer.poll(1000)
6768     for (ConsumerRecord&lt;String, String&gt; record : records) {
6769         println(&quot;Received message: Key=${record.key()}, Value=${record.value()}, Partition=${record.partition()}, Offset=${record.offset()}&quot;)
6770         
6771         // Parse the JSON value
6772         def jsonSlurper = new JsonSlurper()
6773         def message = jsonSlurper.parseText(record.value())
6774         
6775         // Perform assertion on specific fields in the JSON
6776         if (!(message?.name == &quot;SUCCESS&quot;)) {
6777             found = true
6778             println(&quot;Assertion passed: source is &apos;APEX&apos; or status is &apos;ACTIVE&apos;&quot;)
6779             break
6780         }
6781     }
6782 }
6783
6784 // Close the consumer
6785 consumer.close()
6786 </stringProp>
6787           </JSR223Sampler>
6788           <hashTree/>
6789         </hashTree>
6790       </hashTree>
6791       <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group">
6792         <intProp name="ThreadGroup.num_threads">1</intProp>
6793         <intProp name="ThreadGroup.ramp_time">1</intProp>
6794         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
6795         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
6796         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
6797           <stringProp name="LoopController.loops">1</stringProp>
6798           <boolProp name="LoopController.continue_forever">false</boolProp>
6799         </elementProp>
6800       </PostThreadGroup>
6801       <hashTree>
6802         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Un deploy policy" enabled="true">
6803           <intProp name="HTTPSampler.concurrentPool">6</intProp>
6804           <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
6805           <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
6806           <stringProp name="HTTPSampler.protocol">http</stringProp>
6807           <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp>
6808           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6809           <stringProp name="HTTPSampler.method">POST</stringProp>
6810           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6811           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
6812           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
6813             <collectionProp name="Arguments.arguments">
6814               <elementProp name="" elementType="HTTPArgument">
6815                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
6816                 <stringProp name="Argument.value">{&#xd;
6817     &quot;groups&quot;: [&#xd;
6818         {&#xd;
6819             &quot;name&quot;: &quot;defaultGroup&quot;,&#xd;
6820             &quot;deploymentSubgroups&quot;: [&#xd;
6821                 {&#xd;
6822                     &quot;pdpType&quot;: &quot;apex&quot;,&#xd;
6823                     &quot;action&quot;: &quot;DELETE&quot;,&#xd;
6824                     &quot;policies&quot;: [&#xd;
6825                         {&#xd;
6826                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
6827                             &quot;version&quot;: &quot;1.0.0&quot;&#xd;
6828                         }, {&#xd;
6829                             &quot;name&quot;: &quot;onap.policies.apex.Example&quot;,&#xd;
6830                             &quot;version&quot;: &quot;1.0.0&quot;&#xd;
6831                         }&#xd;
6832                     ]&#xd;
6833                 }&#xd;
6834             ]&#xd;
6835         }&#xd;
6836     ]&#xd;
6837 }</stringProp>
6838                 <stringProp name="Argument.metadata">=</stringProp>
6839               </elementProp>
6840             </collectionProp>
6841           </elementProp>
6842         </HTTPSamplerProxy>
6843         <hashTree>
6844           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="false">
6845             <collectionProp name="Asserion.test_strings">
6846               <stringProp name="49588">202</stringProp>
6847             </collectionProp>
6848             <stringProp name="Assertion.custom_message"></stringProp>
6849             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6850             <boolProp name="Assertion.assume_success">false</boolProp>
6851             <intProp name="Assertion.test_type">1</intProp>
6852           </ResponseAssertion>
6853           <hashTree/>
6854         </hashTree>
6855         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy" enabled="true">
6856           <intProp name="HTTPSampler.concurrentPool">6</intProp>
6857           <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
6858           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6859           <stringProp name="HTTPSampler.protocol">http</stringProp>
6860           <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>
6861           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6862           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6863           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6864           <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
6865           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
6866             <collectionProp name="Arguments.arguments"/>
6867           </elementProp>
6868         </HTTPSamplerProxy>
6869         <hashTree>
6870           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="false">
6871             <collectionProp name="Asserion.test_strings">
6872               <stringProp name="49586">200</stringProp>
6873             </collectionProp>
6874             <stringProp name="Assertion.custom_message"></stringProp>
6875             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6876             <boolProp name="Assertion.assume_success">false</boolProp>
6877             <intProp name="Assertion.test_type">1</intProp>
6878           </ResponseAssertion>
6879           <hashTree/>
6880         </hashTree>
6881         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy">
6882           <intProp name="HTTPSampler.concurrentPool">6</intProp>
6883           <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
6884           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6885           <stringProp name="HTTPSampler.protocol">http</stringProp>
6886           <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>
6887           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6888           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6889           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6890           <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
6891           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
6892             <collectionProp name="Arguments.arguments"/>
6893           </elementProp>
6894         </HTTPSamplerProxy>
6895         <hashTree>
6896           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="false">
6897             <collectionProp name="Asserion.test_strings">
6898               <stringProp name="49586">200</stringProp>
6899             </collectionProp>
6900             <stringProp name="Assertion.custom_message"></stringProp>
6901             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6902             <boolProp name="Assertion.assume_success">false</boolProp>
6903             <intProp name="Assertion.test_type">1</intProp>
6904           </ResponseAssertion>
6905           <hashTree/>
6906         </hashTree>
6907       </hashTree>
6908       <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
6909         <boolProp name="ResultCollector.error_logging">false</boolProp>
6910         <objProp>
6911           <name>saveConfig</name>
6912           <value class="SampleSaveConfiguration">
6913             <time>true</time>
6914             <latency>true</latency>
6915             <timestamp>true</timestamp>
6916             <success>true</success>
6917             <label>true</label>
6918             <code>true</code>
6919             <message>true</message>
6920             <threadName>true</threadName>
6921             <dataType>true</dataType>
6922             <encoding>false</encoding>
6923             <assertions>true</assertions>
6924             <subresults>true</subresults>
6925             <responseData>false</responseData>
6926             <samplerData>false</samplerData>
6927             <xml>false</xml>
6928             <fieldNames>true</fieldNames>
6929             <responseHeaders>false</responseHeaders>
6930             <requestHeaders>false</requestHeaders>
6931             <responseDataOnError>false</responseDataOnError>
6932             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
6933             <assertionsResultsToSave>0</assertionsResultsToSave>
6934             <bytes>true</bytes>
6935             <sentBytes>true</sentBytes>
6936             <threadCounts>true</threadCounts>
6937             <sampleCount>true</sampleCount>
6938             <idleTime>true</idleTime>
6939             <connectTime>true</connectTime>
6940           </value>
6941         </objProp>
6942         <stringProp name="filename">/home/wayne/dev/s3ps/apex-pdp/testsuites/apex-pdp-stability/src/main/resources/s3pTestResults.jtl</stringProp>
6943       </ResultCollector>
6944       <hashTree/>
6945       <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
6946         <boolProp name="ResultCollector.error_logging">false</boolProp>
6947         <objProp>
6948           <name>saveConfig</name>
6949           <value class="SampleSaveConfiguration">
6950             <time>true</time>
6951             <latency>true</latency>
6952             <timestamp>true</timestamp>
6953             <success>true</success>
6954             <label>true</label>
6955             <code>true</code>
6956             <message>true</message>
6957             <threadName>true</threadName>
6958             <dataType>true</dataType>
6959             <encoding>false</encoding>
6960             <assertions>true</assertions>
6961             <subresults>true</subresults>
6962             <responseData>false</responseData>
6963             <samplerData>false</samplerData>
6964             <xml>false</xml>
6965             <fieldNames>true</fieldNames>
6966             <responseHeaders>false</responseHeaders>
6967             <requestHeaders>false</requestHeaders>
6968             <responseDataOnError>false</responseDataOnError>
6969             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
6970             <assertionsResultsToSave>0</assertionsResultsToSave>
6971             <bytes>true</bytes>
6972             <sentBytes>true</sentBytes>
6973             <threadCounts>true</threadCounts>
6974             <sampleCount>true</sampleCount>
6975             <idleTime>true</idleTime>
6976             <connectTime>true</connectTime>
6977           </value>
6978         </objProp>
6979         <stringProp name="filename">/home/wayne/dev/s3ps/apex-pdp/testsuites/apex-pdp-stability/src/main/resources/s3pTestResults.jtl</stringProp>
6980       </ResultCollector>
6981       <hashTree/>
6982       <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table">
6983         <boolProp name="ResultCollector.error_logging">false</boolProp>
6984         <objProp>
6985           <name>saveConfig</name>
6986           <value class="SampleSaveConfiguration">
6987             <time>true</time>
6988             <latency>true</latency>
6989             <timestamp>true</timestamp>
6990             <success>true</success>
6991             <label>true</label>
6992             <code>true</code>
6993             <message>true</message>
6994             <threadName>true</threadName>
6995             <dataType>true</dataType>
6996             <encoding>false</encoding>
6997             <assertions>true</assertions>
6998             <subresults>true</subresults>
6999             <responseData>false</responseData>
7000             <samplerData>false</samplerData>
7001             <xml>false</xml>
7002             <fieldNames>true</fieldNames>
7003             <responseHeaders>false</responseHeaders>
7004             <requestHeaders>false</requestHeaders>
7005             <responseDataOnError>false</responseDataOnError>
7006             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
7007             <assertionsResultsToSave>0</assertionsResultsToSave>
7008             <bytes>true</bytes>
7009             <sentBytes>true</sentBytes>
7010             <threadCounts>true</threadCounts>
7011             <sampleCount>true</sampleCount>
7012             <idleTime>true</idleTime>
7013             <connectTime>true</connectTime>
7014           </value>
7015         </objProp>
7016         <stringProp name="filename">/home/wayne/dev/s3ps/apex-pdp/testsuites/apex-pdp-stability/src/main/resources/s3pTestResults.jtl</stringProp>
7017       </ResultCollector>
7018       <hashTree/>
7019     </hashTree>
7020   </hashTree>
7021 </jmeterTestPlan>