blob: d952924578144d3869a85fff92d103d7f0367571 [file] [log] [blame]
ramverma78c6f582018-10-23 16:58:34 +01001<?xml version="1.0" encoding="UTF-8"?>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002<!--
3 ============LICENSE_START=======================================================
4 ONAP Apex-PDP
5 ================================================================================
6 Copyright (C) 2020 Nordix Foundation.All rights reserved.
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2.1">
ramverma78c6f582018-10-23 16:58:34 +010022 <hashTree>
23 <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="APEX PDP STABILITY TEST PLAN" enabled="true">
24 <stringProp name="TestPlan.comments"></stringProp>
25 <boolProp name="TestPlan.functional_mode">false</boolProp>
26 <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
27 <boolProp name="TestPlan.serialize_threadgroups">true</boolProp>
28 <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
29 <collectionProp name="Arguments.arguments"/>
30 </elementProp>
31 <stringProp name="TestPlan.user_define_classpath"></stringProp>
32 </TestPlan>
33 <hashTree>
34 <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
35 <collectionProp name="HeaderManager.headers">
36 <elementProp name="" elementType="Header">
37 <stringProp name="Header.name">Content-Type</stringProp>
38 <stringProp name="Header.value">application/json</stringProp>
39 </elementProp>
40 <elementProp name="" elementType="Header">
41 <stringProp name="Header.name">Accept</stringProp>
42 <stringProp name="Header.value">application/json</stringProp>
43 </elementProp>
44 </collectionProp>
45 </HeaderManager>
46 <hashTree/>
aditya.puthuparambilff67d112020-06-02 16:22:59 +010047 <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="false">
ramverma78c6f582018-10-23 16:58:34 +010048 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
49 <collectionProp name="Arguments.arguments"/>
50 </elementProp>
51 <stringProp name="HTTPSampler.domain"></stringProp>
52 <stringProp name="HTTPSampler.port">23324</stringProp>
53 <stringProp name="HTTPSampler.protocol">http</stringProp>
54 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
55 <stringProp name="HTTPSampler.path"></stringProp>
56 <stringProp name="HTTPSampler.concurrentPool">6</stringProp>
57 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
58 <stringProp name="HTTPSampler.response_timeout"></stringProp>
59 </ConfigTestElement>
60 <hashTree/>
61 <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
62 <collectionProp name="Arguments.arguments">
63 <elementProp name="threads" elementType="Argument">
64 <stringProp name="Argument.name">threads</stringProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +010065 <stringProp name="Argument.value">${__P(threads,5)}</stringProp>
ramverma78c6f582018-10-23 16:58:34 +010066 <stringProp name="Argument.metadata">=</stringProp>
67 </elementProp>
68 <elementProp name="threadsTimeOutInMs" elementType="Argument">
69 <stringProp name="Argument.name">threadsTimeOutInMs</stringProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +010070 <stringProp name="Argument.value">${__P(threadsTimeOutInMs,150000)}</stringProp>
ramverma78c6f582018-10-23 16:58:34 +010071 <stringProp name="Argument.metadata">=</stringProp>
72 </elementProp>
73 <elementProp name="wait" elementType="Argument">
74 <stringProp name="Argument.name">wait</stringProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +010075 <stringProp name="Argument.value">${__P(wait,120000)}</stringProp>
ramverma78c6f582018-10-23 16:58:34 +010076 <stringProp name="Argument.desc">Wait time between requests to apex-pdp</stringProp>
77 <stringProp name="Argument.metadata">=</stringProp>
78 </elementProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +010079 <elementProp name="PAP_PORT" elementType="Argument">
80 <stringProp name="Argument.name">PAP_PORT</stringProp>
81 <stringProp name="Argument.value">${__P(PAP_PORT,32597)}</stringProp>
82 <stringProp name="Argument.metadata">=</stringProp>
83 </elementProp>
84 <elementProp name="API_PORT" elementType="Argument">
85 <stringProp name="Argument.name">API_PORT</stringProp>
86 <stringProp name="Argument.value">${__P(API_PORT,32634)}</stringProp>
87 <stringProp name="Argument.metadata">=</stringProp>
88 </elementProp>
89 <elementProp name="APEX_PORT" elementType="Argument">
90 <stringProp name="Argument.name">APEX_PORT</stringProp>
91 <stringProp name="Argument.value">${__P(APEX_PORT,31089)}</stringProp>
92 <stringProp name="Argument.metadata">=</stringProp>
93 </elementProp>
94 <elementProp name="DMAAP_PORT" elementType="Argument">
95 <stringProp name="Argument.name">DMAAP_PORT</stringProp>
96 <stringProp name="Argument.value">${__P(DMAAP_PORT,31532)}</stringProp>
97 <stringProp name="Argument.metadata">=</stringProp>
98 </elementProp>
99 <elementProp name="HOSTNAME" elementType="Argument">
100 <stringProp name="Argument.name">HOSTNAME</stringProp>
101 <stringProp name="Argument.value">${__P(HOSTNAME,10.2.0.197)}</stringProp>
102 <stringProp name="Argument.metadata">=</stringProp>
103 </elementProp>
104 <elementProp name="LOG_PATH" elementType="Argument">
105 <stringProp name="Argument.name">LOG_PATH</stringProp>
106 <stringProp name="Argument.value">${__P(LOG_PATH,/home/adityap/apex_stability)}</stringProp>
107 <stringProp name="Argument.metadata">=</stringProp>
108 </elementProp>
ramverma78c6f582018-10-23 16:58:34 +0100109 </collectionProp>
110 </Arguments>
111 <hashTree/>
aditya.puthuparambilff67d112020-06-02 16:22:59 +0100112 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
113 <collectionProp name="AuthManager.auth_list">
114 <elementProp name="" elementType="Authorization">
115 <stringProp name="Authorization.url">https://${HOSTNAME}:${API_PORT}</stringProp>
116 <stringProp name="Authorization.username">healthcheck</stringProp>
117 <stringProp name="Authorization.password">zb!XztG34</stringProp>
118 <stringProp name="Authorization.domain"></stringProp>
119 <stringProp name="Authorization.realm"></stringProp>
120 </elementProp>
121 <elementProp name="" elementType="Authorization">
122 <stringProp name="Authorization.url">https://${HOSTNAME}:${PAP_PORT}</stringProp>
123 <stringProp name="Authorization.username">healthcheck</stringProp>
124 <stringProp name="Authorization.password">zb!XztG34</stringProp>
125 <stringProp name="Authorization.domain"></stringProp>
126 <stringProp name="Authorization.realm"></stringProp>
127 </elementProp>
128 <elementProp name="" elementType="Authorization">
129 <stringProp name="Authorization.url">https://${HOSTNAME}:${APEX_PORT}</stringProp>
130 <stringProp name="Authorization.username">healthcheck</stringProp>
131 <stringProp name="Authorization.password">zb!XztG34</stringProp>
132 <stringProp name="Authorization.domain"></stringProp>
133 <stringProp name="Authorization.realm"></stringProp>
134 </elementProp>
135 </collectionProp>
136 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
137 </AuthManager>
138 <hashTree/>
139 <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true">
140 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
141 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
142 <boolProp name="LoopController.continue_forever">false</boolProp>
143 <stringProp name="LoopController.loops">1</stringProp>
144 </elementProp>
145 <stringProp name="ThreadGroup.num_threads">1</stringProp>
146 <stringProp name="ThreadGroup.ramp_time">1</stringProp>
147 <boolProp name="ThreadGroup.scheduler">false</boolProp>
148 <stringProp name="ThreadGroup.duration"></stringProp>
149 <stringProp name="ThreadGroup.delay"></stringProp>
150 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
151 </SetupThreadGroup>
152 <hashTree>
153 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy" enabled="true">
154 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
155 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
156 <collectionProp name="Arguments.arguments">
157 <elementProp name="" elementType="HTTPArgument">
158 <boolProp name="HTTPArgument.always_encode">false</boolProp>
159 <stringProp name="Argument.value">{&#xd;
160 &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
161 &quot;topology_template&quot;: {&#xd;
162 &quot;policies&quot;: [&#xd;
163 {&#xd;
164 &quot;operational.apex.stabilityTestDefaultDomain&quot;: {&#xd;
165 &quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
166 &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
167 &quot;properties&quot;: {&#xd;
168 &quot;engineServiceParameters&quot;: {&#xd;
169 &quot;name&quot;: &quot;MyApexEngine&quot;,&#xd;
170 &quot;version&quot;: &quot;0.0.1&quot;,&#xd;
171 &quot;id&quot;: 45,&#xd;
172 &quot;instanceCount&quot;: 4,&#xd;
173 &quot;deploymentPort&quot;: 12561,&#xd;
174 &quot;engineParameters&quot;: {&#xd;
175 &quot;executorParameters&quot;: {&#xd;
176 &quot;JAVASCRIPT&quot;: {&#xd;
177 &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters&quot;&#xd;
178 }&#xd;
179 },&#xd;
180 &quot;contextParameters&quot;: {&#xd;
181 &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.context.parameters.ContextParameters&quot;,&#xd;
182 &quot;schemaParameters&quot;: {&#xd;
183 &quot;Avro&quot;: {&#xd;
184 &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters&quot;&#xd;
185 },&#xd;
186 &quot;Java&quot;: {&#xd;
187 &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters&quot;,&#xd;
188 &quot;jsonAdapters&quot;: {&#xd;
189 &quot;Instant&quot;: {&#xd;
190 &quot;adaptedClass&quot;: &quot;java.time.Instant&quot;,&#xd;
191 &quot;adaptorClass&quot;: &quot;org.onap.policy.controlloop.util.Serialization$GsonInstantAdapter&quot;&#xd;
192 }&#xd;
193 }&#xd;
194 }&#xd;
195 }&#xd;
196 }&#xd;
197 },&#xd;
198 &quot;policy_type_impl&quot;: {&#xd;
199 &quot;apexPolicyModel&quot;: {&#xd;
200 &quot;key&quot;: {&#xd;
201 &quot;name&quot;: &quot;APEXgRPCPolicy&quot;,&#xd;
202 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
203 },&#xd;
204 &quot;keyInformation&quot;: {&#xd;
205 &quot;key&quot;: {&#xd;
206 &quot;name&quot;: &quot;APEXgRPCPolicy_KeyInfo&quot;,&#xd;
207 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
208 },&#xd;
209 &quot;keyInfoMap&quot;: {&#xd;
210 &quot;entry&quot;: [&#xd;
211 {&#xd;
212 &quot;key&quot;: {&#xd;
213 &quot;name&quot;: &quot;APEXgRPCPolicy&quot;,&#xd;
214 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
215 },&#xd;
216 &quot;value&quot;: {&#xd;
217 &quot;key&quot;: {&#xd;
218 &quot;name&quot;: &quot;APEXgRPCPolicy&quot;,&#xd;
219 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
220 },&#xd;
221 &quot;UUID&quot;: &quot;b8424cdb-29fb-3566-b77a-f4f847d81cc9&quot;,&#xd;
222 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy:0.0.1\&quot;&quot;&#xd;
223 }&#xd;
224 },&#xd;
225 {&#xd;
226 &quot;key&quot;: {&#xd;
227 &quot;name&quot;: &quot;APEXgRPCPolicy_Albums&quot;,&#xd;
228 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
229 },&#xd;
230 &quot;value&quot;: {&#xd;
231 &quot;key&quot;: {&#xd;
232 &quot;name&quot;: &quot;APEXgRPCPolicy_Albums&quot;,&#xd;
233 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
234 },&#xd;
235 &quot;UUID&quot;: &quot;9922906c-ccaa-34f7-95e2-bcc36e77821b&quot;,&#xd;
236 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Albums:0.0.1\&quot;&quot;&#xd;
237 }&#xd;
238 },&#xd;
239 {&#xd;
240 &quot;key&quot;: {&#xd;
241 &quot;name&quot;: &quot;APEXgRPCPolicy_Events&quot;,&#xd;
242 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
243 },&#xd;
244 &quot;value&quot;: {&#xd;
245 &quot;key&quot;: {&#xd;
246 &quot;name&quot;: &quot;APEXgRPCPolicy_Events&quot;,&#xd;
247 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
248 },&#xd;
249 &quot;UUID&quot;: &quot;5bf28afd-787c-3138-a3e1-b33ad94a038a&quot;,&#xd;
250 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Events:0.0.1\&quot;&quot;&#xd;
251 }&#xd;
252 },&#xd;
253 {&#xd;
254 &quot;key&quot;: {&#xd;
255 &quot;name&quot;: &quot;APEXgRPCPolicy_KeyInfo&quot;,&#xd;
256 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
257 },&#xd;
258 &quot;value&quot;: {&#xd;
259 &quot;key&quot;: {&#xd;
260 &quot;name&quot;: &quot;APEXgRPCPolicy_KeyInfo&quot;,&#xd;
261 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
262 },&#xd;
263 &quot;UUID&quot;: &quot;68abaa6f-8d03-3a53-9590-007115817d5c&quot;,&#xd;
264 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_KeyInfo:0.0.1\&quot;&quot;&#xd;
265 }&#xd;
266 },&#xd;
267 {&#xd;
268 &quot;key&quot;: {&#xd;
269 &quot;name&quot;: &quot;APEXgRPCPolicy_Policies&quot;,&#xd;
270 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
271 },&#xd;
272 &quot;value&quot;: {&#xd;
273 &quot;key&quot;: {&#xd;
274 &quot;name&quot;: &quot;APEXgRPCPolicy_Policies&quot;,&#xd;
275 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
276 },&#xd;
277 &quot;UUID&quot;: &quot;819d06c3-33c2-3031-aa78-96281aa4270a&quot;,&#xd;
278 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Policies:0.0.1\&quot;&quot;&#xd;
279 }&#xd;
280 },&#xd;
281 {&#xd;
282 &quot;key&quot;: {&#xd;
283 &quot;name&quot;: &quot;APEXgRPCPolicy_Schemas&quot;,&#xd;
284 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
285 },&#xd;
286 &quot;value&quot;: {&#xd;
287 &quot;key&quot;: {&#xd;
288 &quot;name&quot;: &quot;APEXgRPCPolicy_Schemas&quot;,&#xd;
289 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
290 },&#xd;
291 &quot;UUID&quot;: &quot;8e67d466-f990-3a39-9fd7-4490cac342dc&quot;,&#xd;
292 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Schemas:0.0.1\&quot;&quot;&#xd;
293 }&#xd;
294 },&#xd;
295 {&#xd;
296 &quot;key&quot;: {&#xd;
297 &quot;name&quot;: &quot;APEXgRPCPolicy_Tasks&quot;,&#xd;
298 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
299 },&#xd;
300 &quot;value&quot;: {&#xd;
301 &quot;key&quot;: {&#xd;
302 &quot;name&quot;: &quot;APEXgRPCPolicy_Tasks&quot;,&#xd;
303 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
304 },&#xd;
305 &quot;UUID&quot;: &quot;4668db3d-6fe2-3885-8e47-f30cd0102f0a&quot;,&#xd;
306 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;APEXgRPCPolicy_Tasks:0.0.1\&quot;&quot;&#xd;
307 }&#xd;
308 },&#xd;
309 {&#xd;
310 &quot;key&quot;: {&#xd;
311 &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
312 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
313 },&#xd;
314 &quot;value&quot;: {&#xd;
315 &quot;key&quot;: {&#xd;
316 &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
317 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
318 },&#xd;
319 &quot;UUID&quot;: &quot;6e5fa19b-14df-37e3-a4ae-8c537e861a82&quot;,&#xd;
320 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSActionIdentifiersType:0.0.1\&quot;&quot;&#xd;
321 }&#xd;
322 },&#xd;
323 {&#xd;
324 &quot;key&quot;: {&#xd;
325 &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
326 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
327 },&#xd;
328 &quot;value&quot;: {&#xd;
329 &quot;key&quot;: {&#xd;
330 &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
331 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
332 },&#xd;
333 &quot;UUID&quot;: &quot;8350ac5e-c157-38b9-9614-a0f93a830e60&quot;,&#xd;
334 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSCreateSubscriptionPayloadType:0.0.1\&quot;&quot;&#xd;
335 }&#xd;
336 },&#xd;
337 {&#xd;
338 &quot;key&quot;: {&#xd;
339 &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
340 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
341 },&#xd;
342 &quot;value&quot;: {&#xd;
343 &quot;key&quot;: {&#xd;
344 &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
345 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
346 },&#xd;
347 &quot;UUID&quot;: &quot;12658406-9147-3c9d-a38c-5ad5e30b092b&quot;,&#xd;
348 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSDeleteSubscriptionPayloadType:0.0.1\&quot;&quot;&#xd;
349 }&#xd;
350 },&#xd;
351 {&#xd;
352 &quot;key&quot;: {&#xd;
353 &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
354 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
355 },&#xd;
356 &quot;value&quot;: {&#xd;
357 &quot;key&quot;: {&#xd;
358 &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
359 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
360 },&#xd;
361 &quot;UUID&quot;: &quot;35590ac0-062c-39f1-8786-b4ff716e30b1&quot;,&#xd;
362 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSRequestCommonHeaderType:0.0.1\&quot;&quot;&#xd;
363 }&#xd;
364 },&#xd;
365 {&#xd;
366 &quot;key&quot;: {&#xd;
367 &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
368 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
369 },&#xd;
370 &quot;value&quot;: {&#xd;
371 &quot;key&quot;: {&#xd;
372 &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
373 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
374 },&#xd;
375 &quot;UUID&quot;: &quot;dd7e1805-885a-350b-aaf9-ed541321ae3c&quot;,&#xd;
376 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
377 }&#xd;
378 },&#xd;
379 {&#xd;
380 &quot;key&quot;: {&#xd;
381 &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
382 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
383 },&#xd;
384 &quot;value&quot;: {&#xd;
385 &quot;key&quot;: {&#xd;
386 &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
387 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
388 },&#xd;
389 &quot;UUID&quot;: &quot;15161037-9ac8-3223-820f-4e743562a345&quot;,&#xd;
390 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseEvent:0.0.1\&quot;&quot;&#xd;
391 }&#xd;
392 },&#xd;
393 {&#xd;
394 &quot;key&quot;: {&#xd;
395 &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
396 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
397 },&#xd;
398 &quot;value&quot;: {&#xd;
399 &quot;key&quot;: {&#xd;
400 &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
401 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
402 },&#xd;
403 &quot;UUID&quot;: &quot;97dc5f58-25bb-3c20-8d53-fdb70d7ca256&quot;,&#xd;
404 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponsePayloadType:0.0.1\&quot;&quot;&#xd;
405 }&#xd;
406 },&#xd;
407 {&#xd;
408 &quot;key&quot;: {&#xd;
409 &quot;name&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
410 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
411 },&#xd;
412 &quot;value&quot;: {&#xd;
413 &quot;key&quot;: {&#xd;
414 &quot;name&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
415 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
416 },&#xd;
417 &quot;UUID&quot;: &quot;c28b05a8-7436-3ac0-82ca-6d5fc18c9584&quot;,&#xd;
418 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponsePolicy:0.0.1\&quot;&quot;&#xd;
419 }&#xd;
420 },&#xd;
421 {&#xd;
422 &quot;key&quot;: {&#xd;
423 &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
424 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
425 },&#xd;
426 &quot;value&quot;: {&#xd;
427 &quot;key&quot;: {&#xd;
428 &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
429 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
430 },&#xd;
431 &quot;UUID&quot;: &quot;7986e21b-32f7-302e-9554-31f21b673493&quot;,&#xd;
432 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseStatusEvent:0.0.1\&quot;&quot;&#xd;
433 }&#xd;
434 },&#xd;
435 {&#xd;
436 &quot;key&quot;: {&#xd;
437 &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
438 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
439 },&#xd;
440 &quot;value&quot;: {&#xd;
441 &quot;key&quot;: {&#xd;
442 &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
443 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
444 },&#xd;
445 &quot;UUID&quot;: &quot;92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa&quot;,&#xd;
446 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseStatusType:0.0.1\&quot;&quot;&#xd;
447 }&#xd;
448 },&#xd;
449 {&#xd;
450 &quot;key&quot;: {&#xd;
451 &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
452 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
453 },&#xd;
454 &quot;value&quot;: {&#xd;
455 &quot;key&quot;: {&#xd;
456 &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
457 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
458 },&#xd;
459 &quot;UUID&quot;: &quot;d22c78a5-272c-391d-8083-28588280caf9&quot;,&#xd;
460 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CDSResponseTask:0.0.1\&quot;&quot;&#xd;
461 }&#xd;
462 },&#xd;
463 {&#xd;
464 &quot;key&quot;: {&#xd;
465 &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
466 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
467 },&#xd;
468 &quot;value&quot;: {&#xd;
469 &quot;key&quot;: {&#xd;
470 &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
471 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
472 },&#xd;
473 &quot;UUID&quot;: &quot;92162397-1a8e-3a3f-a469-d2af7700af4a&quot;,&#xd;
474 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionPayloadEvent:0.0.1\&quot;&quot;&#xd;
475 }&#xd;
476 },&#xd;
477 {&#xd;
478 &quot;key&quot;: {&#xd;
479 &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
480 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
481 },&#xd;
482 &quot;value&quot;: {&#xd;
483 &quot;key&quot;: {&#xd;
484 &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
485 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
486 },&#xd;
487 &quot;UUID&quot;: &quot;bc0c69f0-52ed-38ea-b468-ae4a6fd1730d&quot;,&#xd;
488 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionPayloadTask:0.0.1\&quot;&quot;&#xd;
489 }&#xd;
490 },&#xd;
491 {&#xd;
492 &quot;key&quot;: {&#xd;
493 &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
494 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
495 },&#xd;
496 &quot;value&quot;: {&#xd;
497 &quot;key&quot;: {&#xd;
498 &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
499 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
500 },&#xd;
501 &quot;UUID&quot;: &quot;7cfcf843-337e-3f41-b755-5043cb0a08fc&quot;,&#xd;
502 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionRequestEvent:0.0.1\&quot;&quot;&#xd;
503 }&#xd;
504 },&#xd;
505 {&#xd;
506 &quot;key&quot;: {&#xd;
507 &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
508 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
509 },&#xd;
510 &quot;value&quot;: {&#xd;
511 &quot;key&quot;: {&#xd;
512 &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
513 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
514 },&#xd;
515 &quot;UUID&quot;: &quot;89cb75e9-f06c-30d3-b4ff-698d45f63869&quot;,&#xd;
516 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;CreateSubscriptionRequestTask:0.0.1\&quot;&quot;&#xd;
517 }&#xd;
518 },&#xd;
519 {&#xd;
520 &quot;key&quot;: {&#xd;
521 &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
522 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
523 },&#xd;
524 &quot;value&quot;: {&#xd;
525 &quot;key&quot;: {&#xd;
526 &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
527 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
528 },&#xd;
529 &quot;UUID&quot;: &quot;994fa441-04ab-33bb-832d-1cd12ab5d074&quot;,&#xd;
530 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionPayloadEvent:0.0.1\&quot;&quot;&#xd;
531 }&#xd;
532 },&#xd;
533 {&#xd;
534 &quot;key&quot;: {&#xd;
535 &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
536 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
537 },&#xd;
538 &quot;value&quot;: {&#xd;
539 &quot;key&quot;: {&#xd;
540 &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
541 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
542 },&#xd;
543 &quot;UUID&quot;: &quot;0f519117-5fea-3e4b-941f-8f778100465f&quot;,&#xd;
544 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionPayloadTask:0.0.1\&quot;&quot;&#xd;
545 }&#xd;
546 },&#xd;
547 {&#xd;
548 &quot;key&quot;: {&#xd;
549 &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
550 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
551 },&#xd;
552 &quot;value&quot;: {&#xd;
553 &quot;key&quot;: {&#xd;
554 &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
555 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
556 },&#xd;
557 &quot;UUID&quot;: &quot;15d618d8-1689-3a05-89a5-05efa9388f65&quot;,&#xd;
558 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionRequestEvent:0.0.1\&quot;&quot;&#xd;
559 }&#xd;
560 },&#xd;
561 {&#xd;
562 &quot;key&quot;: {&#xd;
563 &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
564 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
565 },&#xd;
566 &quot;value&quot;: {&#xd;
567 &quot;key&quot;: {&#xd;
568 &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
569 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
570 },&#xd;
571 &quot;UUID&quot;: &quot;acb772fe-d442-39e3-98f9-b1080caf4150&quot;,&#xd;
572 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;DeleteSubscriptionRequestTask:0.0.1\&quot;&quot;&#xd;
573 }&#xd;
574 },&#xd;
575 {&#xd;
576 &quot;key&quot;: {&#xd;
577 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
578 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
579 },&#xd;
580 &quot;value&quot;: {&#xd;
581 &quot;key&quot;: {&#xd;
582 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
583 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
584 },&#xd;
585 &quot;UUID&quot;: &quot;c2bd6f0d-6854-317a-9be2-97c08338428c&quot;,&#xd;
586 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;PMSubscriptionAlbum:0.0.1\&quot;&quot;&#xd;
587 }&#xd;
588 },&#xd;
589 {&#xd;
590 &quot;key&quot;: {&#xd;
591 &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
592 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
593 },&#xd;
594 &quot;value&quot;: {&#xd;
595 &quot;key&quot;: {&#xd;
596 &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
597 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
598 },&#xd;
599 &quot;UUID&quot;: &quot;992b7819-9f69-3aa0-bb0f-6e45ea15ce05&quot;,&#xd;
600 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;PMSubscriptionOutputEvent:0.0.1\&quot;&quot;&#xd;
601 }&#xd;
602 },&#xd;
603 {&#xd;
604 &quot;key&quot;: {&#xd;
605 &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
606 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
607 },&#xd;
608 &quot;value&quot;: {&#xd;
609 &quot;key&quot;: {&#xd;
610 &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
611 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
612 },&#xd;
613 &quot;UUID&quot;: &quot;73c1c397-4fc3-357f-93b6-a8ad707fbaae&quot;,&#xd;
614 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;PMSubscriptionType:0.0.1\&quot;&quot;&#xd;
615 }&#xd;
616 },&#xd;
617 {&#xd;
618 &quot;key&quot;: {&#xd;
619 &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
620 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
621 },&#xd;
622 &quot;value&quot;: {&#xd;
623 &quot;key&quot;: {&#xd;
624 &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
625 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
626 },&#xd;
627 &quot;UUID&quot;: &quot;568b7345-9de1-36d3-b6a3-9b857e6809a1&quot;,&#xd;
628 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ReceiveEventPolicy:0.0.1\&quot;&quot;&#xd;
629 }&#xd;
630 },&#xd;
631 {&#xd;
632 &quot;key&quot;: {&#xd;
633 &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
634 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
635 },&#xd;
636 &quot;value&quot;: {&#xd;
637 &quot;key&quot;: {&#xd;
638 &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
639 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
640 },&#xd;
641 &quot;UUID&quot;: &quot;6c1c6c45-26e0-3591-94bf-679d20e283f4&quot;,&#xd;
642 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;ReceivePMSubscriptionTask:0.0.1\&quot;&quot;&#xd;
643 }&#xd;
644 },&#xd;
645 {&#xd;
646 &quot;key&quot;: {&#xd;
647 &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
648 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
649 },&#xd;
650 &quot;value&quot;: {&#xd;
651 &quot;key&quot;: {&#xd;
652 &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
653 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
654 },&#xd;
655 &quot;UUID&quot;: &quot;153791fd-ae0a-36a7-88a5-309a7936415d&quot;,&#xd;
656 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleIntType:0.0.1\&quot;&quot;&#xd;
657 }&#xd;
658 },&#xd;
659 {&#xd;
660 &quot;key&quot;: {&#xd;
661 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
662 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
663 },&#xd;
664 &quot;value&quot;: {&#xd;
665 &quot;key&quot;: {&#xd;
666 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
667 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
668 },&#xd;
669 &quot;UUID&quot;: &quot;8a4957cf-9493-3a76-8c22-a208e23259af&quot;,&#xd;
670 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleStringType:0.0.1\&quot;&quot;&#xd;
671 }&#xd;
672 },&#xd;
673 {&#xd;
674 &quot;key&quot;: {&#xd;
675 &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
676 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
677 },&#xd;
678 &quot;value&quot;: {&#xd;
679 &quot;key&quot;: {&#xd;
680 &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
681 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
682 },&#xd;
683 &quot;UUID&quot;: &quot;597643b1-9db1-31ce-85d0-e1c63c43b30b&quot;,&#xd;
684 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SubscriptionStatusType:0.0.1\&quot;&quot;&#xd;
685 }&#xd;
686 },&#xd;
687 {&#xd;
688 &quot;key&quot;: {&#xd;
689 &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
690 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
691 },&#xd;
692 &quot;value&quot;: {&#xd;
693 &quot;key&quot;: {&#xd;
694 &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
695 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
696 },&#xd;
697 &quot;UUID&quot;: &quot;184547bb-7d64-3cb2-a273-d7185102c5ce&quot;,&#xd;
698 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SubscriptionType:0.0.1\&quot;&quot;&#xd;
699 }&#xd;
700 },&#xd;
701 {&#xd;
702 &quot;key&quot;: {&#xd;
703 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
704 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
705 },&#xd;
706 &quot;value&quot;: {&#xd;
707 &quot;key&quot;: {&#xd;
708 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
709 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
710 },&#xd;
711 &quot;UUID&quot;: &quot;6a8cc68e-dfc8-3403-9c6d-071c886b319c&quot;,&#xd;
712 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;UUIDType:0.0.1\&quot;&quot;&#xd;
713 }&#xd;
714 },&#xd;
715 {&#xd;
716 &quot;key&quot;: {&#xd;
717 &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
718 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
719 },&#xd;
720 &quot;value&quot;: {&#xd;
721 &quot;key&quot;: {&#xd;
722 &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
723 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
724 },&#xd;
725 &quot;UUID&quot;: &quot;ead590a3-ba2e-3a01-b6e9-9329f5c8fee1&quot;,&#xd;
726 &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;testPolicyB:0.0.1\&quot;&quot;&#xd;
727 }&#xd;
728 }&#xd;
729 ]&#xd;
730 }&#xd;
731 },&#xd;
732 &quot;policies&quot;: {&#xd;
733 &quot;key&quot;: {&#xd;
734 &quot;name&quot;: &quot;APEXgRPCPolicy_Policies&quot;,&#xd;
735 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
736 },&#xd;
737 &quot;policyMap&quot;: {&#xd;
738 &quot;entry&quot;: [&#xd;
739 {&#xd;
740 &quot;key&quot;: {&#xd;
741 &quot;name&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
742 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
743 },&#xd;
744 &quot;value&quot;: {&#xd;
745 &quot;policyKey&quot;: {&#xd;
746 &quot;name&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
747 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
748 },&#xd;
749 &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
750 &quot;state&quot;: {&#xd;
751 &quot;entry&quot;: [&#xd;
752 {&#xd;
753 &quot;key&quot;: &quot;CDSResponseState&quot;,&#xd;
754 &quot;value&quot;: {&#xd;
755 &quot;stateKey&quot;: {&#xd;
756 &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
757 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
758 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
759 &quot;localName&quot;: &quot;CDSResponseState&quot;&#xd;
760 },&#xd;
761 &quot;trigger&quot;: {&#xd;
762 &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
763 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
764 },&#xd;
765 &quot;stateOutputs&quot;: {&#xd;
766 &quot;entry&quot;: [&#xd;
767 {&#xd;
768 &quot;key&quot;: &quot;ResponseOutput&quot;,&#xd;
769 &quot;value&quot;: {&#xd;
770 &quot;key&quot;: {&#xd;
771 &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
772 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
773 &quot;parentLocalName&quot;: &quot;CDSResponseState&quot;,&#xd;
774 &quot;localName&quot;: &quot;ResponseOutput&quot;&#xd;
775 },&#xd;
776 &quot;outgoingEvent&quot;: {&#xd;
777 &quot;name&quot;: &quot;CDSResponseStatusEvent&quot;,&#xd;
778 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
779 },&#xd;
780 &quot;nextState&quot;: {&#xd;
781 &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
782 &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
783 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
784 &quot;localName&quot;: &quot;NULL&quot;&#xd;
785 }&#xd;
786 }&#xd;
787 }&#xd;
788 ]&#xd;
789 },&#xd;
790 &quot;contextAlbumReference&quot;: [],&#xd;
791 &quot;taskSelectionLogic&quot;: {&#xd;
792 &quot;key&quot;: &quot;NULL&quot;,&#xd;
793 &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
794 &quot;logic&quot;: &quot;&quot;&#xd;
795 },&#xd;
796 &quot;stateFinalizerLogicMap&quot;: {&#xd;
797 &quot;entry&quot;: []&#xd;
798 },&#xd;
799 &quot;defaultTask&quot;: {&#xd;
800 &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
801 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
802 },&#xd;
803 &quot;taskReferences&quot;: {&#xd;
804 &quot;entry&quot;: [&#xd;
805 {&#xd;
806 &quot;key&quot;: {&#xd;
807 &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
808 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
809 },&#xd;
810 &quot;value&quot;: {&#xd;
811 &quot;key&quot;: {&#xd;
812 &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
813 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
814 &quot;parentLocalName&quot;: &quot;CDSResponseState&quot;,&#xd;
815 &quot;localName&quot;: &quot;CDSResponsePolicy&quot;&#xd;
816 },&#xd;
817 &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
818 &quot;output&quot;: {&#xd;
819 &quot;parentKeyName&quot;: &quot;CDSResponsePolicy&quot;,&#xd;
820 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
821 &quot;parentLocalName&quot;: &quot;CDSResponseState&quot;,&#xd;
822 &quot;localName&quot;: &quot;ResponseOutput&quot;&#xd;
823 }&#xd;
824 }&#xd;
825 }&#xd;
826 ]&#xd;
827 }&#xd;
828 }&#xd;
829 }&#xd;
830 ]&#xd;
831 },&#xd;
832 &quot;firstState&quot;: &quot;CDSResponseState&quot;&#xd;
833 }&#xd;
834 },&#xd;
835 {&#xd;
836 &quot;key&quot;: {&#xd;
837 &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
838 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
839 },&#xd;
840 &quot;value&quot;: {&#xd;
841 &quot;policyKey&quot;: {&#xd;
842 &quot;name&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
843 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
844 },&#xd;
845 &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
846 &quot;state&quot;: {&#xd;
847 &quot;entry&quot;: [&#xd;
848 {&#xd;
849 &quot;key&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
850 &quot;value&quot;: {&#xd;
851 &quot;stateKey&quot;: {&#xd;
852 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
853 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
854 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
855 &quot;localName&quot;: &quot;CreateOrDeleteState&quot;&#xd;
856 },&#xd;
857 &quot;trigger&quot;: {&#xd;
858 &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
859 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
860 },&#xd;
861 &quot;stateOutputs&quot;: {&#xd;
862 &quot;entry&quot;: [&#xd;
863 {&#xd;
864 &quot;key&quot;: &quot;CreateSubscriptionPayload&quot;,&#xd;
865 &quot;value&quot;: {&#xd;
866 &quot;key&quot;: {&#xd;
867 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
868 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
869 &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
870 &quot;localName&quot;: &quot;CreateSubscriptionPayload&quot;&#xd;
871 },&#xd;
872 &quot;outgoingEvent&quot;: {&#xd;
873 &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
874 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
875 },&#xd;
876 &quot;nextState&quot;: {&#xd;
877 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
878 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
879 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
880 &quot;localName&quot;: &quot;CreateSubscription&quot;&#xd;
881 }&#xd;
882 }&#xd;
883 },&#xd;
884 {&#xd;
885 &quot;key&quot;: &quot;DeleteSubscriptionPayload&quot;,&#xd;
886 &quot;value&quot;: {&#xd;
887 &quot;key&quot;: {&#xd;
888 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
889 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
890 &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
891 &quot;localName&quot;: &quot;DeleteSubscriptionPayload&quot;&#xd;
892 },&#xd;
893 &quot;outgoingEvent&quot;: {&#xd;
894 &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
895 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
896 },&#xd;
897 &quot;nextState&quot;: {&#xd;
898 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
899 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
900 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
901 &quot;localName&quot;: &quot;DeleteSubscription&quot;&#xd;
902 }&#xd;
903 }&#xd;
904 }&#xd;
905 ]&#xd;
906 },&#xd;
907 &quot;contextAlbumReference&quot;: [&#xd;
908 {&#xd;
909 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
910 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
911 }&#xd;
912 ],&#xd;
913 &quot;taskSelectionLogic&quot;: {&#xd;
914 &quot;key&quot;: &quot;TaskSelectionLogic&quot;,&#xd;
915 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
916 &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \&quot;AS IS\&quot; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\nvar changeType = pmSubscriptionInfo.get(\&quot;changeType\&quot;).toString()\n\nif (\&quot;CREATE\&quot;.equals(changeType)) {\n executor.subject.getTaskKey(\&quot;CreateSubscriptionPayloadTask\&quot;).copyTo(executor.selectedTask);\n}\nelse if (\&quot;DELETE\&quot;.equals(changeType)) {\n executor.subject.getTaskKey(\&quot;DeleteSubscriptionPayloadTask\&quot;).copyTo(executor.selectedTask);\n}\n\ntrue;&quot;&#xd;
917 },&#xd;
918 &quot;stateFinalizerLogicMap&quot;: {&#xd;
919 &quot;entry&quot;: []&#xd;
920 },&#xd;
921 &quot;defaultTask&quot;: {&#xd;
922 &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
923 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
924 },&#xd;
925 &quot;taskReferences&quot;: {&#xd;
926 &quot;entry&quot;: [&#xd;
927 {&#xd;
928 &quot;key&quot;: {&#xd;
929 &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
930 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
931 },&#xd;
932 &quot;value&quot;: {&#xd;
933 &quot;key&quot;: {&#xd;
934 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
935 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
936 &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
937 &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
938 },&#xd;
939 &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
940 &quot;output&quot;: {&#xd;
941 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
942 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
943 &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
944 &quot;localName&quot;: &quot;CreateSubscriptionPayload&quot;&#xd;
945 }&#xd;
946 }&#xd;
947 },&#xd;
948 {&#xd;
949 &quot;key&quot;: {&#xd;
950 &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
951 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
952 },&#xd;
953 &quot;value&quot;: {&#xd;
954 &quot;key&quot;: {&#xd;
955 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
956 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
957 &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
958 &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
959 },&#xd;
960 &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
961 &quot;output&quot;: {&#xd;
962 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
963 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
964 &quot;parentLocalName&quot;: &quot;CreateOrDeleteState&quot;,&#xd;
965 &quot;localName&quot;: &quot;DeleteSubscriptionPayload&quot;&#xd;
966 }&#xd;
967 }&#xd;
968 }&#xd;
969 ]&#xd;
970 }&#xd;
971 }&#xd;
972 },&#xd;
973 {&#xd;
974 &quot;key&quot;: &quot;CreateSubscription&quot;,&#xd;
975 &quot;value&quot;: {&#xd;
976 &quot;stateKey&quot;: {&#xd;
977 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
978 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
979 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
980 &quot;localName&quot;: &quot;CreateSubscription&quot;&#xd;
981 },&#xd;
982 &quot;trigger&quot;: {&#xd;
983 &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
984 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
985 },&#xd;
986 &quot;stateOutputs&quot;: {&#xd;
987 &quot;entry&quot;: [&#xd;
988 {&#xd;
989 &quot;key&quot;: &quot;IssueCreateSubscriptionRequestOutput&quot;,&#xd;
990 &quot;value&quot;: {&#xd;
991 &quot;key&quot;: {&#xd;
992 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
993 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
994 &quot;parentLocalName&quot;: &quot;CreateSubscription&quot;,&#xd;
995 &quot;localName&quot;: &quot;IssueCreateSubscriptionRequestOutput&quot;&#xd;
996 },&#xd;
997 &quot;outgoingEvent&quot;: {&#xd;
998 &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
999 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1000 },&#xd;
1001 &quot;nextState&quot;: {&#xd;
1002 &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
1003 &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
1004 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1005 &quot;localName&quot;: &quot;NULL&quot;&#xd;
1006 }&#xd;
1007 }&#xd;
1008 }&#xd;
1009 ]&#xd;
1010 },&#xd;
1011 &quot;contextAlbumReference&quot;: [&#xd;
1012 {&#xd;
1013 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
1014 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1015 }&#xd;
1016 ],&#xd;
1017 &quot;taskSelectionLogic&quot;: {&#xd;
1018 &quot;key&quot;: &quot;NULL&quot;,&#xd;
1019 &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
1020 &quot;logic&quot;: &quot;&quot;&#xd;
1021 },&#xd;
1022 &quot;stateFinalizerLogicMap&quot;: {&#xd;
1023 &quot;entry&quot;: []&#xd;
1024 },&#xd;
1025 &quot;defaultTask&quot;: {&#xd;
1026 &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
1027 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1028 },&#xd;
1029 &quot;taskReferences&quot;: {&#xd;
1030 &quot;entry&quot;: [&#xd;
1031 {&#xd;
1032 &quot;key&quot;: {&#xd;
1033 &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
1034 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1035 },&#xd;
1036 &quot;value&quot;: {&#xd;
1037 &quot;key&quot;: {&#xd;
1038 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1039 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1040 &quot;parentLocalName&quot;: &quot;CreateSubscription&quot;,&#xd;
1041 &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
1042 },&#xd;
1043 &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
1044 &quot;output&quot;: {&#xd;
1045 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1046 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1047 &quot;parentLocalName&quot;: &quot;CreateSubscription&quot;,&#xd;
1048 &quot;localName&quot;: &quot;IssueCreateSubscriptionRequestOutput&quot;&#xd;
1049 }&#xd;
1050 }&#xd;
1051 }&#xd;
1052 ]&#xd;
1053 }&#xd;
1054 }&#xd;
1055 },&#xd;
1056 {&#xd;
1057 &quot;key&quot;: &quot;DeleteSubscription&quot;,&#xd;
1058 &quot;value&quot;: {&#xd;
1059 &quot;stateKey&quot;: {&#xd;
1060 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1061 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1062 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1063 &quot;localName&quot;: &quot;DeleteSubscription&quot;&#xd;
1064 },&#xd;
1065 &quot;trigger&quot;: {&#xd;
1066 &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
1067 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1068 },&#xd;
1069 &quot;stateOutputs&quot;: {&#xd;
1070 &quot;entry&quot;: [&#xd;
1071 {&#xd;
1072 &quot;key&quot;: &quot;IssueDeleteSubscriptionRequestOutput&quot;,&#xd;
1073 &quot;value&quot;: {&#xd;
1074 &quot;key&quot;: {&#xd;
1075 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1076 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1077 &quot;parentLocalName&quot;: &quot;DeleteSubscription&quot;,&#xd;
1078 &quot;localName&quot;: &quot;IssueDeleteSubscriptionRequestOutput&quot;&#xd;
1079 },&#xd;
1080 &quot;outgoingEvent&quot;: {&#xd;
1081 &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
1082 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1083 },&#xd;
1084 &quot;nextState&quot;: {&#xd;
1085 &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
1086 &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
1087 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1088 &quot;localName&quot;: &quot;NULL&quot;&#xd;
1089 }&#xd;
1090 }&#xd;
1091 }&#xd;
1092 ]&#xd;
1093 },&#xd;
1094 &quot;contextAlbumReference&quot;: [&#xd;
1095 {&#xd;
1096 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
1097 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1098 }&#xd;
1099 ],&#xd;
1100 &quot;taskSelectionLogic&quot;: {&#xd;
1101 &quot;key&quot;: &quot;NULL&quot;,&#xd;
1102 &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
1103 &quot;logic&quot;: &quot;&quot;&#xd;
1104 },&#xd;
1105 &quot;stateFinalizerLogicMap&quot;: {&#xd;
1106 &quot;entry&quot;: []&#xd;
1107 },&#xd;
1108 &quot;defaultTask&quot;: {&#xd;
1109 &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
1110 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1111 },&#xd;
1112 &quot;taskReferences&quot;: {&#xd;
1113 &quot;entry&quot;: [&#xd;
1114 {&#xd;
1115 &quot;key&quot;: {&#xd;
1116 &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
1117 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1118 },&#xd;
1119 &quot;value&quot;: {&#xd;
1120 &quot;key&quot;: {&#xd;
1121 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1122 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1123 &quot;parentLocalName&quot;: &quot;DeleteSubscription&quot;,&#xd;
1124 &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
1125 },&#xd;
1126 &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
1127 &quot;output&quot;: {&#xd;
1128 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1129 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1130 &quot;parentLocalName&quot;: &quot;DeleteSubscription&quot;,&#xd;
1131 &quot;localName&quot;: &quot;IssueDeleteSubscriptionRequestOutput&quot;&#xd;
1132 }&#xd;
1133 }&#xd;
1134 }&#xd;
1135 ]&#xd;
1136 }&#xd;
1137 }&#xd;
1138 },&#xd;
1139 {&#xd;
1140 &quot;key&quot;: &quot;ReceiveSubscriptionState&quot;,&#xd;
1141 &quot;value&quot;: {&#xd;
1142 &quot;stateKey&quot;: {&#xd;
1143 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1144 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1145 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1146 &quot;localName&quot;: &quot;ReceiveSubscriptionState&quot;&#xd;
1147 },&#xd;
1148 &quot;trigger&quot;: {&#xd;
1149 &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
1150 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1151 },&#xd;
1152 &quot;stateOutputs&quot;: {&#xd;
1153 &quot;entry&quot;: [&#xd;
1154 {&#xd;
1155 &quot;key&quot;: &quot;ReceivePMSubscriptionOutput&quot;,&#xd;
1156 &quot;value&quot;: {&#xd;
1157 &quot;key&quot;: {&#xd;
1158 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1159 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1160 &quot;parentLocalName&quot;: &quot;ReceiveSubscriptionState&quot;,&#xd;
1161 &quot;localName&quot;: &quot;ReceivePMSubscriptionOutput&quot;&#xd;
1162 },&#xd;
1163 &quot;outgoingEvent&quot;: {&#xd;
1164 &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
1165 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1166 },&#xd;
1167 &quot;nextState&quot;: {&#xd;
1168 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1169 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1170 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
1171 &quot;localName&quot;: &quot;CreateOrDeleteState&quot;&#xd;
1172 }&#xd;
1173 }&#xd;
1174 }&#xd;
1175 ]&#xd;
1176 },&#xd;
1177 &quot;contextAlbumReference&quot;: [&#xd;
1178 {&#xd;
1179 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
1180 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1181 }&#xd;
1182 ],&#xd;
1183 &quot;taskSelectionLogic&quot;: {&#xd;
1184 &quot;key&quot;: &quot;NULL&quot;,&#xd;
1185 &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
1186 &quot;logic&quot;: &quot;&quot;&#xd;
1187 },&#xd;
1188 &quot;stateFinalizerLogicMap&quot;: {&#xd;
1189 &quot;entry&quot;: []&#xd;
1190 },&#xd;
1191 &quot;defaultTask&quot;: {&#xd;
1192 &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
1193 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1194 },&#xd;
1195 &quot;taskReferences&quot;: {&#xd;
1196 &quot;entry&quot;: [&#xd;
1197 {&#xd;
1198 &quot;key&quot;: {&#xd;
1199 &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
1200 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1201 },&#xd;
1202 &quot;value&quot;: {&#xd;
1203 &quot;key&quot;: {&#xd;
1204 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1205 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1206 &quot;parentLocalName&quot;: &quot;ReceiveSubscriptionState&quot;,&#xd;
1207 &quot;localName&quot;: &quot;ReceiveEventPolicy&quot;&#xd;
1208 },&#xd;
1209 &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
1210 &quot;output&quot;: {&#xd;
1211 &quot;parentKeyName&quot;: &quot;ReceiveEventPolicy&quot;,&#xd;
1212 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
1213 &quot;parentLocalName&quot;: &quot;ReceiveSubscriptionState&quot;,&#xd;
1214 &quot;localName&quot;: &quot;ReceivePMSubscriptionOutput&quot;&#xd;
1215 }&#xd;
1216 }&#xd;
1217 }&#xd;
1218 ]&#xd;
1219 }&#xd;
1220 }&#xd;
1221 }&#xd;
1222 ]&#xd;
1223 },&#xd;
1224 &quot;firstState&quot;: &quot;ReceiveSubscriptionState&quot;&#xd;
1225 }&#xd;
1226 }&#xd;
1227 ]&#xd;
1228 }&#xd;
1229 },&#xd;
1230 &quot;tasks&quot;: {&#xd;
1231 &quot;key&quot;: {&#xd;
1232 &quot;name&quot;: &quot;APEXgRPCPolicy_Tasks&quot;,&#xd;
1233 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1234 },&#xd;
1235 &quot;taskMap&quot;: {&#xd;
1236 &quot;entry&quot;: [&#xd;
1237 {&#xd;
1238 &quot;key&quot;: {&#xd;
1239 &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
1240 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1241 },&#xd;
1242 &quot;value&quot;: {&#xd;
1243 &quot;key&quot;: {&#xd;
1244 &quot;name&quot;: &quot;CDSResponseTask&quot;,&#xd;
1245 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1246 },&#xd;
1247 &quot;inputFields&quot;: {&#xd;
1248 &quot;entry&quot;: [&#xd;
1249 {&#xd;
1250 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1251 &quot;value&quot;: {&#xd;
1252 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1253 &quot;fieldSchemaKey&quot;: {&#xd;
1254 &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
1255 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1256 },&#xd;
1257 &quot;optional&quot;: false&#xd;
1258 }&#xd;
1259 },&#xd;
1260 {&#xd;
1261 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1262 &quot;value&quot;: {&#xd;
1263 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1264 &quot;fieldSchemaKey&quot;: {&#xd;
1265 &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
1266 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1267 },&#xd;
1268 &quot;optional&quot;: false&#xd;
1269 }&#xd;
1270 },&#xd;
1271 {&#xd;
1272 &quot;key&quot;: &quot;payload&quot;,&#xd;
1273 &quot;value&quot;: {&#xd;
1274 &quot;key&quot;: &quot;payload&quot;,&#xd;
1275 &quot;fieldSchemaKey&quot;: {&#xd;
1276 &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
1277 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1278 },&#xd;
1279 &quot;optional&quot;: false&#xd;
1280 }&#xd;
1281 },&#xd;
1282 {&#xd;
1283 &quot;key&quot;: &quot;status&quot;,&#xd;
1284 &quot;value&quot;: {&#xd;
1285 &quot;key&quot;: &quot;status&quot;,&#xd;
1286 &quot;fieldSchemaKey&quot;: {&#xd;
1287 &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
1288 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1289 },&#xd;
1290 &quot;optional&quot;: false&#xd;
1291 }&#xd;
1292 }&#xd;
1293 ]&#xd;
1294 },&#xd;
1295 &quot;outputFields&quot;: {&#xd;
1296 &quot;entry&quot;: [&#xd;
1297 {&#xd;
1298 &quot;key&quot;: &quot;status&quot;,&#xd;
1299 &quot;value&quot;: {&#xd;
1300 &quot;key&quot;: &quot;status&quot;,&#xd;
1301 &quot;fieldSchemaKey&quot;: {&#xd;
1302 &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
1303 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1304 },&#xd;
1305 &quot;optional&quot;: false&#xd;
1306 }&#xd;
1307 }&#xd;
1308 ]&#xd;
1309 },&#xd;
1310 &quot;taskParameters&quot;: {&#xd;
1311 &quot;entry&quot;: []&#xd;
1312 },&#xd;
1313 &quot;contextAlbumReference&quot;: [&#xd;
1314 {&#xd;
1315 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
1316 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1317 }&#xd;
1318 ],&#xd;
1319 &quot;taskLogic&quot;: {&#xd;
1320 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
1321 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
1322 &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \&quot;AS IS\&quot; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\n\nvar uuidType = java.util.UUID;\n\nvar albumID = uuidType.fromString(\&quot;d0050623-18e5-46c9-9298-9a567990cd7c\&quot;);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(albumID.toString());\n\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\&quot;status\&quot;).createNewInstance();\n\nresponseStatus.put(\&quot;subscriptionName\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;subscriptionName\&quot;))\nresponseStatus.put(\&quot;nfName\&quot;, pmSubscriptionInfo.get(\&quot;nfName\&quot;))\nresponseStatus.put(\&quot;changeType\&quot;, pmSubscriptionInfo.get(\&quot;changeType\&quot;))\n\nvar response = executor.inFields.get(\&quot;payload\&quot;)\n\nif (\&quot;failure\&quot;.equals(response.get(\&quot;create_DasH_subscription_DasH_response\&quot;).get(\&quot;odl_DasH_response\&quot;).get(\&quot;status\&quot;))) {\n responseStatus.put(\&quot;message\&quot;, \&quot;failed\&quot;)\n} else {\n responseStatus.put(\&quot;message\&quot;, \&quot;success\&quot;)\n}\n\nexecutor.outFields.put(\&quot;status\&quot;, responseStatus)\n\ntrue;&quot;&#xd;
1323 }&#xd;
1324 }&#xd;
1325 },&#xd;
1326 {&#xd;
1327 &quot;key&quot;: {&#xd;
1328 &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
1329 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1330 },&#xd;
1331 &quot;value&quot;: {&#xd;
1332 &quot;key&quot;: {&#xd;
1333 &quot;name&quot;: &quot;CreateSubscriptionPayloadTask&quot;,&#xd;
1334 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1335 },&#xd;
1336 &quot;inputFields&quot;: {&#xd;
1337 &quot;entry&quot;: [&#xd;
1338 {&#xd;
1339 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1340 &quot;value&quot;: {&#xd;
1341 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1342 &quot;fieldSchemaKey&quot;: {&#xd;
1343 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
1344 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1345 },&#xd;
1346 &quot;optional&quot;: false&#xd;
1347 }&#xd;
1348 }&#xd;
1349 ]&#xd;
1350 },&#xd;
1351 &quot;outputFields&quot;: {&#xd;
1352 &quot;entry&quot;: [&#xd;
1353 {&#xd;
1354 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1355 &quot;value&quot;: {&#xd;
1356 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1357 &quot;fieldSchemaKey&quot;: {&#xd;
1358 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
1359 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1360 },&#xd;
1361 &quot;optional&quot;: false&#xd;
1362 }&#xd;
1363 },&#xd;
1364 {&#xd;
1365 &quot;key&quot;: &quot;payload&quot;,&#xd;
1366 &quot;value&quot;: {&#xd;
1367 &quot;key&quot;: &quot;payload&quot;,&#xd;
1368 &quot;fieldSchemaKey&quot;: {&#xd;
1369 &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
1370 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1371 },&#xd;
1372 &quot;optional&quot;: false&#xd;
1373 }&#xd;
1374 }&#xd;
1375 ]&#xd;
1376 },&#xd;
1377 &quot;taskParameters&quot;: {&#xd;
1378 &quot;entry&quot;: []&#xd;
1379 },&#xd;
1380 &quot;contextAlbumReference&quot;: [&#xd;
1381 {&#xd;
1382 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
1383 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1384 }&#xd;
1385 ],&#xd;
1386 &quot;taskLogic&quot;: {&#xd;
1387 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
1388 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
1389 &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \&quot;AS IS\&quot; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\n\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;create_DasH_subscription_DasH_properties_record\&quot;);\n\npayloadProperties.put(\&quot;nfName\&quot;, pmSubscriptionInfo.get(\&quot;nfName\&quot;))\npayloadProperties.put(\&quot;subscriptionName\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;subscriptionName\&quot;))\npayloadProperties.put(\&quot;administrativeState\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;administrativeState\&quot;))\npayloadProperties.put(\&quot;fileBasedGP\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileBasedGP\&quot;).toString())\npayloadProperties.put(\&quot;fileLocation\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileLocation\&quot;))\npayloadProperties.put(\&quot;measurementGroups\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;measurementGroups\&quot;))\n\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSRequestPayloadEntry\&quot;);\npayloadEntry.put(\&quot;create_DasH_subscription_DasH_properties\&quot;, payloadProperties)\n\nvar payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\npayload.put(\&quot;create_DasH_subscription_DasH_request\&quot;, payloadEntry);\n\nexecutor.outFields.put(\&quot;albumID\&quot;, executor.inFields.get(\&quot;albumID\&quot;))\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending Create Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
1390 }&#xd;
1391 }&#xd;
1392 },&#xd;
1393 {&#xd;
1394 &quot;key&quot;: {&#xd;
1395 &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
1396 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1397 },&#xd;
1398 &quot;value&quot;: {&#xd;
1399 &quot;key&quot;: {&#xd;
1400 &quot;name&quot;: &quot;CreateSubscriptionRequestTask&quot;,&#xd;
1401 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1402 },&#xd;
1403 &quot;inputFields&quot;: {&#xd;
1404 &quot;entry&quot;: [&#xd;
1405 {&#xd;
1406 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1407 &quot;value&quot;: {&#xd;
1408 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1409 &quot;fieldSchemaKey&quot;: {&#xd;
1410 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
1411 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1412 },&#xd;
1413 &quot;optional&quot;: false&#xd;
1414 }&#xd;
1415 },&#xd;
1416 {&#xd;
1417 &quot;key&quot;: &quot;payload&quot;,&#xd;
1418 &quot;value&quot;: {&#xd;
1419 &quot;key&quot;: &quot;payload&quot;,&#xd;
1420 &quot;fieldSchemaKey&quot;: {&#xd;
1421 &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
1422 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1423 },&#xd;
1424 &quot;optional&quot;: false&#xd;
1425 }&#xd;
1426 }&#xd;
1427 ]&#xd;
1428 },&#xd;
1429 &quot;outputFields&quot;: {&#xd;
1430 &quot;entry&quot;: [&#xd;
1431 {&#xd;
1432 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1433 &quot;value&quot;: {&#xd;
1434 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1435 &quot;fieldSchemaKey&quot;: {&#xd;
1436 &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
1437 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1438 },&#xd;
1439 &quot;optional&quot;: false&#xd;
1440 }&#xd;
1441 },&#xd;
1442 {&#xd;
1443 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1444 &quot;value&quot;: {&#xd;
1445 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1446 &quot;fieldSchemaKey&quot;: {&#xd;
1447 &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
1448 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1449 },&#xd;
1450 &quot;optional&quot;: false&#xd;
1451 }&#xd;
1452 },&#xd;
1453 {&#xd;
1454 &quot;key&quot;: &quot;payload&quot;,&#xd;
1455 &quot;value&quot;: {&#xd;
1456 &quot;key&quot;: &quot;payload&quot;,&#xd;
1457 &quot;fieldSchemaKey&quot;: {&#xd;
1458 &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
1459 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1460 },&#xd;
1461 &quot;optional&quot;: false&#xd;
1462 }&#xd;
1463 }&#xd;
1464 ]&#xd;
1465 },&#xd;
1466 &quot;taskParameters&quot;: {&#xd;
1467 &quot;entry&quot;: []&#xd;
1468 },&#xd;
1469 &quot;contextAlbumReference&quot;: [&#xd;
1470 {&#xd;
1471 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
1472 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1473 }&#xd;
1474 ],&#xd;
1475 &quot;taskLogic&quot;: {&#xd;
1476 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
1477 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
1478 &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \&quot;AS IS\&quot; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\nvar payload = executor.inFields.get(\&quot;payload\&quot;)\nvar actionName = \&quot;create-subscription\&quot;\n\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\ncommonHeader.put(\&quot;originatorId\&quot;, \&quot;sdnc\&quot;);\ncommonHeader.put(\&quot;requestId\&quot;, \&quot;123456-1000\&quot;);\ncommonHeader.put(\&quot;subRequestId\&quot;, \&quot;sub-123456-1000\&quot;);\n\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\nactionIdentifiers.put(\&quot;actionName\&quot;, actionName);\nactionIdentifiers.put(\&quot;blueprintName\&quot;, \&quot;pm_control\&quot;);\nactionIdentifiers.put(\&quot;blueprintVersion\&quot;, \&quot;1.0.0\&quot;);\nactionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\n\nexecutor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\nexecutor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending Activate Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
1479 }&#xd;
1480 }&#xd;
1481 },&#xd;
1482 {&#xd;
1483 &quot;key&quot;: {&#xd;
1484 &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
1485 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1486 },&#xd;
1487 &quot;value&quot;: {&#xd;
1488 &quot;key&quot;: {&#xd;
1489 &quot;name&quot;: &quot;DeleteSubscriptionPayloadTask&quot;,&#xd;
1490 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1491 },&#xd;
1492 &quot;inputFields&quot;: {&#xd;
1493 &quot;entry&quot;: [&#xd;
1494 {&#xd;
1495 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1496 &quot;value&quot;: {&#xd;
1497 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1498 &quot;fieldSchemaKey&quot;: {&#xd;
1499 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
1500 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1501 },&#xd;
1502 &quot;optional&quot;: false&#xd;
1503 }&#xd;
1504 }&#xd;
1505 ]&#xd;
1506 },&#xd;
1507 &quot;outputFields&quot;: {&#xd;
1508 &quot;entry&quot;: [&#xd;
1509 {&#xd;
1510 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1511 &quot;value&quot;: {&#xd;
1512 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1513 &quot;fieldSchemaKey&quot;: {&#xd;
1514 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
1515 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1516 },&#xd;
1517 &quot;optional&quot;: false&#xd;
1518 }&#xd;
1519 },&#xd;
1520 {&#xd;
1521 &quot;key&quot;: &quot;payload&quot;,&#xd;
1522 &quot;value&quot;: {&#xd;
1523 &quot;key&quot;: &quot;payload&quot;,&#xd;
1524 &quot;fieldSchemaKey&quot;: {&#xd;
1525 &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
1526 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1527 },&#xd;
1528 &quot;optional&quot;: false&#xd;
1529 }&#xd;
1530 }&#xd;
1531 ]&#xd;
1532 },&#xd;
1533 &quot;taskParameters&quot;: {&#xd;
1534 &quot;entry&quot;: []&#xd;
1535 },&#xd;
1536 &quot;contextAlbumReference&quot;: [&#xd;
1537 {&#xd;
1538 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
1539 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1540 }&#xd;
1541 ],&#xd;
1542 &quot;taskLogic&quot;: {&#xd;
1543 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
1544 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
1545 &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \&quot;AS IS\&quot; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\n\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;delete_DasH_subscription_DasH_properties_record\&quot;);\n\npayloadProperties.put(\&quot;nfName\&quot;, pmSubscriptionInfo.get(\&quot;nfName\&quot;))\npayloadProperties.put(\&quot;subscriptionName\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;subscriptionName\&quot;))\npayloadProperties.put(\&quot;administrativeState\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;administrativeState\&quot;))\npayloadProperties.put(\&quot;fileBasedGP\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileBasedGP\&quot;).toString())\npayloadProperties.put(\&quot;fileLocation\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;fileLocation\&quot;))\npayloadProperties.put(\&quot;measurementGroups\&quot;, pmSubscriptionInfo.get(\&quot;subscription\&quot;).get(\&quot;measurementGroups\&quot;))\n\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSRequestPayloadEntry\&quot;);\npayloadEntry.put(\&quot;delete_DasH_subscription_DasH_properties\&quot;, payloadProperties)\n\nvar payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\npayload.put(\&quot;delete_DasH_subscription_DasH_request\&quot;, payloadEntry);\n\nexecutor.outFields.put(\&quot;albumID\&quot;, executor.inFields.get(\&quot;albumID\&quot;))\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending delete Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
1546 }&#xd;
1547 }&#xd;
1548 },&#xd;
1549 {&#xd;
1550 &quot;key&quot;: {&#xd;
1551 &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
1552 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1553 },&#xd;
1554 &quot;value&quot;: {&#xd;
1555 &quot;key&quot;: {&#xd;
1556 &quot;name&quot;: &quot;DeleteSubscriptionRequestTask&quot;,&#xd;
1557 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1558 },&#xd;
1559 &quot;inputFields&quot;: {&#xd;
1560 &quot;entry&quot;: [&#xd;
1561 {&#xd;
1562 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1563 &quot;value&quot;: {&#xd;
1564 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1565 &quot;fieldSchemaKey&quot;: {&#xd;
1566 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
1567 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1568 },&#xd;
1569 &quot;optional&quot;: false&#xd;
1570 }&#xd;
1571 },&#xd;
1572 {&#xd;
1573 &quot;key&quot;: &quot;payload&quot;,&#xd;
1574 &quot;value&quot;: {&#xd;
1575 &quot;key&quot;: &quot;payload&quot;,&#xd;
1576 &quot;fieldSchemaKey&quot;: {&#xd;
1577 &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
1578 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1579 },&#xd;
1580 &quot;optional&quot;: false&#xd;
1581 }&#xd;
1582 }&#xd;
1583 ]&#xd;
1584 },&#xd;
1585 &quot;outputFields&quot;: {&#xd;
1586 &quot;entry&quot;: [&#xd;
1587 {&#xd;
1588 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1589 &quot;value&quot;: {&#xd;
1590 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1591 &quot;fieldSchemaKey&quot;: {&#xd;
1592 &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
1593 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1594 },&#xd;
1595 &quot;optional&quot;: false&#xd;
1596 }&#xd;
1597 },&#xd;
1598 {&#xd;
1599 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1600 &quot;value&quot;: {&#xd;
1601 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1602 &quot;fieldSchemaKey&quot;: {&#xd;
1603 &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
1604 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1605 },&#xd;
1606 &quot;optional&quot;: false&#xd;
1607 }&#xd;
1608 },&#xd;
1609 {&#xd;
1610 &quot;key&quot;: &quot;payload&quot;,&#xd;
1611 &quot;value&quot;: {&#xd;
1612 &quot;key&quot;: &quot;payload&quot;,&#xd;
1613 &quot;fieldSchemaKey&quot;: {&#xd;
1614 &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
1615 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1616 },&#xd;
1617 &quot;optional&quot;: false&#xd;
1618 }&#xd;
1619 }&#xd;
1620 ]&#xd;
1621 },&#xd;
1622 &quot;taskParameters&quot;: {&#xd;
1623 &quot;entry&quot;: []&#xd;
1624 },&#xd;
1625 &quot;contextAlbumReference&quot;: [&#xd;
1626 {&#xd;
1627 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
1628 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1629 }&#xd;
1630 ],&#xd;
1631 &quot;taskLogic&quot;: {&#xd;
1632 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
1633 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
1634 &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \&quot;AS IS\&quot; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\n\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).get(executor.inFields.get(\&quot;albumID\&quot;).toString())\nvar payload = executor.inFields.get(\&quot;payload\&quot;)\nvar actionName = \&quot;delete-subscription\&quot;\n\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\ncommonHeader.put(\&quot;originatorId\&quot;, \&quot;sdnc\&quot;);\ncommonHeader.put(\&quot;requestId\&quot;, \&quot;123456-1000\&quot;);\ncommonHeader.put(\&quot;subRequestId\&quot;, \&quot;sub-123456-1000\&quot;);\n\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\nactionIdentifiers.put(\&quot;actionName\&quot;, actionName);\nactionIdentifiers.put(\&quot;blueprintName\&quot;, \&quot;pm_control\&quot;);\nactionIdentifiers.put(\&quot;blueprintVersion\&quot;, \&quot;1.0.0\&quot;);\nactionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\n\nexecutor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\nexecutor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\nexecutor.outFields.put(\&quot;payload\&quot;, payload);\n\nexecutor.logger.info(\&quot;Sending Deactivate Subscription Event to CDS\&quot;)\n\ntrue;&quot;&#xd;
1635 }&#xd;
1636 }&#xd;
1637 },&#xd;
1638 {&#xd;
1639 &quot;key&quot;: {&#xd;
1640 &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
1641 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1642 },&#xd;
1643 &quot;value&quot;: {&#xd;
1644 &quot;key&quot;: {&#xd;
1645 &quot;name&quot;: &quot;ReceivePMSubscriptionTask&quot;,&#xd;
1646 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1647 },&#xd;
1648 &quot;inputFields&quot;: {&#xd;
1649 &quot;entry&quot;: [&#xd;
1650 {&#xd;
1651 &quot;key&quot;: &quot;changeType&quot;,&#xd;
1652 &quot;value&quot;: {&#xd;
1653 &quot;key&quot;: &quot;changeType&quot;,&#xd;
1654 &quot;fieldSchemaKey&quot;: {&#xd;
1655 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
1656 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1657 },&#xd;
1658 &quot;optional&quot;: false&#xd;
1659 }&#xd;
1660 },&#xd;
1661 {&#xd;
1662 &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
1663 &quot;value&quot;: {&#xd;
1664 &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
1665 &quot;fieldSchemaKey&quot;: {&#xd;
1666 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
1667 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1668 },&#xd;
1669 &quot;optional&quot;: false&#xd;
1670 }&#xd;
1671 },&#xd;
1672 {&#xd;
1673 &quot;key&quot;: &quot;nfName&quot;,&#xd;
1674 &quot;value&quot;: {&#xd;
1675 &quot;key&quot;: &quot;nfName&quot;,&#xd;
1676 &quot;fieldSchemaKey&quot;: {&#xd;
1677 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
1678 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1679 },&#xd;
1680 &quot;optional&quot;: false&#xd;
1681 }&#xd;
1682 },&#xd;
1683 {&#xd;
1684 &quot;key&quot;: &quot;policyName&quot;,&#xd;
1685 &quot;value&quot;: {&#xd;
1686 &quot;key&quot;: &quot;policyName&quot;,&#xd;
1687 &quot;fieldSchemaKey&quot;: {&#xd;
1688 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
1689 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1690 },&#xd;
1691 &quot;optional&quot;: false&#xd;
1692 }&#xd;
1693 },&#xd;
1694 {&#xd;
1695 &quot;key&quot;: &quot;subscription&quot;,&#xd;
1696 &quot;value&quot;: {&#xd;
1697 &quot;key&quot;: &quot;subscription&quot;,&#xd;
1698 &quot;fieldSchemaKey&quot;: {&#xd;
1699 &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
1700 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1701 },&#xd;
1702 &quot;optional&quot;: false&#xd;
1703 }&#xd;
1704 }&#xd;
1705 ]&#xd;
1706 },&#xd;
1707 &quot;outputFields&quot;: {&#xd;
1708 &quot;entry&quot;: [&#xd;
1709 {&#xd;
1710 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1711 &quot;value&quot;: {&#xd;
1712 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1713 &quot;fieldSchemaKey&quot;: {&#xd;
1714 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
1715 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1716 },&#xd;
1717 &quot;optional&quot;: false&#xd;
1718 }&#xd;
1719 }&#xd;
1720 ]&#xd;
1721 },&#xd;
1722 &quot;taskParameters&quot;: {&#xd;
1723 &quot;entry&quot;: []&#xd;
1724 },&#xd;
1725 &quot;contextAlbumReference&quot;: [&#xd;
1726 {&#xd;
1727 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
1728 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1729 }&#xd;
1730 ],&#xd;
1731 &quot;taskLogic&quot;: {&#xd;
1732 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
1733 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
1734 &quot;logic&quot;: &quot;/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \&quot;AS IS\&quot; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\nvar uuidType = java.util.UUID;\n\n\n//albumID will be used to fetch info from our album later\nvar albumID = uuidType.fromString(\&quot;d0050623-18e5-46c9-9298-9a567990cd7c\&quot;);\nvar pmSubscriptionInfo = executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).getSchemaHelper().createNewInstance();\nvar returnValue = true;;\n\nif(executor.inFields.get(\&quot;policyName\&quot;) != null) {\n var changeType = executor.inFields.get(\&quot;changeType\&quot;)\n var nfName = executor.inFields.get(\&quot;nfName\&quot;)\n var policyName = executor.inFields.get(\&quot;policyName\&quot;)\n var closedLoopControlName = executor.inFields.get(\&quot;closedLoopControlName\&quot;)\n var subscription = executor.inFields.get(\&quot;subscription\&quot;)\n\n pmSubscriptionInfo.put(\&quot;nfName\&quot;, executor.inFields.get(\&quot;nfName\&quot;));\n pmSubscriptionInfo.put(\&quot;changeType\&quot;, executor.inFields.get(\&quot;changeType\&quot;))\n pmSubscriptionInfo.put(\&quot;policyName\&quot;, executor.inFields.get(\&quot;policyName\&quot;))\n pmSubscriptionInfo.put(\&quot;closedLoopControlName\&quot;, executor.inFields.get(\&quot;closedLoopControlName\&quot;))\n pmSubscriptionInfo.put(\&quot;subscription\&quot;, subscription)\n\n executor.getContextAlbum(\&quot;PMSubscriptionAlbum\&quot;).put(albumID.toString(), pmSubscriptionInfo);\n\n executor.outFields.put(\&quot;albumID\&quot;, albumID)\n} else {\n executor.message = \&quot;Received invalid event\&quot;\n returnValue = false;\n}\nreturnValue;&quot;&#xd;
1735 }&#xd;
1736 }&#xd;
1737 }&#xd;
1738 ]&#xd;
1739 }&#xd;
1740 },&#xd;
1741 &quot;events&quot;: {&#xd;
1742 &quot;key&quot;: {&#xd;
1743 &quot;name&quot;: &quot;APEXgRPCPolicy_Events&quot;,&#xd;
1744 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1745 },&#xd;
1746 &quot;eventMap&quot;: {&#xd;
1747 &quot;entry&quot;: [&#xd;
1748 {&#xd;
1749 &quot;key&quot;: {&#xd;
1750 &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
1751 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1752 },&#xd;
1753 &quot;value&quot;: {&#xd;
1754 &quot;key&quot;: {&#xd;
1755 &quot;name&quot;: &quot;CDSResponseEvent&quot;,&#xd;
1756 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1757 },&#xd;
1758 &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
1759 &quot;source&quot;: &quot;CDS&quot;,&#xd;
1760 &quot;target&quot;: &quot;APEX&quot;,&#xd;
1761 &quot;parameter&quot;: {&#xd;
1762 &quot;entry&quot;: [&#xd;
1763 {&#xd;
1764 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1765 &quot;value&quot;: {&#xd;
1766 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1767 &quot;fieldSchemaKey&quot;: {&#xd;
1768 &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
1769 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1770 },&#xd;
1771 &quot;optional&quot;: false&#xd;
1772 }&#xd;
1773 },&#xd;
1774 {&#xd;
1775 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1776 &quot;value&quot;: {&#xd;
1777 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1778 &quot;fieldSchemaKey&quot;: {&#xd;
1779 &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
1780 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1781 },&#xd;
1782 &quot;optional&quot;: false&#xd;
1783 }&#xd;
1784 },&#xd;
1785 {&#xd;
1786 &quot;key&quot;: &quot;payload&quot;,&#xd;
1787 &quot;value&quot;: {&#xd;
1788 &quot;key&quot;: &quot;payload&quot;,&#xd;
1789 &quot;fieldSchemaKey&quot;: {&#xd;
1790 &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
1791 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1792 },&#xd;
1793 &quot;optional&quot;: false&#xd;
1794 }&#xd;
1795 },&#xd;
1796 {&#xd;
1797 &quot;key&quot;: &quot;status&quot;,&#xd;
1798 &quot;value&quot;: {&#xd;
1799 &quot;key&quot;: &quot;status&quot;,&#xd;
1800 &quot;fieldSchemaKey&quot;: {&#xd;
1801 &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
1802 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1803 },&#xd;
1804 &quot;optional&quot;: false&#xd;
1805 }&#xd;
1806 }&#xd;
1807 ]&#xd;
1808 }&#xd;
1809 }&#xd;
1810 },&#xd;
1811 {&#xd;
1812 &quot;key&quot;: {&#xd;
1813 &quot;name&quot;: &quot;CDSResponseStatusEvent&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;CDSResponseStatusEvent&quot;,&#xd;
1819 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1820 },&#xd;
1821 &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
1822 &quot;source&quot;: &quot;APEX&quot;,&#xd;
1823 &quot;target&quot;: &quot;DCAE&quot;,&#xd;
1824 &quot;parameter&quot;: {&#xd;
1825 &quot;entry&quot;: [&#xd;
1826 {&#xd;
1827 &quot;key&quot;: &quot;status&quot;,&#xd;
1828 &quot;value&quot;: {&#xd;
1829 &quot;key&quot;: &quot;status&quot;,&#xd;
1830 &quot;fieldSchemaKey&quot;: {&#xd;
1831 &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
1832 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1833 },&#xd;
1834 &quot;optional&quot;: false&#xd;
1835 }&#xd;
1836 }&#xd;
1837 ]&#xd;
1838 }&#xd;
1839 }&#xd;
1840 },&#xd;
1841 {&#xd;
1842 &quot;key&quot;: {&#xd;
1843 &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
1844 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1845 },&#xd;
1846 &quot;value&quot;: {&#xd;
1847 &quot;key&quot;: {&#xd;
1848 &quot;name&quot;: &quot;CreateSubscriptionPayloadEvent&quot;,&#xd;
1849 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1850 },&#xd;
1851 &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
1852 &quot;source&quot;: &quot;APEX&quot;,&#xd;
1853 &quot;target&quot;: &quot;APEX&quot;,&#xd;
1854 &quot;parameter&quot;: {&#xd;
1855 &quot;entry&quot;: [&#xd;
1856 {&#xd;
1857 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1858 &quot;value&quot;: {&#xd;
1859 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1860 &quot;fieldSchemaKey&quot;: {&#xd;
1861 &quot;name&quot;: &quot;UUIDType&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 &quot;key&quot;: &quot;payload&quot;,&#xd;
1869 &quot;value&quot;: {&#xd;
1870 &quot;key&quot;: &quot;payload&quot;,&#xd;
1871 &quot;fieldSchemaKey&quot;: {&#xd;
1872 &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
1873 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1874 },&#xd;
1875 &quot;optional&quot;: false&#xd;
1876 }&#xd;
1877 }&#xd;
1878 ]&#xd;
1879 }&#xd;
1880 }&#xd;
1881 },&#xd;
1882 {&#xd;
1883 &quot;key&quot;: {&#xd;
1884 &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
1885 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1886 },&#xd;
1887 &quot;value&quot;: {&#xd;
1888 &quot;key&quot;: {&#xd;
1889 &quot;name&quot;: &quot;CreateSubscriptionRequestEvent&quot;,&#xd;
1890 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1891 },&#xd;
1892 &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
1893 &quot;source&quot;: &quot;APEX&quot;,&#xd;
1894 &quot;target&quot;: &quot;APEX&quot;,&#xd;
1895 &quot;parameter&quot;: {&#xd;
1896 &quot;entry&quot;: [&#xd;
1897 {&#xd;
1898 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1899 &quot;value&quot;: {&#xd;
1900 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1901 &quot;fieldSchemaKey&quot;: {&#xd;
1902 &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
1903 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1904 },&#xd;
1905 &quot;optional&quot;: false&#xd;
1906 }&#xd;
1907 },&#xd;
1908 {&#xd;
1909 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1910 &quot;value&quot;: {&#xd;
1911 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
1912 &quot;fieldSchemaKey&quot;: {&#xd;
1913 &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
1914 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1915 },&#xd;
1916 &quot;optional&quot;: false&#xd;
1917 }&#xd;
1918 },&#xd;
1919 {&#xd;
1920 &quot;key&quot;: &quot;payload&quot;,&#xd;
1921 &quot;value&quot;: {&#xd;
1922 &quot;key&quot;: &quot;payload&quot;,&#xd;
1923 &quot;fieldSchemaKey&quot;: {&#xd;
1924 &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
1925 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1926 },&#xd;
1927 &quot;optional&quot;: false&#xd;
1928 }&#xd;
1929 }&#xd;
1930 ]&#xd;
1931 }&#xd;
1932 }&#xd;
1933 },&#xd;
1934 {&#xd;
1935 &quot;key&quot;: {&#xd;
1936 &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
1937 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1938 },&#xd;
1939 &quot;value&quot;: {&#xd;
1940 &quot;key&quot;: {&#xd;
1941 &quot;name&quot;: &quot;DeleteSubscriptionPayloadEvent&quot;,&#xd;
1942 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1943 },&#xd;
1944 &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
1945 &quot;source&quot;: &quot;APEX&quot;,&#xd;
1946 &quot;target&quot;: &quot;APEX&quot;,&#xd;
1947 &quot;parameter&quot;: {&#xd;
1948 &quot;entry&quot;: [&#xd;
1949 {&#xd;
1950 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1951 &quot;value&quot;: {&#xd;
1952 &quot;key&quot;: &quot;albumID&quot;,&#xd;
1953 &quot;fieldSchemaKey&quot;: {&#xd;
1954 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
1955 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1956 },&#xd;
1957 &quot;optional&quot;: false&#xd;
1958 }&#xd;
1959 },&#xd;
1960 {&#xd;
1961 &quot;key&quot;: &quot;payload&quot;,&#xd;
1962 &quot;value&quot;: {&#xd;
1963 &quot;key&quot;: &quot;payload&quot;,&#xd;
1964 &quot;fieldSchemaKey&quot;: {&#xd;
1965 &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&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 }&#xd;
1974 },&#xd;
1975 {&#xd;
1976 &quot;key&quot;: {&#xd;
1977 &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
1978 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1979 },&#xd;
1980 &quot;value&quot;: {&#xd;
1981 &quot;key&quot;: {&#xd;
1982 &quot;name&quot;: &quot;DeleteSubscriptionRequestEvent&quot;,&#xd;
1983 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1984 },&#xd;
1985 &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
1986 &quot;source&quot;: &quot;APEX&quot;,&#xd;
1987 &quot;target&quot;: &quot;APEX&quot;,&#xd;
1988 &quot;parameter&quot;: {&#xd;
1989 &quot;entry&quot;: [&#xd;
1990 {&#xd;
1991 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1992 &quot;value&quot;: {&#xd;
1993 &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
1994 &quot;fieldSchemaKey&quot;: {&#xd;
1995 &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
1996 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
1997 },&#xd;
1998 &quot;optional&quot;: false&#xd;
1999 }&#xd;
2000 },&#xd;
2001 {&#xd;
2002 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2003 &quot;value&quot;: {&#xd;
2004 &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
2005 &quot;fieldSchemaKey&quot;: {&#xd;
2006 &quot;name&quot;: &quot;CDSRequestCommonHeaderType&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 &quot;key&quot;: &quot;payload&quot;,&#xd;
2014 &quot;value&quot;: {&#xd;
2015 &quot;key&quot;: &quot;payload&quot;,&#xd;
2016 &quot;fieldSchemaKey&quot;: {&#xd;
2017 &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
2018 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2019 },&#xd;
2020 &quot;optional&quot;: false&#xd;
2021 }&#xd;
2022 }&#xd;
2023 ]&#xd;
2024 }&#xd;
2025 }&#xd;
2026 },&#xd;
2027 {&#xd;
2028 &quot;key&quot;: {&#xd;
2029 &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
2030 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2031 },&#xd;
2032 &quot;value&quot;: {&#xd;
2033 &quot;key&quot;: {&#xd;
2034 &quot;name&quot;: &quot;PMSubscriptionOutputEvent&quot;,&#xd;
2035 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2036 },&#xd;
2037 &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
2038 &quot;source&quot;: &quot;APEX&quot;,&#xd;
2039 &quot;target&quot;: &quot;APEX&quot;,&#xd;
2040 &quot;parameter&quot;: {&#xd;
2041 &quot;entry&quot;: [&#xd;
2042 {&#xd;
2043 &quot;key&quot;: &quot;albumID&quot;,&#xd;
2044 &quot;value&quot;: {&#xd;
2045 &quot;key&quot;: &quot;albumID&quot;,&#xd;
2046 &quot;fieldSchemaKey&quot;: {&#xd;
2047 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
2048 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2049 },&#xd;
2050 &quot;optional&quot;: false&#xd;
2051 }&#xd;
2052 }&#xd;
2053 ]&#xd;
2054 }&#xd;
2055 }&#xd;
2056 },&#xd;
2057 {&#xd;
2058 &quot;key&quot;: {&#xd;
2059 &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
2060 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2061 },&#xd;
2062 &quot;value&quot;: {&#xd;
2063 &quot;key&quot;: {&#xd;
2064 &quot;name&quot;: &quot;testPolicyB&quot;,&#xd;
2065 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2066 },&#xd;
2067 &quot;nameSpace&quot;: &quot;org.onap.policy.apex.onap.pmcontrol&quot;,&#xd;
2068 &quot;source&quot;: &quot;DCAE&quot;,&#xd;
2069 &quot;target&quot;: &quot;APEX&quot;,&#xd;
2070 &quot;parameter&quot;: {&#xd;
2071 &quot;entry&quot;: [&#xd;
2072 {&#xd;
2073 &quot;key&quot;: &quot;changeType&quot;,&#xd;
2074 &quot;value&quot;: {&#xd;
2075 &quot;key&quot;: &quot;changeType&quot;,&#xd;
2076 &quot;fieldSchemaKey&quot;: {&#xd;
2077 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2078 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2079 },&#xd;
2080 &quot;optional&quot;: false&#xd;
2081 }&#xd;
2082 },&#xd;
2083 {&#xd;
2084 &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
2085 &quot;value&quot;: {&#xd;
2086 &quot;key&quot;: &quot;closedLoopControlName&quot;,&#xd;
2087 &quot;fieldSchemaKey&quot;: {&#xd;
2088 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2089 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2090 },&#xd;
2091 &quot;optional&quot;: false&#xd;
2092 }&#xd;
2093 },&#xd;
2094 {&#xd;
2095 &quot;key&quot;: &quot;nfName&quot;,&#xd;
2096 &quot;value&quot;: {&#xd;
2097 &quot;key&quot;: &quot;nfName&quot;,&#xd;
2098 &quot;fieldSchemaKey&quot;: {&#xd;
2099 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2100 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2101 },&#xd;
2102 &quot;optional&quot;: false&#xd;
2103 }&#xd;
2104 },&#xd;
2105 {&#xd;
2106 &quot;key&quot;: &quot;policyName&quot;,&#xd;
2107 &quot;value&quot;: {&#xd;
2108 &quot;key&quot;: &quot;policyName&quot;,&#xd;
2109 &quot;fieldSchemaKey&quot;: {&#xd;
2110 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2111 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2112 },&#xd;
2113 &quot;optional&quot;: false&#xd;
2114 }&#xd;
2115 },&#xd;
2116 {&#xd;
2117 &quot;key&quot;: &quot;subscription&quot;,&#xd;
2118 &quot;value&quot;: {&#xd;
2119 &quot;key&quot;: &quot;subscription&quot;,&#xd;
2120 &quot;fieldSchemaKey&quot;: {&#xd;
2121 &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
2122 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2123 },&#xd;
2124 &quot;optional&quot;: false&#xd;
2125 }&#xd;
2126 }&#xd;
2127 ]&#xd;
2128 }&#xd;
2129 }&#xd;
2130 }&#xd;
2131 ]&#xd;
2132 }&#xd;
2133 },&#xd;
2134 &quot;albums&quot;: {&#xd;
2135 &quot;key&quot;: {&#xd;
2136 &quot;name&quot;: &quot;APEXgRPCPolicy_Albums&quot;,&#xd;
2137 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2138 },&#xd;
2139 &quot;albums&quot;: {&#xd;
2140 &quot;entry&quot;: [&#xd;
2141 {&#xd;
2142 &quot;key&quot;: {&#xd;
2143 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
2144 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2145 },&#xd;
2146 &quot;value&quot;: {&#xd;
2147 &quot;key&quot;: {&#xd;
2148 &quot;name&quot;: &quot;PMSubscriptionAlbum&quot;,&#xd;
2149 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2150 },&#xd;
2151 &quot;scope&quot;: &quot;policy&quot;,&#xd;
2152 &quot;isWritable&quot;: true,&#xd;
2153 &quot;itemSchema&quot;: {&#xd;
2154 &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
2155 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2156 }&#xd;
2157 }&#xd;
2158 }&#xd;
2159 ]&#xd;
2160 }&#xd;
2161 },&#xd;
2162 &quot;schemas&quot;: {&#xd;
2163 &quot;key&quot;: {&#xd;
2164 &quot;name&quot;: &quot;APEXgRPCPolicy_Schemas&quot;,&#xd;
2165 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2166 },&#xd;
2167 &quot;schemas&quot;: {&#xd;
2168 &quot;entry&quot;: [&#xd;
2169 {&#xd;
2170 &quot;key&quot;: {&#xd;
2171 &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
2172 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2173 },&#xd;
2174 &quot;value&quot;: {&#xd;
2175 &quot;key&quot;: {&#xd;
2176 &quot;name&quot;: &quot;CDSActionIdentifiersType&quot;,&#xd;
2177 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2178 },&#xd;
2179 &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
2180 &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSActionIdentifiers_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;actionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;blueprintVersion\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;mode\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
2181 }&#xd;
2182 },&#xd;
2183 {&#xd;
2184 &quot;key&quot;: {&#xd;
2185 &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
2186 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2187 },&#xd;
2188 &quot;value&quot;: {&#xd;
2189 &quot;key&quot;: {&#xd;
2190 &quot;name&quot;: &quot;CDSCreateSubscriptionPayloadType&quot;,&#xd;
2191 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2192 },&#xd;
2193 &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
2194 &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;map\&quot;,\n \&quot;values\&quot;: {\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestPayloadEntry\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_properties\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_properties_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroups_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementTypes_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n}&quot;&#xd;
2195 }&#xd;
2196 },&#xd;
2197 {&#xd;
2198 &quot;key&quot;: {&#xd;
2199 &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
2200 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2201 },&#xd;
2202 &quot;value&quot;: {&#xd;
2203 &quot;key&quot;: {&#xd;
2204 &quot;name&quot;: &quot;CDSDeleteSubscriptionPayloadType&quot;,&#xd;
2205 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2206 },&#xd;
2207 &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
2208 &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;map\&quot;,\n \&quot;values\&quot;: {\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestPayloadEntry\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;delete_DasH_subscription_DasH_properties\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;delete_DasH_subscription_DasH_properties_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroups_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;measurementTypes_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic_record\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n}&quot;&#xd;
2209 }&#xd;
2210 },&#xd;
2211 {&#xd;
2212 &quot;key&quot;: {&#xd;
2213 &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
2214 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2215 },&#xd;
2216 &quot;value&quot;: {&#xd;
2217 &quot;key&quot;: {&#xd;
2218 &quot;name&quot;: &quot;CDSRequestCommonHeaderType&quot;,&#xd;
2219 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2220 },&#xd;
2221 &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
2222 &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSRequestCommonHeader_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
2223 }&#xd;
2224 },&#xd;
2225 {&#xd;
2226 &quot;key&quot;: {&#xd;
2227 &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
2228 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2229 },&#xd;
2230 &quot;value&quot;: {&#xd;
2231 &quot;key&quot;: {&#xd;
2232 &quot;name&quot;: &quot;CDSResponseCommonHeaderType&quot;,&#xd;
2233 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2234 },&#xd;
2235 &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
2236 &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;originatorId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;requestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
2237 }&#xd;
2238 },&#xd;
2239 {&#xd;
2240 &quot;key&quot;: {&#xd;
2241 &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
2242 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2243 },&#xd;
2244 &quot;value&quot;: {&#xd;
2245 &quot;key&quot;: {&#xd;
2246 &quot;name&quot;: &quot;CDSResponsePayloadType&quot;,&#xd;
2247 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2248 },&#xd;
2249 &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
2250 &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;CDSResponsePayloadEntry\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;namespace\&quot;: \&quot;com.acme.avro\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;create_DasH_subscription_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;odl_DasH_response\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;odl_DasH_response\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;status\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
2251 }&#xd;
2252 },&#xd;
2253 {&#xd;
2254 &quot;key&quot;: {&#xd;
2255 &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
2256 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2257 },&#xd;
2258 &quot;value&quot;: {&#xd;
2259 &quot;key&quot;: {&#xd;
2260 &quot;name&quot;: &quot;CDSResponseStatusType&quot;,&#xd;
2261 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2262 },&#xd;
2263 &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
2264 &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;code\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;eventType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;timestamp\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
2265 }&#xd;
2266 },&#xd;
2267 {&#xd;
2268 &quot;key&quot;: {&#xd;
2269 &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
2270 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2271 },&#xd;
2272 &quot;value&quot;: {&#xd;
2273 &quot;key&quot;: {&#xd;
2274 &quot;name&quot;: &quot;PMSubscriptionType&quot;,&#xd;
2275 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2276 },&#xd;
2277 &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
2278 &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;PMSubscription\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.pmcontrol\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;changeType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;closedLoopControlName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;policyName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;subscription\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;subscription\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Groups_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Group_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Types_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Managed_Object_Dns_Basic_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n}&quot;&#xd;
2279 }&#xd;
2280 },&#xd;
2281 {&#xd;
2282 &quot;key&quot;: {&#xd;
2283 &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
2284 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2285 },&#xd;
2286 &quot;value&quot;: {&#xd;
2287 &quot;key&quot;: {&#xd;
2288 &quot;name&quot;: &quot;SimpleIntType&quot;,&#xd;
2289 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2290 },&#xd;
2291 &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
2292 &quot;schemaDefinition&quot;: &quot;java.lang.Integer&quot;&#xd;
2293 }&#xd;
2294 },&#xd;
2295 {&#xd;
2296 &quot;key&quot;: {&#xd;
2297 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2298 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2299 },&#xd;
2300 &quot;value&quot;: {&#xd;
2301 &quot;key&quot;: {&#xd;
2302 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2303 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2304 },&#xd;
2305 &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
2306 &quot;schemaDefinition&quot;: &quot;java.lang.String&quot;&#xd;
2307 }&#xd;
2308 },&#xd;
2309 {&#xd;
2310 &quot;key&quot;: {&#xd;
2311 &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
2312 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2313 },&#xd;
2314 &quot;value&quot;: {&#xd;
2315 &quot;key&quot;: {&#xd;
2316 &quot;name&quot;: &quot;SubscriptionStatusType&quot;,&#xd;
2317 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2318 },&#xd;
2319 &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
2320 &quot;schemaDefinition&quot;: &quot;{\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;name\&quot;: \&quot;ActivateSubscriptionStatus_Type\&quot;,\n \&quot;namespace\&quot;: \&quot;org.onap.policy.apex.onap.helloworld\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;nfName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;changeType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;message\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n}&quot;&#xd;
2321 }&#xd;
2322 },&#xd;
2323 {&#xd;
2324 &quot;key&quot;: {&#xd;
2325 &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
2326 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2327 },&#xd;
2328 &quot;value&quot;: {&#xd;
2329 &quot;key&quot;: {&#xd;
2330 &quot;name&quot;: &quot;SubscriptionType&quot;,&#xd;
2331 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2332 },&#xd;
2333 &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
2334 &quot;schemaDefinition&quot;: &quot;{\n \&quot;name\&quot;: \&quot;subscription\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;subscriptionName\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;administrativeState\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileBasedGP\&quot;,\n \&quot;type\&quot;: \&quot;int\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;fileLocation\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n },\n {\n \&quot;name\&quot;: \&quot;measurementGroups\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Groups_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementGroup\&quot;,\n \&quot;type\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Group_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementTypes\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Measurement_Types_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;measurementType\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n },\n {\n \&quot;name\&quot;: \&quot;managedObjectDNsBasic\&quot;,\n \&quot;type\&quot;: {\n \&quot;type\&quot;: \&quot;array\&quot;,\n \&quot;items\&quot;: {\n \&quot;name\&quot;: \&quot;Managed_Object_Dns_Basic_Type\&quot;,\n \&quot;type\&quot;: \&quot;record\&quot;,\n \&quot;fields\&quot;: [\n {\n \&quot;name\&quot;: \&quot;DN\&quot;,\n \&quot;type\&quot;: \&quot;string\&quot;\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n}&quot;&#xd;
2335 }&#xd;
2336 },&#xd;
2337 {&#xd;
2338 &quot;key&quot;: {&#xd;
2339 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
2340 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2341 },&#xd;
2342 &quot;value&quot;: {&#xd;
2343 &quot;key&quot;: {&#xd;
2344 &quot;name&quot;: &quot;UUIDType&quot;,&#xd;
2345 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2346 },&#xd;
2347 &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
2348 &quot;schemaDefinition&quot;: &quot;java.util.UUID&quot;&#xd;
2349 }&#xd;
2350 }&#xd;
2351 ]&#xd;
2352 }&#xd;
2353 }&#xd;
2354 }&#xd;
2355 }&#xd;
2356 },&#xd;
2357 &quot;eventOutputParameters&quot;: {&#xd;
2358 &quot;logOutputter&quot;: {&#xd;
2359 &quot;carrierTechnologyParameters&quot;: {&#xd;
2360 &quot;carrierTechnology&quot;: &quot;FILE&quot;,&#xd;
2361 &quot;parameters&quot;: {&#xd;
2362 &quot;fileName&quot;: &quot;outputevents.log&quot;&#xd;
2363 }&#xd;
2364 },&#xd;
2365 &quot;eventProtocolParameters&quot;: {&#xd;
2366 &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
2367 }&#xd;
2368 },&#xd;
2369 &quot;CDSRequestProducer&quot;: {&#xd;
2370 &quot;carrierTechnologyParameters&quot;: {&#xd;
2371 &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
2372 &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;,&#xd;
2373 &quot;parameters&quot;: {&#xd;
2374 &quot;host&quot;: &quot;10.2.0.105&quot;,&#xd;
2375 &quot;port&quot;: 54322,&#xd;
2376 &quot;username&quot;: &quot;ccsdkapps&quot;,&#xd;
2377 &quot;password&quot;: &quot;ccsdkapps&quot;,&#xd;
2378 &quot;timeout&quot;: 60&#xd;
2379 }&#xd;
2380 },&#xd;
2381 &quot;eventProtocolParameters&quot;: {&#xd;
2382 &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
2383 },&#xd;
2384 &quot;eventNameFilter&quot;: &quot;(Create|Delete)SubscriptionRequestEvent&quot;,&#xd;
2385 &quot;requestorMode&quot;: true,&#xd;
2386 &quot;requestorPeer&quot;: &quot;CDSRequestConsumer&quot;,&#xd;
2387 &quot;requestorTimeout&quot;: 500&#xd;
2388 },&#xd;
2389 &quot;CDSReplyProducer&quot;: {&#xd;
2390 &quot;carrierTechnologyParameters&quot;: {&#xd;
2391 &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
2392 &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
2393 &quot;parameters&quot;: {&#xd;
2394 &quot;url&quot;: &quot;https://message-router:3905/events/POLICY_CL_MGT&quot;&#xd;
2395 }&#xd;
2396 },&#xd;
2397 &quot;eventProtocolParameters&quot;: {&#xd;
2398 &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
2399 },&#xd;
2400 &quot;eventNameFilter&quot;: &quot;CDSResponseStatusEvent&quot;&#xd;
2401 }&#xd;
2402 },&#xd;
2403 &quot;eventInputParameters&quot;: {&#xd;
2404 &quot;DCAEConsumer&quot;: {&#xd;
2405 &quot;carrierTechnologyParameters&quot;: {&#xd;
2406 &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
2407 &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
2408 &quot;parameters&quot;: {&#xd;
2409 &quot;url&quot;: &quot;https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT/cg1/c1?timeout=30000&quot;&#xd;
2410 }&#xd;
2411 },&#xd;
2412 &quot;eventProtocolParameters&quot;: {&#xd;
2413 &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
2414 &quot;parameters&quot;: {&#xd;
2415 &quot;nameAlias&quot;: &quot;testPolicyB&quot;&#xd;
2416 }&#xd;
2417 },&#xd;
2418 &quot;eventName&quot;: &quot;testPolicyB&quot;,&#xd;
2419 &quot;eventNameFilter&quot;: &quot;testPolicyB&quot;&#xd;
2420 },&#xd;
2421 &quot;CDSRequestConsumer&quot;: {&#xd;
2422 &quot;carrierTechnologyParameters&quot;: {&#xd;
2423 &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
2424 &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;&#xd;
2425 },&#xd;
2426 &quot;eventProtocolParameters&quot;: {&#xd;
2427 &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
2428 },&#xd;
2429 &quot;eventName&quot;: &quot;CDSResponseEvent&quot;,&#xd;
2430 &quot;eventNameFilter&quot;: &quot;CDSResponseEvent&quot;,&#xd;
2431 &quot;requestorMode&quot;: true,&#xd;
2432 &quot;requestorPeer&quot;: &quot;CDSRequestProducer&quot;,&#xd;
2433 &quot;requestorTimeout&quot;: 500&#xd;
2434 }&#xd;
2435 }&#xd;
2436 },&#xd;
2437 &quot;name&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
2438 &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
2439 &quot;metadata&quot;: {&#xd;
2440 &quot;policy-id&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
2441 &quot;policy-version&quot;: &quot;1.0.0&quot;&#xd;
2442 }&#xd;
2443 }&#xd;
2444 }&#xd;
2445 ]&#xd;
2446 },&#xd;
2447 &quot;name&quot;: &quot;ToscaServiceTemplateSimple&quot;,&#xd;
2448 &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
2449 &quot;metadata&quot;: {}&#xd;
2450}</stringProp>
2451 <stringProp name="Argument.metadata">=</stringProp>
2452 </elementProp>
2453 </collectionProp>
2454 </elementProp>
2455 <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
2456 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2457 <stringProp name="HTTPSampler.protocol">https</stringProp>
2458 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2459 <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
2460 <stringProp name="HTTPSampler.method">POST</stringProp>
2461 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2462 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2463 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2464 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2465 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2466 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2467 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2468 </HTTPSamplerProxy>
2469 <hashTree>
2470 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2471 <collectionProp name="Asserion.test_strings">
2472 <stringProp name="49586">200</stringProp>
2473 </collectionProp>
2474 <stringProp name="Assertion.custom_message"></stringProp>
2475 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2476 <boolProp name="Assertion.assume_success">false</boolProp>
2477 <intProp name="Assertion.test_type">1</intProp>
2478 </ResponseAssertion>
2479 <hashTree/>
2480 </hashTree>
2481 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy policy" enabled="true">
2482 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2483 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2484 <collectionProp name="Arguments.arguments">
2485 <elementProp name="" elementType="HTTPArgument">
2486 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2487 <stringProp name="Argument.value">{&#xd;
2488 &quot;groups&quot;: [&#xd;
2489 {&#xd;
2490 &quot;name&quot;: &quot;defaultGroup&quot;,&#xd;
2491 &quot;deploymentSubgroups&quot;: [&#xd;
2492 {&#xd;
2493 &quot;pdpType&quot;: &quot;apex&quot;,&#xd;
2494 &quot;action&quot;: &quot;POST&quot;,&#xd;
2495 &quot;policies&quot;: [&#xd;
2496 {&#xd;
2497 &quot;name&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
2498 &quot;version&quot;: &quot;1.0.0&quot;&#xd;
2499 }&#xd;
2500 ]&#xd;
2501 }&#xd;
2502 ]&#xd;
2503 }&#xd;
2504 ]&#xd;
2505}</stringProp>
2506 <stringProp name="Argument.metadata">=</stringProp>
2507 </elementProp>
2508 </collectionProp>
2509 </elementProp>
2510 <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
2511 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2512 <stringProp name="HTTPSampler.protocol">https</stringProp>
2513 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2514 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp>
2515 <stringProp name="HTTPSampler.method">POST</stringProp>
2516 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2517 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2518 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2519 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2520 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2521 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2522 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2523 </HTTPSamplerProxy>
2524 <hashTree>
2525 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2526 <collectionProp name="Asserion.test_strings">
2527 <stringProp name="49586">200</stringProp>
2528 </collectionProp>
2529 <stringProp name="Assertion.custom_message"></stringProp>
2530 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2531 <boolProp name="Assertion.assume_success">false</boolProp>
2532 <intProp name="Assertion.test_type">1</intProp>
2533 </ResponseAssertion>
2534 <hashTree/>
2535 </hashTree>
2536 </hashTree>
ramverma78c6f582018-10-23 16:58:34 +01002537 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002538 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
ramverma78c6f582018-10-23 16:58:34 +01002539 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
2540 <boolProp name="LoopController.continue_forever">false</boolProp>
2541 <intProp name="LoopController.loops">-1</intProp>
2542 </elementProp>
2543 <stringProp name="ThreadGroup.num_threads">${threads}</stringProp>
2544 <stringProp name="ThreadGroup.ramp_time">1</stringProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002545 <boolProp name="ThreadGroup.scheduler">true</boolProp>
2546 <stringProp name="ThreadGroup.duration">260000</stringProp>
ramverma78c6f582018-10-23 16:58:34 +01002547 <stringProp name="ThreadGroup.delay"></stringProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002548 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
ramverma78c6f582018-10-23 16:58:34 +01002549 </ThreadGroup>
2550 <hashTree>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002551 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Health Check" enabled="true">
2552 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2553 <collectionProp name="Arguments.arguments"/>
2554 </elementProp>
2555 <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
2556 <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp>
2557 <stringProp name="HTTPSampler.protocol">https</stringProp>
2558 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2559 <stringProp name="HTTPSampler.path">/policy/apex-pdp/v1/healthcheck</stringProp>
2560 <stringProp name="HTTPSampler.method">GET</stringProp>
2561 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2562 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2563 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2564 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2565 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2566 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2567 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2568 </HTTPSamplerProxy>
2569 <hashTree>
2570 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2571 <stringProp name="cacheKey">true</stringProp>
2572 <stringProp name="filename"></stringProp>
2573 <stringProp name="parameters"></stringProp>
2574 <stringProp name="script">import groovy.json.JsonSlurper;
2575
2576def res = [];
2577if (prev.getResponseCode() == &apos;200&apos;) {
2578 def jsonSlurper = new JsonSlurper();
2579 res = jsonSlurper.parseText(prev.getResponseDataAsString());
2580
2581 assert res instanceof Map;
2582 assert res.healthy == true;
2583 assert res.message == &apos;alive&apos;;
2584}
2585</stringProp>
2586 <stringProp name="scriptLanguage">groovy</stringProp>
2587 </JSR223Assertion>
2588 <hashTree/>
2589 </hashTree>
ramverma78c6f582018-10-23 16:58:34 +01002590 <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Test Controller" enabled="true"/>
2591 <hashTree>
2592 <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="true">
2593 <stringProp name="groupSize">${threads}</stringProp>
2594 <stringProp name="timeoutInMs">${threadsTimeOutInMs}</stringProp>
2595 </SyncTimer>
2596 <hashTree/>
2597 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Input Event" enabled="true">
2598 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2599 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2600 <collectionProp name="Arguments.arguments">
2601 <elementProp name="" elementType="HTTPArgument">
2602 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2603 <stringProp name="Argument.value">{&#xd;
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002604 &quot;changeType&quot;: &quot;CREATE&quot;,&#xd;
2605 &quot;closedLoopControlName&quot;: &quot;test&quot;,&#xd;
2606 &quot;policyName&quot;: &quot;test&quot;,&#xd;
2607 &quot;nfName&quot;: &quot;pnf300&quot;,&#xd;
2608 &quot;subscription&quot;: {&#xd;
2609 &quot;subscriptionName&quot;: &quot;testPolicyB&quot;,&#xd;
2610 &quot;administrativeState&quot;: &quot;UNLOCKED&quot;,&#xd;
2611 &quot;fileBasedGP&quot;: 15,&#xd;
2612 &quot;fileLocation&quot;: &quot;/pm/pm.xml&quot;,&#xd;
2613 &quot;measurementGroups&quot;: [&#xd;
2614 {&#xd;
2615 &quot;measurementGroup&quot;: {&#xd;
2616 &quot;measurementTypes&quot;: [&#xd;
2617 {&#xd;
2618 &quot;measurementType&quot;: &quot;countera&quot;&#xd;
2619 },&#xd;
2620 {&#xd;
2621 &quot;measurementType&quot;: &quot;counterb&quot;&#xd;
2622 }&#xd;
2623 ],&#xd;
2624 &quot;managedObjectDNsBasic&quot;: [&#xd;
2625 {&#xd;
2626 &quot;DN&quot;: &quot;dna&quot;&#xd;
2627 },&#xd;
2628 {&#xd;
2629 &quot;DN&quot;: &quot;dnb&quot;&#xd;
2630 }&#xd;
2631 ]&#xd;
2632 }&#xd;
2633 },&#xd;
2634 {&#xd;
2635 &quot;measurementGroup&quot;: {&#xd;
2636 &quot;measurementTypes&quot;: [&#xd;
2637 {&#xd;
2638 &quot;measurementType&quot;: &quot;counterc&quot;&#xd;
2639 },&#xd;
2640 {&#xd;
2641 &quot;measurementType&quot;: &quot;counterd&quot;&#xd;
2642 }&#xd;
2643 ],&#xd;
2644 &quot;managedObjectDNsBasic&quot;: [&#xd;
2645 {&#xd;
2646 &quot;DN&quot;: &quot;dnc&quot;&#xd;
2647 },&#xd;
2648 {&#xd;
2649 &quot;DN&quot;: &quot;dnd&quot;&#xd;
2650 }&#xd;
2651 ]&#xd;
2652 }&#xd;
2653 }&#xd;
2654 ]&#xd;
2655 }&#xd;
2656}</stringProp>
ramverma78c6f582018-10-23 16:58:34 +01002657 <stringProp name="Argument.metadata">=</stringProp>
2658 </elementProp>
2659 </collectionProp>
2660 </elementProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002661 <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
2662 <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
2663 <stringProp name="HTTPSampler.protocol">http</stringProp>
ramverma78c6f582018-10-23 16:58:34 +01002664 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002665 <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</stringProp>
2666 <stringProp name="HTTPSampler.method">POST</stringProp>
ramverma78c6f582018-10-23 16:58:34 +01002667 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2668 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2669 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2670 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2671 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2672 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2673 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2674 <stringProp name="TestPlan.comments">Send input event to apex-pdp</stringProp>
2675 </HTTPSamplerProxy>
2676 <hashTree>
2677 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true">
2678 <collectionProp name="Asserion.test_strings">
2679 <stringProp name="49586">200</stringProp>
2680 </collectionProp>
2681 <stringProp name="Assertion.custom_message"></stringProp>
2682 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2683 <boolProp name="Assertion.assume_success">false</boolProp>
2684 <intProp name="Assertion.test_type">8</intProp>
2685 <stringProp name="Scope.variable">Response code</stringProp>
2686 <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
2687 </ResponseAssertion>
2688 <hashTree/>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002689 <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="true">
2690 <stringProp name="ConstantTimer.delay">${wait}</stringProp>
2691 </ConstantTimer>
2692 <hashTree/>
2693 </hashTree>
2694 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="true">
2695 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2696 <collectionProp name="Arguments.arguments"/>
2697 </elementProp>
2698 <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
2699 <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
2700 <stringProp name="HTTPSampler.protocol">http</stringProp>
2701 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2702 <stringProp name="HTTPSampler.path">/events/POLICY_CL_MGT/cg1/c1?timeout=30000</stringProp>
2703 <stringProp name="HTTPSampler.method">GET</stringProp>
2704 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2705 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2706 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2707 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2708 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2709 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2710 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2711 <stringProp name="TestPlan.comments">Check output event </stringProp>
2712 </HTTPSamplerProxy>
2713 <hashTree>
2714 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true">
ramverma78c6f582018-10-23 16:58:34 +01002715 <collectionProp name="Asserion.test_strings">
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002716 <stringProp name="49586">200</stringProp>
2717 </collectionProp>
2718 <stringProp name="Assertion.custom_message"></stringProp>
2719 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2720 <boolProp name="Assertion.assume_success">false</boolProp>
2721 <intProp name="Assertion.test_type">8</intProp>
2722 <stringProp name="Scope.variable">Response code</stringProp>
2723 <stringProp name="TestPlan.comments">Assert response code coming back from apex-pdp</stringProp>
2724 </ResponseAssertion>
2725 <hashTree/>
2726 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Message" enabled="false">
2727 <collectionProp name="Asserion.test_strings">
2728 <stringProp name="1608759622">org.onap.policy.apex.onap.pmcontrol</stringProp>
2729 <stringProp name="1996002556">CREATE</stringProp>
ramverma78c6f582018-10-23 16:58:34 +01002730 </collectionProp>
2731 <stringProp name="Assertion.custom_message"></stringProp>
2732 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
2733 <boolProp name="Assertion.assume_success">false</boolProp>
2734 <intProp name="Assertion.test_type">2</intProp>
2735 <stringProp name="Scope.variable">Response code</stringProp>
2736 <stringProp name="TestPlan.comments">Assert response message coming back from apex-pdp</stringProp>
2737 </ResponseAssertion>
2738 <hashTree/>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002739 <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false">
ramverma78c6f582018-10-23 16:58:34 +01002740 <stringProp name="ConstantTimer.delay">${wait}</stringProp>
2741 </ConstantTimer>
2742 <hashTree/>
2743 </hashTree>
2744 </hashTree>
2745 </hashTree>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002746 <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
2747 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
2748 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
2749 <boolProp name="LoopController.continue_forever">false</boolProp>
2750 <stringProp name="LoopController.loops">1</stringProp>
2751 </elementProp>
2752 <stringProp name="ThreadGroup.num_threads">1</stringProp>
2753 <stringProp name="ThreadGroup.ramp_time">1</stringProp>
2754 <boolProp name="ThreadGroup.scheduler">false</boolProp>
2755 <stringProp name="ThreadGroup.duration"></stringProp>
2756 <stringProp name="ThreadGroup.delay"></stringProp>
2757 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
2758 </PostThreadGroup>
2759 <hashTree>
2760 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Un deploy policy" enabled="true">
2761 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2762 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2763 <collectionProp name="Arguments.arguments">
2764 <elementProp name="" elementType="HTTPArgument">
2765 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2766 <stringProp name="Argument.value">{&#xd;
2767 &quot;groups&quot;: [&#xd;
2768 {&#xd;
2769 &quot;name&quot;: &quot;defaultGroup&quot;,&#xd;
2770 &quot;deploymentSubgroups&quot;: [&#xd;
2771 {&#xd;
2772 &quot;pdpType&quot;: &quot;apex&quot;,&#xd;
2773 &quot;action&quot;: &quot;DELETE&quot;,&#xd;
2774 &quot;policies&quot;: [&#xd;
2775 {&#xd;
2776 &quot;name&quot;: &quot;operational.apex.stabilityTestDefaultDomain&quot;,&#xd;
2777 &quot;version&quot;: &quot;1.0.0&quot;&#xd;
2778 }&#xd;
2779 ]&#xd;
2780 }&#xd;
2781 ]&#xd;
2782 }&#xd;
2783 ]&#xd;
2784}</stringProp>
2785 <stringProp name="Argument.metadata">=</stringProp>
2786 </elementProp>
2787 </collectionProp>
2788 </elementProp>
2789 <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
2790 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2791 <stringProp name="HTTPSampler.protocol">https</stringProp>
2792 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2793 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp>
2794 <stringProp name="HTTPSampler.method">POST</stringProp>
2795 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2796 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2797 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2798 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2799 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2800 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2801 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2802 </HTTPSamplerProxy>
2803 <hashTree>
2804 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2805 <collectionProp name="Asserion.test_strings">
2806 <stringProp name="49586">200</stringProp>
2807 </collectionProp>
2808 <stringProp name="Assertion.custom_message"></stringProp>
2809 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2810 <boolProp name="Assertion.assume_success">false</boolProp>
2811 <intProp name="Assertion.test_type">1</intProp>
2812 </ResponseAssertion>
2813 <hashTree/>
2814 </hashTree>
2815 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy" enabled="true">
2816 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2817 <collectionProp name="Arguments.arguments"/>
2818 </elementProp>
2819 <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
2820 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2821 <stringProp name="HTTPSampler.protocol">https</stringProp>
2822 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2823 <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/operational.apex.stabilityTestDefaultDomain/versions/1.0.0</stringProp>
2824 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2825 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2826 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2827 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2828 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2829 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2830 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2831 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2832 </HTTPSamplerProxy>
2833 <hashTree>
2834 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2835 <collectionProp name="Asserion.test_strings">
2836 <stringProp name="49586">200</stringProp>
2837 </collectionProp>
2838 <stringProp name="Assertion.custom_message"></stringProp>
2839 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2840 <boolProp name="Assertion.assume_success">false</boolProp>
2841 <intProp name="Assertion.test_type">1</intProp>
2842 </ResponseAssertion>
2843 <hashTree/>
2844 </hashTree>
2845 </hashTree>
ramverma78c6f582018-10-23 16:58:34 +01002846 <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
2847 <boolProp name="ResultCollector.error_logging">false</boolProp>
2848 <objProp>
2849 <name>saveConfig</name>
2850 <value class="SampleSaveConfiguration">
2851 <time>true</time>
2852 <latency>true</latency>
2853 <timestamp>true</timestamp>
2854 <success>true</success>
2855 <label>true</label>
2856 <code>true</code>
2857 <message>true</message>
2858 <threadName>true</threadName>
2859 <dataType>true</dataType>
2860 <encoding>false</encoding>
2861 <assertions>true</assertions>
2862 <subresults>true</subresults>
2863 <responseData>false</responseData>
2864 <samplerData>false</samplerData>
2865 <xml>false</xml>
2866 <fieldNames>true</fieldNames>
2867 <responseHeaders>false</responseHeaders>
2868 <requestHeaders>false</requestHeaders>
2869 <responseDataOnError>false</responseDataOnError>
2870 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2871 <assertionsResultsToSave>0</assertionsResultsToSave>
2872 <bytes>true</bytes>
2873 <sentBytes>true</sentBytes>
2874 <threadCounts>true</threadCounts>
2875 <idleTime>true</idleTime>
2876 <connectTime>true</connectTime>
2877 </value>
2878 </objProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002879 <stringProp name="filename">/home/adityap/apex_stability/Stability.log</stringProp>
ramverma78c6f582018-10-23 16:58:34 +01002880 </ResultCollector>
2881 <hashTree/>
2882 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
2883 <boolProp name="ResultCollector.error_logging">false</boolProp>
2884 <objProp>
2885 <name>saveConfig</name>
2886 <value class="SampleSaveConfiguration">
2887 <time>true</time>
2888 <latency>true</latency>
2889 <timestamp>true</timestamp>
2890 <success>true</success>
2891 <label>true</label>
2892 <code>true</code>
2893 <message>true</message>
2894 <threadName>true</threadName>
2895 <dataType>true</dataType>
2896 <encoding>false</encoding>
2897 <assertions>true</assertions>
2898 <subresults>true</subresults>
2899 <responseData>false</responseData>
2900 <samplerData>false</samplerData>
2901 <xml>false</xml>
2902 <fieldNames>true</fieldNames>
2903 <responseHeaders>false</responseHeaders>
2904 <requestHeaders>false</requestHeaders>
2905 <responseDataOnError>false</responseDataOnError>
2906 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2907 <assertionsResultsToSave>0</assertionsResultsToSave>
2908 <bytes>true</bytes>
2909 <sentBytes>true</sentBytes>
2910 <threadCounts>true</threadCounts>
2911 <idleTime>true</idleTime>
2912 <connectTime>true</connectTime>
2913 </value>
2914 </objProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002915 <stringProp name="filename">/home/adityap/apex_stability/resultTree.log</stringProp>
ramverma78c6f582018-10-23 16:58:34 +01002916 </ResultCollector>
2917 <hashTree/>
2918 <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
2919 <boolProp name="ResultCollector.error_logging">false</boolProp>
2920 <objProp>
2921 <name>saveConfig</name>
2922 <value class="SampleSaveConfiguration">
2923 <time>true</time>
2924 <latency>true</latency>
2925 <timestamp>true</timestamp>
2926 <success>true</success>
2927 <label>true</label>
2928 <code>true</code>
2929 <message>true</message>
2930 <threadName>true</threadName>
2931 <dataType>true</dataType>
2932 <encoding>false</encoding>
2933 <assertions>true</assertions>
2934 <subresults>true</subresults>
2935 <responseData>false</responseData>
2936 <samplerData>false</samplerData>
2937 <xml>false</xml>
2938 <fieldNames>true</fieldNames>
2939 <responseHeaders>false</responseHeaders>
2940 <requestHeaders>false</requestHeaders>
2941 <responseDataOnError>false</responseDataOnError>
2942 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2943 <assertionsResultsToSave>0</assertionsResultsToSave>
2944 <bytes>true</bytes>
2945 <sentBytes>true</sentBytes>
2946 <threadCounts>true</threadCounts>
2947 <idleTime>true</idleTime>
2948 <connectTime>true</connectTime>
2949 </value>
2950 </objProp>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002951 <stringProp name="filename">/home/adityap/apex_stability/resultTable.log</stringProp>
ramverma78c6f582018-10-23 16:58:34 +01002952 </ResultCollector>
2953 <hashTree/>
2954 </hashTree>
2955 </hashTree>
2956</jmeterTestPlan>
aditya.puthuparambilff67d112020-06-02 16:22:59 +01002957