Update policy-api stability and performance jmx files
[policy/api.git] / testsuites / stability / src / main / resources / testplans / policy_api_stability.jmx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.1">
3   <hashTree>
4     <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy API Stability" enabled="true">
5       <stringProp name="TestPlan.comments"></stringProp>
6       <boolProp name="TestPlan.functional_mode">false</boolProp>
7       <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
8       <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
9       <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
10         <collectionProp name="Arguments.arguments">
11           <elementProp name="API_HOST" elementType="Argument">
12             <stringProp name="Argument.name">API_HOST</stringProp>
13             <stringProp name="Argument.value">10.15.100.214</stringProp>
14             <stringProp name="Argument.metadata">=</stringProp>
15           </elementProp>
16           <elementProp name="API_PORT" elementType="Argument">
17             <stringProp name="Argument.name">API_PORT</stringProp>
18             <stringProp name="Argument.value">31105</stringProp>
19             <stringProp name="Argument.metadata">=</stringProp>
20           </elementProp>
21         </collectionProp>
22       </elementProp>
23       <stringProp name="TestPlan.user_define_classpath"></stringProp>
24     </TestPlan>
25     <hashTree>
26       <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
27         <collectionProp name="AuthManager.auth_list">
28           <elementProp name="" elementType="Authorization">
29             <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/</stringProp>
30             <stringProp name="Authorization.username">policyadmin</stringProp>
31             <stringProp name="Authorization.password">zb!XztG34</stringProp>
32             <stringProp name="Authorization.domain"></stringProp>
33             <stringProp name="Authorization.realm"></stringProp>
34           </elementProp>
35         </collectionProp>
36         <boolProp name="AuthManager.clearEachIteration">true</boolProp>
37         <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
38       </AuthManager>
39       <hashTree/>
40       <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
41         <collectionProp name="HeaderManager.headers">
42           <elementProp name="" elementType="Header">
43             <stringProp name="Header.name">Accept</stringProp>
44             <stringProp name="Header.value">application/json</stringProp>
45           </elementProp>
46           <elementProp name="" elementType="Header">
47             <stringProp name="Header.name">Content-Type</stringProp>
48             <stringProp name="Header.value">application/json</stringProp>
49           </elementProp>
50         </collectionProp>
51       </HeaderManager>
52       <hashTree/>
53       <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true">
54         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
55         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
56           <boolProp name="LoopController.continue_forever">false</boolProp>
57           <stringProp name="LoopController.loops">1</stringProp>
58         </elementProp>
59         <stringProp name="ThreadGroup.num_threads">1</stringProp>
60         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
61         <boolProp name="ThreadGroup.scheduler">false</boolProp>
62         <stringProp name="ThreadGroup.duration"></stringProp>
63         <stringProp name="ThreadGroup.delay"></stringProp>
64         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
65       </SetupThreadGroup>
66       <hashTree>
67         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Healthcheck" enabled="true">
68           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
69             <collectionProp name="Arguments.arguments"/>
70           </elementProp>
71           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
72           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
73           <stringProp name="HTTPSampler.protocol">https</stringProp>
74           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
75           <stringProp name="HTTPSampler.path">/policy/api/v1/healthcheck</stringProp>
76           <stringProp name="HTTPSampler.method">GET</stringProp>
77           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
78           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
79           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
80           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
81           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
82           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
83           <stringProp name="HTTPSampler.response_timeout"></stringProp>
84         </HTTPSamplerProxy>
85         <hashTree>
86           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
87             <collectionProp name="Asserion.test_strings">
88               <stringProp name="49586">200</stringProp>
89             </collectionProp>
90             <stringProp name="Assertion.custom_message"></stringProp>
91             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
92             <boolProp name="Assertion.assume_success">false</boolProp>
93             <intProp name="Assertion.test_type">1</intProp>
94           </ResponseAssertion>
95           <hashTree/>
96           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
97             <stringProp name="cacheKey">true</stringProp>
98             <stringProp name="filename"></stringProp>
99             <stringProp name="parameters"></stringProp>
100             <stringProp name="script">import groovy.json.JsonSlurper;
101
102 def res = [];
103 if (prev.getResponseCode() == &apos;200&apos;) {
104     def jsonSlurper = new JsonSlurper();
105     res = jsonSlurper.parseText(prev.getResponseDataAsString());
106
107     assert res instanceof Map;
108     assert res.code == 200;
109     assert res.name == &quot;Policy API&quot;;
110     assert res.healthy==true;
111     assert res.message==&quot;alive&quot;;
112 }</stringProp>
113             <stringProp name="scriptLanguage">groovy</stringProp>
114           </JSR223Assertion>
115           <hashTree/>
116         </hashTree>
117         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Statistics" enabled="true">
118           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
119             <collectionProp name="Arguments.arguments"/>
120           </elementProp>
121           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
122           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
123           <stringProp name="HTTPSampler.protocol">https</stringProp>
124           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
125           <stringProp name="HTTPSampler.path">/policy/api/v1/statistics</stringProp>
126           <stringProp name="HTTPSampler.method">GET</stringProp>
127           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
128           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
129           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
130           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
131           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
132           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
133           <stringProp name="HTTPSampler.response_timeout"></stringProp>
134         </HTTPSamplerProxy>
135         <hashTree>
136           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
137             <collectionProp name="Asserion.test_strings">
138               <stringProp name="49586">200</stringProp>
139             </collectionProp>
140             <stringProp name="Assertion.custom_message"></stringProp>
141             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
142             <boolProp name="Assertion.assume_success">false</boolProp>
143             <intProp name="Assertion.test_type">1</intProp>
144           </ResponseAssertion>
145           <hashTree/>
146           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
147             <stringProp name="scriptLanguage">groovy</stringProp>
148             <stringProp name="parameters"></stringProp>
149             <stringProp name="filename"></stringProp>
150             <stringProp name="cacheKey">true</stringProp>
151             <stringProp name="script">import groovy.json.JsonSlurper;
152
153 def res = [];
154 if (prev.getResponseCode() == &apos;200&apos;) {
155     def jsonSlurper = new JsonSlurper();
156     res = jsonSlurper.parseText(prev.getResponseDataAsString());
157
158     assert res instanceof Map;
159     assert res.code == 200;
160 }</stringProp>
161           </JSR223Assertion>
162           <hashTree/>
163         </hashTree>
164         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Preloaded Policy Types" enabled="true">
165           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
166             <collectionProp name="Arguments.arguments"/>
167           </elementProp>
168           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
169           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
170           <stringProp name="HTTPSampler.protocol">https</stringProp>
171           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
172           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
173           <stringProp name="HTTPSampler.method">GET</stringProp>
174           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
175           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
176           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
177           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
178           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
179           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
180           <stringProp name="HTTPSampler.response_timeout"></stringProp>
181         </HTTPSamplerProxy>
182         <hashTree>
183           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
184             <collectionProp name="Asserion.test_strings">
185               <stringProp name="49586">200</stringProp>
186             </collectionProp>
187             <stringProp name="Assertion.custom_message"></stringProp>
188             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
189             <boolProp name="Assertion.assume_success">false</boolProp>
190             <intProp name="Assertion.test_type">1</intProp>
191           </ResponseAssertion>
192           <hashTree/>
193           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
194             <stringProp name="scriptLanguage">groovy</stringProp>
195             <stringProp name="parameters"></stringProp>
196             <stringProp name="filename"></stringProp>
197             <stringProp name="cacheKey">true</stringProp>
198             <stringProp name="script">import groovy.json.JsonSlurper;
199
200 def res = [];
201 if (prev.getResponseCode() == &apos;200&apos;) {
202     def jsonSlurper = new JsonSlurper();
203     res = jsonSlurper.parseText(prev.getResponseDataAsString());
204
205     assert res instanceof Map;
206     assert res.policy_types instanceof Map;
207     assert res.policy_types.size() == 38;
208     assert res.node_types instanceof Map;
209     assert res.data_types instanceof Map;
210 }</stringProp>
211           </JSR223Assertion>
212           <hashTree/>
213         </hashTree>
214       </hashTree>
215       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="API Test Flow" enabled="true">
216         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
217         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
218           <boolProp name="LoopController.continue_forever">false</boolProp>
219           <intProp name="LoopController.loops">-1</intProp>
220         </elementProp>
221         <stringProp name="ThreadGroup.num_threads">5</stringProp>
222         <stringProp name="ThreadGroup.ramp_time">5</stringProp>
223         <boolProp name="ThreadGroup.scheduler">true</boolProp>
224         <stringProp name="ThreadGroup.duration">259200</stringProp>
225         <stringProp name="ThreadGroup.delay">5</stringProp>
226         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
227       </ThreadGroup>
228       <hashTree>
229         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Monitoring" enabled="true">
230           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
231           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
232             <collectionProp name="Arguments.arguments">
233               <elementProp name="" elementType="HTTPArgument">
234                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
235                 <stringProp name="Argument.value">{&#xd;
236     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
237     &quot;policy_types&quot;: {&#xd;
238         &quot;onap.policies.Monitoring&quot;: {&#xd;
239             &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
240             &quot;version&quot;: &quot;6.0.0&quot;,&#xd;
241             &quot;description&quot;: &quot;a base policy type for all policies that govern monitoring provisioning&quot;&#xd;
242         },&#xd;
243         &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;: {&#xd;
244             &quot;derived_from&quot;: &quot;onap.policies.Monitoring&quot;,&#xd;
245             &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
246             &quot;properties&quot;: {&#xd;
247                 &quot;tca_policy&quot;: {&#xd;
248                     &quot;type&quot;: &quot;onap.datatypes.monitoring.tca_policy&quot;,&#xd;
249                     &quot;description&quot;: &quot;TCA Policy JSON&quot;,&#xd;
250                     &quot;required&quot;: true&#xd;
251                 }&#xd;
252             }&#xd;
253         }&#xd;
254     },&#xd;
255     &quot;data_types&quot;: {&#xd;
256         &quot;onap.datatypes.monitoring.metricsPerEventName&quot;: {&#xd;
257             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
258             &quot;properties&quot;: {&#xd;
259                 &quot;controlLoopSchemaType&quot;: {&#xd;
260                     &quot;type&quot;: &quot;string&quot;,&#xd;
261                     &quot;required&quot;: true,&#xd;
262                     &quot;description&quot;: &quot;Specifies Control Loop Schema Type for the event Name e.g. VNF, VM&quot;,&#xd;
263                     &quot;constraints&quot;: [&#xd;
264                         {&#xd;
265                             &quot;valid_values&quot;: [&#xd;
266                                 &quot;VM&quot;,&#xd;
267                                 &quot;VNF&quot;&#xd;
268                             ]&#xd;
269                         }&#xd;
270                     ]&#xd;
271                 },&#xd;
272                 &quot;eventName&quot;: {&#xd;
273                     &quot;type&quot;: &quot;string&quot;,&#xd;
274                     &quot;required&quot;: true,&#xd;
275                     &quot;description&quot;: &quot;Event name to which thresholds need to be applied&quot;&#xd;
276                 },&#xd;
277                 &quot;policyName&quot;: {&#xd;
278                     &quot;type&quot;: &quot;string&quot;,&#xd;
279                     &quot;required&quot;: true,&#xd;
280                     &quot;description&quot;: &quot;TCA Policy Scope Name&quot;&#xd;
281                 },&#xd;
282                 &quot;policyScope&quot;: {&#xd;
283                     &quot;type&quot;: &quot;string&quot;,&#xd;
284                     &quot;required&quot;: true,&#xd;
285                     &quot;description&quot;: &quot;TCA Policy Scope&quot;&#xd;
286                 },&#xd;
287                 &quot;policyVersion&quot;: {&#xd;
288                     &quot;type&quot;: &quot;string&quot;,&#xd;
289                     &quot;required&quot;: true,&#xd;
290                     &quot;description&quot;: &quot;TCA Policy Scope Version&quot;&#xd;
291                 },&#xd;
292                 &quot;thresholds&quot;: {&#xd;
293                     &quot;type&quot;: &quot;list&quot;,&#xd;
294                     &quot;required&quot;: true,&#xd;
295                     &quot;description&quot;: &quot;Thresholds associated with eventName&quot;,&#xd;
296                     &quot;entry_schema&quot;: {&#xd;
297                         &quot;type&quot;: &quot;onap.datatypes.monitoring.thresholds&quot;&#xd;
298                     }&#xd;
299                 }&#xd;
300             }&#xd;
301         },&#xd;
302         &quot;onap.datatypes.monitoring.tca_policy&quot;: {&#xd;
303             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
304             &quot;properties&quot;: {&#xd;
305                 &quot;domain&quot;: {&#xd;
306                     &quot;type&quot;: &quot;string&quot;,&#xd;
307                     &quot;required&quot;: true,&#xd;
308                     &quot;description&quot;: &quot;Domain name to which TCA needs to be applied&quot;,&#xd;
309                     &quot;default&quot;: &quot;measurementsForVfScaling&quot;,&#xd;
310                     &quot;constraints&quot;: [&#xd;
311                         {&#xd;
312                             &quot;equal&quot;: &quot;measurementsForVfScaling&quot;&#xd;
313                         }&#xd;
314                     ]&#xd;
315                 },&#xd;
316                 &quot;metricsPerEventName&quot;: {&#xd;
317                     &quot;type&quot;: &quot;list&quot;,&#xd;
318                     &quot;required&quot;: true,&#xd;
319                     &quot;description&quot;: &quot;Contains eventName and threshold details that need to be applied to given eventName&quot;,&#xd;
320                     &quot;entry_schema&quot;: {&#xd;
321                         &quot;type&quot;: &quot;onap.datatypes.monitoring.metricsPerEventName&quot;&#xd;
322                     }&#xd;
323                 }&#xd;
324             }&#xd;
325         },&#xd;
326         &quot;onap.datatypes.monitoring.thresholds&quot;: {&#xd;
327             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
328             &quot;properties&quot;: {&#xd;
329                 &quot;closedLoopControlName&quot;: {&#xd;
330                     &quot;type&quot;: &quot;string&quot;,&#xd;
331                     &quot;required&quot;: true,&#xd;
332                     &quot;description&quot;: &quot;Closed Loop Control Name associated with the threshold&quot;&#xd;
333                 },&#xd;
334                 &quot;closedLoopEventStatus&quot;: {&#xd;
335                     &quot;type&quot;: &quot;string&quot;,&#xd;
336                     &quot;required&quot;: true,&#xd;
337                     &quot;description&quot;: &quot;Closed Loop Event Status of the threshold&quot;,&#xd;
338                     &quot;constraints&quot;: [&#xd;
339                         {&#xd;
340                             &quot;valid_values&quot;: [&#xd;
341                                 &quot;ONSET&quot;,&#xd;
342                                 &quot;ABATED&quot;&#xd;
343                             ]&#xd;
344                         }&#xd;
345                     ]&#xd;
346                 },&#xd;
347                 &quot;direction&quot;: {&#xd;
348                     &quot;type&quot;: &quot;string&quot;,&#xd;
349                     &quot;required&quot;: true,&#xd;
350                     &quot;description&quot;: &quot;Direction of the threshold&quot;,&#xd;
351                     &quot;constraints&quot;: [&#xd;
352                         {&#xd;
353                             &quot;valid_values&quot;: [&#xd;
354                                 &quot;LESS&quot;,&#xd;
355                                 &quot;LESS_OR_EQUAL&quot;,&#xd;
356                                 &quot;GREATER&quot;,&#xd;
357                                 &quot;GREATER_OR_EQUAL&quot;,&#xd;
358                                 &quot;EQUAL&quot;&#xd;
359                             ]&#xd;
360                         }&#xd;
361                     ]&#xd;
362                 },&#xd;
363                 &quot;fieldPath&quot;: {&#xd;
364                     &quot;type&quot;: &quot;string&quot;,&#xd;
365                     &quot;required&quot;: true,&#xd;
366                     &quot;description&quot;: &quot;Json field Path as per CEF message which needs to be analyzed for TCA&quot;,&#xd;
367                     &quot;constraints&quot;: [&#xd;
368                         {&#xd;
369                             &quot;valid_values&quot;: [&#xd;
370                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta&quot;,&#xd;
371                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta&quot;,&#xd;
372                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta&quot;,&#xd;
373                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta&quot;,&#xd;
374                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta&quot;,&#xd;
375                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta&quot;,&#xd;
376                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta&quot;,&#xd;
377                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated&quot;,&#xd;
378                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated&quot;,&#xd;
379                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated&quot;,&#xd;
380                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated&quot;,&#xd;
381                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated&quot;,&#xd;
382                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated&quot;,&#xd;
383                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated&quot;,&#xd;
384                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta&quot;,&#xd;
385                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta&quot;,&#xd;
386                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta&quot;,&#xd;
387                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta&quot;,&#xd;
388                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta&quot;,&#xd;
389                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta&quot;,&#xd;
390                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta&quot;,&#xd;
391                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated&quot;,&#xd;
392                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated&quot;,&#xd;
393                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated&quot;,&#xd;
394                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated&quot;,&#xd;
395                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated&quot;,&#xd;
396                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated&quot;,&#xd;
397                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated&quot;,&#xd;
398                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle&quot;,&#xd;
399                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt&quot;,&#xd;
400                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice&quot;,&#xd;
401                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq&quot;,&#xd;
402                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal&quot;,&#xd;
403                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem&quot;,&#xd;
404                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait&quot;,&#xd;
405                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage&quot;,&#xd;
406                                 &quot;$.event.measurementsForVfScalingFields.meanRequestLatency&quot;,&#xd;
407                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered&quot;,&#xd;
408                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached&quot;,&#xd;
409                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured&quot;,&#xd;
410                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree&quot;,&#xd;
411                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed&quot;,&#xd;
412                                 &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;&#xd;
413                             ]&#xd;
414                         }&#xd;
415                     ]&#xd;
416                 },&#xd;
417                 &quot;severity&quot;: {&#xd;
418                     &quot;type&quot;: &quot;string&quot;,&#xd;
419                     &quot;required&quot;: true,&#xd;
420                     &quot;description&quot;: &quot;Threshold Event Severity&quot;,&#xd;
421                     &quot;constraints&quot;: [&#xd;
422                         {&#xd;
423                             &quot;valid_values&quot;: [&#xd;
424                                 &quot;CRITICAL&quot;,&#xd;
425                                 &quot;MAJOR&quot;,&#xd;
426                                 &quot;MINOR&quot;,&#xd;
427                                 &quot;WARNING&quot;,&#xd;
428                                 &quot;NORMAL&quot;&#xd;
429                             ]&#xd;
430                         }&#xd;
431                     ]&#xd;
432                 },&#xd;
433                 &quot;thresholdValue&quot;: {&#xd;
434                     &quot;type&quot;: &quot;integer&quot;,&#xd;
435                     &quot;required&quot;: true,&#xd;
436                     &quot;description&quot;: &quot;Threshold value for the field Path inside CEF message&quot;&#xd;
437                 },&#xd;
438                 &quot;version&quot;: {&#xd;
439                     &quot;type&quot;: &quot;string&quot;,&#xd;
440                     &quot;required&quot;: true,&#xd;
441                     &quot;description&quot;: &quot;Version number associated with the threshold&quot;&#xd;
442                 }&#xd;
443             }&#xd;
444         }&#xd;
445     }&#xd;
446 }</stringProp>
447                 <stringProp name="Argument.metadata">=</stringProp>
448               </elementProp>
449             </collectionProp>
450           </elementProp>
451           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
452           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
453           <stringProp name="HTTPSampler.protocol">https</stringProp>
454           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
455           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
456           <stringProp name="HTTPSampler.method">POST</stringProp>
457           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
458           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
459           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
460           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
461           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
462           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
463           <stringProp name="HTTPSampler.response_timeout"></stringProp>
464         </HTTPSamplerProxy>
465         <hashTree>
466           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
467             <collectionProp name="Asserion.test_strings">
468               <stringProp name="49586">200</stringProp>
469             </collectionProp>
470             <stringProp name="Assertion.custom_message"></stringProp>
471             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
472             <boolProp name="Assertion.assume_success">false</boolProp>
473             <intProp name="Assertion.test_type">1</intProp>
474           </ResponseAssertion>
475           <hashTree/>
476           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
477             <stringProp name="scriptLanguage">groovy</stringProp>
478             <stringProp name="parameters"></stringProp>
479             <stringProp name="filename"></stringProp>
480             <stringProp name="cacheKey">true</stringProp>
481             <stringProp name="script">import groovy.json.JsonSlurper;
482
483 def res = [];
484 if (prev.getResponseCode() == &apos;200&apos;) {
485     def jsonSlurper = new JsonSlurper();
486     res = jsonSlurper.parseText(prev.getResponseDataAsString());
487
488     assert res instanceof Map;
489     assert res.policy_types instanceof Map;
490     assert res.policy_types.size() == 2;
491     assert res.policy_types.values()[0] instanceof Map;
492     assert res.policy_types.values()[1] instanceof Map;
493 }</stringProp>
494           </JSR223Assertion>
495           <hashTree/>
496         </hashTree>
497         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Monitoring V7" enabled="true">
498           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
499           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
500             <collectionProp name="Arguments.arguments">
501               <elementProp name="" elementType="HTTPArgument">
502                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
503                 <stringProp name="Argument.value">{&#xd;
504     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
505     &quot;policy_types&quot;: {&#xd;
506         &quot;onap.policies.Monitoring&quot;: {&#xd;
507             &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
508             &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
509             &quot;description&quot;: &quot;a base policy type for all policies that govern monitoring provisioning&quot;&#xd;
510         },&#xd;
511         &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;: {&#xd;
512             &quot;derived_from&quot;: &quot;onap.policies.Monitoring&quot;,&#xd;
513             &quot;version&quot;: &quot;7.0.${__threadNum}&quot;,&#xd;
514             &quot;properties&quot;: {&#xd;
515                 &quot;tca_policy&quot;: {&#xd;
516                     &quot;type&quot;: &quot;onap.datatypes.monitoring.tca_policy&quot;,&#xd;
517                     &quot;description&quot;: &quot;TCA Policy JSON&quot;,&#xd;
518                     &quot;required&quot;: true&#xd;
519                 }&#xd;
520             }&#xd;
521         }&#xd;
522     },&#xd;
523     &quot;data_types&quot;: {&#xd;
524         &quot;onap.datatypes.monitoring.metricsPerEventName&quot;: {&#xd;
525             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
526             &quot;properties&quot;: {&#xd;
527                 &quot;controlLoopSchemaType&quot;: {&#xd;
528                     &quot;type&quot;: &quot;string&quot;,&#xd;
529                     &quot;required&quot;: true,&#xd;
530                     &quot;description&quot;: &quot;Specifies Control Loop Schema Type for the event Name e.g. VNF, VM&quot;,&#xd;
531                     &quot;constraints&quot;: [&#xd;
532                         {&#xd;
533                             &quot;valid_values&quot;: [&#xd;
534                                 &quot;VM&quot;,&#xd;
535                                 &quot;VNF&quot;&#xd;
536                             ]&#xd;
537                         }&#xd;
538                     ]&#xd;
539                 },&#xd;
540                 &quot;eventName&quot;: {&#xd;
541                     &quot;type&quot;: &quot;string&quot;,&#xd;
542                     &quot;required&quot;: true,&#xd;
543                     &quot;description&quot;: &quot;Event name to which thresholds need to be applied&quot;&#xd;
544                 },&#xd;
545                 &quot;policyName&quot;: {&#xd;
546                     &quot;type&quot;: &quot;string&quot;,&#xd;
547                     &quot;required&quot;: true,&#xd;
548                     &quot;description&quot;: &quot;TCA Policy Scope Name&quot;&#xd;
549                 },&#xd;
550                 &quot;policyScope&quot;: {&#xd;
551                     &quot;type&quot;: &quot;string&quot;,&#xd;
552                     &quot;required&quot;: true,&#xd;
553                     &quot;description&quot;: &quot;TCA Policy Scope&quot;&#xd;
554                 },&#xd;
555                 &quot;policyVersion&quot;: {&#xd;
556                     &quot;type&quot;: &quot;string&quot;,&#xd;
557                     &quot;required&quot;: true,&#xd;
558                     &quot;description&quot;: &quot;TCA Policy Scope Version&quot;&#xd;
559                 },&#xd;
560                 &quot;thresholds&quot;: {&#xd;
561                     &quot;type&quot;: &quot;list&quot;,&#xd;
562                     &quot;required&quot;: true,&#xd;
563                     &quot;description&quot;: &quot;Thresholds associated with eventName&quot;,&#xd;
564                     &quot;entry_schema&quot;: {&#xd;
565                         &quot;type&quot;: &quot;onap.datatypes.monitoring.thresholds&quot;&#xd;
566                     }&#xd;
567                 }&#xd;
568             }&#xd;
569         },&#xd;
570         &quot;onap.datatypes.monitoring.tca_policy&quot;: {&#xd;
571             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
572             &quot;properties&quot;: {&#xd;
573                 &quot;domain&quot;: {&#xd;
574                     &quot;type&quot;: &quot;string&quot;,&#xd;
575                     &quot;required&quot;: true,&#xd;
576                     &quot;description&quot;: &quot;Domain name to which TCA needs to be applied&quot;,&#xd;
577                     &quot;default&quot;: &quot;measurementsForVfScaling&quot;,&#xd;
578                     &quot;constraints&quot;: [&#xd;
579                         {&#xd;
580                             &quot;equal&quot;: &quot;measurementsForVfScaling&quot;&#xd;
581                         }&#xd;
582                     ]&#xd;
583                 },&#xd;
584                 &quot;metricsPerEventName&quot;: {&#xd;
585                     &quot;type&quot;: &quot;list&quot;,&#xd;
586                     &quot;required&quot;: true,&#xd;
587                     &quot;description&quot;: &quot;Contains eventName and threshold details that need to be applied to given eventName&quot;,&#xd;
588                     &quot;entry_schema&quot;: {&#xd;
589                         &quot;type&quot;: &quot;onap.datatypes.monitoring.metricsPerEventName&quot;&#xd;
590                     }&#xd;
591                 }&#xd;
592             }&#xd;
593         },&#xd;
594         &quot;onap.datatypes.monitoring.thresholds&quot;: {&#xd;
595             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
596             &quot;properties&quot;: {&#xd;
597                 &quot;closedLoopControlName&quot;: {&#xd;
598                     &quot;type&quot;: &quot;string&quot;,&#xd;
599                     &quot;required&quot;: true,&#xd;
600                     &quot;description&quot;: &quot;Closed Loop Control Name associated with the threshold&quot;&#xd;
601                 },&#xd;
602                 &quot;closedLoopEventStatus&quot;: {&#xd;
603                     &quot;type&quot;: &quot;string&quot;,&#xd;
604                     &quot;required&quot;: true,&#xd;
605                     &quot;description&quot;: &quot;Closed Loop Event Status of the threshold&quot;,&#xd;
606                     &quot;constraints&quot;: [&#xd;
607                         {&#xd;
608                             &quot;valid_values&quot;: [&#xd;
609                                 &quot;ONSET&quot;,&#xd;
610                                 &quot;ABATED&quot;&#xd;
611                             ]&#xd;
612                         }&#xd;
613                     ]&#xd;
614                 },&#xd;
615                 &quot;direction&quot;: {&#xd;
616                     &quot;type&quot;: &quot;string&quot;,&#xd;
617                     &quot;required&quot;: true,&#xd;
618                     &quot;description&quot;: &quot;Direction of the threshold&quot;,&#xd;
619                     &quot;constraints&quot;: [&#xd;
620                         {&#xd;
621                             &quot;valid_values&quot;: [&#xd;
622                                 &quot;LESS&quot;,&#xd;
623                                 &quot;LESS_OR_EQUAL&quot;,&#xd;
624                                 &quot;GREATER&quot;,&#xd;
625                                 &quot;GREATER_OR_EQUAL&quot;,&#xd;
626                                 &quot;EQUAL&quot;&#xd;
627                             ]&#xd;
628                         }&#xd;
629                     ]&#xd;
630                 },&#xd;
631                 &quot;fieldPath&quot;: {&#xd;
632                     &quot;type&quot;: &quot;string&quot;,&#xd;
633                     &quot;required&quot;: true,&#xd;
634                     &quot;description&quot;: &quot;Json field Path as per CEF message which needs to be analyzed for TCA&quot;,&#xd;
635                     &quot;constraints&quot;: [&#xd;
636                         {&#xd;
637                             &quot;valid_values&quot;: [&#xd;
638                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta&quot;,&#xd;
639                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta&quot;,&#xd;
640                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta&quot;,&#xd;
641                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta&quot;,&#xd;
642                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta&quot;,&#xd;
643                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta&quot;,&#xd;
644                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta&quot;,&#xd;
645                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated&quot;,&#xd;
646                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated&quot;,&#xd;
647                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated&quot;,&#xd;
648                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated&quot;,&#xd;
649                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated&quot;,&#xd;
650                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated&quot;,&#xd;
651                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated&quot;,&#xd;
652                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta&quot;,&#xd;
653                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta&quot;,&#xd;
654                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta&quot;,&#xd;
655                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta&quot;,&#xd;
656                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta&quot;,&#xd;
657                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta&quot;,&#xd;
658                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta&quot;,&#xd;
659                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated&quot;,&#xd;
660                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated&quot;,&#xd;
661                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated&quot;,&#xd;
662                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated&quot;,&#xd;
663                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated&quot;,&#xd;
664                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated&quot;,&#xd;
665                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated&quot;,&#xd;
666                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle&quot;,&#xd;
667                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt&quot;,&#xd;
668                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice&quot;,&#xd;
669                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq&quot;,&#xd;
670                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal&quot;,&#xd;
671                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem&quot;,&#xd;
672                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait&quot;,&#xd;
673                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage&quot;,&#xd;
674                                 &quot;$.event.measurementsForVfScalingFields.meanRequestLatency&quot;,&#xd;
675                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered&quot;,&#xd;
676                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached&quot;,&#xd;
677                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured&quot;,&#xd;
678                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree&quot;,&#xd;
679                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed&quot;,&#xd;
680                                 &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;&#xd;
681                             ]&#xd;
682                         }&#xd;
683                     ]&#xd;
684                 },&#xd;
685                 &quot;severity&quot;: {&#xd;
686                     &quot;type&quot;: &quot;string&quot;,&#xd;
687                     &quot;required&quot;: true,&#xd;
688                     &quot;description&quot;: &quot;Threshold Event Severity&quot;,&#xd;
689                     &quot;constraints&quot;: [&#xd;
690                         {&#xd;
691                             &quot;valid_values&quot;: [&#xd;
692                                 &quot;CRITICAL&quot;,&#xd;
693                                 &quot;MAJOR&quot;,&#xd;
694                                 &quot;MINOR&quot;,&#xd;
695                                 &quot;WARNING&quot;,&#xd;
696                                 &quot;NORMAL&quot;&#xd;
697                             ]&#xd;
698                         }&#xd;
699                     ]&#xd;
700                 },&#xd;
701                 &quot;thresholdValue&quot;: {&#xd;
702                     &quot;type&quot;: &quot;integer&quot;,&#xd;
703                     &quot;required&quot;: true,&#xd;
704                     &quot;description&quot;: &quot;Threshold value for the field Path inside CEF message&quot;&#xd;
705                 },&#xd;
706                 &quot;version&quot;: {&#xd;
707                     &quot;type&quot;: &quot;string&quot;,&#xd;
708                     &quot;required&quot;: true,&#xd;
709                     &quot;description&quot;: &quot;Version number associated with the threshold&quot;&#xd;
710                 }&#xd;
711             }&#xd;
712         }&#xd;
713     }&#xd;
714 }</stringProp>
715                 <stringProp name="Argument.metadata">=</stringProp>
716               </elementProp>
717             </collectionProp>
718           </elementProp>
719           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
720           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
721           <stringProp name="HTTPSampler.protocol">https</stringProp>
722           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
723           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
724           <stringProp name="HTTPSampler.method">POST</stringProp>
725           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
726           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
727           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
728           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
729           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
730           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
731           <stringProp name="HTTPSampler.response_timeout"></stringProp>
732         </HTTPSamplerProxy>
733         <hashTree>
734           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
735             <collectionProp name="Asserion.test_strings">
736               <stringProp name="49586">200</stringProp>
737             </collectionProp>
738             <stringProp name="Assertion.custom_message"></stringProp>
739             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
740             <boolProp name="Assertion.assume_success">false</boolProp>
741             <intProp name="Assertion.test_type">1</intProp>
742           </ResponseAssertion>
743           <hashTree/>
744           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
745             <stringProp name="scriptLanguage">groovy</stringProp>
746             <stringProp name="parameters"></stringProp>
747             <stringProp name="filename"></stringProp>
748             <stringProp name="cacheKey">true</stringProp>
749             <stringProp name="script">import groovy.json.JsonSlurper;
750
751 def res = [];
752 if (prev.getResponseCode() == &apos;200&apos;) {
753     def jsonSlurper = new JsonSlurper();
754     res = jsonSlurper.parseText(prev.getResponseDataAsString());
755
756     assert res instanceof Map;
757     assert res.policy_types instanceof Map;
758     assert res.policy_types.size() == 2;
759     assert res.policy_types.values()[0] instanceof Map;
760     assert res.policy_types.values()[1] instanceof Map;
761 }</stringProp>
762           </JSR223Assertion>
763           <hashTree/>
764         </hashTree>
765         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Optimization" enabled="true">
766           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
767           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
768             <collectionProp name="Arguments.arguments">
769               <elementProp name="" elementType="HTTPArgument">
770                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
771                 <stringProp name="Argument.value">{&#xd;
772    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
773    &quot;policy_types&quot;: {&#xd;
774       &quot;onap.policies.optimization.resource.AffinityPolicy&quot;: {&#xd;
775          &quot;derived_from&quot;: &quot;onap.policies.optimization.Resource&quot;,&#xd;
776          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
777          &quot;properties&quot;: {&#xd;
778             &quot;applicableResources&quot;: {&#xd;
779                &quot;type&quot;: &quot;list&quot;,&#xd;
780                &quot;required&quot;: true,&#xd;
781                &quot;entry_schema&quot;: {&#xd;
782                   &quot;type&quot;: &quot;string&quot;,&#xd;
783                   &quot;constraints&quot;: [&#xd;
784                      {&#xd;
785                         &quot;valid_values&quot;: [&#xd;
786                            &quot;any&quot;,&#xd;
787                            &quot;all&quot;&#xd;
788                         ]&#xd;
789                      }&#xd;
790                   ]&#xd;
791                }&#xd;
792             },&#xd;
793             &quot;affinityProperties&quot;: {&#xd;
794                &quot;type&quot;: &quot;policy.data.affinityProperties_properties&quot;,&#xd;
795                &quot;required&quot;: true&#xd;
796             }&#xd;
797          }&#xd;
798       }&#xd;
799    },&#xd;
800    &quot;data_types&quot;: {&#xd;
801       &quot;policy.data.affinityProperties_properties&quot;: {&#xd;
802          &quot;derived_from&quot;: &quot;tosca.nodes.Root&quot;,&#xd;
803          &quot;properties&quot;: {&#xd;
804             &quot;qualifier&quot;: {&#xd;
805                &quot;type&quot;: &quot;string&quot;,&#xd;
806                &quot;constraints&quot;: [&#xd;
807                   {&#xd;
808                      &quot;valid_values&quot;: [&#xd;
809                         &quot;same&quot;,&#xd;
810                         &quot;different&quot;&#xd;
811                      ]&#xd;
812                   }&#xd;
813                ]&#xd;
814             },&#xd;
815             &quot;category&quot;: {&#xd;
816                &quot;type&quot;: &quot;string&quot;,&#xd;
817                &quot;required&quot;: true&#xd;
818             }&#xd;
819          }&#xd;
820       }&#xd;
821    }&#xd;
822 }</stringProp>
823                 <stringProp name="Argument.metadata">=</stringProp>
824               </elementProp>
825             </collectionProp>
826           </elementProp>
827           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
828           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
829           <stringProp name="HTTPSampler.protocol">https</stringProp>
830           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
831           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
832           <stringProp name="HTTPSampler.method">POST</stringProp>
833           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
834           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
835           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
836           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
837           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
838           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
839           <stringProp name="HTTPSampler.response_timeout"></stringProp>
840         </HTTPSamplerProxy>
841         <hashTree>
842           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
843             <collectionProp name="Asserion.test_strings">
844               <stringProp name="49586">200</stringProp>
845             </collectionProp>
846             <stringProp name="Assertion.custom_message"></stringProp>
847             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
848             <boolProp name="Assertion.assume_success">false</boolProp>
849             <intProp name="Assertion.test_type">1</intProp>
850           </ResponseAssertion>
851           <hashTree/>
852           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
853             <stringProp name="scriptLanguage">groovy</stringProp>
854             <stringProp name="parameters"></stringProp>
855             <stringProp name="filename"></stringProp>
856             <stringProp name="cacheKey">true</stringProp>
857             <stringProp name="script">import groovy.json.JsonSlurper;
858
859 def res = [];
860 if (prev.getResponseCode() == &apos;200&apos;) {
861     def jsonSlurper = new JsonSlurper();
862     res = jsonSlurper.parseText(prev.getResponseDataAsString());
863
864     assert res instanceof Map;
865     assert res.policy_types instanceof Map;
866     assert res.policy_types.size() == 1;
867     assert res.policy_types.values()[0] instanceof Map;
868  //   assert res.policy_types.values()[1] instanceof Map;
869 }</stringProp>
870           </JSR223Assertion>
871           <hashTree/>
872         </hashTree>
873         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Guard" enabled="true">
874           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
875           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
876             <collectionProp name="Arguments.arguments">
877               <elementProp name="" elementType="HTTPArgument">
878                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
879                 <stringProp name="Argument.value">{&#xd;
880    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
881    &quot;policy_types&quot;: {&#xd;
882       &quot;onap.policies.controlloop.guard.common.Blacklist&quot;: {&#xd;
883          &quot;derived_from&quot;: &quot;onap.policies.controlloop.guard.Common&quot;,&#xd;
884          &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
885          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
886          &quot;description&quot;: &quot;Supports blacklist of entity id&apos;s from performing control loop actions on.&quot;,&#xd;
887          &quot;properties&quot;: {&#xd;
888             &quot;blacklist&quot;: {&#xd;
889                &quot;type&quot;: &quot;list&quot;,&#xd;
890                &quot;description&quot;: &quot;List of entity id&apos;s not allowed to have control loop operations on.&quot;,&#xd;
891                &quot;required&quot;: true,&#xd;
892                &quot;entry_schema&quot;: {&#xd;
893                   &quot;type&quot;: &quot;string&quot;&#xd;
894                }&#xd;
895             }&#xd;
896          }&#xd;
897       }&#xd;
898    }&#xd;
899 }</stringProp>
900                 <stringProp name="Argument.metadata">=</stringProp>
901               </elementProp>
902             </collectionProp>
903           </elementProp>
904           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
905           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
906           <stringProp name="HTTPSampler.protocol">https</stringProp>
907           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
908           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
909           <stringProp name="HTTPSampler.method">POST</stringProp>
910           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
911           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
912           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
913           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
914           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
915           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
916           <stringProp name="HTTPSampler.response_timeout"></stringProp>
917         </HTTPSamplerProxy>
918         <hashTree>
919           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
920             <collectionProp name="Asserion.test_strings">
921               <stringProp name="49586">200</stringProp>
922             </collectionProp>
923             <stringProp name="Assertion.custom_message"></stringProp>
924             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
925             <boolProp name="Assertion.assume_success">false</boolProp>
926             <intProp name="Assertion.test_type">1</intProp>
927           </ResponseAssertion>
928           <hashTree/>
929           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
930             <stringProp name="scriptLanguage">groovy</stringProp>
931             <stringProp name="parameters"></stringProp>
932             <stringProp name="filename"></stringProp>
933             <stringProp name="cacheKey">true</stringProp>
934             <stringProp name="script">import groovy.json.JsonSlurper;
935
936 def res = [];
937 if (prev.getResponseCode() == &apos;200&apos;) {
938     def jsonSlurper = new JsonSlurper();
939     res = jsonSlurper.parseText(prev.getResponseDataAsString());
940
941     assert res instanceof Map;
942     assert res.policy_types instanceof Map;
943     assert res.policy_types.size() == 1;
944     assert res.policy_types.values()[0] instanceof Map;
945 }</stringProp>
946           </JSR223Assertion>
947           <hashTree/>
948         </hashTree>
949         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Native APEX" enabled="true">
950           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
951           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
952             <collectionProp name="Arguments.arguments">
953               <elementProp name="" elementType="HTTPArgument">
954                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
955                 <stringProp name="Argument.value">{&#xd;
956    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
957    &quot;policy_types&quot;: {&#xd;
958       &quot;onap.policies.Native&quot;: {&#xd;
959          &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
960          &quot;description&quot;: &quot;a base policy type for all native PDP policies&quot;,&#xd;
961          &quot;version&quot;: &quot;1.0.0&quot;&#xd;
962       },&#xd;
963       &quot;onap.policies.native.Apex&quot;: {&#xd;
964          &quot;derived_from&quot;: &quot;onap.policies.Native&quot;,&#xd;
965          &quot;description&quot;: &quot;a policy type for native apex policies&quot;,&#xd;
966          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
967          &quot;properties&quot;: {&#xd;
968             &quot;engine_service&quot;: {&#xd;
969                &quot;type&quot;: &quot;onap.datatypes.native.apex.EngineService&quot;,&#xd;
970                &quot;description&quot;: &quot;APEX Engine Service Parameters&quot;&#xd;
971             },&#xd;
972             &quot;inputs&quot;: {&#xd;
973                &quot;type&quot;: &quot;map&quot;,&#xd;
974                &quot;description&quot;: &quot;Inputs for handling events coming into the APEX engine&quot;,&#xd;
975                &quot;entry_schema&quot;: {&#xd;
976                   &quot;type&quot;: &quot;onap.datatypes.native.apex.EventHandler&quot;&#xd;
977                }&#xd;
978             },&#xd;
979             &quot;outputs&quot;: {&#xd;
980                &quot;type&quot;: &quot;map&quot;,&#xd;
981                &quot;description&quot;: &quot;Outputs for handling events going out of the APEX engine&quot;,&#xd;
982                &quot;entry_schema&quot;: {&#xd;
983                   &quot;type&quot;: &quot;onap.datatypes.native.apex.EventHandler&quot;&#xd;
984                }&#xd;
985             },&#xd;
986             &quot;environment&quot;: {&#xd;
987                &quot;type&quot;: &quot;list&quot;,&#xd;
988                &quot;description&quot;: &quot;Envioronmental parameters for the APEX engine&quot;,&#xd;
989                &quot;entry_schema&quot;: {&#xd;
990                   &quot;type&quot;: &quot;onap.datatypes.native.apex.Environment&quot;&#xd;
991                }&#xd;
992             }&#xd;
993          }&#xd;
994       }&#xd;
995    },&#xd;
996    &quot;data_types&quot;: {&#xd;
997       &quot;onap.datatypes.native.apex.EngineService&quot;: {&#xd;
998          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
999          &quot;properties&quot;: {&#xd;
1000             &quot;name&quot;: {&#xd;
1001                &quot;type&quot;: &quot;string&quot;,&#xd;
1002                &quot;description&quot;: &quot;Specifies the engine name&quot;,&#xd;
1003                &quot;required&quot;: false,&#xd;
1004                &quot;default&quot;: &quot;ApexEngineService&quot;&#xd;
1005             },&#xd;
1006             &quot;version&quot;: {&#xd;
1007                &quot;type&quot;: &quot;string&quot;,&#xd;
1008                &quot;description&quot;: &quot;Specifies the engine version in double dotted format&quot;,&#xd;
1009                &quot;required&quot;: false,&#xd;
1010                &quot;default&quot;: &quot;1.0.0&quot;&#xd;
1011             },&#xd;
1012             &quot;id&quot;: {&#xd;
1013                &quot;type&quot;: &quot;integer&quot;,&#xd;
1014                &quot;description&quot;: &quot;Specifies the engine id&quot;,&#xd;
1015                &quot;required&quot;: true&#xd;
1016             },&#xd;
1017             &quot;instance_count&quot;: {&#xd;
1018                &quot;type&quot;: &quot;integer&quot;,&#xd;
1019                &quot;description&quot;: &quot;Specifies the number of engine threads that should be run&quot;,&#xd;
1020                &quot;required&quot;: true&#xd;
1021             },&#xd;
1022             &quot;deployment_port&quot;: {&#xd;
1023                &quot;type&quot;: &quot;integer&quot;,&#xd;
1024                &quot;description&quot;: &quot;Specifies the port to connect to for engine administration&quot;,&#xd;
1025                &quot;required&quot;: false,&#xd;
1026                &quot;default&quot;: 1&#xd;
1027             },&#xd;
1028             &quot;policy_model_file_name&quot;: {&#xd;
1029                &quot;type&quot;: &quot;string&quot;,&#xd;
1030                &quot;description&quot;: &quot;The name of the file from which to read the APEX policy model&quot;,&#xd;
1031                &quot;required&quot;: false&#xd;
1032             },&#xd;
1033             &quot;policy_type_impl&quot;: {&#xd;
1034                &quot;type&quot;: &quot;string&quot;,&#xd;
1035                &quot;description&quot;: &quot;The policy type implementation from which to read the APEX policy model&quot;,&#xd;
1036                &quot;required&quot;: false&#xd;
1037             },&#xd;
1038             &quot;periodic_event_period&quot;: {&#xd;
1039                &quot;type&quot;: &quot;string&quot;,&#xd;
1040                &quot;description&quot;: &quot;The time interval in milliseconds for the periodic scanning event, 0 means don&apos;t scan&quot;,&#xd;
1041                &quot;required&quot;: false&#xd;
1042             },&#xd;
1043             &quot;engine&quot;: {&#xd;
1044                &quot;type&quot;: &quot;onap.datatypes.native.apex.engineservice.Engine&quot;,&#xd;
1045                &quot;description&quot;: &quot;The parameters for all engines in the APEX engine service&quot;,&#xd;
1046                &quot;required&quot;: true&#xd;
1047             }&#xd;
1048          }&#xd;
1049       },&#xd;
1050       &quot;onap.datatypes.native.apex.EventHandler&quot;: {&#xd;
1051          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1052          &quot;properties&quot;: {&#xd;
1053             &quot;name&quot;: {&#xd;
1054                &quot;type&quot;: &quot;string&quot;,&#xd;
1055                &quot;description&quot;: &quot;Specifies the event handler name, if not specified this is set to the key name&quot;,&#xd;
1056                &quot;required&quot;: false&#xd;
1057             },&#xd;
1058             &quot;carrier_technology&quot;: {&#xd;
1059                &quot;type&quot;: &quot;onap.datatypes.native.apex.CarrierTechnology&quot;,&#xd;
1060                &quot;description&quot;: &quot;Specifies the carrier technology of the event handler (such as REST/Web Socket/Kafka)&quot;,&#xd;
1061                &quot;required&quot;: true&#xd;
1062             },&#xd;
1063             &quot;event_protocol&quot;: {&#xd;
1064                &quot;type&quot;: &quot;onap.datatypes.native.apex.EventProtocol&quot;,&#xd;
1065                &quot;description&quot;: &quot;Specifies the event protocol of events for the event handler (such as Yaml/JSON/XML/POJO)&quot;,&#xd;
1066                &quot;required&quot;: true&#xd;
1067             },&#xd;
1068             &quot;event_name&quot;: {&#xd;
1069                &quot;type&quot;: &quot;string&quot;,&#xd;
1070                &quot;description&quot;: &quot;Specifies the event name for events on this event handler, if not specified, the event name is read from or written to the event being received or sent&quot;,&#xd;
1071                &quot;required&quot;: false&#xd;
1072             },&#xd;
1073             &quot;event_name_filter&quot;: {&#xd;
1074                &quot;type&quot;: &quot;string&quot;,&#xd;
1075                &quot;description&quot;: &quot;Specifies a filter as a regular expression, events that do not match the filter are dropped, the default is to let all events through&quot;,&#xd;
1076                &quot;required&quot;: false&#xd;
1077             },&#xd;
1078             &quot;synchronous_mode&quot;: {&#xd;
1079                &quot;type&quot;: &quot;boolean&quot;,&#xd;
1080                &quot;description&quot;: &quot;Specifies the event handler is syncronous (receive event and send response)&quot;,&#xd;
1081                &quot;required&quot;: false,&#xd;
1082                &quot;default&quot;: false&#xd;
1083             },&#xd;
1084             &quot;synchronous_peer&quot;: {&#xd;
1085                &quot;type&quot;: &quot;string&quot;,&#xd;
1086                &quot;description&quot;: &quot;The peer event handler (output for input or input for output) of this event handler in synchronous mode, this parameter is mandatory if the event handler is in synchronous mode&quot;,&#xd;
1087                &quot;required&quot;: false&#xd;
1088             },&#xd;
1089             &quot;synchronous_timeout&quot;: {&#xd;
1090                &quot;type&quot;: &quot;integer&quot;,&#xd;
1091                &quot;description&quot;: &quot;The timeout in milliseconds for responses to be issued by APEX torequests, this parameter is mandatory if the event handler is in synchronous mode&quot;,&#xd;
1092                &quot;required&quot;: false&#xd;
1093             },&#xd;
1094             &quot;requestor_mode&quot;: {&#xd;
1095                &quot;type&quot;: &quot;boolean&quot;,&#xd;
1096                &quot;description&quot;: &quot;Specifies the event handler is in requestor mode (send event and wait for response mode)&quot;,&#xd;
1097                &quot;required&quot;: false,&#xd;
1098                &quot;default&quot;: false&#xd;
1099             },&#xd;
1100             &quot;requestor_peer&quot;: {&#xd;
1101                &quot;type&quot;: &quot;string&quot;,&#xd;
1102                &quot;description&quot;: &quot;The peer event handler (output for input or input for output) of this event handler in requestor mode, this parameter is mandatory if the event handler is in requestor mode&quot;,&#xd;
1103                &quot;required&quot;: false&#xd;
1104             },&#xd;
1105             &quot;requestor_timeout&quot;: {&#xd;
1106                &quot;type&quot;: &quot;integer&quot;,&#xd;
1107                &quot;description&quot;: &quot;The timeout in milliseconds for wait for responses to requests, this parameter is mandatory if the event handler is in requestor mode&quot;,&#xd;
1108                &quot;required&quot;: false&#xd;
1109             }&#xd;
1110          }&#xd;
1111       },&#xd;
1112       &quot;onap.datatypes.native.apex.CarrierTechnology&quot;: {&#xd;
1113          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1114          &quot;properties&quot;: {&#xd;
1115             &quot;label&quot;: {&#xd;
1116                &quot;type&quot;: &quot;string&quot;,&#xd;
1117                &quot;description&quot;: &quot;The label (name) of the carrier technology (such as REST, Kafka, WebSocket)&quot;,&#xd;
1118                &quot;required&quot;: true&#xd;
1119             },&#xd;
1120             &quot;plugin_parameter_class_name&quot;: {&#xd;
1121                &quot;type&quot;: &quot;string&quot;,&#xd;
1122                &quot;description&quot;: &quot;The class name of the class that overrides default handling of event input or output for this carrier technology, defaults to the supplied input or output class&quot;,&#xd;
1123                &quot;required&quot;: false&#xd;
1124             }&#xd;
1125          }&#xd;
1126       },&#xd;
1127       &quot;onap.datatypes.native.apex.EventProtocol&quot;: {&#xd;
1128          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1129          &quot;properties&quot;: {&#xd;
1130             &quot;label&quot;: {&#xd;
1131                &quot;type&quot;: &quot;string&quot;,&#xd;
1132                &quot;description&quot;: &quot;The label (name) of the event protocol (such as Yaml, JSON, XML, or POJO)&quot;,&#xd;
1133                &quot;required&quot;: true&#xd;
1134             },&#xd;
1135             &quot;event_protocol_plugin_class&quot;: {&#xd;
1136                &quot;type&quot;: &quot;string&quot;,&#xd;
1137                &quot;description&quot;: &quot;The class name of the class that overrides default handling of the event protocol for this carrier technology, defaults to the supplied event protocol class&quot;,&#xd;
1138                &quot;required&quot;: false&#xd;
1139             }&#xd;
1140          }&#xd;
1141       },&#xd;
1142       &quot;onap.datatypes.native.apex.Environment&quot;: {&#xd;
1143          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1144          &quot;properties&quot;: {&#xd;
1145             &quot;name&quot;: {&#xd;
1146                &quot;type&quot;: &quot;string&quot;,&#xd;
1147                &quot;description&quot;: &quot;The name of the environment variable&quot;,&#xd;
1148                &quot;required&quot;: true&#xd;
1149             },&#xd;
1150             &quot;value&quot;: {&#xd;
1151                &quot;type&quot;: &quot;string&quot;,&#xd;
1152                &quot;description&quot;: &quot;The value of the environment variable&quot;,&#xd;
1153                &quot;required&quot;: true&#xd;
1154             }&#xd;
1155          }&#xd;
1156       },&#xd;
1157       &quot;onap.datatypes.native.apex.engineservice.Engine&quot;: {&#xd;
1158          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1159          &quot;properties&quot;: {&#xd;
1160             &quot;context&quot;: {&#xd;
1161                &quot;type&quot;: &quot;onap.datatypes.native.apex.engineservice.engine.Context&quot;,&#xd;
1162                &quot;description&quot;: &quot;The properties for handling context in APEX engines, defaults to using Java maps for context&quot;,&#xd;
1163                &quot;required&quot;: false&#xd;
1164             },&#xd;
1165             &quot;executors&quot;: {&#xd;
1166                &quot;type&quot;: &quot;map&quot;,&#xd;
1167                &quot;description&quot;: &quot;The plugins for policy executors used in engines such as javascript, MVEL, Jython&quot;,&#xd;
1168                &quot;required&quot;: true,&#xd;
1169                &quot;entry_schema&quot;: {&#xd;
1170                   &quot;description&quot;: &quot;The plugin class path for this policy executor&quot;,&#xd;
1171                   &quot;type&quot;: &quot;string&quot;&#xd;
1172                }&#xd;
1173             }&#xd;
1174          }&#xd;
1175       },&#xd;
1176       &quot;onap.datatypes.native.apex.engineservice.engine.Context&quot;: {&#xd;
1177          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1178          &quot;properties&quot;: {&#xd;
1179             &quot;distributor&quot;: {&#xd;
1180                &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;,&#xd;
1181                &quot;description&quot;: &quot;The plugin to be used for distributing context between APEX PDPs at runtime&quot;,&#xd;
1182                &quot;required&quot;: false&#xd;
1183             },&#xd;
1184             &quot;schemas&quot;: {&#xd;
1185                &quot;type&quot;: &quot;map&quot;,&#xd;
1186                &quot;description&quot;: &quot;The plugins for context schemas available in APEX PDPs such as Java and Avro&quot;,&#xd;
1187                &quot;required&quot;: false,&#xd;
1188                &quot;entry_schema&quot;: {&#xd;
1189                   &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;&#xd;
1190                }&#xd;
1191             },&#xd;
1192             &quot;locking&quot;: {&#xd;
1193                &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;,&#xd;
1194                &quot;description&quot;: &quot;The plugin to be used for locking context in and between APEX PDPs at runtime&quot;,&#xd;
1195                &quot;required&quot;: false&#xd;
1196             },&#xd;
1197             &quot;persistence&quot;: {&#xd;
1198                &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;,&#xd;
1199                &quot;description&quot;: &quot;The plugin to be used for persisting context for APEX PDPs at runtime&quot;,&#xd;
1200                &quot;required&quot;: false&#xd;
1201             }&#xd;
1202          }&#xd;
1203       },&#xd;
1204       &quot;onap.datatypes.native.apex.Plugin&quot;: {&#xd;
1205          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1206          &quot;properties&quot;: {&#xd;
1207             &quot;name&quot;: {&#xd;
1208                &quot;type&quot;: &quot;string&quot;,&#xd;
1209                &quot;description&quot;: &quot;The name of the executor such as Javascript, Jython or MVEL&quot;,&#xd;
1210                &quot;required&quot;: true&#xd;
1211             },&#xd;
1212             &quot;plugin_class_name&quot;: {&#xd;
1213                &quot;type&quot;: &quot;string&quot;,&#xd;
1214                &quot;description&quot;: &quot;The class path of the plugin class for this executor&quot;&#xd;
1215             }&#xd;
1216          }&#xd;
1217       }&#xd;
1218    }&#xd;
1219 }</stringProp>
1220                 <stringProp name="Argument.metadata">=</stringProp>
1221               </elementProp>
1222             </collectionProp>
1223           </elementProp>
1224           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1225           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1226           <stringProp name="HTTPSampler.protocol">https</stringProp>
1227           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1228           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
1229           <stringProp name="HTTPSampler.method">POST</stringProp>
1230           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1231           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1232           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1233           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1234           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1235           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1236           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1237         </HTTPSamplerProxy>
1238         <hashTree>
1239           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1240             <collectionProp name="Asserion.test_strings">
1241               <stringProp name="49586">200</stringProp>
1242             </collectionProp>
1243             <stringProp name="Assertion.custom_message"></stringProp>
1244             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1245             <boolProp name="Assertion.assume_success">false</boolProp>
1246             <intProp name="Assertion.test_type">1</intProp>
1247           </ResponseAssertion>
1248           <hashTree/>
1249           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1250             <stringProp name="scriptLanguage">groovy</stringProp>
1251             <stringProp name="parameters"></stringProp>
1252             <stringProp name="filename"></stringProp>
1253             <stringProp name="cacheKey">true</stringProp>
1254             <stringProp name="script">import groovy.json.JsonSlurper;
1255
1256 def res = [];
1257 if (prev.getResponseCode() == &apos;200&apos;) {
1258     def jsonSlurper = new JsonSlurper();
1259     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1260
1261     assert res instanceof Map;
1262     assert res.policy_types instanceof Map;
1263     assert res.policy_types.size() == 2;
1264     assert res.policy_types.values()[0] instanceof Map;
1265     assert res.policy_types.values()[1] instanceof Map;
1266 }</stringProp>
1267           </JSR223Assertion>
1268           <hashTree/>
1269         </hashTree>
1270         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Native Drools" enabled="true">
1271           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1272           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1273             <collectionProp name="Arguments.arguments">
1274               <elementProp name="" elementType="HTTPArgument">
1275                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1276                 <stringProp name="Argument.value">{&#xd;
1277    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
1278    &quot;policy_types&quot;: {&#xd;
1279       &quot;onap.policies.Native&quot;: {&#xd;
1280          &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
1281          &quot;description&quot;: &quot;a base policy type for all native PDP policies&quot;,&#xd;
1282          &quot;version&quot;: &quot;1.0.0&quot;&#xd;
1283       },&#xd;
1284       &quot;onap.policies.native.Drools&quot;: {&#xd;
1285          &quot;derived_from&quot;: &quot;onap.policies.Native&quot;,&#xd;
1286          &quot;description&quot;: &quot;a base policy type for all native PDP policies&quot;,&#xd;
1287          &quot;version&quot;: &quot;1.0.0&quot;&#xd;
1288       },&#xd;
1289       &quot;onap.policies.native.drools.Controller&quot;: {&#xd;
1290          &quot;derived_from&quot;: &quot;onap.policies.native.Drools&quot;,&#xd;
1291          &quot;description&quot;: &quot;a policy type for a drools controller configuration&quot;,&#xd;
1292          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
1293          &quot;properties&quot;: {&#xd;
1294             &quot;controllerName&quot;: {&#xd;
1295                &quot;type&quot;: &quot;string&quot;,&#xd;
1296                &quot;required&quot;: true,&#xd;
1297                &quot;description&quot;: &quot;the drools controller name&quot;&#xd;
1298             },&#xd;
1299             &quot;sourceTopics&quot;: {&#xd;
1300                &quot;type&quot;: &quot;list&quot;,&#xd;
1301                &quot;required&quot;: false,&#xd;
1302                &quot;description&quot;: &quot;source topics and applicable events&quot;,&#xd;
1303                &quot;entry_schema&quot;: {&#xd;
1304                   &quot;type&quot;: &quot;onap.datatypes.dmaap.topic&quot;&#xd;
1305                }&#xd;
1306             },&#xd;
1307             &quot;sinkTopics&quot;: {&#xd;
1308                &quot;type&quot;: &quot;list&quot;,&#xd;
1309                &quot;required&quot;: false,&#xd;
1310                &quot;description&quot;: &quot;sink topics and applicable events&quot;,&#xd;
1311                &quot;entry_schema&quot;: {&#xd;
1312                   &quot;type&quot;: &quot;onap.datatypes.dmaap.topic&quot;&#xd;
1313                }&#xd;
1314             },&#xd;
1315             &quot;customConfig&quot;: {&#xd;
1316                &quot;type&quot;: &quot;map&quot;,&#xd;
1317                &quot;required&quot;: false,&#xd;
1318                &quot;description&quot;: &quot;any use case specific configurations relevant to the drools controller&quot;,&#xd;
1319                &quot;entry_schema&quot;: {&#xd;
1320                   &quot;type&quot;: &quot;string&quot;&#xd;
1321                }&#xd;
1322             }&#xd;
1323          }&#xd;
1324       },&#xd;
1325       &quot;onap.policies.native.drools.Artifact&quot;: {&#xd;
1326          &quot;derived_from&quot;: &quot;onap.policies.native.Drools&quot;,&#xd;
1327          &quot;description&quot;: &quot;a policy type for native drools artifact policies&quot;,&#xd;
1328          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
1329          &quot;properties&quot;: {&#xd;
1330             &quot;rulesArtifact&quot;: {&#xd;
1331                &quot;type&quot;: &quot;onap.datatypes.native.rules_artifact&quot;,&#xd;
1332                &quot;required&quot;: true,&#xd;
1333                &quot;description&quot;: &quot;the GAV information of the maven artifact&quot;&#xd;
1334             },&#xd;
1335             &quot;controller&quot;: {&#xd;
1336                &quot;type&quot;: &quot;onap.datatypes.drools.controller.relation&quot;,&#xd;
1337                &quot;required&quot;: true,&#xd;
1338                &quot;description&quot;: &quot;the drools controller to which the current native policy is assigned&quot;&#xd;
1339             }&#xd;
1340          }&#xd;
1341       }&#xd;
1342    },&#xd;
1343    &quot;data_types&quot;: {&#xd;
1344       &quot;onap.datatypes.dmaap.topic&quot;: {&#xd;
1345          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1346          &quot;properties&quot;: {&#xd;
1347             &quot;topicName&quot;: {&#xd;
1348                &quot;type&quot;: &quot;string&quot;,&#xd;
1349                &quot;required&quot;: true,&#xd;
1350                &quot;description&quot;: &quot;the dmaap topic name&quot;&#xd;
1351             },&#xd;
1352             &quot;events&quot;: {&#xd;
1353                &quot;type&quot;: &quot;list&quot;,&#xd;
1354                &quot;required&quot;: true,&#xd;
1355                &quot;description&quot;: &quot;events used by this topic&quot;,&#xd;
1356                &quot;entry_schema&quot;: {&#xd;
1357                   &quot;type&quot;: &quot;onap.datatypes.dmaap.events&quot;&#xd;
1358                }&#xd;
1359             }&#xd;
1360          }&#xd;
1361       },&#xd;
1362       &quot;onap.datatypes.dmaap.events&quot;: {&#xd;
1363          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1364          &quot;properties&quot;: {&#xd;
1365             &quot;eventClass&quot;: {&#xd;
1366                &quot;type&quot;: &quot;string&quot;,&#xd;
1367                &quot;required&quot;: true,&#xd;
1368                &quot;description&quot;: &quot;the event canonical class for serialization&quot;&#xd;
1369             },&#xd;
1370             &quot;eventFilter&quot;: {&#xd;
1371                &quot;type&quot;: &quot;string&quot;,&#xd;
1372                &quot;required&quot;: false,&#xd;
1373                &quot;description&quot;: &quot;the JSONPath based condition to filter out the events to serialize&quot;&#xd;
1374             },&#xd;
1375             &quot;customSerialization&quot;: {&#xd;
1376                &quot;type&quot;: &quot;onap.datatypes.dmaap.custom_serialization&quot;,&#xd;
1377                &quot;required&quot;: false,&#xd;
1378                &quot;description&quot;: &quot;overrides the default serialization/deserialization mechanisms with custom ones&quot;&#xd;
1379             }&#xd;
1380          }&#xd;
1381       },&#xd;
1382       &quot;onap.datatypes.dmaap.custom_serialization&quot;: {&#xd;
1383          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1384          &quot;properties&quot;: {&#xd;
1385             &quot;customSerializerClass&quot;: {&#xd;
1386                &quot;type&quot;: &quot;string&quot;,&#xd;
1387                &quot;required&quot;: true,&#xd;
1388                &quot;description&quot;: &quot;the class that contains the JSON parser serializer/deserializer.&quot;&#xd;
1389             },&#xd;
1390             &quot;jsonParser&quot;: {&#xd;
1391                &quot;type&quot;: &quot;string&quot;,&#xd;
1392                &quot;required&quot;: true,&#xd;
1393                &quot;description&quot;: &quot;static field in customSerialized class with the json parser (currently only gson supported)&quot;&#xd;
1394             }&#xd;
1395          }&#xd;
1396       },&#xd;
1397       &quot;onap.datatypes.native.rules_artifact&quot;: {&#xd;
1398          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1399          &quot;properties&quot;: {&#xd;
1400             &quot;groupId&quot;: {&#xd;
1401                &quot;type&quot;: &quot;string&quot;,&#xd;
1402                &quot;required&quot;: true,&#xd;
1403                &quot;description&quot;: &quot;the groupId of the maven artifact&quot;&#xd;
1404             },&#xd;
1405             &quot;artifactId&quot;: {&#xd;
1406                &quot;type&quot;: &quot;string&quot;,&#xd;
1407                &quot;required&quot;: true,&#xd;
1408                &quot;description&quot;: &quot;the artifactId of the maven artifact&quot;&#xd;
1409             },&#xd;
1410             &quot;version&quot;: {&#xd;
1411                &quot;type&quot;: &quot;string&quot;,&#xd;
1412                &quot;required&quot;: true,&#xd;
1413                &quot;description&quot;: &quot;the version of the maven artifact&quot;&#xd;
1414             }&#xd;
1415          }&#xd;
1416       },&#xd;
1417       &quot;onap.datatypes.drools.controller.relation&quot;: {&#xd;
1418          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1419          &quot;properties&quot;: {&#xd;
1420             &quot;name&quot;: {&#xd;
1421                &quot;type&quot;: &quot;string&quot;,&#xd;
1422                &quot;required&quot;: true,&#xd;
1423                &quot;description&quot;: &quot;the name of drools controller policy&quot;&#xd;
1424             }&#xd;
1425          }&#xd;
1426       }&#xd;
1427    }&#xd;
1428 }</stringProp>
1429                 <stringProp name="Argument.metadata">=</stringProp>
1430               </elementProp>
1431             </collectionProp>
1432           </elementProp>
1433           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1434           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1435           <stringProp name="HTTPSampler.protocol">https</stringProp>
1436           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1437           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
1438           <stringProp name="HTTPSampler.method">POST</stringProp>
1439           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1440           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1441           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1442           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1443           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1444           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1445           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1446         </HTTPSamplerProxy>
1447         <hashTree>
1448           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1449             <collectionProp name="Asserion.test_strings">
1450               <stringProp name="49586">200</stringProp>
1451             </collectionProp>
1452             <stringProp name="Assertion.custom_message"></stringProp>
1453             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1454             <boolProp name="Assertion.assume_success">false</boolProp>
1455             <intProp name="Assertion.test_type">1</intProp>
1456           </ResponseAssertion>
1457           <hashTree/>
1458           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1459             <stringProp name="scriptLanguage">groovy</stringProp>
1460             <stringProp name="parameters"></stringProp>
1461             <stringProp name="filename"></stringProp>
1462             <stringProp name="cacheKey">true</stringProp>
1463             <stringProp name="script">import groovy.json.JsonSlurper;
1464
1465 def res = [];
1466 if (prev.getResponseCode() == &apos;200&apos;) {
1467     def jsonSlurper = new JsonSlurper();
1468     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1469
1470     assert res instanceof Map;
1471     assert res.policy_types instanceof Map;
1472     assert res.policy_types.size() == 4;
1473     assert res.policy_types.values()[0] instanceof Map;
1474     assert res.policy_types.values()[1] instanceof Map;
1475     assert res.policy_types.values()[2] instanceof Map;
1476     assert res.policy_types.values()[3] instanceof Map;        
1477 }</stringProp>
1478           </JSR223Assertion>
1479           <hashTree/>
1480         </hashTree>
1481         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Native XACML" enabled="true">
1482           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1483           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1484             <collectionProp name="Arguments.arguments">
1485               <elementProp name="" elementType="HTTPArgument">
1486                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1487                 <stringProp name="Argument.value">{&#xd;
1488    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
1489    &quot;policy_types&quot;: {&#xd;
1490       &quot;onap.policies.Native&quot;: {&#xd;
1491          &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
1492          &quot;description&quot;: &quot;a base policy type for all native PDP policies&quot;,&#xd;
1493          &quot;version&quot;: &quot;1.0.0&quot;&#xd;
1494       },&#xd;
1495       &quot;onap.policies.native.Xacml&quot;: {&#xd;
1496          &quot;derived_from&quot;: &quot;onap.policies.Native&quot;,&#xd;
1497          &quot;description&quot;: &quot;a policy type for native xacml policies&quot;,&#xd;
1498          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
1499          &quot;properties&quot;: {&#xd;
1500             &quot;policy&quot;: {&#xd;
1501                &quot;type&quot;: &quot;string&quot;,&#xd;
1502                &quot;required&quot;: true,&#xd;
1503                &quot;description&quot;: &quot;The XML XACML 3.0 PolicySet or Policy&quot;,&#xd;
1504                &quot;metadata&quot;: {&#xd;
1505                   &quot;encoding&quot;: &quot;Base64&quot;&#xd;
1506                }&#xd;
1507             }&#xd;
1508          }&#xd;
1509       }&#xd;
1510    }&#xd;
1511 }</stringProp>
1512                 <stringProp name="Argument.metadata">=</stringProp>
1513               </elementProp>
1514             </collectionProp>
1515           </elementProp>
1516           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1517           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1518           <stringProp name="HTTPSampler.protocol">https</stringProp>
1519           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1520           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
1521           <stringProp name="HTTPSampler.method">POST</stringProp>
1522           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1523           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1524           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1525           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1526           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1527           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1528           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1529         </HTTPSamplerProxy>
1530         <hashTree>
1531           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1532             <collectionProp name="Asserion.test_strings">
1533               <stringProp name="49586">200</stringProp>
1534             </collectionProp>
1535             <stringProp name="Assertion.custom_message"></stringProp>
1536             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1537             <boolProp name="Assertion.assume_success">false</boolProp>
1538             <intProp name="Assertion.test_type">1</intProp>
1539           </ResponseAssertion>
1540           <hashTree/>
1541           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1542             <stringProp name="scriptLanguage">groovy</stringProp>
1543             <stringProp name="parameters"></stringProp>
1544             <stringProp name="filename"></stringProp>
1545             <stringProp name="cacheKey">true</stringProp>
1546             <stringProp name="script">import groovy.json.JsonSlurper;
1547
1548 def res = [];
1549 if (prev.getResponseCode() == &apos;200&apos;) {
1550     def jsonSlurper = new JsonSlurper();
1551     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1552
1553     assert res instanceof Map;
1554     assert res.policy_types instanceof Map;
1555     assert res.policy_types.size() == 2;
1556     assert res.policy_types.values()[0] instanceof Map;
1557     assert res.policy_types.values()[1] instanceof Map;
1558 }</stringProp>
1559           </JSR223Assertion>
1560           <hashTree/>
1561         </hashTree>
1562         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All Policy Types" enabled="true">
1563           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1564             <collectionProp name="Arguments.arguments"/>
1565           </elementProp>
1566           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1567           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1568           <stringProp name="HTTPSampler.protocol">https</stringProp>
1569           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1570           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
1571           <stringProp name="HTTPSampler.method">GET</stringProp>
1572           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1573           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1574           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1575           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1576           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1577           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1578           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1579         </HTTPSamplerProxy>
1580         <hashTree>
1581           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1582             <collectionProp name="Asserion.test_strings">
1583               <stringProp name="49586">200</stringProp>
1584             </collectionProp>
1585             <stringProp name="Assertion.custom_message"></stringProp>
1586             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1587             <boolProp name="Assertion.assume_success">false</boolProp>
1588             <intProp name="Assertion.test_type">1</intProp>
1589           </ResponseAssertion>
1590           <hashTree/>
1591           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1592             <stringProp name="scriptLanguage">groovy</stringProp>
1593             <stringProp name="parameters"></stringProp>
1594             <stringProp name="filename"></stringProp>
1595             <stringProp name="cacheKey">true</stringProp>
1596             <stringProp name="script">import groovy.json.JsonSlurper;
1597
1598 def res = [];
1599 if (prev.getResponseCode() == &apos;200&apos;) {
1600     def jsonSlurper = new JsonSlurper();
1601     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1602
1603     assert res instanceof Map;
1604     assert res.policy_types instanceof Map;
1605     assert res.policy_types.size() == 38;
1606
1607     def n = 33;
1608     for (i=0; i&lt;n; i++) {
1609         assert res.policy_types.values()[i] instanceof Map;     
1610     }
1611 }</stringProp>
1612           </JSR223Assertion>
1613           <hashTree/>
1614         </hashTree>
1615         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All Versions of TCA Policy Type" enabled="true">
1616           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1617             <collectionProp name="Arguments.arguments"/>
1618           </elementProp>
1619           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1620           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1621           <stringProp name="HTTPSampler.protocol">https</stringProp>
1622           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1623           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app</stringProp>
1624           <stringProp name="HTTPSampler.method">GET</stringProp>
1625           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1626           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1627           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1628           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1629           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1630           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1631           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1632           <stringProp name="TestPlan.comments">This is not working in Frankfurt and hence disabled.</stringProp>
1633         </HTTPSamplerProxy>
1634         <hashTree>
1635           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1636             <collectionProp name="Asserion.test_strings">
1637               <stringProp name="49586">200</stringProp>
1638             </collectionProp>
1639             <stringProp name="Assertion.custom_message"></stringProp>
1640             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1641             <boolProp name="Assertion.assume_success">false</boolProp>
1642             <intProp name="Assertion.test_type">1</intProp>
1643           </ResponseAssertion>
1644           <hashTree/>
1645           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1646             <stringProp name="scriptLanguage">groovy</stringProp>
1647             <stringProp name="parameters"></stringProp>
1648             <stringProp name="filename"></stringProp>
1649             <stringProp name="cacheKey">true</stringProp>
1650             <stringProp name="script">import groovy.json.JsonSlurper;
1651
1652 def res = [];
1653 if (prev.getResponseCode() == &apos;200&apos;) {
1654     def jsonSlurper = new JsonSlurper();
1655     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1656
1657     assert res instanceof Map;
1658     assert res.policy_types instanceof Map;
1659     assert res.policy_types.size() &gt; 0 &amp;&amp; res.policy_types.size() &lt; 10;
1660
1661     for (i=0; i&lt;res.policy_types.size(); i++) {
1662         assert res.policy_types.values()[i] instanceof Map;     
1663     }
1664 }</stringProp>
1665           </JSR223Assertion>
1666           <hashTree/>
1667         </hashTree>
1668         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Monitoring" enabled="true">
1669           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1670             <collectionProp name="Arguments.arguments"/>
1671           </elementProp>
1672           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1673           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1674           <stringProp name="HTTPSampler.protocol">https</stringProp>
1675           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1676           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}</stringProp>
1677           <stringProp name="HTTPSampler.method">GET</stringProp>
1678           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1679           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1680           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1681           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1682           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1683           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1684           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1685         </HTTPSamplerProxy>
1686         <hashTree>
1687           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1688             <collectionProp name="Asserion.test_strings">
1689               <stringProp name="49586">200</stringProp>
1690             </collectionProp>
1691             <stringProp name="Assertion.custom_message"></stringProp>
1692             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1693             <boolProp name="Assertion.assume_success">false</boolProp>
1694             <intProp name="Assertion.test_type">1</intProp>
1695           </ResponseAssertion>
1696           <hashTree/>
1697           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1698             <stringProp name="scriptLanguage">groovy</stringProp>
1699             <stringProp name="parameters"></stringProp>
1700             <stringProp name="filename"></stringProp>
1701             <stringProp name="cacheKey">true</stringProp>
1702             <stringProp name="script">import groovy.json.JsonSlurper;
1703
1704 def res = [];
1705 if (prev.getResponseCode() == &apos;200&apos;) {
1706     def jsonSlurper = new JsonSlurper();
1707     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1708
1709     assert res instanceof Map;
1710     assert res.policy_types instanceof Map;
1711     assert res.policy_types.size() == 2;
1712
1713     assert res.policy_types.get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;) instanceof Map;
1714     assert res.policy_types.get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;).version == &quot;6.0.${__threadNum}&quot;;
1715 }</stringProp>
1716           </JSR223Assertion>
1717           <hashTree/>
1718         </hashTree>
1719         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Optimization" enabled="true">
1720           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1721             <collectionProp name="Arguments.arguments"/>
1722           </elementProp>
1723           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1724           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1725           <stringProp name="HTTPSampler.protocol">https</stringProp>
1726           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1727           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/6.0.${__threadNum}</stringProp>
1728           <stringProp name="HTTPSampler.method">GET</stringProp>
1729           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1730           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1731           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1732           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1733           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1734           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1735           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1736         </HTTPSamplerProxy>
1737         <hashTree>
1738           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1739             <collectionProp name="Asserion.test_strings">
1740               <stringProp name="49586">200</stringProp>
1741             </collectionProp>
1742             <stringProp name="Assertion.custom_message"></stringProp>
1743             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1744             <boolProp name="Assertion.assume_success">false</boolProp>
1745             <intProp name="Assertion.test_type">1</intProp>
1746           </ResponseAssertion>
1747           <hashTree/>
1748           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1749             <stringProp name="scriptLanguage">groovy</stringProp>
1750             <stringProp name="parameters"></stringProp>
1751             <stringProp name="filename"></stringProp>
1752             <stringProp name="cacheKey">true</stringProp>
1753             <stringProp name="script">import groovy.json.JsonSlurper;
1754
1755 def res = [];
1756 if (prev.getResponseCode() == &apos;200&apos;) {
1757     def jsonSlurper = new JsonSlurper();
1758     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1759
1760     assert res instanceof Map;
1761     assert res.policy_types instanceof Map;
1762     assert res.policy_types.size() == 3;
1763
1764     assert res.policy_types.get(&apos;onap.policies.optimization.resource.AffinityPolicy&apos;) instanceof Map;
1765     assert res.policy_types.get(&apos;onap.policies.optimization.resource.AffinityPolicy&apos;).version == &quot;6.0.${__threadNum}&quot;;
1766 }</stringProp>
1767           </JSR223Assertion>
1768           <hashTree/>
1769         </hashTree>
1770         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Guard" enabled="true">
1771           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1772             <collectionProp name="Arguments.arguments"/>
1773           </elementProp>
1774           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1775           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1776           <stringProp name="HTTPSampler.protocol">https</stringProp>
1777           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1778           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.guard.common.Blacklist/versions/6.0.${__threadNum}</stringProp>
1779           <stringProp name="HTTPSampler.method">GET</stringProp>
1780           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1781           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1782           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1783           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1784           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1785           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1786           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1787         </HTTPSamplerProxy>
1788         <hashTree>
1789           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1790             <collectionProp name="Asserion.test_strings">
1791               <stringProp name="49586">200</stringProp>
1792             </collectionProp>
1793             <stringProp name="Assertion.custom_message"></stringProp>
1794             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1795             <boolProp name="Assertion.assume_success">false</boolProp>
1796             <intProp name="Assertion.test_type">1</intProp>
1797           </ResponseAssertion>
1798           <hashTree/>
1799           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1800             <stringProp name="scriptLanguage">groovy</stringProp>
1801             <stringProp name="parameters"></stringProp>
1802             <stringProp name="filename"></stringProp>
1803             <stringProp name="cacheKey">true</stringProp>
1804             <stringProp name="script">import groovy.json.JsonSlurper;
1805
1806 def res = [];
1807 if (prev.getResponseCode() == &apos;200&apos;) {
1808     def jsonSlurper = new JsonSlurper();
1809     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1810
1811     assert res instanceof Map;
1812     assert res.policy_types instanceof Map;
1813     assert res.policy_types.size() == 2;
1814
1815     assert res.policy_types.get(&apos;onap.policies.controlloop.guard.common.Blacklist&apos;) instanceof Map;
1816     assert res.policy_types.get(&apos;onap.policies.controlloop.guard.common.Blacklist&apos;).version == &quot;6.0.${__threadNum}&quot;;
1817 }</stringProp>
1818           </JSR223Assertion>
1819           <hashTree/>
1820         </hashTree>
1821         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Native APEX" enabled="true">
1822           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1823             <collectionProp name="Arguments.arguments"/>
1824           </elementProp>
1825           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1826           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1827           <stringProp name="HTTPSampler.protocol">https</stringProp>
1828           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1829           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/6.0.${__threadNum}</stringProp>
1830           <stringProp name="HTTPSampler.method">GET</stringProp>
1831           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1832           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1833           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1834           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1835           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1836           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1837           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1838         </HTTPSamplerProxy>
1839         <hashTree>
1840           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1841             <collectionProp name="Asserion.test_strings">
1842               <stringProp name="49586">200</stringProp>
1843             </collectionProp>
1844             <stringProp name="Assertion.custom_message"></stringProp>
1845             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1846             <boolProp name="Assertion.assume_success">false</boolProp>
1847             <intProp name="Assertion.test_type">1</intProp>
1848           </ResponseAssertion>
1849           <hashTree/>
1850           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1851             <stringProp name="scriptLanguage">groovy</stringProp>
1852             <stringProp name="parameters"></stringProp>
1853             <stringProp name="filename"></stringProp>
1854             <stringProp name="cacheKey">true</stringProp>
1855             <stringProp name="script">import groovy.json.JsonSlurper;
1856
1857 def res = [];
1858 if (prev.getResponseCode() == &apos;200&apos;) {
1859     def jsonSlurper = new JsonSlurper();
1860     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1861
1862     assert res instanceof Map;
1863     assert res.policy_types instanceof Map;
1864     assert res.policy_types.size() == 2;
1865
1866     assert res.policy_types.get(&apos;onap.policies.native.Apex&apos;) instanceof Map;
1867     assert res.policy_types.get(&apos;onap.policies.native.Apex&apos;).version == &quot;6.0.${__threadNum}&quot;;
1868 }</stringProp>
1869           </JSR223Assertion>
1870           <hashTree/>
1871         </hashTree>
1872         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Native Drools" enabled="true">
1873           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1874             <collectionProp name="Arguments.arguments"/>
1875           </elementProp>
1876           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1877           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1878           <stringProp name="HTTPSampler.protocol">https</stringProp>
1879           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1880           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.drools.Controller/versions/6.0.${__threadNum}</stringProp>
1881           <stringProp name="HTTPSampler.method">GET</stringProp>
1882           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1883           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1884           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1885           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1886           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1887           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1888           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1889         </HTTPSamplerProxy>
1890         <hashTree>
1891           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1892             <collectionProp name="Asserion.test_strings">
1893               <stringProp name="49586">200</stringProp>
1894             </collectionProp>
1895             <stringProp name="Assertion.custom_message"></stringProp>
1896             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1897             <boolProp name="Assertion.assume_success">false</boolProp>
1898             <intProp name="Assertion.test_type">1</intProp>
1899           </ResponseAssertion>
1900           <hashTree/>
1901           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1902             <stringProp name="scriptLanguage">groovy</stringProp>
1903             <stringProp name="parameters"></stringProp>
1904             <stringProp name="filename"></stringProp>
1905             <stringProp name="cacheKey">true</stringProp>
1906             <stringProp name="script">import groovy.json.JsonSlurper;
1907
1908 def res = [];
1909 if (prev.getResponseCode() == &apos;200&apos;) {
1910     def jsonSlurper = new JsonSlurper();
1911     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1912
1913     assert res instanceof Map;
1914     assert res.policy_types instanceof Map;
1915     assert res.policy_types.size() == 3;
1916
1917     assert res.policy_types.get(&apos;onap.policies.native.drools.Controller&apos;) instanceof Map;
1918     assert res.policy_types.get(&apos;onap.policies.native.drools.Controller&apos;).version == &quot;6.0.${__threadNum}&quot;;
1919 }</stringProp>
1920           </JSR223Assertion>
1921           <hashTree/>
1922         </hashTree>
1923         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Native XACML" enabled="true">
1924           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1925             <collectionProp name="Arguments.arguments"/>
1926           </elementProp>
1927           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1928           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1929           <stringProp name="HTTPSampler.protocol">https</stringProp>
1930           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1931           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Xacml/versions/6.0.${__threadNum}</stringProp>
1932           <stringProp name="HTTPSampler.method">GET</stringProp>
1933           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1934           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1935           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1936           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1937           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1938           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1939           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1940         </HTTPSamplerProxy>
1941         <hashTree>
1942           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1943             <collectionProp name="Asserion.test_strings">
1944               <stringProp name="49586">200</stringProp>
1945             </collectionProp>
1946             <stringProp name="Assertion.custom_message"></stringProp>
1947             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1948             <boolProp name="Assertion.assume_success">false</boolProp>
1949             <intProp name="Assertion.test_type">1</intProp>
1950           </ResponseAssertion>
1951           <hashTree/>
1952           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1953             <stringProp name="scriptLanguage">groovy</stringProp>
1954             <stringProp name="parameters"></stringProp>
1955             <stringProp name="filename"></stringProp>
1956             <stringProp name="cacheKey">true</stringProp>
1957             <stringProp name="script">import groovy.json.JsonSlurper;
1958
1959 def res = [];
1960 if (prev.getResponseCode() == &apos;200&apos;) {
1961     def jsonSlurper = new JsonSlurper();
1962     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1963
1964     assert res instanceof Map;
1965     assert res.policy_types instanceof Map;
1966     assert res.policy_types.size() == 2;
1967
1968     assert res.policy_types.get(&apos;onap.policies.native.Xacml&apos;) instanceof Map;
1969     assert res.policy_types.get(&apos;onap.policies.native.Xacml&apos;).version == &quot;6.0.${__threadNum}&quot;;
1970 }</stringProp>
1971           </JSR223Assertion>
1972           <hashTree/>
1973         </hashTree>
1974         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Latest Monitoring Policy Type" enabled="true">
1975           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1976             <collectionProp name="Arguments.arguments"/>
1977           </elementProp>
1978           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1979           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1980           <stringProp name="HTTPSampler.protocol">https</stringProp>
1981           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1982           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/latest</stringProp>
1983           <stringProp name="HTTPSampler.method">GET</stringProp>
1984           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1985           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1986           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1987           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1988           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1989           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1990           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1991         </HTTPSamplerProxy>
1992         <hashTree>
1993           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1994             <collectionProp name="Asserion.test_strings">
1995               <stringProp name="49586">200</stringProp>
1996             </collectionProp>
1997             <stringProp name="Assertion.custom_message"></stringProp>
1998             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1999             <boolProp name="Assertion.assume_success">false</boolProp>
2000             <intProp name="Assertion.test_type">1</intProp>
2001           </ResponseAssertion>
2002           <hashTree/>
2003           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2004             <stringProp name="scriptLanguage">groovy</stringProp>
2005             <stringProp name="parameters"></stringProp>
2006             <stringProp name="filename"></stringProp>
2007             <stringProp name="cacheKey">true</stringProp>
2008             <stringProp name="script">import groovy.json.JsonSlurper;
2009
2010 def res = [];
2011 if (prev.getResponseCode() == &apos;200&apos;) {
2012     def jsonSlurper = new JsonSlurper();
2013     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2014
2015     assert res instanceof Map;
2016     assert res.policy_types instanceof Map;
2017     assert res.policy_types.size() &gt; 0 &amp;&amp; res.policy_types.size() &lt; 10;
2018
2019     assert res.policy_types.get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;) instanceof Map;
2020     assert res.policy_types.get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;).version ==~ /7.0.\d+/;
2021 }</stringProp>
2022           </JSR223Assertion>
2023           <hashTree/>
2024         </hashTree>
2025         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Node Template" enabled="true">
2026           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2027           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2028             <collectionProp name="Arguments.arguments">
2029               <elementProp name="" elementType="HTTPArgument">
2030                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2031                 <stringProp name="Argument.value">{&#xd;
2032     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
2033     &quot;node_types&quot;: {&#xd;
2034         &quot;org.onap.nodetypes.policy.MetadataSet&quot;: {&#xd;
2035             &quot;derived_from&quot;: &quot;tosca.nodetypes.Root&quot;,&#xd;
2036             &quot;version&quot;: &quot;6.0.${__threadNum}&quot;&#xd;
2037         }&#xd;
2038     },&#xd;
2039     &quot;topology_template&quot;: {&#xd;
2040         &quot;node_templates&quot;: {&#xd;
2041             &quot;apex.metadata.pnf&quot;: {&#xd;
2042                 &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2043                 &quot;type&quot;: &quot;org.onap.nodetypes.policy.MetadataSet&quot;,&#xd;
2044                 &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2045                 &quot;description&quot;: &quot;Metadata set for apex pnf Policy&quot;,&#xd;
2046                 &quot;metadata&quot;: {&#xd;
2047                     &quot;apexPolicyModel&quot;: {&#xd;
2048                         &quot;key&quot;: {&#xd;
2049                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
2050                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2051                         },&#xd;
2052                         &quot;keyInformation&quot;: {&#xd;
2053                             &quot;key&quot;: {&#xd;
2054                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_KeyInfo&quot;,&#xd;
2055                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2056                             },&#xd;
2057                             &quot;keyInfoMap&quot;: {&#xd;
2058                                 &quot;entry&quot;: [&#xd;
2059                                     {&#xd;
2060                                         &quot;key&quot;: {&#xd;
2061                                             &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
2062                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2063                                         },&#xd;
2064                                         &quot;value&quot;: {&#xd;
2065                                             &quot;key&quot;: {&#xd;
2066                                                 &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
2067                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2068                                             },&#xd;
2069                                             &quot;UUID&quot;: &quot;7218fb2f-59e3-321d-9ae1-bc97b19eb4ae&quot;,&#xd;
2070                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleBooleanType:0.0.1\&quot;&quot;&#xd;
2071                                         }&#xd;
2072                                     },&#xd;
2073                                     {&#xd;
2074                                         &quot;key&quot;: {&#xd;
2075                                             &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
2076                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2077                                         },&#xd;
2078                                         &quot;value&quot;: {&#xd;
2079                                             &quot;key&quot;: {&#xd;
2080                                                 &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
2081                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2082                                             },&#xd;
2083                                             &quot;UUID&quot;: &quot;c8a29e27-0a15-354a-84f9-4c7f207e5c81&quot;,&#xd;
2084                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
2085                                         }&#xd;
2086                                     },&#xd;
2087                                     {&#xd;
2088                                         &quot;key&quot;: {&#xd;
2089                                             &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
2090                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2091                                         },&#xd;
2092                                         &quot;value&quot;: {&#xd;
2093                                             &quot;key&quot;: {&#xd;
2094                                                 &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
2095                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2096                                             },&#xd;
2097                                             &quot;UUID&quot;: &quot;5e843cee-0180-39b9-8989-180b2ffe11c0&quot;,&#xd;
2098                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
2099                                         }&#xd;
2100                                     },&#xd;
2101                                     {&#xd;
2102                                         &quot;key&quot;: {&#xd;
2103                                             &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
2104                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2105                                         },&#xd;
2106                                         &quot;value&quot;: {&#xd;
2107                                             &quot;key&quot;: {&#xd;
2108                                                 &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
2109                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2110                                             },&#xd;
2111                                             &quot;UUID&quot;: &quot;90291c92-9b27-3cd9-8720-db572419c048&quot;,&#xd;
2112                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIRequestErrorType:0.0.1\&quot;&quot;&#xd;
2113                                         }&#xd;
2114                                     },&#xd;
2115                                     {&#xd;
2116                                         &quot;key&quot;: {&#xd;
2117                                             &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
2118                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2119                                         },&#xd;
2120                                         &quot;value&quot;: {&#xd;
2121                                             &quot;key&quot;: {&#xd;
2122                                                 &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
2123                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2124                                             },&#xd;
2125                                             &quot;UUID&quot;: &quot;7b7e6751-4e0b-389d-98c0-5567bbc0294c&quot;,&#xd;
2126                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAIRequestEvent:0.0.1\&quot;&quot;&#xd;
2127                                         }&#xd;
2128                                     },&#xd;
2129                                     {&#xd;
2130                                         &quot;key&quot;: {&#xd;
2131                                             &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
2132                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2133                                         },&#xd;
2134                                         &quot;value&quot;: {&#xd;
2135                                             &quot;key&quot;: {&#xd;
2136                                                 &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
2137                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2138                                             },&#xd;
2139                                             &quot;UUID&quot;: &quot;63d5680c-14ef-3505-8d34-ebb646bba07b&quot;,&#xd;
2140                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAISuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
2141                                         }&#xd;
2142                                     },&#xd;
2143                                     {&#xd;
2144                                         &quot;key&quot;: {&#xd;
2145                                             &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
2146                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2147                                         },&#xd;
2148                                         &quot;value&quot;: {&#xd;
2149                                             &quot;key&quot;: {&#xd;
2150                                                 &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
2151                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2152                                             },&#xd;
2153                                             &quot;UUID&quot;: &quot;a84ca97d-6e94-39a2-91f9-59a6c9aa435e&quot;,&#xd;
2154                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
2155                                         }&#xd;
2156                                     },&#xd;
2157                                     {&#xd;
2158                                         &quot;key&quot;: {&#xd;
2159                                             &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
2160                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2161                                         },&#xd;
2162                                         &quot;value&quot;: {&#xd;
2163                                             &quot;key&quot;: {&#xd;
2164                                                 &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
2165                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2166                                             },&#xd;
2167                                             &quot;UUID&quot;: &quot;0e2ee622-7fd3-3e49-82e2-539c4f5e9624&quot;,&#xd;
2168                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSActionIdentifiersType:0.0.1\&quot;&quot;&#xd;
2169                                         }&#xd;
2170                                     },&#xd;
2171                                     {&#xd;
2172                                         &quot;key&quot;: {&#xd;
2173                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
2174                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2175                                         },&#xd;
2176                                         &quot;value&quot;: {&#xd;
2177                                             &quot;key&quot;: {&#xd;
2178                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
2179                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2180                                             },&#xd;
2181                                             &quot;UUID&quot;: &quot;e84f8682-ea33-3ad0-8626-8bc4634581fc&quot;,&#xd;
2182                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\&quot;&quot;&#xd;
2183                                         }&#xd;
2184                                     },&#xd;
2185                                     {&#xd;
2186                                         &quot;key&quot;: {&#xd;
2187                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
2188                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2189                                         },&#xd;
2190                                         &quot;value&quot;: {&#xd;
2191                                             &quot;key&quot;: {&#xd;
2192                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
2193                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2194                                             },&#xd;
2195                                             &quot;UUID&quot;: &quot;a252f835-2479-38ef-9ef4-20af62725752&quot;,&#xd;
2196                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
2197                                         }&#xd;
2198                                     },&#xd;
2199                                     {&#xd;
2200                                         &quot;key&quot;: {&#xd;
2201                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
2202                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2203                                         },&#xd;
2204                                         &quot;value&quot;: {&#xd;
2205                                             &quot;key&quot;: {&#xd;
2206                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
2207                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2208                                             },&#xd;
2209                                             &quot;UUID&quot;: &quot;cfc46ea9-b8c1-38dd-ac9c-304c916daf34&quot;,&#xd;
2210                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\&quot;&quot;&#xd;
2211                                         }&#xd;
2212                                     },&#xd;
2213                                     {&#xd;
2214                                         &quot;key&quot;: {&#xd;
2215                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
2216                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2217                                         },&#xd;
2218                                         &quot;value&quot;: {&#xd;
2219                                             &quot;key&quot;: {&#xd;
2220                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
2221                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2222                                             },&#xd;
2223                                             &quot;UUID&quot;: &quot;1e7095d6-a455-3f89-acae-486e35d7e311&quot;,&#xd;
2224                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyRequestEvent:0.0.1\&quot;&quot;&#xd;
2225                                         }&#xd;
2226                                     },&#xd;
2227                                     {&#xd;
2228                                         &quot;key&quot;: {&#xd;
2229                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
2230                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2231                                         },&#xd;
2232                                         &quot;value&quot;: {&#xd;
2233                                             &quot;key&quot;: {&#xd;
2234                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
2235                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2236                                             },&#xd;
2237                                             &quot;UUID&quot;: &quot;d22ea83b-695d-3da9-b9f5-41f16ca433bf&quot;,&#xd;
2238                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\&quot;&quot;&#xd;
2239                                         }&#xd;
2240                                     },&#xd;
2241                                     {&#xd;
2242                                         &quot;key&quot;: {&#xd;
2243                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
2244                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2245                                         },&#xd;
2246                                         &quot;value&quot;: {&#xd;
2247                                             &quot;key&quot;: {&#xd;
2248                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
2249                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2250                                             },&#xd;
2251                                             &quot;UUID&quot;: &quot;e9fe2e40-1f0d-30dd-8b9e-885695878693&quot;,&#xd;
2252                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\&quot;&quot;&#xd;
2253                                         }&#xd;
2254                                     },&#xd;
2255                                     {&#xd;
2256                                         &quot;key&quot;: {&#xd;
2257                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
2258                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2259                                         },&#xd;
2260                                         &quot;value&quot;: {&#xd;
2261                                             &quot;key&quot;: {&#xd;
2262                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
2263                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2264                                             },&#xd;
2265                                             &quot;UUID&quot;: &quot;5e04fa76-0a17-38a9-8524-23b2d1a23fa5&quot;,&#xd;
2266                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\&quot;&quot;&#xd;
2267                                         }&#xd;
2268                                     },&#xd;
2269                                     {&#xd;
2270                                         &quot;key&quot;: {&#xd;
2271                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
2272                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2273                                         },&#xd;
2274                                         &quot;value&quot;: {&#xd;
2275                                             &quot;key&quot;: {&#xd;
2276                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
2277                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2278                                             },&#xd;
2279                                             &quot;UUID&quot;: &quot;15866380-40f5-3f8e-87d9-13747a36d352&quot;,&#xd;
2280                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\&quot;&quot;&#xd;
2281                                         }&#xd;
2282                                     },&#xd;
2283                                     {&#xd;
2284                                         &quot;key&quot;: {&#xd;
2285                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
2286                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2287                                         },&#xd;
2288                                         &quot;value&quot;: {&#xd;
2289                                             &quot;key&quot;: {&#xd;
2290                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
2291                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2292                                             },&#xd;
2293                                             &quot;UUID&quot;: &quot;2c3d76ce-dd42-32ac-a397-ab418534e1cf&quot;,&#xd;
2294                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\&quot;&quot;&#xd;
2295                                         }&#xd;
2296                                     },&#xd;
2297                                     {&#xd;
2298                                         &quot;key&quot;: {&#xd;
2299                                             &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
2300                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2301                                         },&#xd;
2302                                         &quot;value&quot;: {&#xd;
2303                                             &quot;key&quot;: {&#xd;
2304                                                 &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
2305                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2306                                             },&#xd;
2307                                             &quot;UUID&quot;: &quot;b99c44da-dae7-3c96-b528-58852537d063&quot;,&#xd;
2308                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
2309                                         }&#xd;
2310                                     },&#xd;
2311                                     {&#xd;
2312                                         &quot;key&quot;: {&#xd;
2313                                             &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
2314                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2315                                         },&#xd;
2316                                         &quot;value&quot;: {&#xd;
2317                                             &quot;key&quot;: {&#xd;
2318                                                 &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
2319                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2320                                             },&#xd;
2321                                             &quot;UUID&quot;: &quot;1db688e2-3afe-3b03-9795-fdbfa80fa240&quot;,&#xd;
2322                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSFailureResponseStatusType:0.0.1\&quot;&quot;&#xd;
2323                                         }&#xd;
2324                                     },&#xd;
2325                                     {&#xd;
2326                                         &quot;key&quot;: {&#xd;
2327                                             &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
2328                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2329                                         },&#xd;
2330                                         &quot;value&quot;: {&#xd;
2331                                             &quot;key&quot;: {&#xd;
2332                                                 &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
2333                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2334                                             },&#xd;
2335                                             &quot;UUID&quot;: &quot;31022456-e85b-3a9b-9ecb-a09691792d3e&quot;,&#xd;
2336                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSRequestCommonHeaderType:0.0.1\&quot;&quot;&#xd;
2337                                         }&#xd;
2338                                     },&#xd;
2339                                     {&#xd;
2340                                         &quot;key&quot;: {&#xd;
2341                                             &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
2342                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2343                                         },&#xd;
2344                                         &quot;value&quot;: {&#xd;
2345                                             &quot;key&quot;: {&#xd;
2346                                                 &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
2347                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2348                                             },&#xd;
2349                                             &quot;UUID&quot;: &quot;d6075720-622e-3a0d-827a-aa4580a2f5d7&quot;,&#xd;
2350                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\&quot;&quot;&#xd;
2351                                         }&#xd;
2352                                     },&#xd;
2353                                     {&#xd;
2354                                         &quot;key&quot;: {&#xd;
2355                                             &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
2356                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2357                                         },&#xd;
2358                                         &quot;value&quot;: {&#xd;
2359                                             &quot;key&quot;: {&#xd;
2360                                                 &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
2361                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2362                                             },&#xd;
2363                                             &quot;UUID&quot;: &quot;948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5&quot;,&#xd;
2364                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_CDSSuccessResponseStatusType:0.0.1\&quot;&quot;&#xd;
2365                                         }&#xd;
2366                                     },&#xd;
2367                                     {&#xd;
2368                                         &quot;key&quot;: {&#xd;
2369                                             &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
2370                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2371                                         },&#xd;
2372                                         &quot;value&quot;: {&#xd;
2373                                             &quot;key&quot;: {&#xd;
2374                                                 &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
2375                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2376                                             },&#xd;
2377                                             &quot;UUID&quot;: &quot;63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644&quot;,&#xd;
2378                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_EventDetailsAlbum:0.0.1\&quot;&quot;&#xd;
2379                                         }&#xd;
2380                                     },&#xd;
2381                                     {&#xd;
2382                                         &quot;key&quot;: {&#xd;
2383                                             &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
2384                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2385                                         },&#xd;
2386                                         &quot;value&quot;: {&#xd;
2387                                             &quot;key&quot;: {&#xd;
2388                                                 &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
2389                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2390                                             },&#xd;
2391                                             &quot;UUID&quot;: &quot;a0407d0b-5719-38bf-9529-25ad62ace8c4&quot;,&#xd;
2392                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_EventDetailsAlbumType:0.0.1\&quot;&quot;&#xd;
2393                                         }&#xd;
2394                                     },&#xd;
2395                                     {&#xd;
2396                                         &quot;key&quot;: {&#xd;
2397                                             &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
2398                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2399                                         },&#xd;
2400                                         &quot;value&quot;: {&#xd;
2401                                             &quot;key&quot;: {&#xd;
2402                                                 &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
2403                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2404                                             },&#xd;
2405                                             &quot;UUID&quot;: &quot;28e894dc-4ab8-3469-aab7-d81bd05bb4c9&quot;,&#xd;
2406                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleAAIFailureResponseTask:0.0.1\&quot;&quot;&#xd;
2407                                         }&#xd;
2408                                     },&#xd;
2409                                     {&#xd;
2410                                         &quot;key&quot;: {&#xd;
2411                                             &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
2412                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2413                                         },&#xd;
2414                                         &quot;value&quot;: {&#xd;
2415                                             &quot;key&quot;: {&#xd;
2416                                                 &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
2417                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2418                                             },&#xd;
2419                                             &quot;UUID&quot;: &quot;073f1433-999e-3506-98ad-ef820d2fa7f0&quot;,&#xd;
2420                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleAAISuccessResponseTask:0.0.1\&quot;&quot;&#xd;
2421                                         }&#xd;
2422                                     },&#xd;
2423                                     {&#xd;
2424                                         &quot;key&quot;: {&#xd;
2425                                             &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
2426                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2427                                         },&#xd;
2428                                         &quot;value&quot;: {&#xd;
2429                                             &quot;key&quot;: {&#xd;
2430                                                 &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
2431                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2432                                             },&#xd;
2433                                             &quot;UUID&quot;: &quot;afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74&quot;,&#xd;
2434                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_HandleVesEventTask:0.0.1\&quot;&quot;&#xd;
2435                                         }&#xd;
2436                                     },&#xd;
2437                                     {&#xd;
2438                                         &quot;key&quot;: {&#xd;
2439                                             &quot;name&quot;: &quot;SimpleCL_LogStatusEvent&quot;,&#xd;
2440                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2441                                         },&#xd;
2442                                         &quot;value&quot;: {&#xd;
2443                                             &quot;key&quot;: {&#xd;
2444                                                 &quot;name&quot;: &quot;SimpleCL_LogStatusEvent&quot;,&#xd;
2445                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2446                                             },&#xd;
2447                                             &quot;UUID&quot;: &quot;98e1ddd7-3bd9-30c1-b877-4b9b4d3bff15&quot;,&#xd;
2448                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_LogStatusEvent:0.0.1\&quot;&quot;&#xd;
2449                                         }&#xd;
2450                                     },&#xd;
2451                                     {&#xd;
2452                                         &quot;key&quot;: {&#xd;
2453                                             &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
2454                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2455                                         },&#xd;
2456                                         &quot;value&quot;: {&#xd;
2457                                             &quot;key&quot;: {&#xd;
2458                                                 &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
2459                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2460                                             },&#xd;
2461                                             &quot;UUID&quot;: &quot;0f57665a-f0a9-314e-ad0a-04c1f5758174&quot;,&#xd;
2462                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEvent:0.0.1\&quot;&quot;&#xd;
2463                                         }&#xd;
2464                                     },&#xd;
2465                                     {&#xd;
2466                                         &quot;key&quot;: {&#xd;
2467                                             &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
2468                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2469                                         },&#xd;
2470                                         &quot;value&quot;: {&#xd;
2471                                             &quot;key&quot;: {&#xd;
2472                                                 &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
2473                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2474                                             },&#xd;
2475                                             &quot;UUID&quot;: &quot;ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b&quot;,&#xd;
2476                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEventHandlerPolicy:0.0.1\&quot;&quot;&#xd;
2477                                         }&#xd;
2478                                     },&#xd;
2479                                     {&#xd;
2480                                         &quot;key&quot;: {&#xd;
2481                                             &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
2482                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2483                                         },&#xd;
2484                                         &quot;value&quot;: {&#xd;
2485                                             &quot;key&quot;: {&#xd;
2486                                                 &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
2487                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2488                                             },&#xd;
2489                                             &quot;UUID&quot;: &quot;9fd7a967-57d4-36ef-81e9-c3396f3aa8d1&quot;,&#xd;
2490                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleCL_VesEventType:0.0.1\&quot;&quot;&#xd;
2491                                         }&#xd;
2492                                     },&#xd;
2493                                     {&#xd;
2494                                         &quot;key&quot;: {&#xd;
2495                                             &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
2496                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2497                                         },&#xd;
2498                                         &quot;value&quot;: {&#xd;
2499                                             &quot;key&quot;: {&#xd;
2500                                                 &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
2501                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2502                                             },&#xd;
2503                                             &quot;UUID&quot;: &quot;2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574&quot;,&#xd;
2504                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleLongType:0.0.1\&quot;&quot;&#xd;
2505                                         }&#xd;
2506                                     },&#xd;
2507                                     {&#xd;
2508                                         &quot;key&quot;: {&#xd;
2509                                             &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2510                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2511                                         },&#xd;
2512                                         &quot;value&quot;: {&#xd;
2513                                             &quot;key&quot;: {&#xd;
2514                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
2515                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2516                                             },&#xd;
2517                                             &quot;UUID&quot;: &quot;8a4957cf-9493-3a76-8c22-a208e23259af&quot;,&#xd;
2518                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;SimpleStringType:0.0.1\&quot;&quot;&#xd;
2519                                         }&#xd;
2520                                     },&#xd;
2521                                     {&#xd;
2522                                         &quot;key&quot;: {&#xd;
2523                                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
2524                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2525                                         },&#xd;
2526                                         &quot;value&quot;: {&#xd;
2527                                             &quot;key&quot;: {&#xd;
2528                                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop&quot;,&#xd;
2529                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2530                                             },&#xd;
2531                                             &quot;UUID&quot;: &quot;ecc97b87-f30b-344c-a476-d36501bf5cbd&quot;,&#xd;
2532                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop:0.0.1\&quot;&quot;&#xd;
2533                                         }&#xd;
2534                                     },&#xd;
2535                                     {&#xd;
2536                                         &quot;key&quot;: {&#xd;
2537                                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Albums&quot;,&#xd;
2538                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2539                                         },&#xd;
2540                                         &quot;value&quot;: {&#xd;
2541                                             &quot;key&quot;: {&#xd;
2542                                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Albums&quot;,&#xd;
2543                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2544                                             },&#xd;
2545                                             &quot;UUID&quot;: &quot;1469671a-56dd-3a68-bf6c-77a5cf7a9487&quot;,&#xd;
2546                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Albums:0.0.1\&quot;&quot;&#xd;
2547                                         }&#xd;
2548                                     },&#xd;
2549                                     {&#xd;
2550                                         &quot;key&quot;: {&#xd;
2551                                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Events&quot;,&#xd;
2552                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2553                                         },&#xd;
2554                                         &quot;value&quot;: {&#xd;
2555                                             &quot;key&quot;: {&#xd;
2556                                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Events&quot;,&#xd;
2557                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2558                                             },&#xd;
2559                                             &quot;UUID&quot;: &quot;23c4eee4-aba5-36f6-96d6-46f40061bfed&quot;,&#xd;
2560                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Events:0.0.1\&quot;&quot;&#xd;
2561                                         }&#xd;
2562                                     },&#xd;
2563                                     {&#xd;
2564                                         &quot;key&quot;: {&#xd;
2565                                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_KeyInfo&quot;,&#xd;
2566                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2567                                         },&#xd;
2568                                         &quot;value&quot;: {&#xd;
2569                                             &quot;key&quot;: {&#xd;
2570                                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_KeyInfo&quot;,&#xd;
2571                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2572                                             },&#xd;
2573                                             &quot;UUID&quot;: &quot;ea9e73ff-483c-3827-896c-6eaa9d69bc6e&quot;,&#xd;
2574                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\&quot;&quot;&#xd;
2575                                         }&#xd;
2576                                     },&#xd;
2577                                     {&#xd;
2578                                         &quot;key&quot;: {&#xd;
2579                                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Policies&quot;,&#xd;
2580                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2581                                         },&#xd;
2582                                         &quot;value&quot;: {&#xd;
2583                                             &quot;key&quot;: {&#xd;
2584                                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Policies&quot;,&#xd;
2585                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2586                                             },&#xd;
2587                                             &quot;UUID&quot;: &quot;38c068e5-bb9a-3997-9e50-ec77c66825c8&quot;,&#xd;
2588                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Policies:0.0.1\&quot;&quot;&#xd;
2589                                         }&#xd;
2590                                     },&#xd;
2591                                     {&#xd;
2592                                         &quot;key&quot;: {&#xd;
2593                                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Schemas&quot;,&#xd;
2594                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2595                                         },&#xd;
2596                                         &quot;value&quot;: {&#xd;
2597                                             &quot;key&quot;: {&#xd;
2598                                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Schemas&quot;,&#xd;
2599                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2600                                             },&#xd;
2601                                             &quot;UUID&quot;: &quot;38514b27-8b9b-3d06-844a-3aced27deb0a&quot;,&#xd;
2602                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\&quot;&quot;&#xd;
2603                                         }&#xd;
2604                                     },&#xd;
2605                                     {&#xd;
2606                                         &quot;key&quot;: {&#xd;
2607                                             &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Tasks&quot;,&#xd;
2608                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2609                                         },&#xd;
2610                                         &quot;value&quot;: {&#xd;
2611                                             &quot;key&quot;: {&#xd;
2612                                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Tasks&quot;,&#xd;
2613                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2614                                             },&#xd;
2615                                             &quot;UUID&quot;: &quot;0e0387b5-07fa-30e4-8554-eb51d2e18939&quot;,&#xd;
2616                                             &quot;description&quot;: &quot;Generated description for concept referred to by key \&quot;onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\&quot;&quot;&#xd;
2617                                         }&#xd;
2618                                     }&#xd;
2619                                 ]&#xd;
2620                             }&#xd;
2621                         },&#xd;
2622                         &quot;policies&quot;: {&#xd;
2623                             &quot;key&quot;: {&#xd;
2624                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Policies&quot;,&#xd;
2625                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2626                             },&#xd;
2627                             &quot;policyMap&quot;: {&#xd;
2628                                 &quot;entry&quot;: [&#xd;
2629                                     {&#xd;
2630                                         &quot;key&quot;: {&#xd;
2631                                             &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
2632                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2633                                         },&#xd;
2634                                         &quot;value&quot;: {&#xd;
2635                                             &quot;policyKey&quot;: {&#xd;
2636                                                 &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
2637                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2638                                             },&#xd;
2639                                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
2640                                             &quot;state&quot;: {&#xd;
2641                                                 &quot;entry&quot;: [&#xd;
2642                                                     {&#xd;
2643                                                         &quot;key&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
2644                                                         &quot;value&quot;: {&#xd;
2645                                                             &quot;stateKey&quot;: {&#xd;
2646                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
2647                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2648                                                                 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
2649                                                                 &quot;localName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;&#xd;
2650                                                             },&#xd;
2651                                                             &quot;trigger&quot;: {&#xd;
2652                                                                 &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
2653                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2654                                                             },&#xd;
2655                                                             &quot;stateOutputs&quot;: {&#xd;
2656                                                                 &quot;entry&quot;: [&#xd;
2657                                                                     {&#xd;
2658                                                                         &quot;key&quot;: &quot;AAIFailureStateOutput&quot;,&#xd;
2659                                                                         &quot;value&quot;: {&#xd;
2660                                                                             &quot;key&quot;: {&#xd;
2661                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
2662                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2663                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
2664                                                                                 &quot;localName&quot;: &quot;AAIFailureStateOutput&quot;&#xd;
2665                                                                             },&#xd;
2666                                                                             &quot;outgoingEvent&quot;: {&#xd;
2667                                                                                 &quot;name&quot;: &quot;SimpleCL_LogStatusEvent&quot;,&#xd;
2668                                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2669                                                                             },&#xd;
2670                                                                             &quot;nextState&quot;: {&#xd;
2671                                                                                 &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
2672                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
2673                                                                                 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
2674                                                                                 &quot;localName&quot;: &quot;NULL&quot;&#xd;
2675                                                                             }&#xd;
2676                                                                         }&#xd;
2677                                                                     }&#xd;
2678                                                                 ]&#xd;
2679                                                             },&#xd;
2680                                                             &quot;contextAlbumReference&quot;: [],&#xd;
2681                                                             &quot;taskSelectionLogic&quot;: {&#xd;
2682                                                                 &quot;key&quot;: &quot;NULL&quot;,&#xd;
2683                                                                 &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
2684                                                                 &quot;logic&quot;: &quot;&quot;&#xd;
2685                                                             },&#xd;
2686                                                             &quot;stateFinalizerLogicMap&quot;: {&#xd;
2687                                                                 &quot;entry&quot;: []&#xd;
2688                                                             },&#xd;
2689                                                             &quot;defaultTask&quot;: {&#xd;
2690                                                                 &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
2691                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2692                                                             },&#xd;
2693                                                             &quot;taskReferences&quot;: {&#xd;
2694                                                                 &quot;entry&quot;: [&#xd;
2695                                                                     {&#xd;
2696                                                                         &quot;key&quot;: {&#xd;
2697                                                                             &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
2698                                                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2699                                                                         },&#xd;
2700                                                                         &quot;value&quot;: {&#xd;
2701                                                                             &quot;key&quot;: {&#xd;
2702                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
2703                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2704                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
2705                                                                                 &quot;localName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;&#xd;
2706                                                                             },&#xd;
2707                                                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
2708                                                                             &quot;output&quot;: {&#xd;
2709                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_AAIFailureResponseHandlerPolicy&quot;,&#xd;
2710                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2711                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;,&#xd;
2712                                                                                 &quot;localName&quot;: &quot;AAIFailureStateOutput&quot;&#xd;
2713                                                                             }&#xd;
2714                                                                         }&#xd;
2715                                                                     }&#xd;
2716                                                                 ]&#xd;
2717                                                             }&#xd;
2718                                                         }&#xd;
2719                                                     }&#xd;
2720                                                 ]&#xd;
2721                                             },&#xd;
2722                                             &quot;firstState&quot;: &quot;SimpleCL_ReceiveAAIFailureResponseState&quot;&#xd;
2723                                         }&#xd;
2724                                     },&#xd;
2725                                     {&#xd;
2726                                         &quot;key&quot;: {&#xd;
2727                                             &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
2728                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2729                                         },&#xd;
2730                                         &quot;value&quot;: {&#xd;
2731                                             &quot;policyKey&quot;: {&#xd;
2732                                                 &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
2733                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2734                                             },&#xd;
2735                                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
2736                                             &quot;state&quot;: {&#xd;
2737                                                 &quot;entry&quot;: [&#xd;
2738                                                     {&#xd;
2739                                                         &quot;key&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
2740                                                         &quot;value&quot;: {&#xd;
2741                                                             &quot;stateKey&quot;: {&#xd;
2742                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
2743                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2744                                                                 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
2745                                                                 &quot;localName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;&#xd;
2746                                                             },&#xd;
2747                                                             &quot;trigger&quot;: {&#xd;
2748                                                                 &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
2749                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2750                                                             },&#xd;
2751                                                             &quot;stateOutputs&quot;: {&#xd;
2752                                                                 &quot;entry&quot;: [&#xd;
2753                                                                     {&#xd;
2754                                                                         &quot;key&quot;: &quot;AAISuccessStateOutput&quot;,&#xd;
2755                                                                         &quot;value&quot;: {&#xd;
2756                                                                             &quot;key&quot;: {&#xd;
2757                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
2758                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2759                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
2760                                                                                 &quot;localName&quot;: &quot;AAISuccessStateOutput&quot;&#xd;
2761                                                                             },&#xd;
2762                                                                             &quot;outgoingEvent&quot;: {&#xd;
2763                                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
2764                                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2765                                                                             },&#xd;
2766                                                                             &quot;nextState&quot;: {&#xd;
2767                                                                                 &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
2768                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
2769                                                                                 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
2770                                                                                 &quot;localName&quot;: &quot;NULL&quot;&#xd;
2771                                                                             }&#xd;
2772                                                                         }&#xd;
2773                                                                     }&#xd;
2774                                                                 ]&#xd;
2775                                                             },&#xd;
2776                                                             &quot;contextAlbumReference&quot;: [],&#xd;
2777                                                             &quot;taskSelectionLogic&quot;: {&#xd;
2778                                                                 &quot;key&quot;: &quot;NULL&quot;,&#xd;
2779                                                                 &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
2780                                                                 &quot;logic&quot;: &quot;&quot;&#xd;
2781                                                             },&#xd;
2782                                                             &quot;stateFinalizerLogicMap&quot;: {&#xd;
2783                                                                 &quot;entry&quot;: []&#xd;
2784                                                             },&#xd;
2785                                                             &quot;defaultTask&quot;: {&#xd;
2786                                                                 &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
2787                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2788                                                             },&#xd;
2789                                                             &quot;taskReferences&quot;: {&#xd;
2790                                                                 &quot;entry&quot;: [&#xd;
2791                                                                     {&#xd;
2792                                                                         &quot;key&quot;: {&#xd;
2793                                                                             &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
2794                                                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2795                                                                         },&#xd;
2796                                                                         &quot;value&quot;: {&#xd;
2797                                                                             &quot;key&quot;: {&#xd;
2798                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
2799                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2800                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
2801                                                                                 &quot;localName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;&#xd;
2802                                                                             },&#xd;
2803                                                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
2804                                                                             &quot;output&quot;: {&#xd;
2805                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_AAISuccessResponseHandlerPolicy&quot;,&#xd;
2806                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2807                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;,&#xd;
2808                                                                                 &quot;localName&quot;: &quot;AAISuccessStateOutput&quot;&#xd;
2809                                                                             }&#xd;
2810                                                                         }&#xd;
2811                                                                     }&#xd;
2812                                                                 ]&#xd;
2813                                                             }&#xd;
2814                                                         }&#xd;
2815                                                     }&#xd;
2816                                                 ]&#xd;
2817                                             },&#xd;
2818                                             &quot;firstState&quot;: &quot;SimpleCL_ReceiveAAISuccessResponseState&quot;&#xd;
2819                                         }&#xd;
2820                                     },&#xd;
2821                                     {&#xd;
2822                                         &quot;key&quot;: {&#xd;
2823                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
2824                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2825                                         },&#xd;
2826                                         &quot;value&quot;: {&#xd;
2827                                             &quot;policyKey&quot;: {&#xd;
2828                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
2829                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2830                                             },&#xd;
2831                                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
2832                                             &quot;state&quot;: {&#xd;
2833                                                 &quot;entry&quot;: [&#xd;
2834                                                     {&#xd;
2835                                                         &quot;key&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
2836                                                         &quot;value&quot;: {&#xd;
2837                                                             &quot;stateKey&quot;: {&#xd;
2838                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
2839                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2840                                                                 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
2841                                                                 &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;&#xd;
2842                                                             },&#xd;
2843                                                             &quot;trigger&quot;: {&#xd;
2844                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
2845                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2846                                                             },&#xd;
2847                                                             &quot;stateOutputs&quot;: {&#xd;
2848                                                                 &quot;entry&quot;: [&#xd;
2849                                                                     {&#xd;
2850                                                                         &quot;key&quot;: &quot;ConfigModifyFailureResponseOutput&quot;,&#xd;
2851                                                                         &quot;value&quot;: {&#xd;
2852                                                                             &quot;key&quot;: {&#xd;
2853                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
2854                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2855                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
2856                                                                                 &quot;localName&quot;: &quot;ConfigModifyFailureResponseOutput&quot;&#xd;
2857                                                                             },&#xd;
2858                                                                             &quot;outgoingEvent&quot;: {&#xd;
2859                                                                                 &quot;name&quot;: &quot;SimpleCL_LogStatusEvent&quot;,&#xd;
2860                                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2861                                                                             },&#xd;
2862                                                                             &quot;nextState&quot;: {&#xd;
2863                                                                                 &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
2864                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
2865                                                                                 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
2866                                                                                 &quot;localName&quot;: &quot;NULL&quot;&#xd;
2867                                                                             }&#xd;
2868                                                                         }&#xd;
2869                                                                     }&#xd;
2870                                                                 ]&#xd;
2871                                                             },&#xd;
2872                                                             &quot;contextAlbumReference&quot;: [],&#xd;
2873                                                             &quot;taskSelectionLogic&quot;: {&#xd;
2874                                                                 &quot;key&quot;: &quot;NULL&quot;,&#xd;
2875                                                                 &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
2876                                                                 &quot;logic&quot;: &quot;&quot;&#xd;
2877                                                             },&#xd;
2878                                                             &quot;stateFinalizerLogicMap&quot;: {&#xd;
2879                                                                 &quot;entry&quot;: []&#xd;
2880                                                             },&#xd;
2881                                                             &quot;defaultTask&quot;: {&#xd;
2882                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
2883                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2884                                                             },&#xd;
2885                                                             &quot;taskReferences&quot;: {&#xd;
2886                                                                 &quot;entry&quot;: [&#xd;
2887                                                                     {&#xd;
2888                                                                         &quot;key&quot;: {&#xd;
2889                                                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
2890                                                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2891                                                                         },&#xd;
2892                                                                         &quot;value&quot;: {&#xd;
2893                                                                             &quot;key&quot;: {&#xd;
2894                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
2895                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2896                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
2897                                                                                 &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;&#xd;
2898                                                                             },&#xd;
2899                                                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
2900                                                                             &quot;output&quot;: {&#xd;
2901                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy&quot;,&#xd;
2902                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2903                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;,&#xd;
2904                                                                                 &quot;localName&quot;: &quot;ConfigModifyFailureResponseOutput&quot;&#xd;
2905                                                                             }&#xd;
2906                                                                         }&#xd;
2907                                                                     }&#xd;
2908                                                                 ]&#xd;
2909                                                             }&#xd;
2910                                                         }&#xd;
2911                                                     }&#xd;
2912                                                 ]&#xd;
2913                                             },&#xd;
2914                                             &quot;firstState&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseState&quot;&#xd;
2915                                         }&#xd;
2916                                     },&#xd;
2917                                     {&#xd;
2918                                         &quot;key&quot;: {&#xd;
2919                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
2920                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2921                                         },&#xd;
2922                                         &quot;value&quot;: {&#xd;
2923                                             &quot;policyKey&quot;: {&#xd;
2924                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
2925                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2926                                             },&#xd;
2927                                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
2928                                             &quot;state&quot;: {&#xd;
2929                                                 &quot;entry&quot;: [&#xd;
2930                                                     {&#xd;
2931                                                         &quot;key&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
2932                                                         &quot;value&quot;: {&#xd;
2933                                                             &quot;stateKey&quot;: {&#xd;
2934                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
2935                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2936                                                                 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
2937                                                                 &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;&#xd;
2938                                                             },&#xd;
2939                                                             &quot;trigger&quot;: {&#xd;
2940                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
2941                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2942                                                             },&#xd;
2943                                                             &quot;stateOutputs&quot;: {&#xd;
2944                                                                 &quot;entry&quot;: [&#xd;
2945                                                                     {&#xd;
2946                                                                         &quot;key&quot;: &quot;ConfigModifySuccessResponseOutput&quot;,&#xd;
2947                                                                         &quot;value&quot;: {&#xd;
2948                                                                             &quot;key&quot;: {&#xd;
2949                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
2950                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2951                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
2952                                                                                 &quot;localName&quot;: &quot;ConfigModifySuccessResponseOutput&quot;&#xd;
2953                                                                             },&#xd;
2954                                                                             &quot;outgoingEvent&quot;: {&#xd;
2955                                                                                 &quot;name&quot;: &quot;SimpleCL_LogStatusEvent&quot;,&#xd;
2956                                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2957                                                                             },&#xd;
2958                                                                             &quot;nextState&quot;: {&#xd;
2959                                                                                 &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
2960                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
2961                                                                                 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
2962                                                                                 &quot;localName&quot;: &quot;NULL&quot;&#xd;
2963                                                                             }&#xd;
2964                                                                         }&#xd;
2965                                                                     }&#xd;
2966                                                                 ]&#xd;
2967                                                             },&#xd;
2968                                                             &quot;contextAlbumReference&quot;: [],&#xd;
2969                                                             &quot;taskSelectionLogic&quot;: {&#xd;
2970                                                                 &quot;key&quot;: &quot;NULL&quot;,&#xd;
2971                                                                 &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
2972                                                                 &quot;logic&quot;: &quot;&quot;&#xd;
2973                                                             },&#xd;
2974                                                             &quot;stateFinalizerLogicMap&quot;: {&#xd;
2975                                                                 &quot;entry&quot;: []&#xd;
2976                                                             },&#xd;
2977                                                             &quot;defaultTask&quot;: {&#xd;
2978                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
2979                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2980                                                             },&#xd;
2981                                                             &quot;taskReferences&quot;: {&#xd;
2982                                                                 &quot;entry&quot;: [&#xd;
2983                                                                     {&#xd;
2984                                                                         &quot;key&quot;: {&#xd;
2985                                                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
2986                                                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
2987                                                                         },&#xd;
2988                                                                         &quot;value&quot;: {&#xd;
2989                                                                             &quot;key&quot;: {&#xd;
2990                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
2991                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2992                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
2993                                                                                 &quot;localName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;&#xd;
2994                                                                             },&#xd;
2995                                                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
2996                                                                             &quot;output&quot;: {&#xd;
2997                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy&quot;,&#xd;
2998                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
2999                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;,&#xd;
3000                                                                                 &quot;localName&quot;: &quot;ConfigModifySuccessResponseOutput&quot;&#xd;
3001                                                                             }&#xd;
3002                                                                         }&#xd;
3003                                                                     }&#xd;
3004                                                                 ]&#xd;
3005                                                             }&#xd;
3006                                                         }&#xd;
3007                                                     }&#xd;
3008                                                 ]&#xd;
3009                                             },&#xd;
3010                                             &quot;firstState&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseState&quot;&#xd;
3011                                         }&#xd;
3012                                     },&#xd;
3013                                     {&#xd;
3014                                         &quot;key&quot;: {&#xd;
3015                                             &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
3016                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3017                                         },&#xd;
3018                                         &quot;value&quot;: {&#xd;
3019                                             &quot;policyKey&quot;: {&#xd;
3020                                                 &quot;name&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
3021                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3022                                             },&#xd;
3023                                             &quot;template&quot;: &quot;Freestyle&quot;,&#xd;
3024                                             &quot;state&quot;: {&#xd;
3025                                                 &quot;entry&quot;: [&#xd;
3026                                                     {&#xd;
3027                                                         &quot;key&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
3028                                                         &quot;value&quot;: {&#xd;
3029                                                             &quot;stateKey&quot;: {&#xd;
3030                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
3031                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
3032                                                                 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
3033                                                                 &quot;localName&quot;: &quot;SimpleCL_ReceiveVesState&quot;&#xd;
3034                                                             },&#xd;
3035                                                             &quot;trigger&quot;: {&#xd;
3036                                                                 &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
3037                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3038                                                             },&#xd;
3039                                                             &quot;stateOutputs&quot;: {&#xd;
3040                                                                 &quot;entry&quot;: [&#xd;
3041                                                                     {&#xd;
3042                                                                         &quot;key&quot;: &quot;VesOutput&quot;,&#xd;
3043                                                                         &quot;value&quot;: {&#xd;
3044                                                                             &quot;key&quot;: {&#xd;
3045                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
3046                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
3047                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
3048                                                                                 &quot;localName&quot;: &quot;VesOutput&quot;&#xd;
3049                                                                             },&#xd;
3050                                                                             &quot;outgoingEvent&quot;: {&#xd;
3051                                                                                 &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
3052                                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3053                                                                             },&#xd;
3054                                                                             &quot;nextState&quot;: {&#xd;
3055                                                                                 &quot;parentKeyName&quot;: &quot;NULL&quot;,&#xd;
3056                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.0&quot;,&#xd;
3057                                                                                 &quot;parentLocalName&quot;: &quot;NULL&quot;,&#xd;
3058                                                                                 &quot;localName&quot;: &quot;NULL&quot;&#xd;
3059                                                                             }&#xd;
3060                                                                         }&#xd;
3061                                                                     }&#xd;
3062                                                                 ]&#xd;
3063                                                             },&#xd;
3064                                                             &quot;contextAlbumReference&quot;: [],&#xd;
3065                                                             &quot;taskSelectionLogic&quot;: {&#xd;
3066                                                                 &quot;key&quot;: &quot;NULL&quot;,&#xd;
3067                                                                 &quot;logicFlavour&quot;: &quot;UNDEFINED&quot;,&#xd;
3068                                                                 &quot;logic&quot;: &quot;&quot;&#xd;
3069                                                             },&#xd;
3070                                                             &quot;stateFinalizerLogicMap&quot;: {&#xd;
3071                                                                 &quot;entry&quot;: []&#xd;
3072                                                             },&#xd;
3073                                                             &quot;defaultTask&quot;: {&#xd;
3074                                                                 &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
3075                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3076                                                             },&#xd;
3077                                                             &quot;taskReferences&quot;: {&#xd;
3078                                                                 &quot;entry&quot;: [&#xd;
3079                                                                     {&#xd;
3080                                                                         &quot;key&quot;: {&#xd;
3081                                                                             &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
3082                                                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3083                                                                         },&#xd;
3084                                                                         &quot;value&quot;: {&#xd;
3085                                                                             &quot;key&quot;: {&#xd;
3086                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
3087                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
3088                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
3089                                                                                 &quot;localName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;&#xd;
3090                                                                             },&#xd;
3091                                                                             &quot;outputType&quot;: &quot;DIRECT&quot;,&#xd;
3092                                                                             &quot;output&quot;: {&#xd;
3093                                                                                 &quot;parentKeyName&quot;: &quot;SimpleCL_VesEventHandlerPolicy&quot;,&#xd;
3094                                                                                 &quot;parentKeyVersion&quot;: &quot;0.0.1&quot;,&#xd;
3095                                                                                 &quot;parentLocalName&quot;: &quot;SimpleCL_ReceiveVesState&quot;,&#xd;
3096                                                                                 &quot;localName&quot;: &quot;VesOutput&quot;&#xd;
3097                                                                             }&#xd;
3098                                                                         }&#xd;
3099                                                                     }&#xd;
3100                                                                 ]&#xd;
3101                                                             }&#xd;
3102                                                         }&#xd;
3103                                                     }&#xd;
3104                                                 ]&#xd;
3105                                             },&#xd;
3106                                             &quot;firstState&quot;: &quot;SimpleCL_ReceiveVesState&quot;&#xd;
3107                                         }&#xd;
3108                                     }&#xd;
3109                                 ]&#xd;
3110                             }&#xd;
3111                         },&#xd;
3112                         &quot;tasks&quot;: {&#xd;
3113                             &quot;key&quot;: {&#xd;
3114                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Tasks&quot;,&#xd;
3115                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3116                             },&#xd;
3117                             &quot;taskMap&quot;: {&#xd;
3118                                 &quot;entry&quot;: [&#xd;
3119                                     {&#xd;
3120                                         &quot;key&quot;: {&#xd;
3121                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
3122                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3123                                         },&#xd;
3124                                         &quot;value&quot;: {&#xd;
3125                                             &quot;key&quot;: {&#xd;
3126                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseTask&quot;,&#xd;
3127                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3128                                             },&#xd;
3129                                             &quot;inputFields&quot;: {&#xd;
3130                                                 &quot;entry&quot;: [&#xd;
3131                                                     {&#xd;
3132                                                         &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3133                                                         &quot;value&quot;: {&#xd;
3134                                                             &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3135                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3136                                                                 &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
3137                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3138                                                             },&#xd;
3139                                                             &quot;optional&quot;: false&#xd;
3140                                                         }&#xd;
3141                                                     },&#xd;
3142                                                     {&#xd;
3143                                                         &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3144                                                         &quot;value&quot;: {&#xd;
3145                                                             &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3146                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3147                                                                 &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
3148                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3149                                                             },&#xd;
3150                                                             &quot;optional&quot;: false&#xd;
3151                                                         }&#xd;
3152                                                     },&#xd;
3153                                                     {&#xd;
3154                                                         &quot;key&quot;: &quot;payload&quot;,&#xd;
3155                                                         &quot;value&quot;: {&#xd;
3156                                                             &quot;key&quot;: &quot;payload&quot;,&#xd;
3157                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3158                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
3159                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3160                                                             },&#xd;
3161                                                             &quot;optional&quot;: false&#xd;
3162                                                         }&#xd;
3163                                                     },&#xd;
3164                                                     {&#xd;
3165                                                         &quot;key&quot;: &quot;status&quot;,&#xd;
3166                                                         &quot;value&quot;: {&#xd;
3167                                                             &quot;key&quot;: &quot;status&quot;,&#xd;
3168                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3169                                                                 &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
3170                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3171                                                             },&#xd;
3172                                                             &quot;optional&quot;: false&#xd;
3173                                                         }&#xd;
3174                                                     }&#xd;
3175                                                 ]&#xd;
3176                                             },&#xd;
3177                                             &quot;outputFields&quot;: {&#xd;
3178                                                 &quot;entry&quot;: [&#xd;
3179                                                     {&#xd;
3180                                                         &quot;key&quot;: &quot;message&quot;,&#xd;
3181                                                         &quot;value&quot;: {&#xd;
3182                                                             &quot;key&quot;: &quot;message&quot;,&#xd;
3183                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3184                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3185                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3186                                                             },&#xd;
3187                                                             &quot;optional&quot;: false&#xd;
3188                                                         }&#xd;
3189                                                     }&#xd;
3190                                                 ]&#xd;
3191                                             },&#xd;
3192                                             &quot;taskParameters&quot;: {&#xd;
3193                                                 &quot;entry&quot;: []&#xd;
3194                                             },&#xd;
3195                                             &quot;contextAlbumReference&quot;: [&#xd;
3196                                                 {&#xd;
3197                                                     &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
3198                                                     &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3199                                                 }&#xd;
3200                                             ],&#xd;
3201                                             &quot;taskLogic&quot;: {&#xd;
3202                                                 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
3203                                                 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
3204                                                 &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar cdsResponse = executor.inFields;\nvar albumID = cdsResponse.get(\&quot;commonHeader\&quot;).get(\&quot;subRequestId\&quot;);\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar timestamp = longType(new Date().getTime())\nvar errorMessage = \&quot;CDS operation failed. Error message from CDS - \&quot; + executor.inFields.get(\&quot;status\&quot;).get(\&quot;errorMessage\&quot;);\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;PNF\&quot;, eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), timestamp, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + errorMessage);\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n    var logData = &apos;{&apos;\n       +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n       +&apos;\&quot;target\&quot;  : {&apos;\n            +&apos;\&quot;targetType\&quot;  : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n            +&apos;\&quot;entityInfo\&quot;  : {&apos;\n                +&apos;\&quot;pnf-name\&quot;  : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n            +&apos;}&apos;\n       +&apos;},&apos;\n       +&apos;\&quot;component\&quot;  : {&apos;\n            +&apos;\&quot;name\&quot;  : \&quot;Policy\&quot;,&apos;\n            +&apos;\&quot;flavour\&quot;  : \&quot;Apex-PDP\&quot;,&apos;\n            +&apos;\&quot;timestamp\&quot;  : &apos; + timestamp + &apos;,&apos;\n            +&apos;\&quot;status\&quot;  : \&quot;&apos; + status + &apos;\&quot;,&apos;\n            +&apos;\&quot;message\&quot;  : \&quot;&apos; + message + &apos;\&quot;,&apos;\n            +&apos;\&quot;artifacts\&quot;  : {&apos;\n                +&apos;\&quot;policyName\&quot;  : \&quot;onap.policies.apex.Simplecontrolloop\&quot;,&apos;\n                +&apos;\&quot;policyVersion\&quot;  : \&quot;1.0.0\&quot;&apos;\n            +&apos;}&apos;\n       +&apos;},&apos;\n       +&apos;\&quot;otherFields\&quot;  : {&apos;\n            +&apos;\&quot;useCaseName\&quot;  : \&quot;simple-controlloop-usecase\&quot;&apos;\n       +&apos;}&apos;\n    +&apos;}&apos;;\n\n    executor.logger.info(\&quot;sending the status to log.\&quot;);\n    fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n    var headers = new HashMapType();\n    //headers.put(\&quot;Authorization\&quot; , \&quot;Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\&quot;);\n    executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n    var response = new org.onap.policy.rest.RestManager().post(\n            executor.getParameters().get(\&quot;logUrl\&quot;),\n            \&quot;\&quot;,\n            \&quot;\&quot;,\n            headers,\n            \&quot;application/json\&quot;,\n            logEvent\n    );\n    executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n    return response;\n}&quot;&#xd;
3205                                             }&#xd;
3206                                         }&#xd;
3207                                     },&#xd;
3208                                     {&#xd;
3209                                         &quot;key&quot;: {&#xd;
3210                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
3211                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3212                                         },&#xd;
3213                                         &quot;value&quot;: {&#xd;
3214                                             &quot;key&quot;: {&#xd;
3215                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseTask&quot;,&#xd;
3216                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3217                                             },&#xd;
3218                                             &quot;inputFields&quot;: {&#xd;
3219                                                 &quot;entry&quot;: [&#xd;
3220                                                     {&#xd;
3221                                                         &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3222                                                         &quot;value&quot;: {&#xd;
3223                                                             &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3224                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3225                                                                 &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
3226                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3227                                                             },&#xd;
3228                                                             &quot;optional&quot;: false&#xd;
3229                                                         }&#xd;
3230                                                     },&#xd;
3231                                                     {&#xd;
3232                                                         &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3233                                                         &quot;value&quot;: {&#xd;
3234                                                             &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3235                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3236                                                                 &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
3237                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3238                                                             },&#xd;
3239                                                             &quot;optional&quot;: false&#xd;
3240                                                         }&#xd;
3241                                                     },&#xd;
3242                                                     {&#xd;
3243                                                         &quot;key&quot;: &quot;payload&quot;,&#xd;
3244                                                         &quot;value&quot;: {&#xd;
3245                                                             &quot;key&quot;: &quot;payload&quot;,&#xd;
3246                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3247                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
3248                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3249                                                             },&#xd;
3250                                                             &quot;optional&quot;: false&#xd;
3251                                                         }&#xd;
3252                                                     },&#xd;
3253                                                     {&#xd;
3254                                                         &quot;key&quot;: &quot;status&quot;,&#xd;
3255                                                         &quot;value&quot;: {&#xd;
3256                                                             &quot;key&quot;: &quot;status&quot;,&#xd;
3257                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3258                                                                 &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
3259                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3260                                                             },&#xd;
3261                                                             &quot;optional&quot;: false&#xd;
3262                                                         }&#xd;
3263                                                     }&#xd;
3264                                                 ]&#xd;
3265                                             },&#xd;
3266                                             &quot;outputFields&quot;: {&#xd;
3267                                                 &quot;entry&quot;: [&#xd;
3268                                                     {&#xd;
3269                                                         &quot;key&quot;: &quot;message&quot;,&#xd;
3270                                                         &quot;value&quot;: {&#xd;
3271                                                             &quot;key&quot;: &quot;message&quot;,&#xd;
3272                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3273                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3274                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3275                                                             },&#xd;
3276                                                             &quot;optional&quot;: false&#xd;
3277                                                         }&#xd;
3278                                                     }&#xd;
3279                                                 ]&#xd;
3280                                             },&#xd;
3281                                             &quot;taskParameters&quot;: {&#xd;
3282                                                 &quot;entry&quot;: []&#xd;
3283                                             },&#xd;
3284                                             &quot;contextAlbumReference&quot;: [&#xd;
3285                                                 {&#xd;
3286                                                     &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
3287                                                     &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3288                                                 }&#xd;
3289                                             ],&#xd;
3290                                             &quot;taskLogic&quot;: {&#xd;
3291                                                 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
3292                                                 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
3293                                                 &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar cdsResponse = executor.inFields;\nvar albumID = cdsResponse.get(\&quot;commonHeader\&quot;).get(\&quot;subRequestId\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar timestamp = longType(new Date().getTime());\n\nsend(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;PNF\&quot;, eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), timestamp, \&quot;FINAL_SUCCESS\&quot;, \&quot;Successfully processed the VES event. Hostname is updated.\&quot;)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n    var logData = &apos;{&apos;\n       +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n       +&apos;\&quot;target\&quot;  : {&apos;\n            +&apos;\&quot;targetType\&quot;  : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n            +&apos;\&quot;entityInfo\&quot;  : {&apos;\n                +&apos;\&quot;pnf-name\&quot;  : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n            +&apos;}&apos;\n       +&apos;},&apos;\n       +&apos;\&quot;component\&quot;  : {&apos;\n            +&apos;\&quot;name\&quot;  : \&quot;Policy\&quot;,&apos;\n            +&apos;\&quot;flavour\&quot;  : \&quot;Apex-PDP\&quot;,&apos;\n            +&apos;\&quot;timestamp\&quot;  : &apos; + timestamp + &apos;,&apos;\n            +&apos;\&quot;status\&quot;  : \&quot;&apos; + status + &apos;\&quot;,&apos;\n            +&apos;\&quot;message\&quot;  : \&quot;&apos; + message + &apos;\&quot;,&apos;\n            +&apos;\&quot;artifacts\&quot;  : {&apos;\n                +&apos;\&quot;policyName\&quot;  : \&quot;onap.policies.apex.Simplecontrolloop\&quot;,&apos;\n                +&apos;\&quot;policyVersion\&quot;  : \&quot;1.0.0\&quot;&apos;\n            +&apos;}&apos;\n       +&apos;},&apos;\n       +&apos;\&quot;otherFields\&quot;  : {&apos;\n            +&apos;\&quot;useCaseName\&quot;  : \&quot;simple-controlloop-usecase\&quot;&apos;\n       +&apos;}&apos;\n    +&apos;}&apos;;\n\n    executor.logger.info(\&quot;sending the status to log.\&quot;);\n    fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n    var headers = new HashMapType();\n    //headers.put(\&quot;Authorization\&quot; , \&quot;Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\&quot;);\n    executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n    var response = new org.onap.policy.rest.RestManager().post(\n            executor.getParameters().get(\&quot;logUrl\&quot;),\n            \&quot;\&quot;,\n            \&quot;\&quot;,\n            headers,\n            \&quot;application/json\&quot;,\n            logEvent\n    );\n    executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n    return response;\n}&quot;&#xd;
3294                                             }&#xd;
3295                                         }&#xd;
3296                                     },&#xd;
3297                                     {&#xd;
3298                                         &quot;key&quot;: {&#xd;
3299                                             &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
3300                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3301                                         },&#xd;
3302                                         &quot;value&quot;: {&#xd;
3303                                             &quot;key&quot;: {&#xd;
3304                                                 &quot;name&quot;: &quot;SimpleCL_HandleAAIFailureResponseTask&quot;,&#xd;
3305                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3306                                             },&#xd;
3307                                             &quot;inputFields&quot;: {&#xd;
3308                                                 &quot;entry&quot;: [&#xd;
3309                                                     {&#xd;
3310                                                         &quot;key&quot;: &quot;requestError&quot;,&#xd;
3311                                                         &quot;value&quot;: {&#xd;
3312                                                             &quot;key&quot;: &quot;requestError&quot;,&#xd;
3313                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3314                                                                 &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
3315                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3316                                                             },&#xd;
3317                                                             &quot;optional&quot;: false&#xd;
3318                                                         }&#xd;
3319                                                     }&#xd;
3320                                                 ]&#xd;
3321                                             },&#xd;
3322                                             &quot;outputFields&quot;: {&#xd;
3323                                                 &quot;entry&quot;: [&#xd;
3324                                                     {&#xd;
3325                                                         &quot;key&quot;: &quot;message&quot;,&#xd;
3326                                                         &quot;value&quot;: {&#xd;
3327                                                             &quot;key&quot;: &quot;message&quot;,&#xd;
3328                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3329                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3330                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3331                                                             },&#xd;
3332                                                             &quot;optional&quot;: false&#xd;
3333                                                         }&#xd;
3334                                                     }&#xd;
3335                                                 ]&#xd;
3336                                             },&#xd;
3337                                             &quot;taskParameters&quot;: {&#xd;
3338                                                 &quot;entry&quot;: []&#xd;
3339                                             },&#xd;
3340                                             &quot;contextAlbumReference&quot;: [&#xd;
3341                                                 {&#xd;
3342                                                     &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
3343                                                     &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3344                                                 }&#xd;
3345                                             ],&#xd;
3346                                             &quot;taskLogic&quot;: {&#xd;
3347                                                 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
3348                                                 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
3349                                                 &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar aaiErrorMessage = \&quot;AAI operation failed. Error message from AAI - \&quot; + executor.inFields.get(\&quot;requestError\&quot;).get(\&quot;serviceException\&quot;).get(\&quot;text\&quot;);\nvar timestamp = longType(new Date().getTime());\n\n//Sending messageId received from AAI error message since eventId is not available in this task logic\nsend(executor.inFields.get(\&quot;requestError\&quot;).get(\&quot;serviceException\&quot;).get(\&quot;messageId\&quot;), \&quot;PNF\&quot;, \&quot;N/A\&quot;, timestamp, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + aaiErrorMessage)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n    var logData = &apos;{&apos;\n       +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n       +&apos;\&quot;target\&quot;  : {&apos;\n            +&apos;\&quot;targetType\&quot;  : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n            +&apos;\&quot;entityInfo\&quot;  : {&apos;\n                +&apos;\&quot;pnf-name\&quot;  : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n            +&apos;}&apos;\n       +&apos;},&apos;\n       +&apos;\&quot;component\&quot;  : {&apos;\n            +&apos;\&quot;name\&quot;  : \&quot;Policy\&quot;,&apos;\n            +&apos;\&quot;flavour\&quot;  : \&quot;Apex-PDP\&quot;,&apos;\n            +&apos;\&quot;timestamp\&quot;  : &apos; + timestamp + &apos;,&apos;\n            +&apos;\&quot;status\&quot;  : \&quot;&apos; + status + &apos;\&quot;,&apos;\n            +&apos;\&quot;message\&quot;  : \&quot;&apos; + message + &apos;\&quot;,&apos;\n            +&apos;\&quot;artifacts\&quot;  : {&apos;\n                +&apos;\&quot;policyName\&quot;  : \&quot;onap.policies.apex.Simplecontrolloop\&quot;,&apos;\n                +&apos;\&quot;policyVersion\&quot;  : \&quot;1.0.0\&quot;&apos;\n            +&apos;}&apos;\n       +&apos;},&apos;\n       +&apos;\&quot;otherFields\&quot;  : {&apos;\n            +&apos;\&quot;useCaseName\&quot;  : \&quot;simple-controlloop-usecase\&quot;&apos;\n       +&apos;}&apos;\n    +&apos;}&apos;;\n\n    executor.logger.info(\&quot;sending the status to log.\&quot;);\n    fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n    var headers = new HashMapType();\n    //headers.put(\&quot;Authorization\&quot; , \&quot;Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\&quot;);\n    executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n    var response = new org.onap.policy.rest.RestManager().post(\n            executor.getParameters().get(\&quot;logUrl\&quot;),\n            \&quot;\&quot;,\n            \&quot;\&quot;,\n            headers,\n            \&quot;application/json\&quot;,\n            logEvent\n    );\n    executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n    return response;\n}&quot;&#xd;
3350                                             }&#xd;
3351                                         }&#xd;
3352                                     },&#xd;
3353                                     {&#xd;
3354                                         &quot;key&quot;: {&#xd;
3355                                             &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
3356                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3357                                         },&#xd;
3358                                         &quot;value&quot;: {&#xd;
3359                                             &quot;key&quot;: {&#xd;
3360                                                 &quot;name&quot;: &quot;SimpleCL_HandleAAISuccessResponseTask&quot;,&#xd;
3361                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3362                                             },&#xd;
3363                                             &quot;inputFields&quot;: {&#xd;
3364                                                 &quot;entry&quot;: [&#xd;
3365                                                     {&#xd;
3366                                                         &quot;key&quot;: &quot;equip-model&quot;,&#xd;
3367                                                         &quot;value&quot;: {&#xd;
3368                                                             &quot;key&quot;: &quot;equip-model&quot;,&#xd;
3369                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3370                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3371                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3372                                                             },&#xd;
3373                                                             &quot;optional&quot;: false&#xd;
3374                                                         }&#xd;
3375                                                     },&#xd;
3376                                                     {&#xd;
3377                                                         &quot;key&quot;: &quot;equip-type&quot;,&#xd;
3378                                                         &quot;value&quot;: {&#xd;
3379                                                             &quot;key&quot;: &quot;equip-type&quot;,&#xd;
3380                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3381                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3382                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3383                                                             },&#xd;
3384                                                             &quot;optional&quot;: false&#xd;
3385                                                         }&#xd;
3386                                                     },&#xd;
3387                                                     {&#xd;
3388                                                         &quot;key&quot;: &quot;equip-vendor&quot;,&#xd;
3389                                                         &quot;value&quot;: {&#xd;
3390                                                             &quot;key&quot;: &quot;equip-vendor&quot;,&#xd;
3391                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3392                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3393                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3394                                                             },&#xd;
3395                                                             &quot;optional&quot;: false&#xd;
3396                                                         }&#xd;
3397                                                     },&#xd;
3398                                                     {&#xd;
3399                                                         &quot;key&quot;: &quot;in-maint&quot;,&#xd;
3400                                                         &quot;value&quot;: {&#xd;
3401                                                             &quot;key&quot;: &quot;in-maint&quot;,&#xd;
3402                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3403                                                                 &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
3404                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3405                                                             },&#xd;
3406                                                             &quot;optional&quot;: false&#xd;
3407                                                         }&#xd;
3408                                                     },&#xd;
3409                                                     {&#xd;
3410                                                         &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
3411                                                         &quot;value&quot;: {&#xd;
3412                                                             &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
3413                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3414                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3415                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3416                                                             },&#xd;
3417                                                             &quot;optional&quot;: false&#xd;
3418                                                         }&#xd;
3419                                                     },&#xd;
3420                                                     {&#xd;
3421                                                         &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#xd;
3422                                                         &quot;value&quot;: {&#xd;
3423                                                             &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#xd;
3424                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3425                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3426                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3427                                                             },&#xd;
3428                                                             &quot;optional&quot;: false&#xd;
3429                                                         }&#xd;
3430                                                     },&#xd;
3431                                                     {&#xd;
3432                                                         &quot;key&quot;: &quot;management-option&quot;,&#xd;
3433                                                         &quot;value&quot;: {&#xd;
3434                                                             &quot;key&quot;: &quot;management-option&quot;,&#xd;
3435                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3436                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3437                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3438                                                             },&#xd;
3439                                                             &quot;optional&quot;: false&#xd;
3440                                                         }&#xd;
3441                                                     },&#xd;
3442                                                     {&#xd;
3443                                                         &quot;key&quot;: &quot;pnf-id&quot;,&#xd;
3444                                                         &quot;value&quot;: {&#xd;
3445                                                             &quot;key&quot;: &quot;pnf-id&quot;,&#xd;
3446                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3447                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3448                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3449                                                             },&#xd;
3450                                                             &quot;optional&quot;: false&#xd;
3451                                                         }&#xd;
3452                                                     },&#xd;
3453                                                     {&#xd;
3454                                                         &quot;key&quot;: &quot;pnf-name&quot;,&#xd;
3455                                                         &quot;value&quot;: {&#xd;
3456                                                             &quot;key&quot;: &quot;pnf-name&quot;,&#xd;
3457                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3458                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3459                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3460                                                             },&#xd;
3461                                                             &quot;optional&quot;: false&#xd;
3462                                                         }&#xd;
3463                                                     },&#xd;
3464                                                     {&#xd;
3465                                                         &quot;key&quot;: &quot;pnf-name2&quot;,&#xd;
3466                                                         &quot;value&quot;: {&#xd;
3467                                                             &quot;key&quot;: &quot;pnf-name2&quot;,&#xd;
3468                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3469                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3470                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3471                                                             },&#xd;
3472                                                             &quot;optional&quot;: false&#xd;
3473                                                         }&#xd;
3474                                                     },&#xd;
3475                                                     {&#xd;
3476                                                         &quot;key&quot;: &quot;resource-version&quot;,&#xd;
3477                                                         &quot;value&quot;: {&#xd;
3478                                                             &quot;key&quot;: &quot;resource-version&quot;,&#xd;
3479                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3480                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3481                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3482                                                             },&#xd;
3483                                                             &quot;optional&quot;: false&#xd;
3484                                                         }&#xd;
3485                                                     }&#xd;
3486                                                 ]&#xd;
3487                                             },&#xd;
3488                                             &quot;outputFields&quot;: {&#xd;
3489                                                 &quot;entry&quot;: [&#xd;
3490                                                     {&#xd;
3491                                                         &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3492                                                         &quot;value&quot;: {&#xd;
3493                                                             &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3494                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3495                                                                 &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
3496                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3497                                                             },&#xd;
3498                                                             &quot;optional&quot;: false&#xd;
3499                                                         }&#xd;
3500                                                     },&#xd;
3501                                                     {&#xd;
3502                                                         &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3503                                                         &quot;value&quot;: {&#xd;
3504                                                             &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3505                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3506                                                                 &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
3507                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3508                                                             },&#xd;
3509                                                             &quot;optional&quot;: false&#xd;
3510                                                         }&#xd;
3511                                                     },&#xd;
3512                                                     {&#xd;
3513                                                         &quot;key&quot;: &quot;payload&quot;,&#xd;
3514                                                         &quot;value&quot;: {&#xd;
3515                                                             &quot;key&quot;: &quot;payload&quot;,&#xd;
3516                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3517                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
3518                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3519                                                             },&#xd;
3520                                                             &quot;optional&quot;: false&#xd;
3521                                                         }&#xd;
3522                                                     }&#xd;
3523                                                 ]&#xd;
3524                                             },&#xd;
3525                                             &quot;taskParameters&quot;: {&#xd;
3526                                                 &quot;entry&quot;: []&#xd;
3527                                             },&#xd;
3528                                             &quot;contextAlbumReference&quot;: [&#xd;
3529                                                 {&#xd;
3530                                                     &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
3531                                                     &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3532                                                 }&#xd;
3533                                             ],&#xd;
3534                                             &quot;taskLogic&quot;: {&#xd;
3535                                                 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
3536                                                 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
3537                                                 &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar pnfDetails = executor.inFields;\nvar albumID = pnfDetails.get(\&quot;pnf-id\&quot;);\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).get(albumID.toString());\nexecutor.logger.info(\&quot;HandleAAISuccessResponseTask extracted context album - \&quot; + albumID.toString() + \&quot;::\&quot; + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;);\nvar otherFieldsMap = eventDetailsAlbum.get(\&quot;otherFields\&quot;).get(\&quot;hashMap\&quot;);\n\nvar targetEntityName = executor.inFields.get(\&quot;pnf-name\&quot;)\nvar logMessage = \&quot;\&quot;;\nvar existingHostname = executor.inFields.get(\&quot;pnf-name2\&quot;);\nvar hostnameInVesEvent = otherFieldsMap.get(\&quot;hostname\&quot;);\n\nvar albumSchemaHelper = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\&quot;target\&quot;);\ntarget.put(\&quot;targetType\&quot;,  \&quot;PNF\&quot;)\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\&quot;entityInfo\&quot;);\nentityInfo.put(\&quot;name\&quot;,targetEntityName);\ntarget.put(\&quot;entityInfo\&quot;, entityInfo);\neventDetailsAlbum.put(\&quot;target\&quot;, target);\n\nvar returnVal = true;\nvar timestamp = longType(new Date().getTime());\nif ((String(hostnameInVesEvent) != \&quot;UNDEFINED\&quot;) &amp;&amp; (String(existingHostname) != String(hostnameInVesEvent))) {\n    logMessage = \&quot;Hostname available in AAI does not match with the hostname received in the VES Event.\&quot;;\n    returnVal = false\n    send(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;PNF\&quot;, otherFieldsMap.get(\&quot;pnfName\&quot;), timestamp, \&quot;FINAL_FAILURE\&quot;, \&quot;Failed to process VES event. Reason: \&quot; + logMessage)\n} else {\n    logMessage = \&quot;Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\&quot;;\n\n    var commonHeader = executor.subject.getOutFieldSchemaHelper(\&quot;commonHeader\&quot;).createNewInstance();\n    commonHeader.put(\&quot;subRequestId\&quot;, albumID.toString());\n    commonHeader.put(\&quot;requestId\&quot;, commonEventHeader.get(\&quot;eventId\&quot;));\n    commonHeader.put(\&quot;originatorId\&quot;, \&quot;POLICY\&quot;);\n\n    var blueprintName = \&quot;pnf-test-cba\&quot;;\n    var blueprintVersion = \&quot;1.0.0\&quot;;\n    var newHostname = \&quot;host\&quot; + Math.random().toString(36).substring(7);\n    eventDetailsAlbum.put(\&quot;generatedHostname\&quot;, newHostname);\n\n    var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\&quot;actionIdentifiers\&quot;).createNewInstance();\n    actionIdentifiers.put(\&quot;mode\&quot;, \&quot;sync\&quot;);\n    actionIdentifiers.put(\&quot;blueprintName\&quot;, blueprintName);\n    actionIdentifiers.put(\&quot;blueprintVersion\&quot;, blueprintVersion);\n    actionIdentifiers.put(\&quot;actionName\&quot;, \&quot;update-config\&quot;);\n\n    var payloadEntry = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewSubInstance(\&quot;CDSConfigModifyRequestPayloadEntry\&quot;);\n    payloadEntry.put(\&quot;hostname\&quot;,  newHostname)\n    payloadEntry.put(\&quot;IP\&quot;, executor.inFields.get(\&quot;ipaddress-v4-oam\&quot;));\n    payloadEntry.put(\&quot;pnfName\&quot;, otherFieldsMap.get(\&quot;pnfName\&quot;));\n\n    var payload = executor.subject.getOutFieldSchemaHelper(\&quot;payload\&quot;).createNewInstance();\n    payload.put(\&quot;update_DasH_config_DasH_request\&quot;, payloadEntry);\n\n    executor.outFields.put(\&quot;commonHeader\&quot;, commonHeader);\n    executor.outFields.put(\&quot;actionIdentifiers\&quot;, actionIdentifiers);\n    executor.outFields.put(\&quot;payload\&quot;, payload);\n\n    send(commonEventHeader.get(\&quot;eventId\&quot;), \&quot;PNF\&quot;, otherFieldsMap.get(\&quot;pnfName\&quot;), timestamp, \&quot;SUCCESS\&quot;, logMessage)\n}\n\nreturnVal;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n    var logData = &apos;{&apos;\n       +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n       +&apos;\&quot;target\&quot;  : {&apos;\n            +&apos;\&quot;targetType\&quot;  : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n            +&apos;\&quot;entityInfo\&quot;  : {&apos;\n                +&apos;\&quot;pnf-name\&quot;  : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n            +&apos;}&apos;\n       +&apos;},&apos;\n       +&apos;\&quot;component\&quot;  : {&apos;\n            +&apos;\&quot;name\&quot;  : \&quot;Policy\&quot;,&apos;\n            +&apos;\&quot;flavour\&quot;  : \&quot;Apex-PDP\&quot;,&apos;\n            +&apos;\&quot;timestamp\&quot;  : &apos; + timestamp + &apos;,&apos;\n            +&apos;\&quot;status\&quot;  : \&quot;&apos; + status + &apos;\&quot;,&apos;\n            +&apos;\&quot;message\&quot;  : \&quot;&apos; + message + &apos;\&quot;,&apos;\n            +&apos;\&quot;artifacts\&quot;  : {&apos;\n                +&apos;\&quot;policyName\&quot;  : \&quot;onap.policies.apex.Simplecontrolloop\&quot;,&apos;\n                +&apos;\&quot;policyVersion\&quot;  : \&quot;1.0.0\&quot;&apos;\n            +&apos;}&apos;\n       +&apos;},&apos;\n       +&apos;\&quot;otherFields\&quot;  : {&apos;\n            +&apos;\&quot;useCaseName\&quot;  : \&quot;simple-controlloop-usecase\&quot;&apos;\n       +&apos;}&apos;\n    +&apos;}&apos;;\n\n    executor.logger.info(\&quot;sending the status to log.\&quot;);\n    fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n    var headers = new HashMapType();\n    //headers.put(\&quot;Authorization\&quot; , \&quot;Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\&quot;);\n    executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n    var response = new org.onap.policy.rest.RestManager().post(\n            executor.getParameters().get(\&quot;logUrl\&quot;),\n            \&quot;\&quot;,\n            \&quot;\&quot;,\n            headers,\n            \&quot;application/json\&quot;,\n            logEvent\n    );\n    executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n    return response;\n}&quot;&#xd;
3538                                             }&#xd;
3539                                         }&#xd;
3540                                     },&#xd;
3541                                     {&#xd;
3542                                         &quot;key&quot;: {&#xd;
3543                                             &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
3544                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3545                                         },&#xd;
3546                                         &quot;value&quot;: {&#xd;
3547                                             &quot;key&quot;: {&#xd;
3548                                                 &quot;name&quot;: &quot;SimpleCL_HandleVesEventTask&quot;,&#xd;
3549                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3550                                             },&#xd;
3551                                             &quot;inputFields&quot;: {&#xd;
3552                                                 &quot;entry&quot;: [&#xd;
3553                                                     {&#xd;
3554                                                         &quot;key&quot;: &quot;event&quot;,&#xd;
3555                                                         &quot;value&quot;: {&#xd;
3556                                                             &quot;key&quot;: &quot;event&quot;,&#xd;
3557                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3558                                                                 &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
3559                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3560                                                             },&#xd;
3561                                                             &quot;optional&quot;: false&#xd;
3562                                                         }&#xd;
3563                                                     }&#xd;
3564                                                 ]&#xd;
3565                                             },&#xd;
3566                                             &quot;outputFields&quot;: {&#xd;
3567                                                 &quot;entry&quot;: [&#xd;
3568                                                     {&#xd;
3569                                                         &quot;key&quot;: &quot;aaifield&quot;,&#xd;
3570                                                         &quot;value&quot;: {&#xd;
3571                                                             &quot;key&quot;: &quot;aaifield&quot;,&#xd;
3572                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3573                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3574                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3575                                                             },&#xd;
3576                                                             &quot;optional&quot;: false&#xd;
3577                                                         }&#xd;
3578                                                     }&#xd;
3579                                                 ]&#xd;
3580                                             },&#xd;
3581                                             &quot;taskParameters&quot;: {&#xd;
3582                                                 &quot;entry&quot;: []&#xd;
3583                                             },&#xd;
3584                                             &quot;contextAlbumReference&quot;: [&#xd;
3585                                                 {&#xd;
3586                                                     &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
3587                                                     &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3588                                                 }&#xd;
3589                                             ],&#xd;
3590                                             &quot;taskLogic&quot;: {&#xd;
3591                                                 &quot;key&quot;: &quot;TaskLogic&quot;,&#xd;
3592                                                 &quot;logicFlavour&quot;: &quot;JAVASCRIPT&quot;,&#xd;
3593                                                 &quot;logic&quot;: &quot;var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\&quot;event\&quot;);\nexecutor.logger.info(\&quot;HandleVesEventTask processing VES event - \&quot; + event);\n\nvar commonEventHeader = event.get(\&quot;commonEventHeader\&quot;);\nvar otherFields = event.get(\&quot;otherFields\&quot;);\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\&quot;sourceId\&quot;);\n// save the event processing start time in apex\ncommonEventHeader.put(\&quot;startEpochMicrosec\&quot;, longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\&quot;commonEventHeader\&quot;, commonEventHeader);\neventDetailsAlbum.put(\&quot;otherFields\&quot;, otherFields);\nexecutor.getContextAlbum(\&quot;SimpleCL_EventDetailsAlbum\&quot;).put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\&quot;HandleVesEventTask storing context album - \&quot; + albumID.toString() + \&quot;::\&quot; + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\&quot;pnfName\&quot;, otherFields.get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;));\n\nvar timestamp = longType(new Date().getTime());\nsend(eventDetailsAlbum.get(\&quot;commonEventHeader\&quot;).get(\&quot;eventId\&quot;), \&quot;PNF\&quot;, otherFields.get(\&quot;hashMap\&quot;).get(\&quot;pnfName\&quot;), timestamp, \&quot;ACTIVE\&quot;, \&quot;VES event has been received. Going to fetch details from AAI.\&quot;)\nexecutor.logger.info(executor.outFields);\nreturnValue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n    var logData = &apos;{&apos;\n       +&apos;\&quot;id\&quot; : \&quot;&apos; + id + &apos;\&quot;,&apos;\n       +&apos;\&quot;target\&quot;  : {&apos;\n            +&apos;\&quot;targetType\&quot;  : \&quot;&apos; + targetType + &apos;\&quot;,&apos;\n            +&apos;\&quot;entityInfo\&quot;  : {&apos;\n                +&apos;\&quot;pnf-name\&quot;  : \&quot;&apos; + targetId + &apos;\&quot;&apos;\n            +&apos;}&apos;\n       +&apos;},&apos;\n       +&apos;\&quot;component\&quot;  : {&apos;\n            +&apos;\&quot;name\&quot;  : \&quot;Policy\&quot;,&apos;\n            +&apos;\&quot;flavour\&quot;  : \&quot;Apex-PDP\&quot;,&apos;\n            +&apos;\&quot;timestamp\&quot;  : &apos; + timestamp + &apos;,&apos;\n            +&apos;\&quot;status\&quot;  : \&quot;&apos; + status + &apos;\&quot;,&apos;\n            +&apos;\&quot;message\&quot;  : \&quot;&apos; + message + &apos;\&quot;,&apos;\n            +&apos;\&quot;artifacts\&quot;  : {&apos;\n                +&apos;\&quot;policyName\&quot;  : \&quot;onap.policies.apex.Simplecontrolloop\&quot;,&apos;\n                +&apos;\&quot;policyVersion\&quot;  : \&quot;1.0.0\&quot;&apos;\n            +&apos;}&apos;\n       +&apos;},&apos;\n       +&apos;\&quot;otherFields\&quot;  : {&apos;\n            +&apos;\&quot;useCaseName\&quot;  : \&quot;simple-controlloop-usecase\&quot;&apos;\n       +&apos;}&apos;\n    +&apos;}&apos;;\n\n    executor.logger.info(\&quot;sending the status to log.\&quot;);\n    fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n    var headers = new HashMapType();\n    //headers.put(\&quot;Authorization\&quot; , \&quot;Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\&quot;);\n    executor.logger.info(\&quot;LogEvent:\&quot;+logEvent);\n    var response = new org.onap.policy.rest.RestManager().post(\n            executor.getParameters().get(\&quot;logUrl\&quot;),\n            \&quot;\&quot;,\n            \&quot;\&quot;,\n            headers,\n            \&quot;application/json\&quot;,\n            logEvent\n    );\n    executor.logger.info(\&quot;DMaaP Response after sending LogEvent: \&quot; + response);\n    return response;\n}&quot;&#xd;
3594                                             }&#xd;
3595                                         }&#xd;
3596                                     }&#xd;
3597                                 ]&#xd;
3598                             }&#xd;
3599                         },&#xd;
3600                         &quot;events&quot;: {&#xd;
3601                             &quot;key&quot;: {&#xd;
3602                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Events&quot;,&#xd;
3603                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3604                             },&#xd;
3605                             &quot;eventMap&quot;: {&#xd;
3606                                 &quot;entry&quot;: [&#xd;
3607                                     {&#xd;
3608                                         &quot;key&quot;: {&#xd;
3609                                             &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
3610                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3611                                         },&#xd;
3612                                         &quot;value&quot;: {&#xd;
3613                                             &quot;key&quot;: {&#xd;
3614                                                 &quot;name&quot;: &quot;SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
3615                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3616                                             },&#xd;
3617                                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
3618                                             &quot;source&quot;: &quot;AAI&quot;,&#xd;
3619                                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
3620                                             &quot;parameter&quot;: {&#xd;
3621                                                 &quot;entry&quot;: [&#xd;
3622                                                     {&#xd;
3623                                                         &quot;key&quot;: &quot;requestError&quot;,&#xd;
3624                                                         &quot;value&quot;: {&#xd;
3625                                                             &quot;key&quot;: &quot;requestError&quot;,&#xd;
3626                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3627                                                                 &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
3628                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3629                                                             },&#xd;
3630                                                             &quot;optional&quot;: false&#xd;
3631                                                         }&#xd;
3632                                                     }&#xd;
3633                                                 ]&#xd;
3634                                             },&#xd;
3635                                             &quot;toscaPolicyState&quot;: &quot;EXIT_FAILURE&quot;&#xd;
3636                                         }&#xd;
3637                                     },&#xd;
3638                                     {&#xd;
3639                                         &quot;key&quot;: {&#xd;
3640                                             &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
3641                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3642                                         },&#xd;
3643                                         &quot;value&quot;: {&#xd;
3644                                             &quot;key&quot;: {&#xd;
3645                                                 &quot;name&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
3646                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3647                                             },&#xd;
3648                                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
3649                                             &quot;source&quot;: &quot;APEX&quot;,&#xd;
3650                                             &quot;target&quot;: &quot;AAI&quot;,&#xd;
3651                                             &quot;parameter&quot;: {&#xd;
3652                                                 &quot;entry&quot;: [&#xd;
3653                                                     {&#xd;
3654                                                         &quot;key&quot;: &quot;aaifield&quot;,&#xd;
3655                                                         &quot;value&quot;: {&#xd;
3656                                                             &quot;key&quot;: &quot;aaifield&quot;,&#xd;
3657                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3658                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3659                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3660                                                             },&#xd;
3661                                                             &quot;optional&quot;: false&#xd;
3662                                                         }&#xd;
3663                                                     }&#xd;
3664                                                 ]&#xd;
3665                                             },&#xd;
3666                                             &quot;toscaPolicyState&quot;: &quot;&quot;&#xd;
3667                                         }&#xd;
3668                                     },&#xd;
3669                                     {&#xd;
3670                                         &quot;key&quot;: {&#xd;
3671                                             &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
3672                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3673                                         },&#xd;
3674                                         &quot;value&quot;: {&#xd;
3675                                             &quot;key&quot;: {&#xd;
3676                                                 &quot;name&quot;: &quot;SimpleCL_AAISuccessResponseEvent&quot;,&#xd;
3677                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3678                                             },&#xd;
3679                                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
3680                                             &quot;source&quot;: &quot;AAI&quot;,&#xd;
3681                                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
3682                                             &quot;parameter&quot;: {&#xd;
3683                                                 &quot;entry&quot;: [&#xd;
3684                                                     {&#xd;
3685                                                         &quot;key&quot;: &quot;equip-model&quot;,&#xd;
3686                                                         &quot;value&quot;: {&#xd;
3687                                                             &quot;key&quot;: &quot;equip-model&quot;,&#xd;
3688                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3689                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3690                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3691                                                             },&#xd;
3692                                                             &quot;optional&quot;: false&#xd;
3693                                                         }&#xd;
3694                                                     },&#xd;
3695                                                     {&#xd;
3696                                                         &quot;key&quot;: &quot;equip-type&quot;,&#xd;
3697                                                         &quot;value&quot;: {&#xd;
3698                                                             &quot;key&quot;: &quot;equip-type&quot;,&#xd;
3699                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3700                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3701                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3702                                                             },&#xd;
3703                                                             &quot;optional&quot;: false&#xd;
3704                                                         }&#xd;
3705                                                     },&#xd;
3706                                                     {&#xd;
3707                                                         &quot;key&quot;: &quot;equip-vendor&quot;,&#xd;
3708                                                         &quot;value&quot;: {&#xd;
3709                                                             &quot;key&quot;: &quot;equip-vendor&quot;,&#xd;
3710                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3711                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3712                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3713                                                             },&#xd;
3714                                                             &quot;optional&quot;: false&#xd;
3715                                                         }&#xd;
3716                                                     },&#xd;
3717                                                     {&#xd;
3718                                                         &quot;key&quot;: &quot;in-maint&quot;,&#xd;
3719                                                         &quot;value&quot;: {&#xd;
3720                                                             &quot;key&quot;: &quot;in-maint&quot;,&#xd;
3721                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3722                                                                 &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
3723                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3724                                                             },&#xd;
3725                                                             &quot;optional&quot;: false&#xd;
3726                                                         }&#xd;
3727                                                     },&#xd;
3728                                                     {&#xd;
3729                                                         &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
3730                                                         &quot;value&quot;: {&#xd;
3731                                                             &quot;key&quot;: &quot;ipaddress-v4-oam&quot;,&#xd;
3732                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3733                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3734                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3735                                                             },&#xd;
3736                                                             &quot;optional&quot;: false&#xd;
3737                                                         }&#xd;
3738                                                     },&#xd;
3739                                                     {&#xd;
3740                                                         &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#xd;
3741                                                         &quot;value&quot;: {&#xd;
3742                                                             &quot;key&quot;: &quot;ipaddress-v6-oam&quot;,&#xd;
3743                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3744                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3745                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3746                                                             },&#xd;
3747                                                             &quot;optional&quot;: false&#xd;
3748                                                         }&#xd;
3749                                                     },&#xd;
3750                                                     {&#xd;
3751                                                         &quot;key&quot;: &quot;management-option&quot;,&#xd;
3752                                                         &quot;value&quot;: {&#xd;
3753                                                             &quot;key&quot;: &quot;management-option&quot;,&#xd;
3754                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3755                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3756                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3757                                                             },&#xd;
3758                                                             &quot;optional&quot;: false&#xd;
3759                                                         }&#xd;
3760                                                     },&#xd;
3761                                                     {&#xd;
3762                                                         &quot;key&quot;: &quot;pnf-id&quot;,&#xd;
3763                                                         &quot;value&quot;: {&#xd;
3764                                                             &quot;key&quot;: &quot;pnf-id&quot;,&#xd;
3765                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3766                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3767                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3768                                                             },&#xd;
3769                                                             &quot;optional&quot;: false&#xd;
3770                                                         }&#xd;
3771                                                     },&#xd;
3772                                                     {&#xd;
3773                                                         &quot;key&quot;: &quot;pnf-name&quot;,&#xd;
3774                                                         &quot;value&quot;: {&#xd;
3775                                                             &quot;key&quot;: &quot;pnf-name&quot;,&#xd;
3776                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3777                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3778                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3779                                                             },&#xd;
3780                                                             &quot;optional&quot;: false&#xd;
3781                                                         }&#xd;
3782                                                     },&#xd;
3783                                                     {&#xd;
3784                                                         &quot;key&quot;: &quot;pnf-name2&quot;,&#xd;
3785                                                         &quot;value&quot;: {&#xd;
3786                                                             &quot;key&quot;: &quot;pnf-name2&quot;,&#xd;
3787                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3788                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3789                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3790                                                             },&#xd;
3791                                                             &quot;optional&quot;: false&#xd;
3792                                                         }&#xd;
3793                                                     },&#xd;
3794                                                     {&#xd;
3795                                                         &quot;key&quot;: &quot;resource-version&quot;,&#xd;
3796                                                         &quot;value&quot;: {&#xd;
3797                                                             &quot;key&quot;: &quot;resource-version&quot;,&#xd;
3798                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3799                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
3800                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3801                                                             },&#xd;
3802                                                             &quot;optional&quot;: false&#xd;
3803                                                         }&#xd;
3804                                                     }&#xd;
3805                                                 ]&#xd;
3806                                             },&#xd;
3807                                             &quot;toscaPolicyState&quot;: &quot;&quot;&#xd;
3808                                         }&#xd;
3809                                     },&#xd;
3810                                     {&#xd;
3811                                         &quot;key&quot;: {&#xd;
3812                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
3813                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3814                                         },&#xd;
3815                                         &quot;value&quot;: {&#xd;
3816                                             &quot;key&quot;: {&#xd;
3817                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
3818                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3819                                             },&#xd;
3820                                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
3821                                             &quot;source&quot;: &quot;CDS&quot;,&#xd;
3822                                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
3823                                             &quot;parameter&quot;: {&#xd;
3824                                                 &quot;entry&quot;: [&#xd;
3825                                                     {&#xd;
3826                                                         &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3827                                                         &quot;value&quot;: {&#xd;
3828                                                             &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3829                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3830                                                                 &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
3831                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3832                                                             },&#xd;
3833                                                             &quot;optional&quot;: false&#xd;
3834                                                         }&#xd;
3835                                                     },&#xd;
3836                                                     {&#xd;
3837                                                         &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3838                                                         &quot;value&quot;: {&#xd;
3839                                                             &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3840                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3841                                                                 &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
3842                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3843                                                             },&#xd;
3844                                                             &quot;optional&quot;: false&#xd;
3845                                                         }&#xd;
3846                                                     },&#xd;
3847                                                     {&#xd;
3848                                                         &quot;key&quot;: &quot;payload&quot;,&#xd;
3849                                                         &quot;value&quot;: {&#xd;
3850                                                             &quot;key&quot;: &quot;payload&quot;,&#xd;
3851                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3852                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
3853                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3854                                                             },&#xd;
3855                                                             &quot;optional&quot;: false&#xd;
3856                                                         }&#xd;
3857                                                     },&#xd;
3858                                                     {&#xd;
3859                                                         &quot;key&quot;: &quot;status&quot;,&#xd;
3860                                                         &quot;value&quot;: {&#xd;
3861                                                             &quot;key&quot;: &quot;status&quot;,&#xd;
3862                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3863                                                                 &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
3864                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3865                                                             },&#xd;
3866                                                             &quot;optional&quot;: false&#xd;
3867                                                         }&#xd;
3868                                                     }&#xd;
3869                                                 ]&#xd;
3870                                             },&#xd;
3871                                             &quot;toscaPolicyState&quot;: &quot;EXIT_FAILURE&quot;&#xd;
3872                                         }&#xd;
3873                                     },&#xd;
3874                                     {&#xd;
3875                                         &quot;key&quot;: {&#xd;
3876                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
3877                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3878                                         },&#xd;
3879                                         &quot;value&quot;: {&#xd;
3880                                             &quot;key&quot;: {&#xd;
3881                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
3882                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3883                                             },&#xd;
3884                                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
3885                                             &quot;source&quot;: &quot;APEX&quot;,&#xd;
3886                                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
3887                                             &quot;parameter&quot;: {&#xd;
3888                                                 &quot;entry&quot;: [&#xd;
3889                                                     {&#xd;
3890                                                         &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3891                                                         &quot;value&quot;: {&#xd;
3892                                                             &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3893                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3894                                                                 &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
3895                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3896                                                             },&#xd;
3897                                                             &quot;optional&quot;: false&#xd;
3898                                                         }&#xd;
3899                                                     },&#xd;
3900                                                     {&#xd;
3901                                                         &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3902                                                         &quot;value&quot;: {&#xd;
3903                                                             &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3904                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3905                                                                 &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
3906                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3907                                                             },&#xd;
3908                                                             &quot;optional&quot;: false&#xd;
3909                                                         }&#xd;
3910                                                     },&#xd;
3911                                                     {&#xd;
3912                                                         &quot;key&quot;: &quot;payload&quot;,&#xd;
3913                                                         &quot;value&quot;: {&#xd;
3914                                                             &quot;key&quot;: &quot;payload&quot;,&#xd;
3915                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3916                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
3917                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3918                                                             },&#xd;
3919                                                             &quot;optional&quot;: false&#xd;
3920                                                         }&#xd;
3921                                                     }&#xd;
3922                                                 ]&#xd;
3923                                             },&#xd;
3924                                             &quot;toscaPolicyState&quot;: &quot;&quot;&#xd;
3925                                         }&#xd;
3926                                     },&#xd;
3927                                     {&#xd;
3928                                         &quot;key&quot;: {&#xd;
3929                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
3930                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3931                                         },&#xd;
3932                                         &quot;value&quot;: {&#xd;
3933                                             &quot;key&quot;: {&#xd;
3934                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent&quot;,&#xd;
3935                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3936                                             },&#xd;
3937                                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
3938                                             &quot;source&quot;: &quot;CDS&quot;,&#xd;
3939                                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
3940                                             &quot;parameter&quot;: {&#xd;
3941                                                 &quot;entry&quot;: [&#xd;
3942                                                     {&#xd;
3943                                                         &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3944                                                         &quot;value&quot;: {&#xd;
3945                                                             &quot;key&quot;: &quot;actionIdentifiers&quot;,&#xd;
3946                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3947                                                                 &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
3948                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3949                                                             },&#xd;
3950                                                             &quot;optional&quot;: false&#xd;
3951                                                         }&#xd;
3952                                                     },&#xd;
3953                                                     {&#xd;
3954                                                         &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3955                                                         &quot;value&quot;: {&#xd;
3956                                                             &quot;key&quot;: &quot;commonHeader&quot;,&#xd;
3957                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3958                                                                 &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
3959                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3960                                                             },&#xd;
3961                                                             &quot;optional&quot;: false&#xd;
3962                                                         }&#xd;
3963                                                     },&#xd;
3964                                                     {&#xd;
3965                                                         &quot;key&quot;: &quot;payload&quot;,&#xd;
3966                                                         &quot;value&quot;: {&#xd;
3967                                                             &quot;key&quot;: &quot;payload&quot;,&#xd;
3968                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3969                                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
3970                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3971                                                             },&#xd;
3972                                                             &quot;optional&quot;: false&#xd;
3973                                                         }&#xd;
3974                                                     },&#xd;
3975                                                     {&#xd;
3976                                                         &quot;key&quot;: &quot;status&quot;,&#xd;
3977                                                         &quot;value&quot;: {&#xd;
3978                                                             &quot;key&quot;: &quot;status&quot;,&#xd;
3979                                                             &quot;fieldSchemaKey&quot;: {&#xd;
3980                                                                 &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
3981                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3982                                                             },&#xd;
3983                                                             &quot;optional&quot;: false&#xd;
3984                                                         }&#xd;
3985                                                     }&#xd;
3986                                                 ]&#xd;
3987                                             },&#xd;
3988                                             &quot;toscaPolicyState&quot;: &quot;EXIT_SUCCESS&quot;&#xd;
3989                                         }&#xd;
3990                                     },&#xd;
3991                                     {&#xd;
3992                                         &quot;key&quot;: {&#xd;
3993                                             &quot;name&quot;: &quot;SimpleCL_LogStatusEvent&quot;,&#xd;
3994                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
3995                                         },&#xd;
3996                                         &quot;value&quot;: {&#xd;
3997                                             &quot;key&quot;: {&#xd;
3998                                                 &quot;name&quot;: &quot;SimpleCL_LogStatusEvent&quot;,&#xd;
3999                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4000                                             },&#xd;
4001                                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
4002                                             &quot;source&quot;: &quot;APEX&quot;,&#xd;
4003                                             &quot;target&quot;: &quot;DCAE&quot;,&#xd;
4004                                             &quot;parameter&quot;: {&#xd;
4005                                                 &quot;entry&quot;: [&#xd;
4006                                                     {&#xd;
4007                                                         &quot;key&quot;: &quot;message&quot;,&#xd;
4008                                                         &quot;value&quot;: {&#xd;
4009                                                             &quot;key&quot;: &quot;message&quot;,&#xd;
4010                                                             &quot;fieldSchemaKey&quot;: {&#xd;
4011                                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4012                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4013                                                             },&#xd;
4014                                                             &quot;optional&quot;: false&#xd;
4015                                                         }&#xd;
4016                                                     }&#xd;
4017                                                 ]&#xd;
4018                                             },&#xd;
4019                                             &quot;toscaPolicyState&quot;: &quot;&quot;&#xd;
4020                                         }&#xd;
4021                                     },&#xd;
4022                                     {&#xd;
4023                                         &quot;key&quot;: {&#xd;
4024                                             &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
4025                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4026                                         },&#xd;
4027                                         &quot;value&quot;: {&#xd;
4028                                             &quot;key&quot;: {&#xd;
4029                                                 &quot;name&quot;: &quot;SimpleCL_VesEvent&quot;,&#xd;
4030                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4031                                             },&#xd;
4032                                             &quot;nameSpace&quot;: &quot;org.onap.policy.apex.simplecontrolloop&quot;,&#xd;
4033                                             &quot;source&quot;: &quot;DCAE&quot;,&#xd;
4034                                             &quot;target&quot;: &quot;APEX&quot;,&#xd;
4035                                             &quot;parameter&quot;: {&#xd;
4036                                                 &quot;entry&quot;: [&#xd;
4037                                                     {&#xd;
4038                                                         &quot;key&quot;: &quot;event&quot;,&#xd;
4039                                                         &quot;value&quot;: {&#xd;
4040                                                             &quot;key&quot;: &quot;event&quot;,&#xd;
4041                                                             &quot;fieldSchemaKey&quot;: {&#xd;
4042                                                                 &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
4043                                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4044                                                             },&#xd;
4045                                                             &quot;optional&quot;: false&#xd;
4046                                                         }&#xd;
4047                                                     }&#xd;
4048                                                 ]&#xd;
4049                                             },&#xd;
4050                                             &quot;toscaPolicyState&quot;: &quot;ENTRY&quot;&#xd;
4051                                         }&#xd;
4052                                     }&#xd;
4053                                 ]&#xd;
4054                             }&#xd;
4055                         },&#xd;
4056                         &quot;albums&quot;: {&#xd;
4057                             &quot;key&quot;: {&#xd;
4058                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Albums&quot;,&#xd;
4059                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4060                             },&#xd;
4061                             &quot;albums&quot;: {&#xd;
4062                                 &quot;entry&quot;: [&#xd;
4063                                     {&#xd;
4064                                         &quot;key&quot;: {&#xd;
4065                                             &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
4066                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4067                                         },&#xd;
4068                                         &quot;value&quot;: {&#xd;
4069                                             &quot;key&quot;: {&#xd;
4070                                                 &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbum&quot;,&#xd;
4071                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4072                                             },&#xd;
4073                                             &quot;scope&quot;: &quot;policy&quot;,&#xd;
4074                                             &quot;isWritable&quot;: true,&#xd;
4075                                             &quot;itemSchema&quot;: {&#xd;
4076                                                 &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
4077                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4078                                             }&#xd;
4079                                         }&#xd;
4080                                     }&#xd;
4081                                 ]&#xd;
4082                             }&#xd;
4083                         },&#xd;
4084                         &quot;schemas&quot;: {&#xd;
4085                             &quot;key&quot;: {&#xd;
4086                                 &quot;name&quot;: &quot;onap.policies.apex.Simplecontrolloop_Schemas&quot;,&#xd;
4087                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4088                             },&#xd;
4089                             &quot;schemas&quot;: {&#xd;
4090                                 &quot;entry&quot;: [&#xd;
4091                                     {&#xd;
4092                                         &quot;key&quot;: {&#xd;
4093                                             &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
4094                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4095                                         },&#xd;
4096                                         &quot;value&quot;: {&#xd;
4097                                             &quot;key&quot;: {&#xd;
4098                                                 &quot;name&quot;: &quot;SimpleBooleanType&quot;,&#xd;
4099                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4100                                             },&#xd;
4101                                             &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
4102                                             &quot;schemaDefinition&quot;: &quot;java.lang.Boolean&quot;&#xd;
4103                                         }&#xd;
4104                                     },&#xd;
4105                                     {&#xd;
4106                                         &quot;key&quot;: {&#xd;
4107                                             &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
4108                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4109                                         },&#xd;
4110                                         &quot;value&quot;: {&#xd;
4111                                             &quot;key&quot;: {&#xd;
4112                                                 &quot;name&quot;: &quot;SimpleCL_AAIRequestErrorType&quot;,&#xd;
4113                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4114                                             },&#xd;
4115                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4116                                             &quot;schemaDefinition&quot;: &quot;{\n  \&quot;name\&quot;: \&quot;AAIRequestErrorType\&quot;,\n  \&quot;type\&quot;: \&quot;record\&quot;,\n  \&quot;fields\&quot;: [\n    {\n      \&quot;name\&quot;: \&quot;serviceException\&quot;,\n      \&quot;type\&quot;: {\n        \&quot;name\&quot;: \&quot;serviceException\&quot;,\n        \&quot;type\&quot;: \&quot;record\&quot;,\n        \&quot;fields\&quot;: [\n          {\n            \&quot;name\&quot;: \&quot;messageId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;text\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;variables\&quot;,\n            \&quot;type\&quot;: {\n              \&quot;type\&quot;: \&quot;array\&quot;,\n              \&quot;items\&quot;: \&quot;string\&quot;\n            }\n          }\n        ]\n      }\n    }\n  ]\n}&quot;&#xd;
4117                                         }&#xd;
4118                                     },&#xd;
4119                                     {&#xd;
4120                                         &quot;key&quot;: {&#xd;
4121                                             &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
4122                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4123                                         },&#xd;
4124                                         &quot;value&quot;: {&#xd;
4125                                             &quot;key&quot;: {&#xd;
4126                                                 &quot;name&quot;: &quot;SimpleCL_CDSActionIdentifiersType&quot;,&#xd;
4127                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4128                                             },&#xd;
4129                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4130                                             &quot;schemaDefinition&quot;: &quot;{\n    \&quot;type\&quot;: \&quot;record\&quot;,\n    \&quot;name\&quot;: \&quot;CDSActionIdentifiers_Type\&quot;,\n    \&quot;fields\&quot;: [\n        {\n            \&quot;name\&quot;: \&quot;actionName\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;blueprintName\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;blueprintVersion\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;mode\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        }\n    ]\n}&quot;&#xd;
4131                                         }&#xd;
4132                                     },&#xd;
4133                                     {&#xd;
4134                                         &quot;key&quot;: {&#xd;
4135                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
4136                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4137                                         },&#xd;
4138                                         &quot;value&quot;: {&#xd;
4139                                             &quot;key&quot;: {&#xd;
4140                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyRequestPayloadType&quot;,&#xd;
4141                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4142                                             },&#xd;
4143                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4144                                             &quot;schemaDefinition&quot;: &quot;{\n  \&quot;type\&quot;: \&quot;map\&quot;,\n  \&quot;values\&quot;: {\n    \&quot;type\&quot;: \&quot;record\&quot;,\n    \&quot;name\&quot;: \&quot;CDSConfigModifyRequestPayloadEntry\&quot;,\n    \&quot;fields\&quot;: [\n      {\n        \&quot;name\&quot;: \&quot;hostname\&quot;,\n        \&quot;type\&quot;: \&quot;string\&quot;\n      },\n      {\n        \&quot;name\&quot;: \&quot;IP\&quot;,\n        \&quot;type\&quot;: \&quot;string\&quot;\n      },\n      {\n        \&quot;name\&quot;: \&quot;pnfName\&quot;,\n        \&quot;type\&quot;: \&quot;string\&quot;\n      }\n    ]\n  }\n}&quot;&#xd;
4145                                         }&#xd;
4146                                     },&#xd;
4147                                     {&#xd;
4148                                         &quot;key&quot;: {&#xd;
4149                                             &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
4150                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4151                                         },&#xd;
4152                                         &quot;value&quot;: {&#xd;
4153                                             &quot;key&quot;: {&#xd;
4154                                                 &quot;name&quot;: &quot;SimpleCL_CDSConfigModifyResponsePayloadType&quot;,&#xd;
4155                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4156                                             },&#xd;
4157                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4158                                             &quot;schemaDefinition&quot;: &quot;{\n  \&quot;name\&quot;: \&quot;CDSConfigResponsePayloadEntry\&quot;,\n  \&quot;type\&quot;: \&quot;record\&quot;,\n  \&quot;fields\&quot;: [\n    {\n      \&quot;name\&quot;: \&quot;update_DasH_config_DasH_response\&quot;,\n      \&quot;type\&quot;: {\n        \&quot;name\&quot;: \&quot;update_DasH_config_DasH_response\&quot;,\n        \&quot;type\&quot;: \&quot;record\&quot;,\n        \&quot;fields\&quot;: [\n          {\n              \&quot;name\&quot;: \&quot;execute_DasH_command_DasH_logs\&quot;,\n              \&quot;type\&quot;: {\n                \&quot;type\&quot;: \&quot;array\&quot;,\n                \&quot;items\&quot;: \&quot;string\&quot;\n              }\n          },\n          {\n              \&quot;name\&quot;: \&quot;prepare_DasH_environment_DasH_logs\&quot;,\n              \&quot;type\&quot;: {\n                \&quot;type\&quot;: \&quot;array\&quot;,\n                \&quot;items\&quot;: \&quot;string\&quot;\n              }\n          }\n        ]\n      }\n    }\n  ]\n}&quot;&#xd;
4159                                         }&#xd;
4160                                     },&#xd;
4161                                     {&#xd;
4162                                         &quot;key&quot;: {&#xd;
4163                                             &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
4164                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4165                                         },&#xd;
4166                                         &quot;value&quot;: {&#xd;
4167                                             &quot;key&quot;: {&#xd;
4168                                                 &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseCommonHeaderType&quot;,&#xd;
4169                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4170                                             },&#xd;
4171                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4172                                             &quot;schemaDefinition&quot;: &quot;{\n    \&quot;type\&quot;: \&quot;record\&quot;,\n    \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n    \&quot;fields\&quot;: [\n        {\n            \&quot;name\&quot;: \&quot;originatorId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;requestId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;timestamp\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        }\n    ]\n}&quot;&#xd;
4173                                         }&#xd;
4174                                     },&#xd;
4175                                     {&#xd;
4176                                         &quot;key&quot;: {&#xd;
4177                                             &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
4178                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4179                                         },&#xd;
4180                                         &quot;value&quot;: {&#xd;
4181                                             &quot;key&quot;: {&#xd;
4182                                                 &quot;name&quot;: &quot;SimpleCL_CDSFailureResponseStatusType&quot;,&#xd;
4183                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4184                                             },&#xd;
4185                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4186                                             &quot;schemaDefinition&quot;: &quot;{\n    \&quot;type\&quot;: \&quot;record\&quot;,\n    \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n    \&quot;fields\&quot;: [\n        {\n            \&quot;name\&quot;: \&quot;code\&quot;,\n            \&quot;type\&quot;: \&quot;int\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;timestamp\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;message\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;errorMessage\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        }\n    ]\n}&quot;&#xd;
4187                                         }&#xd;
4188                                     },&#xd;
4189                                     {&#xd;
4190                                         &quot;key&quot;: {&#xd;
4191                                             &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
4192                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4193                                         },&#xd;
4194                                         &quot;value&quot;: {&#xd;
4195                                             &quot;key&quot;: {&#xd;
4196                                                 &quot;name&quot;: &quot;SimpleCL_CDSRequestCommonHeaderType&quot;,&#xd;
4197                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4198                                             },&#xd;
4199                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4200                                             &quot;schemaDefinition&quot;: &quot;{\n    \&quot;type\&quot;: \&quot;record\&quot;,\n    \&quot;name\&quot;: \&quot;CDSRequestCommonHeader_Type\&quot;,\n    \&quot;fields\&quot;: [\n        {\n            \&quot;name\&quot;: \&quot;originatorId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;requestId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        }\n    ]\n}&quot;&#xd;
4201                                         }&#xd;
4202                                     },&#xd;
4203                                     {&#xd;
4204                                         &quot;key&quot;: {&#xd;
4205                                             &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
4206                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4207                                         },&#xd;
4208                                         &quot;value&quot;: {&#xd;
4209                                             &quot;key&quot;: {&#xd;
4210                                                 &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseCommonHeaderType&quot;,&#xd;
4211                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4212                                             },&#xd;
4213                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4214                                             &quot;schemaDefinition&quot;: &quot;{\n    \&quot;type\&quot;: \&quot;record\&quot;,\n    \&quot;name\&quot;: \&quot;CDSResponseCommonHeader_Type\&quot;,\n    \&quot;fields\&quot;: [\n        {\n            \&quot;name\&quot;: \&quot;originatorId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;requestId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;subRequestId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;timestamp\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        }\n    ]\n}&quot;&#xd;
4215                                         }&#xd;
4216                                     },&#xd;
4217                                     {&#xd;
4218                                         &quot;key&quot;: {&#xd;
4219                                             &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
4220                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4221                                         },&#xd;
4222                                         &quot;value&quot;: {&#xd;
4223                                             &quot;key&quot;: {&#xd;
4224                                                 &quot;name&quot;: &quot;SimpleCL_CDSSuccessResponseStatusType&quot;,&#xd;
4225                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4226                                             },&#xd;
4227                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4228                                             &quot;schemaDefinition&quot;: &quot;{\n    \&quot;type\&quot;: \&quot;record\&quot;,\n    \&quot;name\&quot;: \&quot;CDSResponseStatus_Type\&quot;,\n    \&quot;fields\&quot;: [\n        {\n            \&quot;name\&quot;: \&quot;code\&quot;,\n            \&quot;type\&quot;: \&quot;int\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;eventType\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;timestamp\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        },\n        {\n            \&quot;name\&quot;: \&quot;message\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n        }\n    ]\n}&quot;&#xd;
4229                                         }&#xd;
4230                                     },&#xd;
4231                                     {&#xd;
4232                                         &quot;key&quot;: {&#xd;
4233                                             &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
4234                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4235                                         },&#xd;
4236                                         &quot;value&quot;: {&#xd;
4237                                             &quot;key&quot;: {&#xd;
4238                                                 &quot;name&quot;: &quot;SimpleCL_EventDetailsAlbumType&quot;,&#xd;
4239                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4240                                             },&#xd;
4241                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4242                                             &quot;schemaDefinition&quot;: &quot;{\n  \&quot;name\&quot;: \&quot;eventDetails\&quot;,\n  \&quot;type\&quot;: \&quot;record\&quot;,\n  \&quot;fields\&quot;: [\n    {\n      \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n      \&quot;type\&quot;: {\n        \&quot;name\&quot;: \&quot;commonEventHeader\&quot;,\n        \&quot;type\&quot;: \&quot;record\&quot;,\n        \&quot;fields\&quot;: [\n          {\n            \&quot;name\&quot;: \&quot;domain\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;eventId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;eventName\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;lastEpochMicrosec\&quot;,\n            \&quot;type\&quot;: \&quot;long\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;priority\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;reportingEntityName\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;sequence\&quot;,\n            \&quot;type\&quot;: \&quot;int\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;sourceId\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;sourceName\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;startEpochMicrosec\&quot;,\n            \&quot;type\&quot;: \&quot;long\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;timeZoneOffset\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;version\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;internalHeaderFields\&quot;,\n            \&quot;type\&quot;: {\n              \&quot;name\&quot;: \&quot;internalHeaderFields\&quot;,\n              \&quot;type\&quot;: \&quot;record\&quot;,\n              \&quot;fields\&quot;: []\n            }\n          },\n          {\n            \&quot;name\&quot;: \&quot;vesEventListenerVersion\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          }\n        ]\n      }\n    },\n    {\n      \&quot;name\&quot;: \&quot;otherFields\&quot;,\n      \&quot;type\&quot;: {\n        \&quot;name\&quot;: \&quot;otherFields\&quot;,\n        \&quot;type\&quot;: \&quot;record\&quot;,\n        \&quot;fields\&quot;: [\n          {\n            \&quot;name\&quot;: \&quot;hashMap\&quot;,\n            \&quot;type\&quot;: {\n              \&quot;name\&quot;: \&quot;hashMap\&quot;,\n              \&quot;type\&quot;: \&quot;record\&quot;,\n              \&quot;fields\&quot;: [\n                {\n                  \&quot;name\&quot;: \&quot;hostname\&quot;,\n                  \&quot;type\&quot;: \&quot;string\&quot;\n                },\n                {\n                  \&quot;name\&quot;: \&quot;pnfName\&quot;,\n                  \&quot;type\&quot;: \&quot;string\&quot;\n                },\n                {\n                  \&quot;name\&quot;: \&quot;pnfId\&quot;,\n                  \&quot;type\&quot;: \&quot;string\&quot;\n                },\n                {\n                  \&quot;name\&quot;: \&quot;ip\&quot;,\n                  \&quot;type\&quot;: \&quot;string\&quot;\n                }\n              ]\n            }\n          },\n          {\n            \&quot;name\&quot;: \&quot;otherFieldsVersion\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          }\n        ]\n      }\n    },\n    {\n      \&quot;name\&quot;: \&quot;target\&quot;,\n      \&quot;type\&quot;: {\n        \&quot;name\&quot;: \&quot;target\&quot;,\n        \&quot;type\&quot;: \&quot;record\&quot;,\n        \&quot;fields\&quot;: [\n          {\n            \&quot;name\&quot;: \&quot;targetType\&quot;,\n            \&quot;type\&quot;: \&quot;string\&quot;\n          },\n          {\n            \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n            \&quot;type\&quot;: {\n              \&quot;name\&quot;: \&quot;entityInfo\&quot;,\n              \&quot;type\&quot;: \&quot;record\&quot;,\n              \&quot;fields\&quot;: [\n                {\n                  \&quot;name\&quot;: \&quot;name\&quot;,\n                  \&quot;type\&quot;: \&quot;string\&quot;\n                }\n              ]\n            }\n          }\n        ]\n      }\n    },\n    {\n      \&quot;name\&quot;: \&quot;generatedHostname\&quot;,\n      \&quot;type\&quot;: \&quot;string\&quot;\n    }\n  ]\n}&quot;&#xd;
4243                                         }&#xd;
4244                                     },&#xd;
4245                                     {&#xd;
4246                                         &quot;key&quot;: {&#xd;
4247                                             &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
4248                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4249                                         },&#xd;
4250                                         &quot;value&quot;: {&#xd;
4251                                             &quot;key&quot;: {&#xd;
4252                                                 &quot;name&quot;: &quot;SimpleCL_VesEventType&quot;,&#xd;
4253                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4254                                             },&#xd;
4255                                             &quot;schemaFlavour&quot;: &quot;Avro&quot;,&#xd;
4256                                             &quot;schemaDefinition&quot;: &quot;{\n   \&quot;name\&quot;:\&quot;event\&quot;,\n   \&quot;type\&quot;:\&quot;record\&quot;,\n   \&quot;fields\&quot;:[\n      {\n         \&quot;name\&quot;:\&quot;commonEventHeader\&quot;,\n         \&quot;type\&quot;:{\n            \&quot;name\&quot;:\&quot;commonEventHeader\&quot;,\n            \&quot;type\&quot;:\&quot;record\&quot;,\n            \&quot;fields\&quot;:[\n               {\n                  \&quot;name\&quot;:\&quot;domain\&quot;,\n                  \&quot;type\&quot;:\&quot;string\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;eventId\&quot;,\n                  \&quot;type\&quot;:\&quot;string\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;eventName\&quot;,\n                  \&quot;type\&quot;:\&quot;string\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;lastEpochMicrosec\&quot;,\n                  \&quot;type\&quot;:\&quot;long\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;priority\&quot;,\n                  \&quot;type\&quot;:\&quot;string\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;reportingEntityName\&quot;,\n                  \&quot;type\&quot;:\&quot;string\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;sequence\&quot;,\n                  \&quot;type\&quot;:\&quot;int\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;sourceId\&quot;,\n                  \&quot;type\&quot;:\&quot;string\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;sourceName\&quot;,\n                  \&quot;type\&quot;:\&quot;string\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;startEpochMicrosec\&quot;,\n                  \&quot;type\&quot;:\&quot;long\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;version\&quot;,\n                  \&quot;type\&quot;:\&quot;string\&quot;\n               },\n               {\n                  \&quot;name\&quot;:\&quot;internalHeaderFields\&quot;,\n                  \&quot;type\&quot;:{\n                     \&quot;name\&quot;:\&quot;internalHeaderFields\&quot;,\n                     \&quot;type\&quot;:\&quot;record\&quot;,\n                     \&quot;fields\&quot;:[\n\n                     ]\n                  }\n               },\n               {\n                  \&quot;name\&quot;:\&quot;vesEventListenerVersion\&quot;,\n                  \&quot;type\&quot;:\&quot;string\&quot;\n               }\n            ]\n         }\n      },\n      {\n         \&quot;name\&quot;:\&quot;otherFields\&quot;,\n         \&quot;type\&quot;:{\n            \&quot;name\&quot;:\&quot;otherFields\&quot;,\n            \&quot;type\&quot;:\&quot;record\&quot;,\n            \&quot;fields\&quot;:[\n               {\n                  \&quot;name\&quot;:\&quot;hashMap\&quot;,\n                  \&quot;type\&quot;:{\n                     \&quot;name\&quot;:\&quot;hashMap\&quot;,\n                     \&quot;type\&quot;:\&quot;record\&quot;,\n                     \&quot;fields\&quot;:[\n                        {\n                           \&quot;name\&quot;:\&quot;hostname\&quot;,\n                           \&quot;type\&quot;:\&quot;string\&quot;\n                        },\n                        {\n                           \&quot;name\&quot;:\&quot;pnfName\&quot;,\n                           \&quot;type\&quot;:\&quot;string\&quot;\n                        },\n                        {\n                           \&quot;name\&quot;:\&quot;pnfId\&quot;,\n                           \&quot;type\&quot;:\&quot;string\&quot;\n                        },\n                        {\n                           \&quot;name\&quot;:\&quot;ip\&quot;,\n                           \&quot;type\&quot;:\&quot;string\&quot;\n                        }\n                     ]\n                  }\n               },\n               {\n                  \&quot;name\&quot;:\&quot;otherFieldsVersion\&quot;,\n                  \&quot;type\&quot;:\&quot;string\&quot;\n               }\n            ]\n         }\n      }\n   ]\n}&quot;&#xd;
4257                                         }&#xd;
4258                                     },&#xd;
4259                                     {&#xd;
4260                                         &quot;key&quot;: {&#xd;
4261                                             &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
4262                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4263                                         },&#xd;
4264                                         &quot;value&quot;: {&#xd;
4265                                             &quot;key&quot;: {&#xd;
4266                                                 &quot;name&quot;: &quot;SimpleLongType&quot;,&#xd;
4267                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4268                                             },&#xd;
4269                                             &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
4270                                             &quot;schemaDefinition&quot;: &quot;java.lang.Long&quot;&#xd;
4271                                         }&#xd;
4272                                     },&#xd;
4273                                     {&#xd;
4274                                         &quot;key&quot;: {&#xd;
4275                                             &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4276                                             &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4277                                         },&#xd;
4278                                         &quot;value&quot;: {&#xd;
4279                                             &quot;key&quot;: {&#xd;
4280                                                 &quot;name&quot;: &quot;SimpleStringType&quot;,&#xd;
4281                                                 &quot;version&quot;: &quot;0.0.1&quot;&#xd;
4282                                             },&#xd;
4283                                             &quot;schemaFlavour&quot;: &quot;Java&quot;,&#xd;
4284                                             &quot;schemaDefinition&quot;: &quot;java.lang.String&quot;&#xd;
4285                                         }&#xd;
4286                                     }&#xd;
4287                                 ]&#xd;
4288                             }&#xd;
4289                         }&#xd;
4290                     }&#xd;
4291                 }&#xd;
4292             }&#xd;
4293         }&#xd;
4294     }&#xd;
4295 }</stringProp>
4296                 <stringProp name="Argument.metadata">=</stringProp>
4297               </elementProp>
4298             </collectionProp>
4299           </elementProp>
4300           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
4301           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
4302           <stringProp name="HTTPSampler.protocol">https</stringProp>
4303           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
4304           <stringProp name="HTTPSampler.path">/policy/api/v1/nodetemplates</stringProp>
4305           <stringProp name="HTTPSampler.method">POST</stringProp>
4306           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
4307           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
4308           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
4309           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
4310           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
4311           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
4312           <stringProp name="HTTPSampler.response_timeout"></stringProp>
4313         </HTTPSamplerProxy>
4314         <hashTree>
4315           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
4316             <collectionProp name="Asserion.test_strings">
4317               <stringProp name="49586">200</stringProp>
4318             </collectionProp>
4319             <stringProp name="Assertion.custom_message"></stringProp>
4320             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
4321             <boolProp name="Assertion.assume_success">false</boolProp>
4322             <intProp name="Assertion.test_type">1</intProp>
4323           </ResponseAssertion>
4324           <hashTree/>
4325           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
4326             <stringProp name="scriptLanguage">groovy</stringProp>
4327             <stringProp name="parameters"></stringProp>
4328             <stringProp name="filename"></stringProp>
4329             <stringProp name="cacheKey">true</stringProp>
4330             <stringProp name="script">import groovy.json.JsonSlurper;
4331
4332 def res = [];
4333 if (prev.getResponseCode() == &apos;200&apos;) {
4334     def jsonSlurper = new JsonSlurper();
4335     res = jsonSlurper.parseText(prev.getResponseDataAsString());
4336
4337     assert res instanceof Map;
4338     assert res.node_types instanceof Map;
4339     assert res.topology_template instanceof Map;
4340     assert res.topology_template.node_templates instanceof Map;
4341     assert res.topology_template.node_templates.get(&quot;apex.metadata.pnf&quot;).version == &quot;6.0.${__threadNum}&quot;;
4342 }</stringProp>
4343           </JSR223Assertion>
4344           <hashTree/>
4345         </hashTree>
4346         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Monitoring" enabled="true">
4347           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
4348           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
4349             <collectionProp name="Arguments.arguments">
4350               <elementProp name="" elementType="HTTPArgument">
4351                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
4352                 <stringProp name="Argument.value">{&#xd;
4353     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
4354     &quot;topology_template&quot;: {&#xd;
4355         &quot;policies&quot;: [&#xd;
4356             {&#xd;
4357                 &quot;onap.restart.tca&quot;: {&#xd;
4358                     &quot;type&quot;: &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;,&#xd;
4359                     &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
4360                     &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
4361                     &quot;metadata&quot;: {&#xd;
4362                         &quot;policy-id&quot;: &quot;onap.restart.tca&quot;&#xd;
4363                     },&#xd;
4364                     &quot;properties&quot;: {&#xd;
4365                         &quot;tca_policy&quot;: {&#xd;
4366                             &quot;domain&quot;: &quot;measurementsForVfScaling&quot;,&#xd;
4367                             &quot;metricsPerEventName&quot;: [&#xd;
4368                                 {&#xd;
4369                                     &quot;eventName&quot;: &quot;Measurement_vGMUX&quot;,&#xd;
4370                                     &quot;controlLoopSchemaType&quot;: &quot;VNF&quot;,&#xd;
4371                                     &quot;policyScope&quot;: &quot;DCAE&quot;,&#xd;
4372                                     &quot;policyName&quot;: &quot;DCAE.Config_tca-hi-lo&quot;,&#xd;
4373                                     &quot;policyVersion&quot;: &quot;v0.0.1&quot;,&#xd;
4374                                     &quot;thresholds&quot;: [&#xd;
4375                                         {&#xd;
4376                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
4377                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
4378                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
4379                                             &quot;thresholdValue&quot;: 0,&#xd;
4380                                             &quot;direction&quot;: &quot;EQUAL&quot;,&#xd;
4381                                             &quot;severity&quot;: &quot;MAJOR&quot;,&#xd;
4382                                             &quot;closedLoopEventStatus&quot;: &quot;ABATED&quot;&#xd;
4383                                         },&#xd;
4384                                         {&#xd;
4385                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
4386                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
4387                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
4388                                             &quot;thresholdValue&quot;: 0,&#xd;
4389                                             &quot;direction&quot;: &quot;GREATER&quot;,&#xd;
4390                                             &quot;severity&quot;: &quot;CRITICAL&quot;,&#xd;
4391                                             &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;&#xd;
4392                                         }&#xd;
4393                                     ]&#xd;
4394                                 }&#xd;
4395                             ]&#xd;
4396                         }&#xd;
4397                     }&#xd;
4398                 }&#xd;
4399             }&#xd;
4400         ]&#xd;
4401     }&#xd;
4402 }</stringProp>
4403                 <stringProp name="Argument.metadata">=</stringProp>
4404               </elementProp>
4405             </collectionProp>
4406           </elementProp>
4407           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
4408           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
4409           <stringProp name="HTTPSampler.protocol">https</stringProp>
4410           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
4411           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies</stringProp>
4412           <stringProp name="HTTPSampler.method">POST</stringProp>
4413           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
4414           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
4415           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
4416           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
4417           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
4418           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
4419           <stringProp name="HTTPSampler.response_timeout"></stringProp>
4420         </HTTPSamplerProxy>
4421         <hashTree>
4422           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
4423             <collectionProp name="Asserion.test_strings">
4424               <stringProp name="49586">200</stringProp>
4425             </collectionProp>
4426             <stringProp name="Assertion.custom_message"></stringProp>
4427             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
4428             <boolProp name="Assertion.assume_success">false</boolProp>
4429             <intProp name="Assertion.test_type">1</intProp>
4430           </ResponseAssertion>
4431           <hashTree/>
4432           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
4433             <stringProp name="scriptLanguage">groovy</stringProp>
4434             <stringProp name="parameters"></stringProp>
4435             <stringProp name="filename"></stringProp>
4436             <stringProp name="cacheKey">true</stringProp>
4437             <stringProp name="script">import groovy.json.JsonSlurper;
4438
4439 def res = [];
4440 if (prev.getResponseCode() == &apos;200&apos;) {
4441     def jsonSlurper = new JsonSlurper();
4442     res = jsonSlurper.parseText(prev.getResponseDataAsString());
4443
4444     assert res instanceof Map;
4445     assert res.topology_template.policies instanceof List;
4446     assert res.topology_template.policies.size == 1;
4447     assert res.topology_template.policies[0] instanceof Map;
4448 }</stringProp>
4449           </JSR223Assertion>
4450           <hashTree/>
4451         </hashTree>
4452         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Monitoring V2" enabled="true">
4453           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
4454           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
4455             <collectionProp name="Arguments.arguments">
4456               <elementProp name="" elementType="HTTPArgument">
4457                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
4458                 <stringProp name="Argument.value">{&#xd;
4459     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
4460     &quot;topology_template&quot;: {&#xd;
4461         &quot;policies&quot;: [&#xd;
4462             {&#xd;
4463                 &quot;onap.restart.tca&quot;: {&#xd;
4464                     &quot;type&quot;: &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;,&#xd;
4465                     &quot;type_version&quot;: &quot;7.0.${__threadNum}&quot;,&#xd;
4466                     &quot;version&quot;: &quot;7.0.${__threadNum}&quot;,&#xd;
4467                     &quot;metadata&quot;: {&#xd;
4468                         &quot;policy-id&quot;: &quot;onap.restart.tca&quot;&#xd;
4469                     },&#xd;
4470                     &quot;properties&quot;: {&#xd;
4471                         &quot;tca_policy&quot;: {&#xd;
4472                             &quot;domain&quot;: &quot;measurementsForVfScaling&quot;,&#xd;
4473                             &quot;metricsPerEventName&quot;: [&#xd;
4474                                 {&#xd;
4475                                     &quot;eventName&quot;: &quot;Measurement_vGMUX&quot;,&#xd;
4476                                     &quot;controlLoopSchemaType&quot;: &quot;VNF&quot;,&#xd;
4477                                     &quot;policyScope&quot;: &quot;DCAE&quot;,&#xd;
4478                                     &quot;policyName&quot;: &quot;DCAE.Config_tca-hi-lo&quot;,&#xd;
4479                                     &quot;policyVersion&quot;: &quot;v0.0.1&quot;,&#xd;
4480                                     &quot;thresholds&quot;: [&#xd;
4481                                         {&#xd;
4482                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
4483                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
4484                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
4485                                             &quot;thresholdValue&quot;: 0,&#xd;
4486                                             &quot;direction&quot;: &quot;EQUAL&quot;,&#xd;
4487                                             &quot;severity&quot;: &quot;MAJOR&quot;,&#xd;
4488                                             &quot;closedLoopEventStatus&quot;: &quot;ABATED&quot;&#xd;
4489                                         },&#xd;
4490                                         {&#xd;
4491                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
4492                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
4493                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
4494                                             &quot;thresholdValue&quot;: 0,&#xd;
4495                                             &quot;direction&quot;: &quot;GREATER&quot;,&#xd;
4496                                             &quot;severity&quot;: &quot;CRITICAL&quot;,&#xd;
4497                                             &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;&#xd;
4498                                         }&#xd;
4499                                     ]&#xd;
4500                                 }&#xd;
4501                             ]&#xd;
4502                         }&#xd;
4503                     }&#xd;
4504                 }&#xd;
4505             }&#xd;
4506         ]&#xd;
4507     }&#xd;
4508 }</stringProp>
4509                 <stringProp name="Argument.metadata">=</stringProp>
4510               </elementProp>
4511             </collectionProp>
4512           </elementProp>
4513           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
4514           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
4515           <stringProp name="HTTPSampler.protocol">https</stringProp>
4516           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
4517           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies</stringProp>
4518           <stringProp name="HTTPSampler.method">POST</stringProp>
4519           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
4520           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
4521           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
4522           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
4523           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
4524           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
4525           <stringProp name="HTTPSampler.response_timeout"></stringProp>
4526         </HTTPSamplerProxy>
4527         <hashTree>
4528           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
4529             <collectionProp name="Asserion.test_strings">
4530               <stringProp name="49586">200</stringProp>
4531             </collectionProp>
4532             <stringProp name="Assertion.custom_message"></stringProp>
4533             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
4534             <boolProp name="Assertion.assume_success">false</boolProp>
4535             <intProp name="Assertion.test_type">1</intProp>
4536           </ResponseAssertion>
4537           <hashTree/>
4538           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
4539             <stringProp name="scriptLanguage">groovy</stringProp>
4540             <stringProp name="parameters"></stringProp>
4541             <stringProp name="filename"></stringProp>
4542             <stringProp name="cacheKey">true</stringProp>
4543             <stringProp name="script">import groovy.json.JsonSlurper;
4544
4545 def res = [];
4546 if (prev.getResponseCode() == &apos;200&apos;) {
4547     def jsonSlurper = new JsonSlurper();
4548     res = jsonSlurper.parseText(prev.getResponseDataAsString());
4549
4550     assert res instanceof Map;
4551     assert res.topology_template.policies instanceof List;
4552     assert res.topology_template.policies.size == 1;
4553     assert res.topology_template.policies[0] instanceof Map;
4554 }</stringProp>
4555           </JSR223Assertion>
4556           <hashTree/>
4557         </hashTree>
4558         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Optimization" enabled="true">
4559           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
4560           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
4561             <collectionProp name="Arguments.arguments">
4562               <elementProp name="" elementType="HTTPArgument">
4563                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
4564                 <stringProp name="Argument.value">{&#xd;
4565     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
4566     &quot;topology_template&quot;: {&#xd;
4567         &quot;policies&quot;: [&#xd;
4568             {&#xd;
4569                 &quot;OSDF_CASABLANCA.Affinity_Default&quot;: {&#xd;
4570                     &quot;type&quot;: &quot;onap.policies.optimization.resource.AffinityPolicy&quot;,&#xd;
4571                     &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
4572                     &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
4573                     &quot;metadata&quot;: {&#xd;
4574                         &quot;policy-id&quot;: &quot;OSDF_CASABLANCA.Affinity_Default&quot;,&#xd;
4575                         &quot;policy-version&quot;: 1&#xd;
4576                     },&#xd;
4577                     &quot;properties&quot;: {&#xd;
4578                         &quot;scope&quot;: [],&#xd;
4579                         &quot;services&quot;: [],&#xd;
4580                         &quot;resources&quot;: [],&#xd;
4581                         &quot;geography&quot;: [],&#xd;
4582                         &quot;identity&quot;: &quot;affinity_vCPE&quot;,&#xd;
4583                         &quot;applicableResources&quot;: &quot;any&quot;,&#xd;
4584                         &quot;affinityProperties&quot;: {&#xd;
4585                             &quot;qualifier&quot;: &quot;same&quot;,&#xd;
4586                             &quot;category&quot;: &quot;complex&quot;&#xd;
4587                         }&#xd;
4588                     }&#xd;
4589                 }&#xd;
4590             }&#xd;
4591         ]&#xd;
4592     }&#xd;
4593 }</stringProp>
4594                 <stringProp name="Argument.metadata">=</stringProp>
4595               </elementProp>
4596             </collectionProp>
4597           </elementProp>
4598           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
4599           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
4600           <stringProp name="HTTPSampler.protocol">https</stringProp>
4601           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
4602           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/2.0.0/policies</stringProp>
4603           <stringProp name="HTTPSampler.method">POST</stringProp>
4604           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
4605           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
4606           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
4607           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
4608           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
4609           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
4610           <stringProp name="HTTPSampler.response_timeout"></stringProp>
4611         </HTTPSamplerProxy>
4612         <hashTree>
4613           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
4614             <collectionProp name="Asserion.test_strings">
4615               <stringProp name="49586">200</stringProp>
4616             </collectionProp>
4617             <stringProp name="Assertion.custom_message"></stringProp>
4618             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
4619             <boolProp name="Assertion.assume_success">false</boolProp>
4620             <intProp name="Assertion.test_type">1</intProp>
4621           </ResponseAssertion>
4622           <hashTree/>
4623           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
4624             <stringProp name="scriptLanguage">groovy</stringProp>
4625             <stringProp name="parameters"></stringProp>
4626             <stringProp name="filename"></stringProp>
4627             <stringProp name="cacheKey">true</stringProp>
4628             <stringProp name="script">import groovy.json.JsonSlurper;
4629
4630 def res = [];
4631 if (prev.getResponseCode() == &apos;200&apos;) {
4632     def jsonSlurper = new JsonSlurper();
4633     res = jsonSlurper.parseText(prev.getResponseDataAsString());
4634
4635     assert res instanceof Map;
4636     assert res.topology_template.policies instanceof List;
4637     assert res.topology_template.policies.size == 1;
4638     assert res.topology_template.policies[0] instanceof Map;
4639 }</stringProp>
4640           </JSR223Assertion>
4641           <hashTree/>
4642         </hashTree>
4643         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Guard" enabled="true">
4644           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
4645           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
4646             <collectionProp name="Arguments.arguments">
4647               <elementProp name="" elementType="HTTPArgument">
4648                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
4649                 <stringProp name="Argument.value">{&#xd;
4650    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
4651    &quot;topology_template&quot;: {&#xd;
4652       &quot;policies&quot;: [&#xd;
4653          {&#xd;
4654             &quot;guard.blacklist.scaleout&quot;: {&#xd;
4655                &quot;type&quot;: &quot;onap.policies.controlloop.guard.common.Blacklist&quot;,&#xd;
4656                &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
4657                &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
4658                &quot;metadata&quot;: {&#xd;
4659                   &quot;policy-id&quot;: &quot;guard.blacklist.scaleout&quot;&#xd;
4660                },&#xd;
4661                &quot;properties&quot;: {&#xd;
4662                   &quot;actor&quot;: &quot;SO&quot;,&#xd;
4663                   &quot;operation&quot;: &quot;VF Module Create&quot;,&#xd;
4664                   &quot;id&quot;: &quot;ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3&quot;,&#xd;
4665                   &quot;blacklist&quot;: [&#xd;
4666                      &quot;the-vfmodule-where-root-is-true&quot;,&#xd;
4667                      &quot;another-vfmodule-where-root-is-true&quot;&#xd;
4668                   ]&#xd;
4669                }&#xd;
4670             }&#xd;
4671          }&#xd;
4672       ]&#xd;
4673    }&#xd;
4674 }</stringProp>
4675                 <stringProp name="Argument.metadata">=</stringProp>
4676               </elementProp>
4677             </collectionProp>
4678           </elementProp>
4679           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
4680           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
4681           <stringProp name="HTTPSampler.protocol">https</stringProp>
4682           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
4683           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.guard.common.Blacklist/versions/1.0.0/policies</stringProp>
4684           <stringProp name="HTTPSampler.method">POST</stringProp>
4685           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
4686           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
4687           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
4688           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
4689           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
4690           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
4691           <stringProp name="HTTPSampler.response_timeout"></stringProp>
4692         </HTTPSamplerProxy>
4693         <hashTree>
4694           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
4695             <collectionProp name="Asserion.test_strings">
4696               <stringProp name="49586">200</stringProp>
4697             </collectionProp>
4698             <stringProp name="Assertion.custom_message"></stringProp>
4699             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
4700             <boolProp name="Assertion.assume_success">false</boolProp>
4701             <intProp name="Assertion.test_type">1</intProp>
4702           </ResponseAssertion>
4703           <hashTree/>
4704           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
4705             <stringProp name="scriptLanguage">groovy</stringProp>
4706             <stringProp name="parameters"></stringProp>
4707             <stringProp name="filename"></stringProp>
4708             <stringProp name="cacheKey">true</stringProp>
4709             <stringProp name="script">import groovy.json.JsonSlurper;
4710
4711 def res = [];
4712 if (prev.getResponseCode() == &apos;200&apos;) {
4713     def jsonSlurper = new JsonSlurper();
4714     res = jsonSlurper.parseText(prev.getResponseDataAsString());
4715
4716     assert res instanceof Map;
4717     assert res.topology_template.policies instanceof List;
4718     assert res.topology_template.policies.size == 1;
4719     assert res.topology_template.policies[0] instanceof Map;
4720 }</stringProp>
4721           </JSR223Assertion>
4722           <hashTree/>
4723         </hashTree>
4724         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Native APEX" enabled="true">
4725           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
4726           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
4727             <collectionProp name="Arguments.arguments">
4728               <elementProp name="" elementType="HTTPArgument">
4729                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
4730                 <stringProp name="Argument.value">{&#xd;
4731   &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
4732   &quot;topology_template&quot;: {&#xd;
4733     &quot;policies&quot;: [&#xd;
4734       {&#xd;
4735         &quot;operational.apex.vCPE&quot;: {&#xd;
4736           &quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
4737           &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
4738           &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
4739           &quot;name&quot;: &quot;operational.apex.vCPE&quot;,&#xd;
4740           &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
4741           &quot;properties&quot;: {&#xd;
4742             &quot;engineServiceParameters&quot;: {&#xd;
4743               &quot;name&quot;: &quot;MyApexEngine&quot;,&#xd;
4744               &quot;version&quot;: &quot;0.0.1&quot;,&#xd;
4745               &quot;id&quot;: 45,&#xd;
4746               &quot;instanceCount&quot;: 4,&#xd;
4747               &quot;deploymentPort&quot;: 12561,&#xd;
4748               &quot;policy_type_impl&quot;: {&#xd;
4749               },&#xd;
4750               &quot;engineParameters&quot;: {&#xd;
4751                 &quot;executorParameters&quot;: {&#xd;
4752                   &quot;JAVASCRIPT&quot;: {&#xd;
4753                     &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters&quot;&#xd;
4754                   }&#xd;
4755                 },&#xd;
4756                 &quot;contextParameters&quot;: {&#xd;
4757                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.context.parameters.ContextParameters&quot;,&#xd;
4758                   &quot;schemaParameters&quot;: {&#xd;
4759                     &quot;Avro&quot;: {&#xd;
4760                       &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters&quot;&#xd;
4761                     },&#xd;
4762                     &quot;Java&quot;: {&#xd;
4763                       &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters&quot;,&#xd;
4764                       &quot;jsonAdapters&quot;: {&#xd;
4765                         &quot;Instant&quot;: {&#xd;
4766                           &quot;adaptedClass&quot;: &quot;java.time.Instant&quot;,&#xd;
4767                           &quot;adaptorClass&quot;: &quot;org.onap.policy.controlloop.util.Serialization$GsonInstantAdapter&quot;&#xd;
4768                         }&#xd;
4769                       }&#xd;
4770                     }&#xd;
4771                   }&#xd;
4772                 },&#xd;
4773                 &quot;taskParameters&quot;: [&#xd;
4774                   {&#xd;
4775                     &quot;key&quot;: &quot;ParameterKey1&quot;,&#xd;
4776                     &quot;value&quot;: &quot;ParameterValue1&quot;&#xd;
4777                   },&#xd;
4778                   {&#xd;
4779                     &quot;taskId&quot;: &quot;AAILookupTask:0.0.1&quot;,&#xd;
4780                     &quot;key&quot;: &quot;SomeKeyForThisTask&quot;,&#xd;
4781                     &quot;value&quot;: &quot;Value&quot;&#xd;
4782                   }&#xd;
4783                 ]&#xd;
4784               }&#xd;
4785             },&#xd;
4786             &quot;eventInputParameters&quot;: {&#xd;
4787               &quot;GuardRequestorConsumer&quot;: {&#xd;
4788                 &quot;carrierTechnologyParameters&quot;: {&#xd;
4789                   &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
4790                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;,&#xd;
4791                   &quot;parameters&quot;: {&#xd;
4792                     &quot;url&quot;: &quot;http://111.222.333.444:5555/pdp/api/getDecision&quot;,&#xd;
4793                     &quot;httpMethod&quot;: &quot;POST&quot;,&#xd;
4794                     &quot;restRequestTimeout&quot;: 2000,&#xd;
4795                     &quot;httpHeader&quot;: &quot;Authorization:aaaaaaaaa== ClientAuth:bbbbbbbbb=&quot;&#xd;
4796                   }&#xd;
4797                 },&#xd;
4798                 &quot;eventProtocolParameters&quot;: {&#xd;
4799                   &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
4800                 },&#xd;
4801                 &quot;eventName&quot;: &quot;GuardResponseEvent&quot;,&#xd;
4802                 &quot;eventNameFilter&quot;: &quot;GuardResponseEvent&quot;,&#xd;
4803                 &quot;requestorMode&quot;: true,&#xd;
4804                 &quot;requestorPeer&quot;: &quot;GuardRequestorProducer&quot;,&#xd;
4805                 &quot;requestorTimeout&quot;: 500&#xd;
4806               },&#xd;
4807               &quot;DCAEConsumer&quot;: {&#xd;
4808                 &quot;carrierTechnologyParameters&quot;: {&#xd;
4809                   &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
4810                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
4811                   &quot;parameters&quot;: {&#xd;
4812                     &quot;url&quot;: &quot;http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT/APEX/1?timeout=60000&quot;&#xd;
4813                   }&#xd;
4814                 },&#xd;
4815                 &quot;eventProtocolParameters&quot;: {&#xd;
4816                   &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
4817                   &quot;parameters&quot;: {&#xd;
4818                     &quot;nameAlias&quot;: &quot;closedLoopControlName&quot;,&#xd;
4819                     &quot;versionAlias&quot;: &quot;version&quot;,&#xd;
4820                     &quot;sourceAlias&quot;: &quot;from&quot;,&#xd;
4821                     &quot;pojoField&quot;: &quot;VirtualControlLoopEvent&quot;&#xd;
4822                   }&#xd;
4823                 },&#xd;
4824                 &quot;eventName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;&#xd;
4825               },&#xd;
4826               &quot;APPCConsumer&quot;: {&#xd;
4827                 &quot;carrierTechnologyParameters&quot;: {&#xd;
4828                   &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
4829                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
4830                   &quot;parameters&quot;: {&#xd;
4831                     &quot;url&quot;: &quot;http://message-router:3904/events/APPC-LCM-WRITE/APEX/1?timeout=60000&quot;&#xd;
4832                   }&#xd;
4833                 },&#xd;
4834                 &quot;eventProtocolParameters&quot;: {&#xd;
4835                   &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
4836                   &quot;parameters&quot;: {&#xd;
4837                     &quot;versionAlias&quot;: &quot;version&quot;,&#xd;
4838                     &quot;pojoField&quot;: &quot;APPCLCMResponseEvent&quot;&#xd;
4839                   }&#xd;
4840                 },&#xd;
4841                 &quot;eventName&quot;: &quot;APPCRestartVNFResponseEvent&quot;,&#xd;
4842                 &quot;eventNameFilter&quot;: &quot;APPCRestartVNFResponseEvent&quot;&#xd;
4843               }&#xd;
4844             },&#xd;
4845             &quot;eventOutputParameters&quot;: {&#xd;
4846               &quot;logProducer&quot;: {&#xd;
4847                 &quot;carrierTechnologyParameters&quot;: {&#xd;
4848                   &quot;carrierTechnology&quot;: &quot;FILE&quot;,&#xd;
4849                   &quot;parameters&quot;: {&#xd;
4850                     &quot;fileName&quot;: &quot;/tmp/VCPEEventsOut.json&quot;&#xd;
4851                   }&#xd;
4852                 },&#xd;
4853                 &quot;eventProtocolParameters&quot;: {&#xd;
4854                   &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
4855                 }&#xd;
4856               },&#xd;
4857               &quot;GuardRequestorProducer&quot;: {&#xd;
4858                 &quot;carrierTechnologyParameters&quot;: {&#xd;
4859                   &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
4860                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;&#xd;
4861                 },&#xd;
4862                 &quot;eventProtocolParameters&quot;: {&#xd;
4863                   &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
4864                 },&#xd;
4865                 &quot;eventNameFilter&quot;: &quot;GuardRequestEvent&quot;,&#xd;
4866                 &quot;requestorMode&quot;: true,&#xd;
4867                 &quot;requestorPeer&quot;: &quot;GuardRequestorConsumer&quot;,&#xd;
4868                 &quot;requestorTimeout&quot;: 500&#xd;
4869               },&#xd;
4870               &quot;APPCProducer&quot;: {&#xd;
4871                 &quot;carrierTechnologyParameters&quot;: {&#xd;
4872                   &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
4873                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
4874                   &quot;parameters&quot;: {&#xd;
4875                     &quot;url&quot;: &quot;http://message-router:3904/events/APPC-LCM-READ&quot;&#xd;
4876                   }&#xd;
4877                 },&#xd;
4878                 &quot;eventProtocolParameters&quot;: {&#xd;
4879                   &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
4880                   &quot;parameters&quot;: {&#xd;
4881                     &quot;versionAlias&quot;: &quot;version&quot;,&#xd;
4882                     &quot;sourceAlias&quot;: &quot;from&quot;,&#xd;
4883                     &quot;pojoField&quot;: &quot;APPCLCMRequestEvent&quot;&#xd;
4884                   }&#xd;
4885                 },&#xd;
4886                 &quot;eventNameFilter&quot;: &quot;APPCRestartVNFRequestEvent&quot;&#xd;
4887               },&#xd;
4888               &quot;PolicyLogProducer&quot;: {&#xd;
4889                 &quot;carrierTechnologyParameters&quot;: {&#xd;
4890                   &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
4891                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
4892                   &quot;parameters&quot;: {&#xd;
4893                     &quot;url&quot;: &quot;http://message-router:3904/events/POLICY-CL-MGT&quot;&#xd;
4894                   }&#xd;
4895                 },&#xd;
4896                 &quot;eventProtocolParameters&quot;: {&#xd;
4897                   &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
4898                   &quot;parameters&quot;: {&#xd;
4899                     &quot;versionAlias&quot;: &quot;version&quot;,&#xd;
4900                     &quot;sourceAlias&quot;: &quot;from&quot;,&#xd;
4901                     &quot;pojoField&quot;: &quot;VirtualControlLoopNotification&quot;&#xd;
4902                   }&#xd;
4903                 },&#xd;
4904                 &quot;eventNameFilter&quot;: &quot;ControlLoopLogEvent&quot;&#xd;
4905               }&#xd;
4906             }&#xd;
4907           }&#xd;
4908         }&#xd;
4909       }&#xd;
4910     ]&#xd;
4911   }&#xd;
4912 }</stringProp>
4913                 <stringProp name="Argument.metadata">=</stringProp>
4914               </elementProp>
4915             </collectionProp>
4916           </elementProp>
4917           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
4918           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
4919           <stringProp name="HTTPSampler.protocol">https</stringProp>
4920           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
4921           <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
4922           <stringProp name="HTTPSampler.method">POST</stringProp>
4923           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
4924           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
4925           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
4926           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
4927           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
4928           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
4929           <stringProp name="HTTPSampler.response_timeout"></stringProp>
4930         </HTTPSamplerProxy>
4931         <hashTree>
4932           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
4933             <collectionProp name="Asserion.test_strings">
4934               <stringProp name="49586">200</stringProp>
4935             </collectionProp>
4936             <stringProp name="Assertion.custom_message"></stringProp>
4937             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
4938             <boolProp name="Assertion.assume_success">false</boolProp>
4939             <intProp name="Assertion.test_type">1</intProp>
4940           </ResponseAssertion>
4941           <hashTree/>
4942           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
4943             <stringProp name="scriptLanguage">groovy</stringProp>
4944             <stringProp name="parameters"></stringProp>
4945             <stringProp name="filename"></stringProp>
4946             <stringProp name="cacheKey">true</stringProp>
4947             <stringProp name="script">import groovy.json.JsonSlurper;
4948
4949 def res = [];
4950 if (prev.getResponseCode() == &apos;200&apos;) {
4951     def jsonSlurper = new JsonSlurper();
4952     res = jsonSlurper.parseText(prev.getResponseDataAsString());
4953
4954     assert res instanceof Map;
4955     assert res.topology_template.policies instanceof List;
4956     assert res.topology_template.policies.size == 1;
4957     assert res.topology_template.policies[0] instanceof Map;
4958 }</stringProp>
4959           </JSR223Assertion>
4960           <hashTree/>
4961         </hashTree>
4962         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Native Drools" enabled="true">
4963           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
4964           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
4965             <collectionProp name="Arguments.arguments">
4966               <elementProp name="" elementType="HTTPArgument">
4967                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
4968                 <stringProp name="Argument.value">{&#xd;
4969     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
4970     &quot;topology_template&quot;: {&#xd;
4971         &quot;policies&quot;: [&#xd;
4972             {&#xd;
4973                 &quot;usecases.artifacts&quot;: {&#xd;
4974                     &quot;type&quot;: &quot;onap.policies.native.drools.Artifact&quot;,&#xd;
4975                     &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
4976                     &quot;name&quot;: &quot;usecases.artifacts&quot;,&#xd;
4977                     &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
4978                     &quot;metadata&quot;: {&#xd;
4979                         &quot;policy-id&quot;: &quot;usecases.artifacts&quot;&#xd;
4980                     },&#xd;
4981                     &quot;properties&quot;: {&#xd;
4982                         &quot;rulesArtifact&quot;: {&#xd;
4983                             &quot;groupId&quot;: &quot;org.onap.policy.drools-applications.controlloop.common&quot;,&#xd;
4984                             &quot;artifactId&quot;: &quot;controller-usecases&quot;,&#xd;
4985                             &quot;version&quot;: &quot;1.6.1&quot;&#xd;
4986                         },&#xd;
4987                         &quot;controller&quot;: {&#xd;
4988                             &quot;name&quot;: &quot;frankfurt&quot;&#xd;
4989                         }&#xd;
4990                     }&#xd;
4991                 }&#xd;
4992             }&#xd;
4993         ]&#xd;
4994     }&#xd;
4995 }</stringProp>
4996                 <stringProp name="Argument.metadata">=</stringProp>
4997               </elementProp>
4998             </collectionProp>
4999           </elementProp>
5000           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5001           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5002           <stringProp name="HTTPSampler.protocol">https</stringProp>
5003           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5004           <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
5005           <stringProp name="HTTPSampler.method">POST</stringProp>
5006           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5007           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5008           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5009           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5010           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5011           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5012           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5013         </HTTPSamplerProxy>
5014         <hashTree>
5015           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5016             <collectionProp name="Asserion.test_strings">
5017               <stringProp name="49586">200</stringProp>
5018             </collectionProp>
5019             <stringProp name="Assertion.custom_message"></stringProp>
5020             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5021             <boolProp name="Assertion.assume_success">false</boolProp>
5022             <intProp name="Assertion.test_type">1</intProp>
5023           </ResponseAssertion>
5024           <hashTree/>
5025           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5026             <stringProp name="scriptLanguage">groovy</stringProp>
5027             <stringProp name="parameters"></stringProp>
5028             <stringProp name="filename"></stringProp>
5029             <stringProp name="cacheKey">true</stringProp>
5030             <stringProp name="script">import groovy.json.JsonSlurper;
5031
5032 def res = [];
5033 if (prev.getResponseCode() == &apos;200&apos;) {
5034     def jsonSlurper = new JsonSlurper();
5035     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5036
5037     assert res instanceof Map;
5038     assert res.topology_template.policies instanceof List;
5039     assert res.topology_template.policies.size == 1;
5040     assert res.topology_template.policies[0] instanceof Map;
5041 }</stringProp>
5042           </JSR223Assertion>
5043           <hashTree/>
5044         </hashTree>
5045         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Native XACML" enabled="true">
5046           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
5047           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
5048             <collectionProp name="Arguments.arguments">
5049               <elementProp name="" elementType="HTTPArgument">
5050                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
5051                 <stringProp name="Argument.value">{&#xd;
5052     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
5053     &quot;topology_template&quot;: {&#xd;
5054         &quot;policies&quot;: [&#xd;
5055             {&#xd;
5056                 &quot;onap.policies.native.xacml.NativeXacmlPolicy&quot;: {&#xd;
5057                     &quot;type&quot;: &quot;onap.policies.native.Xacml&quot;,&#xd;
5058                     &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
5059                     &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
5060                     &quot;metadata&quot;: {&#xd;
5061                         &quot;policy-id&quot;: &quot;onap.policies.native.xacml.NativeXacmlPolicy&quot;&#xd;
5062                     },&#xd;
5063                     &quot;properties&quot;: {&#xd;
5064                         &quot;tca_policy&quot;: {&#xd;
5065                             &quot;domain&quot;: &quot;measurementsForVfScaling&quot;,&#xd;
5066                             &quot;metricsPerEventName&quot;: [&#xd;
5067                                 {&#xd;
5068                                     &quot;eventName&quot;: &quot;Measurement_vGMUX&quot;,&#xd;
5069                                     &quot;controlLoopSchemaType&quot;: &quot;VNF&quot;,&#xd;
5070                                     &quot;policyScope&quot;: &quot;DCAE&quot;,&#xd;
5071                                     &quot;policyName&quot;: &quot;DCAE.Config_tca-hi-lo&quot;,&#xd;
5072                                     &quot;policyVersion&quot;: &quot;v0.0.1&quot;,&#xd;
5073                                     &quot;thresholds&quot;: [&#xd;
5074                                         {&#xd;
5075                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
5076                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
5077                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
5078                                             &quot;thresholdValue&quot;: 0,&#xd;
5079                                             &quot;direction&quot;: &quot;EQUAL&quot;,&#xd;
5080                                             &quot;severity&quot;: &quot;MAJOR&quot;,&#xd;
5081                                             &quot;closedLoopEventStatus&quot;: &quot;ABATED&quot;&#xd;
5082                                         },&#xd;
5083                                         {&#xd;
5084                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
5085                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
5086                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
5087                                             &quot;thresholdValue&quot;: 0,&#xd;
5088                                             &quot;direction&quot;: &quot;GREATER&quot;,&#xd;
5089                                             &quot;severity&quot;: &quot;CRITICAL&quot;,&#xd;
5090                                             &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;&#xd;
5091                                         }&#xd;
5092                                     ]&#xd;
5093                                 }&#xd;
5094                             ]&#xd;
5095                         }&#xd;
5096                     }&#xd;
5097                 }&#xd;
5098             }&#xd;
5099         ]&#xd;
5100     }&#xd;
5101 }</stringProp>
5102                 <stringProp name="Argument.metadata">=</stringProp>
5103               </elementProp>
5104             </collectionProp>
5105           </elementProp>
5106           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5107           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5108           <stringProp name="HTTPSampler.protocol">https</stringProp>
5109           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5110           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/2.0.0/policies</stringProp>
5111           <stringProp name="HTTPSampler.method">POST</stringProp>
5112           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5113           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5114           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5115           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5116           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5117           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5118           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5119         </HTTPSamplerProxy>
5120         <hashTree>
5121           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5122             <collectionProp name="Asserion.test_strings">
5123               <stringProp name="49586">200</stringProp>
5124             </collectionProp>
5125             <stringProp name="Assertion.custom_message"></stringProp>
5126             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5127             <boolProp name="Assertion.assume_success">false</boolProp>
5128             <intProp name="Assertion.test_type">1</intProp>
5129           </ResponseAssertion>
5130           <hashTree/>
5131           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5132             <stringProp name="scriptLanguage">groovy</stringProp>
5133             <stringProp name="parameters"></stringProp>
5134             <stringProp name="filename"></stringProp>
5135             <stringProp name="cacheKey">true</stringProp>
5136             <stringProp name="script">import groovy.json.JsonSlurper;
5137
5138 def res = [];
5139 if (prev.getResponseCode() == &apos;200&apos;) {
5140     def jsonSlurper = new JsonSlurper();
5141     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5142
5143     assert res instanceof Map;
5144     assert res.topology_template.policies instanceof List;
5145     assert res.topology_template.policies.size == 1;
5146     assert res.topology_template.policies[0] instanceof Map;
5147 }</stringProp>
5148           </JSR223Assertion>
5149           <hashTree/>
5150         </hashTree>
5151         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy with Metadata" enabled="true">
5152           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
5153           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
5154             <collectionProp name="Arguments.arguments">
5155               <elementProp name="" elementType="HTTPArgument">
5156                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
5157                 <stringProp name="Argument.value">{&#xd;
5158     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
5159     &quot;topology_template&quot;: {&#xd;
5160         &quot;policies&quot;: [&#xd;
5161             {&#xd;
5162                 &quot;onap.policies.apex.pnf.Example&quot;: {&#xd;
5163                     &quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
5164                     &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
5165                     &quot;name&quot;: &quot;onap.policies.apex.pnf.Example&quot;,&#xd;
5166                     &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
5167                     &quot;metadata&quot;: {&#xd;
5168                         &quot;metadataSetName&quot;: &quot;apex.metadata.pnf&quot;,&#xd;
5169                         &quot;metadataSetVersion&quot;: &quot;6.0.${__threadNum}&quot;&#xd;
5170                     },&#xd;
5171                     &quot;properties&quot;: {&#xd;
5172                         &quot;engineServiceParameters&quot;: {&#xd;
5173                             &quot;name&quot;: &quot;TestApexEnginePnf&quot;,&#xd;
5174                             &quot;version&quot;: &quot;0.0.1&quot;,&#xd;
5175                             &quot;id&quot;: 45,&#xd;
5176                             &quot;instanceCount&quot;: 4,&#xd;
5177                             &quot;deploymentPort&quot;: 12561,&#xd;
5178                             &quot;engineParameters&quot;: {&#xd;
5179                                 &quot;executorParameters&quot;: {&#xd;
5180                                     &quot;JAVASCRIPT&quot;: {&#xd;
5181                                         &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters&quot;&#xd;
5182                                     }&#xd;
5183                                 },&#xd;
5184                                 &quot;contextParameters&quot;: {&#xd;
5185                                     &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.context.parameters.ContextParameters&quot;,&#xd;
5186                                     &quot;schemaParameters&quot;: {&#xd;
5187                                         &quot;Avro&quot;: {&#xd;
5188                                             &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters&quot;&#xd;
5189                                         }&#xd;
5190                                     }&#xd;
5191                                 },&#xd;
5192                                 &quot;taskParameters&quot;: [&#xd;
5193                                     {&#xd;
5194                                         &quot;key&quot;: &quot;logUrl&quot;,&#xd;
5195                                         &quot;value&quot;: &quot;http://message-router:3904/events/APEX-CL-MGT&quot;&#xd;
5196                                     }&#xd;
5197                                 ]&#xd;
5198                             }&#xd;
5199                         },&#xd;
5200                         &quot;eventInputParameters&quot;: {&#xd;
5201                             &quot;SimpleCL_DCAEConsumer&quot;: {&#xd;
5202                                 &quot;carrierTechnologyParameters&quot;: {&#xd;
5203                                     &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
5204                                     &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
5205                                     &quot;parameters&quot;: {&#xd;
5206                                         &quot;url&quot;: &quot;http://message-router:3904/events/apex-pnf-input/cl/apex?timeout=30000&quot;&#xd;
5207                                     }&#xd;
5208                                 },&#xd;
5209                                 &quot;eventProtocolParameters&quot;: {&#xd;
5210                                     &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
5211                                 },&#xd;
5212                                 &quot;eventName&quot;: &quot;SimpleCL_VesEvent&quot;&#xd;
5213                             },&#xd;
5214                             &quot;SimpleCL_AAIResponseConsumer&quot;: {&#xd;
5215                                 &quot;carrierTechnologyParameters&quot;: {&#xd;
5216                                     &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
5217                                     &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;,&#xd;
5218                                     &quot;parameters&quot;: {&#xd;
5219                                         &quot;url&quot;: &quot;https://aai:8443/aai/v14/network/pnfs/pnf/{pnfName}&quot;,&#xd;
5220                                         &quot;httpMethod&quot;: &quot;GET&quot;,&#xd;
5221                                         &quot;httpCodeFilter&quot;: &quot;[2-5][0-1][0-9]&quot;,&#xd;
5222                                         &quot;httpHeaders&quot;: [&#xd;
5223                                             [&#xd;
5224                                                 &quot;Accept&quot;,&#xd;
5225                                                 &quot;application/json&quot;&#xd;
5226                                             ],&#xd;
5227                                             [&#xd;
5228                                                 &quot;Content-Type&quot;,&#xd;
5229                                                 &quot;application/json&quot;&#xd;
5230                                             ],&#xd;
5231                                             [&#xd;
5232                                                 &quot;X-FromAppId&quot;,&#xd;
5233                                                 &quot;dcae-curl&quot;&#xd;
5234                                             ],&#xd;
5235                                             [&#xd;
5236                                                 &quot;x-transactionId&quot;,&#xd;
5237                                                 &quot;9998&quot;&#xd;
5238                                             ],&#xd;
5239                                             [&#xd;
5240                                                 &quot;Authorization&quot;,&#xd;
5241                                                 &quot;Basic QUFJOkFBSQ==&quot;&#xd;
5242                                             ]&#xd;
5243                                         ]&#xd;
5244                                     }&#xd;
5245                                 },&#xd;
5246                                 &quot;eventProtocolParameters&quot;: {&#xd;
5247                                     &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
5248                                 },&#xd;
5249                                 &quot;eventName&quot;: &quot;SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent&quot;,&#xd;
5250                                 &quot;requestorMode&quot;: true,&#xd;
5251                                 &quot;requestorPeer&quot;: &quot;SimpleCL_AAIProducer&quot;,&#xd;
5252                                 &quot;requestorTimeout&quot;: 2000&#xd;
5253                             },&#xd;
5254                             &quot;SimpleCL_CDSConfigModifyResponseConsumer&quot;: {&#xd;
5255                                 &quot;carrierTechnologyParameters&quot;: {&#xd;
5256                                     &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
5257                                     &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;&#xd;
5258                                 },&#xd;
5259                                 &quot;eventProtocolParameters&quot;: {&#xd;
5260                                     &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
5261                                 },&#xd;
5262                                 &quot;eventName&quot;: &quot;SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent&quot;,&#xd;
5263                                 &quot;requestorMode&quot;: true,&#xd;
5264                                 &quot;requestorPeer&quot;: &quot;SimpleCL_CDSConfigModifyRequestProducer&quot;,&#xd;
5265                                 &quot;requestorTimeout&quot;: 500&#xd;
5266                             }&#xd;
5267                         },&#xd;
5268                         &quot;eventOutputParameters&quot;: {&#xd;
5269                             &quot;SimpleCL_AAIProducer&quot;: {&#xd;
5270                                 &quot;carrierTechnologyParameters&quot;: {&#xd;
5271                                     &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
5272                                     &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;&#xd;
5273                                 },&#xd;
5274                                 &quot;eventProtocolParameters&quot;: {&#xd;
5275                                     &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
5276                                 },&#xd;
5277                                 &quot;eventNameFilter&quot;: &quot;SimpleCL_AAIRequestEvent&quot;,&#xd;
5278                                 &quot;requestorMode&quot;: true,&#xd;
5279                                 &quot;requestorPeer&quot;: &quot;SimpleCL_AAIResponseConsumer&quot;,&#xd;
5280                                 &quot;requestorTimeout&quot;: 2000&#xd;
5281                             },&#xd;
5282                             &quot;SimpleCL_CDSConfigModifyRequestProducer&quot;: {&#xd;
5283                                 &quot;carrierTechnologyParameters&quot;: {&#xd;
5284                                     &quot;carrierTechnology&quot;: &quot;GRPC&quot;,&#xd;
5285                                     &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters&quot;,&#xd;
5286                                     &quot;parameters&quot;: {&#xd;
5287                                         &quot;host&quot;: &quot;cds-blueprints-processor-grpc&quot;,&#xd;
5288                                         &quot;port&quot;: 9111,&#xd;
5289                                         &quot;username&quot;: &quot;ccsdkapps&quot;,&#xd;
5290                                         &quot;password&quot;: &quot;ccsdkapps&quot;,&#xd;
5291                                         &quot;timeout&quot;: 60&#xd;
5292                                     }&#xd;
5293                                 },&#xd;
5294                                 &quot;eventProtocolParameters&quot;: {&#xd;
5295                                     &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
5296                                 },&#xd;
5297                                 &quot;eventNameFilter&quot;: &quot;SimpleCL_CDSConfigModifyRequestEvent&quot;,&#xd;
5298                                 &quot;requestorMode&quot;: true,&#xd;
5299                                 &quot;requestorPeer&quot;: &quot;SimpleCL_CDSConfigModifyResponseConsumer&quot;,&#xd;
5300                                 &quot;requestorTimeout&quot;: 500&#xd;
5301                             },&#xd;
5302                             &quot;SimpleCL_logOutputter&quot;: {&#xd;
5303                                 &quot;carrierTechnologyParameters&quot;: {&#xd;
5304                                     &quot;carrierTechnology&quot;: &quot;FILE&quot;,&#xd;
5305                                     &quot;parameters&quot;: {&#xd;
5306                                         &quot;fileName&quot;: &quot;outputevents.log&quot;&#xd;
5307                                     }&#xd;
5308                                 },&#xd;
5309                                 &quot;eventProtocolParameters&quot;: {&#xd;
5310                                     &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
5311                                 }&#xd;
5312                             }&#xd;
5313                         }&#xd;
5314                     }&#xd;
5315                 }&#xd;
5316             }&#xd;
5317         ]&#xd;
5318     }&#xd;
5319 }</stringProp>
5320                 <stringProp name="Argument.metadata">=</stringProp>
5321               </elementProp>
5322             </collectionProp>
5323           </elementProp>
5324           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5325           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5326           <stringProp name="HTTPSampler.protocol">https</stringProp>
5327           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5328           <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
5329           <stringProp name="HTTPSampler.method">POST</stringProp>
5330           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5331           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5332           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5333           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5334           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5335           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5336           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5337         </HTTPSamplerProxy>
5338         <hashTree>
5339           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5340             <collectionProp name="Asserion.test_strings">
5341               <stringProp name="49586">200</stringProp>
5342             </collectionProp>
5343             <stringProp name="Assertion.custom_message"></stringProp>
5344             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5345             <boolProp name="Assertion.assume_success">false</boolProp>
5346             <intProp name="Assertion.test_type">1</intProp>
5347           </ResponseAssertion>
5348           <hashTree/>
5349           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5350             <stringProp name="scriptLanguage">groovy</stringProp>
5351             <stringProp name="parameters"></stringProp>
5352             <stringProp name="filename"></stringProp>
5353             <stringProp name="cacheKey">true</stringProp>
5354             <stringProp name="script">import groovy.json.JsonSlurper;
5355
5356 def res = [];
5357 if (prev.getResponseCode() == &apos;200&apos;) {
5358     def jsonSlurper = new JsonSlurper();
5359     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5360
5361     assert res instanceof Map;
5362     assert res.topology_template.policies instanceof List;
5363     assert res.topology_template.policies.size == 1;
5364     assert res.topology_template.policies[0] instanceof Map;
5365 }</stringProp>
5366           </JSR223Assertion>
5367           <hashTree/>
5368         </hashTree>
5369         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Node Template" enabled="true">
5370           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5371             <collectionProp name="Arguments.arguments"/>
5372           </elementProp>
5373           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5374           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5375           <stringProp name="HTTPSampler.protocol">https</stringProp>
5376           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5377           <stringProp name="HTTPSampler.path">/policy/api/v1/nodetemplates/apex.metadata.pnf/versions/6.0.${__threadNum}</stringProp>
5378           <stringProp name="HTTPSampler.method">GET</stringProp>
5379           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5380           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5381           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5382           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5383           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5384           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5385           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5386         </HTTPSamplerProxy>
5387         <hashTree>
5388           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5389             <collectionProp name="Asserion.test_strings">
5390               <stringProp name="49586">200</stringProp>
5391             </collectionProp>
5392             <stringProp name="Assertion.custom_message"></stringProp>
5393             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5394             <boolProp name="Assertion.assume_success">false</boolProp>
5395             <intProp name="Assertion.test_type">1</intProp>
5396           </ResponseAssertion>
5397           <hashTree/>
5398           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5399             <stringProp name="scriptLanguage">groovy</stringProp>
5400             <stringProp name="parameters"></stringProp>
5401             <stringProp name="filename"></stringProp>
5402             <stringProp name="cacheKey">true</stringProp>
5403             <stringProp name="script">import groovy.json.JsonSlurper;
5404
5405 def res = [];
5406 if (prev.getResponseCode() == &apos;200&apos;) {
5407     def jsonSlurper = new JsonSlurper();
5408     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5409
5410     assert res instanceof List;
5411     assert res.size == 1;
5412     assert res[0].metadata instanceof Map;
5413     assert res[0].version == &quot;6.0.${__threadNum}&quot;;
5414 }</stringProp>
5415           </JSR223Assertion>
5416           <hashTree/>
5417         </hashTree>
5418         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All TCA Policies" enabled="true">
5419           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5420             <collectionProp name="Arguments.arguments"/>
5421           </elementProp>
5422           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5423           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5424           <stringProp name="HTTPSampler.protocol">https</stringProp>
5425           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5426           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies</stringProp>
5427           <stringProp name="HTTPSampler.method">GET</stringProp>
5428           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5429           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5430           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5431           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5432           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5433           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5434           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5435         </HTTPSamplerProxy>
5436         <hashTree>
5437           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5438             <collectionProp name="Asserion.test_strings">
5439               <stringProp name="49586">200</stringProp>
5440             </collectionProp>
5441             <stringProp name="Assertion.custom_message"></stringProp>
5442             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5443             <boolProp name="Assertion.assume_success">false</boolProp>
5444             <intProp name="Assertion.test_type">1</intProp>
5445           </ResponseAssertion>
5446           <hashTree/>
5447           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5448             <stringProp name="scriptLanguage">groovy</stringProp>
5449             <stringProp name="parameters"></stringProp>
5450             <stringProp name="filename"></stringProp>
5451             <stringProp name="cacheKey">true</stringProp>
5452             <stringProp name="script">import groovy.json.JsonSlurper;
5453
5454 def res = [];
5455 if (prev.getResponseCode() == &apos;200&apos;) {
5456     def jsonSlurper = new JsonSlurper();
5457     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5458
5459     assert res instanceof Map;
5460     assert res.topology_template.policies instanceof List;
5461     assert res.topology_template.policies.size &gt; 0 &amp;&amp; res.topology_template.policies.size &lt; 10;
5462
5463
5464     for (i=0; i&lt;res.topology_template.policies.size; i++) {
5465         assert res.topology_template.policies[i] instanceof Map;
5466     }
5467 }</stringProp>
5468           </JSR223Assertion>
5469           <hashTree/>
5470         </hashTree>
5471         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All Versions of Monitoring Policy" enabled="true">
5472           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5473             <collectionProp name="Arguments.arguments"/>
5474           </elementProp>
5475           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5476           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5477           <stringProp name="HTTPSampler.protocol">https</stringProp>
5478           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5479           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies</stringProp>
5480           <stringProp name="HTTPSampler.method">GET</stringProp>
5481           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5482           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5483           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5484           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5485           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5486           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5487           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5488         </HTTPSamplerProxy>
5489         <hashTree>
5490           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5491             <collectionProp name="Asserion.test_strings">
5492               <stringProp name="49586">200</stringProp>
5493             </collectionProp>
5494             <stringProp name="Assertion.custom_message"></stringProp>
5495             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5496             <boolProp name="Assertion.assume_success">false</boolProp>
5497             <intProp name="Assertion.test_type">1</intProp>
5498           </ResponseAssertion>
5499           <hashTree/>
5500           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5501             <stringProp name="scriptLanguage">groovy</stringProp>
5502             <stringProp name="parameters"></stringProp>
5503             <stringProp name="filename"></stringProp>
5504             <stringProp name="cacheKey">true</stringProp>
5505             <stringProp name="script">import groovy.json.JsonSlurper;
5506
5507 def res = [];
5508 if (prev.getResponseCode() == &apos;200&apos;) {
5509     def jsonSlurper = new JsonSlurper();
5510     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5511
5512     assert res instanceof Map;
5513     assert res.topology_template.policies instanceof List;
5514     assert res.topology_template.policies.size &gt; 0 &amp;&amp; res.topology_template.policies.size &lt; 6;
5515
5516     for (i=0; i&lt;res.topology_template.policies.size; i++) {
5517         assert res.topology_template.policies[i] instanceof Map;
5518         assert res.topology_template.policies[i].get(&apos;onap.restart.tca&apos;).version == &quot;6.0.${__threadNum}&quot;;
5519     }
5520 }</stringProp>
5521           </JSR223Assertion>
5522           <hashTree/>
5523         </hashTree>
5524         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Monitoring" enabled="true">
5525           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5526             <collectionProp name="Arguments.arguments"/>
5527           </elementProp>
5528           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5529           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5530           <stringProp name="HTTPSampler.protocol">https</stringProp>
5531           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5532           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies/onap.restart.tca/versions/6.0.${__threadNum}</stringProp>
5533           <stringProp name="HTTPSampler.method">GET</stringProp>
5534           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5535           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5536           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5537           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5538           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5539           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5540           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5541         </HTTPSamplerProxy>
5542         <hashTree>
5543           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5544             <collectionProp name="Asserion.test_strings">
5545               <stringProp name="49586">200</stringProp>
5546             </collectionProp>
5547             <stringProp name="Assertion.custom_message"></stringProp>
5548             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5549             <boolProp name="Assertion.assume_success">false</boolProp>
5550             <intProp name="Assertion.test_type">1</intProp>
5551           </ResponseAssertion>
5552           <hashTree/>
5553           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5554             <stringProp name="scriptLanguage">groovy</stringProp>
5555             <stringProp name="parameters"></stringProp>
5556             <stringProp name="filename"></stringProp>
5557             <stringProp name="cacheKey">true</stringProp>
5558             <stringProp name="script">import groovy.json.JsonSlurper;
5559
5560 def res = [];
5561 if (prev.getResponseCode() == &apos;200&apos;) {
5562     def jsonSlurper = new JsonSlurper();
5563     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5564
5565     assert res instanceof Map;
5566     assert res.topology_template.policies instanceof List;
5567     assert res.topology_template.policies.size == 1;
5568
5569     assert res.topology_template.policies[0] instanceof Map;
5570     assert res.topology_template.policies [0].get(&apos;onap.restart.tca&apos;).version == &quot;6.0.${__threadNum}&quot;;
5571 }</stringProp>
5572           </JSR223Assertion>
5573           <hashTree/>
5574         </hashTree>
5575         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Optimization" enabled="true">
5576           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5577             <collectionProp name="Arguments.arguments"/>
5578           </elementProp>
5579           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5580           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5581           <stringProp name="HTTPSampler.protocol">https</stringProp>
5582           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5583           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/6.0.${__threadNum}/policies/OSDF_CASABLANCA.Affinity_Default/versions/6.0.${__threadNum}</stringProp>
5584           <stringProp name="HTTPSampler.method">GET</stringProp>
5585           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5586           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5587           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5588           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5589           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5590           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5591           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5592         </HTTPSamplerProxy>
5593         <hashTree>
5594           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5595             <collectionProp name="Asserion.test_strings">
5596               <stringProp name="49586">200</stringProp>
5597             </collectionProp>
5598             <stringProp name="Assertion.custom_message"></stringProp>
5599             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5600             <boolProp name="Assertion.assume_success">false</boolProp>
5601             <intProp name="Assertion.test_type">1</intProp>
5602           </ResponseAssertion>
5603           <hashTree/>
5604           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5605             <stringProp name="scriptLanguage">groovy</stringProp>
5606             <stringProp name="parameters"></stringProp>
5607             <stringProp name="filename"></stringProp>
5608             <stringProp name="cacheKey">true</stringProp>
5609             <stringProp name="script">import groovy.json.JsonSlurper;
5610
5611 def res = [];
5612 if (prev.getResponseCode() == &apos;200&apos;) {
5613     def jsonSlurper = new JsonSlurper();
5614     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5615
5616     assert res instanceof Map;
5617     assert res.topology_template.policies instanceof List;
5618     assert res.topology_template.policies.size == 1;
5619
5620     assert res.topology_template.policies[0] instanceof Map;
5621     assert res.topology_template.policies [0].get(&apos;OSDF_CASABLANCA.Affinity_Default&apos;).version == &quot;6.0.${__threadNum}&quot;;
5622 }</stringProp>
5623           </JSR223Assertion>
5624           <hashTree/>
5625         </hashTree>
5626         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Guard" enabled="true">
5627           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5628             <collectionProp name="Arguments.arguments"/>
5629           </elementProp>
5630           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5631           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5632           <stringProp name="HTTPSampler.protocol">https</stringProp>
5633           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5634           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.guard.common.Blacklist/versions/6.0.${__threadNum}/policies/guard.blacklist.scaleout/versions/6.0.${__threadNum}</stringProp>
5635           <stringProp name="HTTPSampler.method">GET</stringProp>
5636           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5637           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5638           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5639           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5640           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5641           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5642           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5643         </HTTPSamplerProxy>
5644         <hashTree>
5645           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5646             <collectionProp name="Asserion.test_strings">
5647               <stringProp name="49586">200</stringProp>
5648             </collectionProp>
5649             <stringProp name="Assertion.custom_message"></stringProp>
5650             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5651             <boolProp name="Assertion.assume_success">false</boolProp>
5652             <intProp name="Assertion.test_type">1</intProp>
5653           </ResponseAssertion>
5654           <hashTree/>
5655           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5656             <stringProp name="scriptLanguage">groovy</stringProp>
5657             <stringProp name="parameters"></stringProp>
5658             <stringProp name="filename"></stringProp>
5659             <stringProp name="cacheKey">true</stringProp>
5660             <stringProp name="script">import groovy.json.JsonSlurper;
5661
5662 def res = [];
5663 if (prev.getResponseCode() == &apos;200&apos;) {
5664     def jsonSlurper = new JsonSlurper();
5665     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5666
5667     assert res instanceof Map;
5668     assert res.topology_template.policies instanceof List;
5669     assert res.topology_template.policies.size == 1;
5670
5671     assert res.topology_template.policies[0] instanceof Map;
5672     assert res.topology_template.policies [0].get(&apos;guard.blacklist.scaleout&apos;).version == &quot;6.0.${__threadNum}&quot;;
5673 }</stringProp>
5674           </JSR223Assertion>
5675           <hashTree/>
5676         </hashTree>
5677         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Native APEX" enabled="true">
5678           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5679             <collectionProp name="Arguments.arguments"/>
5680           </elementProp>
5681           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5682           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5683           <stringProp name="HTTPSampler.protocol">https</stringProp>
5684           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5685           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/6.0.${__threadNum}/policies/operational.apex.vCPE/versions/6.0.${__threadNum}</stringProp>
5686           <stringProp name="HTTPSampler.method">GET</stringProp>
5687           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5688           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5689           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5690           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5691           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5692           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5693           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5694         </HTTPSamplerProxy>
5695         <hashTree>
5696           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5697             <collectionProp name="Asserion.test_strings">
5698               <stringProp name="49586">200</stringProp>
5699             </collectionProp>
5700             <stringProp name="Assertion.custom_message"></stringProp>
5701             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5702             <boolProp name="Assertion.assume_success">false</boolProp>
5703             <intProp name="Assertion.test_type">1</intProp>
5704           </ResponseAssertion>
5705           <hashTree/>
5706           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5707             <stringProp name="scriptLanguage">groovy</stringProp>
5708             <stringProp name="parameters"></stringProp>
5709             <stringProp name="filename"></stringProp>
5710             <stringProp name="cacheKey">true</stringProp>
5711             <stringProp name="script">import groovy.json.JsonSlurper;
5712
5713 def res = [];
5714 if (prev.getResponseCode() == &apos;200&apos;) {
5715     def jsonSlurper = new JsonSlurper();
5716     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5717
5718     assert res instanceof Map;
5719     assert res.topology_template.policies instanceof List;
5720     assert res.topology_template.policies.size == 1;
5721
5722     assert res.topology_template.policies[0] instanceof Map;
5723     assert res.topology_template.policies [0].get(&apos;operational.apex.vCPE&apos;).version == &quot;6.0.${__threadNum}&quot;;
5724 }</stringProp>
5725           </JSR223Assertion>
5726           <hashTree/>
5727         </hashTree>
5728         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Native Drools" enabled="true">
5729           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5730             <collectionProp name="Arguments.arguments"/>
5731           </elementProp>
5732           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5733           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5734           <stringProp name="HTTPSampler.protocol">https</stringProp>
5735           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5736           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.drools.Artifact/versions/6.0.${__threadNum}/policies/usecases.artifacts/versions/6.0.${__threadNum}</stringProp>
5737           <stringProp name="HTTPSampler.method">GET</stringProp>
5738           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5739           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5740           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5741           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5742           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5743           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5744           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5745         </HTTPSamplerProxy>
5746         <hashTree>
5747           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5748             <collectionProp name="Asserion.test_strings">
5749               <stringProp name="49586">200</stringProp>
5750             </collectionProp>
5751             <stringProp name="Assertion.custom_message"></stringProp>
5752             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5753             <boolProp name="Assertion.assume_success">false</boolProp>
5754             <intProp name="Assertion.test_type">1</intProp>
5755           </ResponseAssertion>
5756           <hashTree/>
5757           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5758             <stringProp name="scriptLanguage">groovy</stringProp>
5759             <stringProp name="parameters"></stringProp>
5760             <stringProp name="filename"></stringProp>
5761             <stringProp name="cacheKey">true</stringProp>
5762             <stringProp name="script">import groovy.json.JsonSlurper;
5763
5764 def res = [];
5765 if (prev.getResponseCode() == &apos;200&apos;) {
5766     def jsonSlurper = new JsonSlurper();
5767     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5768
5769     assert res instanceof Map;
5770     assert res.topology_template.policies instanceof List;
5771     assert res.topology_template.policies.size == 1;
5772
5773     assert res.topology_template.policies[0] instanceof Map;
5774     assert res.topology_template.policies [0].get(&apos;usecases.artifacts&apos;).version == &quot;6.0.${__threadNum}&quot;;
5775 }</stringProp>
5776           </JSR223Assertion>
5777           <hashTree/>
5778         </hashTree>
5779         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Native XACML" enabled="true">
5780           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5781             <collectionProp name="Arguments.arguments"/>
5782           </elementProp>
5783           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5784           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5785           <stringProp name="HTTPSampler.protocol">https</stringProp>
5786           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5787           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Xacml/versions/6.0.${__threadNum}/policies/onap.policies.native.xacml.NativeXacmlPolicy/versions/6.0.${__threadNum}</stringProp>
5788           <stringProp name="HTTPSampler.method">GET</stringProp>
5789           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5790           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5791           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5792           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5793           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5794           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5795           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5796         </HTTPSamplerProxy>
5797         <hashTree>
5798           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5799             <collectionProp name="Asserion.test_strings">
5800               <stringProp name="49586">200</stringProp>
5801             </collectionProp>
5802             <stringProp name="Assertion.custom_message"></stringProp>
5803             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5804             <boolProp name="Assertion.assume_success">false</boolProp>
5805             <intProp name="Assertion.test_type">1</intProp>
5806           </ResponseAssertion>
5807           <hashTree/>
5808           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5809             <stringProp name="scriptLanguage">groovy</stringProp>
5810             <stringProp name="parameters"></stringProp>
5811             <stringProp name="filename"></stringProp>
5812             <stringProp name="cacheKey">true</stringProp>
5813             <stringProp name="script">import groovy.json.JsonSlurper;
5814
5815 def res = [];
5816 if (prev.getResponseCode() == &apos;200&apos;) {
5817     def jsonSlurper = new JsonSlurper();
5818     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5819
5820     assert res instanceof Map;
5821     assert res.topology_template.policies instanceof List;
5822     assert res.topology_template.policies.size == 1;
5823
5824     assert res.topology_template.policies[0] instanceof Map;
5825     assert res.topology_template.policies [0].get(&apos;onap.policies.native.xacml.NativeXacmlPolicy&apos;).version == &quot;6.0.${__threadNum}&quot;;
5826 }</stringProp>
5827           </JSR223Assertion>
5828           <hashTree/>
5829         </hashTree>
5830         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get latest Monitoring Policy" enabled="true">
5831           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5832             <collectionProp name="Arguments.arguments"/>
5833           </elementProp>
5834           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5835           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5836           <stringProp name="HTTPSampler.protocol">https</stringProp>
5837           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5838           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies/onap.restart.tca/versions/latest</stringProp>
5839           <stringProp name="HTTPSampler.method">GET</stringProp>
5840           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5841           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5842           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5843           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5844           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5845           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5846           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5847         </HTTPSamplerProxy>
5848         <hashTree>
5849           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5850             <collectionProp name="Asserion.test_strings">
5851               <stringProp name="49586">200</stringProp>
5852             </collectionProp>
5853             <stringProp name="Assertion.custom_message"></stringProp>
5854             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5855             <boolProp name="Assertion.assume_success">false</boolProp>
5856             <intProp name="Assertion.test_type">1</intProp>
5857           </ResponseAssertion>
5858           <hashTree/>
5859           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5860             <stringProp name="scriptLanguage">groovy</stringProp>
5861             <stringProp name="parameters"></stringProp>
5862             <stringProp name="filename"></stringProp>
5863             <stringProp name="cacheKey">true</stringProp>
5864             <stringProp name="script">import groovy.json.JsonSlurper;
5865
5866 def res = [];
5867 if (prev.getResponseCode() == &apos;200&apos;) {
5868     def jsonSlurper = new JsonSlurper();
5869     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5870
5871     assert res instanceof Map;
5872     assert res.topology_template.policies instanceof List;
5873     assert res.topology_template.policies.size == 1;
5874
5875     assert res.topology_template.policies[0] instanceof Map;
5876     assert res.topology_template.policies [0].get(&apos;onap.restart.tca&apos;).version ==~ /6.0.\d+/;
5877 }</stringProp>
5878           </JSR223Assertion>
5879           <hashTree/>
5880         </hashTree>
5881         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Monitoring" enabled="true">
5882           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5883             <collectionProp name="Arguments.arguments"/>
5884           </elementProp>
5885           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5886           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5887           <stringProp name="HTTPSampler.protocol">https</stringProp>
5888           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5889           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies/onap.restart.tca/versions/6.0.${__threadNum}</stringProp>
5890           <stringProp name="HTTPSampler.method">DELETE</stringProp>
5891           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5892           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5893           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5894           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5895           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5896           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5897           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5898         </HTTPSamplerProxy>
5899         <hashTree>
5900           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5901             <collectionProp name="Asserion.test_strings">
5902               <stringProp name="49586">200</stringProp>
5903             </collectionProp>
5904             <stringProp name="Assertion.custom_message"></stringProp>
5905             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5906             <boolProp name="Assertion.assume_success">false</boolProp>
5907             <intProp name="Assertion.test_type">1</intProp>
5908           </ResponseAssertion>
5909           <hashTree/>
5910           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5911             <stringProp name="scriptLanguage">groovy</stringProp>
5912             <stringProp name="parameters"></stringProp>
5913             <stringProp name="filename"></stringProp>
5914             <stringProp name="cacheKey">true</stringProp>
5915             <stringProp name="script">import groovy.json.JsonSlurper;
5916
5917 def res = [];
5918 if (prev.getResponseCode() == &apos;200&apos;) {
5919     def jsonSlurper = new JsonSlurper();
5920     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5921
5922     assert res instanceof Map;
5923     assert res.topology_template.policies instanceof List;
5924     assert res.topology_template.policies.size == 1;
5925     assert res.topology_template.policies[0] instanceof Map;
5926     assert res.topology_template.policies[0].get(&apos;onap.restart.tca&apos;).version == &quot;6.0.${__threadNum}&quot;;
5927 }</stringProp>
5928           </JSR223Assertion>
5929           <hashTree/>
5930         </hashTree>
5931         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Monitoring V2" enabled="true">
5932           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5933             <collectionProp name="Arguments.arguments"/>
5934           </elementProp>
5935           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5936           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5937           <stringProp name="HTTPSampler.protocol">https</stringProp>
5938           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5939           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies/onap.restart.tca/versions/7.0.${__threadNum}</stringProp>
5940           <stringProp name="HTTPSampler.method">DELETE</stringProp>
5941           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5942           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5943           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5944           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5945           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5946           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5947           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5948         </HTTPSamplerProxy>
5949         <hashTree>
5950           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
5951             <collectionProp name="Asserion.test_strings">
5952               <stringProp name="49586">200</stringProp>
5953             </collectionProp>
5954             <stringProp name="Assertion.custom_message"></stringProp>
5955             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
5956             <boolProp name="Assertion.assume_success">false</boolProp>
5957             <intProp name="Assertion.test_type">1</intProp>
5958           </ResponseAssertion>
5959           <hashTree/>
5960           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
5961             <stringProp name="scriptLanguage">groovy</stringProp>
5962             <stringProp name="parameters"></stringProp>
5963             <stringProp name="filename"></stringProp>
5964             <stringProp name="cacheKey">true</stringProp>
5965             <stringProp name="script">import groovy.json.JsonSlurper;
5966
5967 def res = [];
5968 if (prev.getResponseCode() == &apos;200&apos;) {
5969     def jsonSlurper = new JsonSlurper();
5970     res = jsonSlurper.parseText(prev.getResponseDataAsString());
5971
5972     assert res instanceof Map;
5973     assert res.topology_template.policies instanceof List;
5974     assert res.topology_template.policies.size == 1;
5975     assert res.topology_template.policies[0] instanceof Map;
5976     assert res.topology_template.policies[0].get(&apos;onap.restart.tca&apos;).version == &quot;7.0.${__threadNum}&quot;;
5977 }</stringProp>
5978           </JSR223Assertion>
5979           <hashTree/>
5980         </hashTree>
5981         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Optimization" enabled="true">
5982           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
5983             <collectionProp name="Arguments.arguments"/>
5984           </elementProp>
5985           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
5986           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
5987           <stringProp name="HTTPSampler.protocol">https</stringProp>
5988           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
5989           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/6.0.${__threadNum}/policies/OSDF_CASABLANCA.Affinity_Default/versions/6.0.${__threadNum}</stringProp>
5990           <stringProp name="HTTPSampler.method">DELETE</stringProp>
5991           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
5992           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
5993           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
5994           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
5995           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
5996           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
5997           <stringProp name="HTTPSampler.response_timeout"></stringProp>
5998         </HTTPSamplerProxy>
5999         <hashTree>
6000           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6001             <collectionProp name="Asserion.test_strings">
6002               <stringProp name="49586">200</stringProp>
6003             </collectionProp>
6004             <stringProp name="Assertion.custom_message"></stringProp>
6005             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6006             <boolProp name="Assertion.assume_success">false</boolProp>
6007             <intProp name="Assertion.test_type">1</intProp>
6008           </ResponseAssertion>
6009           <hashTree/>
6010           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6011             <stringProp name="scriptLanguage">groovy</stringProp>
6012             <stringProp name="parameters"></stringProp>
6013             <stringProp name="filename"></stringProp>
6014             <stringProp name="cacheKey">true</stringProp>
6015             <stringProp name="script">import groovy.json.JsonSlurper;
6016
6017 def res = [];
6018 if (prev.getResponseCode() == &apos;200&apos;) {
6019     def jsonSlurper = new JsonSlurper();
6020     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6021
6022     assert res instanceof Map;
6023     assert res.topology_template.policies instanceof List;
6024     assert res.topology_template.policies.size == 1;
6025     assert res.topology_template.policies[0] instanceof Map;
6026     assert res.topology_template.policies[0].get(&apos;OSDF_CASABLANCA.Affinity_Default&apos;).version == &quot;6.0.${__threadNum}&quot;;
6027 }</stringProp>
6028           </JSR223Assertion>
6029           <hashTree/>
6030         </hashTree>
6031         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Guard" enabled="true">
6032           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6033             <collectionProp name="Arguments.arguments"/>
6034           </elementProp>
6035           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6036           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6037           <stringProp name="HTTPSampler.protocol">https</stringProp>
6038           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6039           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.guard.common.Blacklist/versions/6.0.${__threadNum}/policies/guard.blacklist.scaleout/versions/6.0.${__threadNum}</stringProp>
6040           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6041           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6042           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6043           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6044           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6045           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6046           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6047           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6048         </HTTPSamplerProxy>
6049         <hashTree>
6050           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6051             <collectionProp name="Asserion.test_strings">
6052               <stringProp name="49586">200</stringProp>
6053             </collectionProp>
6054             <stringProp name="Assertion.custom_message"></stringProp>
6055             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6056             <boolProp name="Assertion.assume_success">false</boolProp>
6057             <intProp name="Assertion.test_type">1</intProp>
6058           </ResponseAssertion>
6059           <hashTree/>
6060           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6061             <stringProp name="scriptLanguage">groovy</stringProp>
6062             <stringProp name="parameters"></stringProp>
6063             <stringProp name="filename"></stringProp>
6064             <stringProp name="cacheKey">true</stringProp>
6065             <stringProp name="script">import groovy.json.JsonSlurper;
6066
6067 def res = [];
6068 if (prev.getResponseCode() == &apos;200&apos;) {
6069     def jsonSlurper = new JsonSlurper();
6070     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6071
6072     assert res instanceof Map;
6073     assert res.topology_template.policies instanceof List;
6074     assert res.topology_template.policies.size == 1;
6075     assert res.topology_template.policies[0] instanceof Map;
6076     assert res.topology_template.policies[0].get(&apos;guard.blacklist.scaleout&apos;).version == &quot;6.0.${__threadNum}&quot;;
6077 }</stringProp>
6078           </JSR223Assertion>
6079           <hashTree/>
6080         </hashTree>
6081         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Native APEX" enabled="true">
6082           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6083             <collectionProp name="Arguments.arguments"/>
6084           </elementProp>
6085           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6086           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6087           <stringProp name="HTTPSampler.protocol">https</stringProp>
6088           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6089           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/6.0.${__threadNum}/policies/operational.apex.vCPE/versions/6.0.${__threadNum}</stringProp>
6090           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6091           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6092           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6093           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6094           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6095           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6096           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6097           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6098         </HTTPSamplerProxy>
6099         <hashTree>
6100           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6101             <collectionProp name="Asserion.test_strings">
6102               <stringProp name="49586">200</stringProp>
6103             </collectionProp>
6104             <stringProp name="Assertion.custom_message"></stringProp>
6105             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6106             <boolProp name="Assertion.assume_success">false</boolProp>
6107             <intProp name="Assertion.test_type">1</intProp>
6108           </ResponseAssertion>
6109           <hashTree/>
6110           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6111             <stringProp name="scriptLanguage">groovy</stringProp>
6112             <stringProp name="parameters"></stringProp>
6113             <stringProp name="filename"></stringProp>
6114             <stringProp name="cacheKey">true</stringProp>
6115             <stringProp name="script">import groovy.json.JsonSlurper;
6116
6117 def res = [];
6118 if (prev.getResponseCode() == &apos;200&apos;) {
6119     def jsonSlurper = new JsonSlurper();
6120     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6121
6122     assert res instanceof Map;
6123     assert res.topology_template.policies instanceof List;
6124     assert res.topology_template.policies.size == 1;
6125     assert res.topology_template.policies[0] instanceof Map;
6126     assert res.topology_template.policies[0].get(&apos;operational.apex.vCPE&apos;).version == &quot;6.0.${__threadNum}&quot;;
6127 }</stringProp>
6128           </JSR223Assertion>
6129           <hashTree/>
6130         </hashTree>
6131         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy (having metadata)" enabled="true">
6132           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6133             <collectionProp name="Arguments.arguments"/>
6134           </elementProp>
6135           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6136           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6137           <stringProp name="HTTPSampler.protocol">https</stringProp>
6138           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6139           <stringProp name="HTTPSampler.path">/policy/api/v1/policies/onap.policies.apex.pnf.Example/versions/6.0.${__threadNum}</stringProp>
6140           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6141           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6142           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6143           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6144           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6145           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6146           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6147           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6148         </HTTPSamplerProxy>
6149         <hashTree>
6150           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6151             <collectionProp name="Asserion.test_strings">
6152               <stringProp name="49586">200</stringProp>
6153             </collectionProp>
6154             <stringProp name="Assertion.custom_message"></stringProp>
6155             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6156             <boolProp name="Assertion.assume_success">false</boolProp>
6157             <intProp name="Assertion.test_type">1</intProp>
6158           </ResponseAssertion>
6159           <hashTree/>
6160           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6161             <stringProp name="scriptLanguage">groovy</stringProp>
6162             <stringProp name="parameters"></stringProp>
6163             <stringProp name="filename"></stringProp>
6164             <stringProp name="cacheKey">true</stringProp>
6165             <stringProp name="script">import groovy.json.JsonSlurper;
6166
6167 def res = [];
6168 if (prev.getResponseCode() == &apos;200&apos;) {
6169     def jsonSlurper = new JsonSlurper();
6170     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6171
6172     assert res instanceof Map;
6173     assert res.topology_template.policies instanceof List;
6174     assert res.topology_template.policies.size == 1;
6175     assert res.topology_template.policies[0] instanceof Map;
6176     assert res.topology_template.policies[0].get(&apos;onap.policies.apex.pnf.Example&apos;).version == &quot;6.0.${__threadNum}&quot;;
6177 }</stringProp>
6178           </JSR223Assertion>
6179           <hashTree/>
6180         </hashTree>
6181         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Native Drools" enabled="true">
6182           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6183             <collectionProp name="Arguments.arguments"/>
6184           </elementProp>
6185           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6186           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6187           <stringProp name="HTTPSampler.protocol">https</stringProp>
6188           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6189           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.drools.Artifact/versions/6.0.${__threadNum}/policies/usecases.artifacts/versions/6.0.${__threadNum}</stringProp>
6190           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6191           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6192           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6193           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6194           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6195           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6196           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6197           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6198         </HTTPSamplerProxy>
6199         <hashTree>
6200           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6201             <collectionProp name="Asserion.test_strings">
6202               <stringProp name="49586">200</stringProp>
6203             </collectionProp>
6204             <stringProp name="Assertion.custom_message"></stringProp>
6205             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6206             <boolProp name="Assertion.assume_success">false</boolProp>
6207             <intProp name="Assertion.test_type">1</intProp>
6208           </ResponseAssertion>
6209           <hashTree/>
6210           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6211             <stringProp name="scriptLanguage">groovy</stringProp>
6212             <stringProp name="parameters"></stringProp>
6213             <stringProp name="filename"></stringProp>
6214             <stringProp name="cacheKey">true</stringProp>
6215             <stringProp name="script">import groovy.json.JsonSlurper;
6216
6217 def res = [];
6218 if (prev.getResponseCode() == &apos;200&apos;) {
6219     def jsonSlurper = new JsonSlurper();
6220     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6221
6222     assert res instanceof Map;
6223     assert res.topology_template.policies instanceof List;
6224     assert res.topology_template.policies.size == 1;
6225     assert res.topology_template.policies[0] instanceof Map;
6226     assert res.topology_template.policies[0].get(&apos;usecases.artifacts&apos;).version == &quot;6.0.${__threadNum}&quot;;
6227 }</stringProp>
6228           </JSR223Assertion>
6229           <hashTree/>
6230         </hashTree>
6231         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Native XACML" enabled="true">
6232           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6233             <collectionProp name="Arguments.arguments"/>
6234           </elementProp>
6235           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6236           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6237           <stringProp name="HTTPSampler.protocol">https</stringProp>
6238           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6239           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Xacml/versions/6.0.${__threadNum}/policies/onap.policies.native.xacml.NativeXacmlPolicy/versions/6.0.${__threadNum}</stringProp>
6240           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6241           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6242           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6243           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6244           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6245           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6246           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6247           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6248         </HTTPSamplerProxy>
6249         <hashTree>
6250           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6251             <collectionProp name="Asserion.test_strings">
6252               <stringProp name="49586">200</stringProp>
6253             </collectionProp>
6254             <stringProp name="Assertion.custom_message"></stringProp>
6255             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6256             <boolProp name="Assertion.assume_success">false</boolProp>
6257             <intProp name="Assertion.test_type">1</intProp>
6258           </ResponseAssertion>
6259           <hashTree/>
6260           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6261             <stringProp name="scriptLanguage">groovy</stringProp>
6262             <stringProp name="parameters"></stringProp>
6263             <stringProp name="filename"></stringProp>
6264             <stringProp name="cacheKey">true</stringProp>
6265             <stringProp name="script">import groovy.json.JsonSlurper;
6266
6267 def res = [];
6268 if (prev.getResponseCode() == &apos;200&apos;) {
6269     def jsonSlurper = new JsonSlurper();
6270     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6271
6272     assert res instanceof Map;
6273     assert res.topology_template.policies instanceof List;
6274     assert res.topology_template.policies.size == 1;
6275     assert res.topology_template.policies[0] instanceof Map;
6276     assert res.topology_template.policies[0].get(&apos;onap.policies.native.xacml.NativeXacmlPolicy&apos;).version == &quot;6.0.${__threadNum}&quot;;
6277 }</stringProp>
6278           </JSR223Assertion>
6279           <hashTree/>
6280         </hashTree>
6281         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Monitoring" enabled="true">
6282           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6283             <collectionProp name="Arguments.arguments"/>
6284           </elementProp>
6285           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6286           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6287           <stringProp name="HTTPSampler.protocol">https</stringProp>
6288           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6289           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}</stringProp>
6290           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6291           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6292           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6293           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6294           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6295           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6296           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6297           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6298         </HTTPSamplerProxy>
6299         <hashTree>
6300           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="false">
6301             <collectionProp name="Asserion.test_strings">
6302               <stringProp name="49586">200</stringProp>
6303             </collectionProp>
6304             <stringProp name="Assertion.custom_message"></stringProp>
6305             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6306             <boolProp name="Assertion.assume_success">false</boolProp>
6307             <intProp name="Assertion.test_type">1</intProp>
6308           </ResponseAssertion>
6309           <hashTree/>
6310           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="false">
6311             <stringProp name="scriptLanguage">groovy</stringProp>
6312             <stringProp name="parameters"></stringProp>
6313             <stringProp name="filename"></stringProp>
6314             <stringProp name="cacheKey">true</stringProp>
6315             <stringProp name="script">import groovy.json.JsonSlurper;
6316
6317 def res = [];
6318 if (prev.getResponseCode() == &apos;409&apos;) {
6319     def jsonSlurper = new JsonSlurper();
6320     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6321
6322     assert res instanceof Map;
6323     assert res.policy_types instanceof List;
6324     assert res.policy_types.size == 1;
6325     assert res.policy_types[0] instanceof Map;
6326     assert res.policy_types[0].get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;).version == &quot;6.0.${__threadNum}&quot;;
6327  }</stringProp>
6328           </JSR223Assertion>
6329           <hashTree/>
6330         </hashTree>
6331         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Monitoring V2" enabled="true">
6332           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6333             <collectionProp name="Arguments.arguments"/>
6334           </elementProp>
6335           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6336           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6337           <stringProp name="HTTPSampler.protocol">https</stringProp>
6338           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6339           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/7.0.${__threadNum}</stringProp>
6340           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6341           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6342           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6343           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6344           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6345           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6346           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6347           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6348         </HTTPSamplerProxy>
6349         <hashTree>
6350           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="false">
6351             <collectionProp name="Asserion.test_strings">
6352               <stringProp name="49586">200</stringProp>
6353             </collectionProp>
6354             <stringProp name="Assertion.custom_message"></stringProp>
6355             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6356             <boolProp name="Assertion.assume_success">false</boolProp>
6357             <intProp name="Assertion.test_type">1</intProp>
6358           </ResponseAssertion>
6359           <hashTree/>
6360           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="false">
6361             <stringProp name="scriptLanguage">groovy</stringProp>
6362             <stringProp name="parameters"></stringProp>
6363             <stringProp name="filename"></stringProp>
6364             <stringProp name="cacheKey">true</stringProp>
6365             <stringProp name="script">import groovy.json.JsonSlurper;
6366
6367 def res = [];
6368 if (prev.getResponseCode() == &apos;409&apos;) {
6369     def jsonSlurper = new JsonSlurper();
6370     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6371
6372     assert res instanceof Map;
6373     assert res.policy_types instanceof List;
6374     assert res.policy_types.size == 1;
6375     assert res.policy_types[0] instanceof Map;
6376     assert res.policy_types[0].get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;).version == &quot;7.0.${__threadNum}&quot;;
6377  }</stringProp>
6378           </JSR223Assertion>
6379           <hashTree/>
6380         </hashTree>
6381         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Optimization" enabled="true">
6382           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6383             <collectionProp name="Arguments.arguments"/>
6384           </elementProp>
6385           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6386           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6387           <stringProp name="HTTPSampler.protocol">https</stringProp>
6388           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6389           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/6.0.${__threadNum}</stringProp>
6390           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6391           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6392           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6393           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6394           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6395           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6396           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6397           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6398         </HTTPSamplerProxy>
6399         <hashTree>
6400           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6401             <collectionProp name="Asserion.test_strings">
6402               <stringProp name="49586">200</stringProp>
6403             </collectionProp>
6404             <stringProp name="Assertion.custom_message"></stringProp>
6405             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6406             <boolProp name="Assertion.assume_success">false</boolProp>
6407             <intProp name="Assertion.test_type">1</intProp>
6408           </ResponseAssertion>
6409           <hashTree/>
6410           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6411             <stringProp name="scriptLanguage">groovy</stringProp>
6412             <stringProp name="parameters"></stringProp>
6413             <stringProp name="filename"></stringProp>
6414             <stringProp name="cacheKey">true</stringProp>
6415             <stringProp name="script">import groovy.json.JsonSlurper;
6416
6417 def res = [];
6418 if (prev.getResponseCode() == &apos;409&apos;) {
6419     def jsonSlurper = new JsonSlurper();
6420     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6421
6422     assert res instanceof Map;
6423     assert res.policy_types instanceof List;
6424     assert res.policy_types.size == 1;
6425     assert res.policy_types[0] instanceof Map;
6426     assert res.policy_types[0].get(&apos;onap.policies.optimization.resource.AffinityPolicy&apos;).version == &quot;6.0.${__threadNum}&quot;;
6427  }</stringProp>
6428           </JSR223Assertion>
6429           <hashTree/>
6430         </hashTree>
6431         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Guard" enabled="true">
6432           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6433             <collectionProp name="Arguments.arguments"/>
6434           </elementProp>
6435           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6436           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6437           <stringProp name="HTTPSampler.protocol">https</stringProp>
6438           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6439           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.guard.common.Blacklist/versions/6.0.${__threadNum}</stringProp>
6440           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6441           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6442           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6443           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6444           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6445           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6446           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6447           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6448         </HTTPSamplerProxy>
6449         <hashTree>
6450           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6451             <collectionProp name="Asserion.test_strings">
6452               <stringProp name="49586">200</stringProp>
6453             </collectionProp>
6454             <stringProp name="Assertion.custom_message"></stringProp>
6455             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6456             <boolProp name="Assertion.assume_success">false</boolProp>
6457             <intProp name="Assertion.test_type">1</intProp>
6458           </ResponseAssertion>
6459           <hashTree/>
6460           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6461             <stringProp name="scriptLanguage">groovy</stringProp>
6462             <stringProp name="parameters"></stringProp>
6463             <stringProp name="filename"></stringProp>
6464             <stringProp name="cacheKey">true</stringProp>
6465             <stringProp name="script">import groovy.json.JsonSlurper;
6466
6467 def res = [];
6468 if (prev.getResponseCode() == &apos;200&apos;) {
6469     def jsonSlurper = new JsonSlurper();
6470     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6471
6472     assert res instanceof Map;
6473     assert res.policy_types instanceof Map;
6474     assert res.policy_types.get(&apos;onap.policies.controlloop.guard.common.Blacklist&apos;).version == &quot;6.0.${__threadNum}&quot;;
6475  }</stringProp>
6476           </JSR223Assertion>
6477           <hashTree/>
6478         </hashTree>
6479         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Native APEX" enabled="true">
6480           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6481             <collectionProp name="Arguments.arguments"/>
6482           </elementProp>
6483           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6484           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6485           <stringProp name="HTTPSampler.protocol">https</stringProp>
6486           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6487           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/6.0.${__threadNum}</stringProp>
6488           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6489           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6490           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6491           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6492           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6493           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6494           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6495           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6496         </HTTPSamplerProxy>
6497         <hashTree>
6498           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6499             <collectionProp name="Asserion.test_strings">
6500               <stringProp name="49586">200</stringProp>
6501             </collectionProp>
6502             <stringProp name="Assertion.custom_message"></stringProp>
6503             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6504             <boolProp name="Assertion.assume_success">false</boolProp>
6505             <intProp name="Assertion.test_type">1</intProp>
6506           </ResponseAssertion>
6507           <hashTree/>
6508           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6509             <stringProp name="scriptLanguage">groovy</stringProp>
6510             <stringProp name="parameters"></stringProp>
6511             <stringProp name="filename"></stringProp>
6512             <stringProp name="cacheKey">true</stringProp>
6513             <stringProp name="script">import groovy.json.JsonSlurper;
6514
6515 def res = [];
6516 if (prev.getResponseCode() == &apos;200&apos;) {
6517     def jsonSlurper = new JsonSlurper();
6518     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6519
6520     assert res instanceof Map;
6521     assert res.policy_types instanceof Map;
6522     assert res.policy_types.get(&apos;onap.policies.native.Apex&apos;).version == &quot;6.0.${__threadNum}&quot;;
6523  }</stringProp>
6524           </JSR223Assertion>
6525           <hashTree/>
6526         </hashTree>
6527         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Native Drools Controller" enabled="true">
6528           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6529             <collectionProp name="Arguments.arguments"/>
6530           </elementProp>
6531           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6532           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6533           <stringProp name="HTTPSampler.protocol">https</stringProp>
6534           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6535           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.drools.Controller/versions/6.0.${__threadNum}</stringProp>
6536           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6537           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6538           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6539           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6540           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6541           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6542           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6543           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6544         </HTTPSamplerProxy>
6545         <hashTree>
6546           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6547             <collectionProp name="Asserion.test_strings">
6548               <stringProp name="49586">200</stringProp>
6549             </collectionProp>
6550             <stringProp name="Assertion.custom_message"></stringProp>
6551             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6552             <boolProp name="Assertion.assume_success">false</boolProp>
6553             <intProp name="Assertion.test_type">1</intProp>
6554           </ResponseAssertion>
6555           <hashTree/>
6556           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6557             <stringProp name="scriptLanguage">groovy</stringProp>
6558             <stringProp name="parameters"></stringProp>
6559             <stringProp name="filename"></stringProp>
6560             <stringProp name="cacheKey">true</stringProp>
6561             <stringProp name="script">import groovy.json.JsonSlurper;
6562
6563 def res = [];
6564 if (prev.getResponseCode() == &apos;200&apos;) {
6565     def jsonSlurper = new JsonSlurper();
6566     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6567
6568     assert res instanceof Map;
6569     assert res.policy_types instanceof Map;
6570     assert res.policy_types.get(&apos;onap.policies.native.drools.Controller&apos;).version == &quot;6.0.${__threadNum}&quot;;
6571  }</stringProp>
6572           </JSR223Assertion>
6573           <hashTree/>
6574         </hashTree>
6575         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Native Drools Artifact" enabled="true">
6576           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6577             <collectionProp name="Arguments.arguments"/>
6578           </elementProp>
6579           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6580           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6581           <stringProp name="HTTPSampler.protocol">https</stringProp>
6582           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6583           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.drools.Artifact/versions/6.0.${__threadNum}</stringProp>
6584           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6585           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6586           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6587           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6588           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6589           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6590           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6591           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6592         </HTTPSamplerProxy>
6593         <hashTree>
6594           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6595             <collectionProp name="Asserion.test_strings">
6596               <stringProp name="49586">200</stringProp>
6597             </collectionProp>
6598             <stringProp name="Assertion.custom_message"></stringProp>
6599             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6600             <boolProp name="Assertion.assume_success">false</boolProp>
6601             <intProp name="Assertion.test_type">1</intProp>
6602           </ResponseAssertion>
6603           <hashTree/>
6604           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6605             <stringProp name="scriptLanguage">groovy</stringProp>
6606             <stringProp name="parameters"></stringProp>
6607             <stringProp name="filename"></stringProp>
6608             <stringProp name="cacheKey">true</stringProp>
6609             <stringProp name="script">import groovy.json.JsonSlurper;
6610
6611 def res = [];
6612 if (prev.getResponseCode() == &apos;200&apos;) {
6613     def jsonSlurper = new JsonSlurper();
6614     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6615
6616     assert res instanceof Map;
6617     assert res.policy_types instanceof Map;
6618     assert res.policy_types.get(&apos;onap.policies.native.drools.Artifact&apos;).version == &quot;6.0.${__threadNum}&quot;;
6619  }</stringProp>
6620           </JSR223Assertion>
6621           <hashTree/>
6622         </hashTree>
6623         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Native XACML" enabled="true">
6624           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6625             <collectionProp name="Arguments.arguments"/>
6626           </elementProp>
6627           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6628           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6629           <stringProp name="HTTPSampler.protocol">https</stringProp>
6630           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6631           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Xacml/versions/6.0.${__threadNum}</stringProp>
6632           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6633           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6634           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6635           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6636           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6637           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6638           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6639           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6640         </HTTPSamplerProxy>
6641         <hashTree>
6642           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6643             <collectionProp name="Asserion.test_strings">
6644               <stringProp name="49586">200</stringProp>
6645             </collectionProp>
6646             <stringProp name="Assertion.custom_message"></stringProp>
6647             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6648             <boolProp name="Assertion.assume_success">false</boolProp>
6649             <intProp name="Assertion.test_type">1</intProp>
6650           </ResponseAssertion>
6651           <hashTree/>
6652           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6653             <stringProp name="scriptLanguage">groovy</stringProp>
6654             <stringProp name="parameters"></stringProp>
6655             <stringProp name="filename"></stringProp>
6656             <stringProp name="cacheKey">true</stringProp>
6657             <stringProp name="script">import groovy.json.JsonSlurper;
6658
6659 def res = [];
6660 if (prev.getResponseCode() == &apos;200&apos;) {
6661     def jsonSlurper = new JsonSlurper();
6662     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6663
6664     assert res instanceof Map;
6665     assert res.policy_types instanceof Map;
6666     assert res.policy_types.get(&apos;onap.policies.native.Xacml&apos;).version == &quot;6.0.${__threadNum}&quot;;
6667  }</stringProp>
6668           </JSR223Assertion>
6669           <hashTree/>
6670         </hashTree>
6671         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Node Template" enabled="true">
6672           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6673             <collectionProp name="Arguments.arguments"/>
6674           </elementProp>
6675           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6676           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6677           <stringProp name="HTTPSampler.protocol">https</stringProp>
6678           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6679           <stringProp name="HTTPSampler.path">/policy/api/v1/nodetemplates/apex.metadata.pnf/versions/6.0.${__threadNum}</stringProp>
6680           <stringProp name="HTTPSampler.method">DELETE</stringProp>
6681           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6682           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6683           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6684           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6685           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6686           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6687           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6688         </HTTPSamplerProxy>
6689         <hashTree>
6690           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6691             <collectionProp name="Asserion.test_strings">
6692               <stringProp name="49586">200</stringProp>
6693             </collectionProp>
6694             <stringProp name="Assertion.custom_message"></stringProp>
6695             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6696             <boolProp name="Assertion.assume_success">false</boolProp>
6697             <intProp name="Assertion.test_type">1</intProp>
6698           </ResponseAssertion>
6699           <hashTree/>
6700           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6701             <stringProp name="scriptLanguage">groovy</stringProp>
6702             <stringProp name="parameters"></stringProp>
6703             <stringProp name="filename"></stringProp>
6704             <stringProp name="cacheKey">true</stringProp>
6705             <stringProp name="script">import groovy.json.JsonSlurper;
6706
6707 def res = [];
6708 if (prev.getResponseCode() == &apos;200&apos;) {
6709     def jsonSlurper = new JsonSlurper();
6710     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6711
6712     assert res instanceof Map;
6713     assert res.topology_template instanceof Map;
6714     assert res.topology_template.node_templates instanceof Map;
6715     assert res.topology_template.node_templates.get(&quot;apex.metadata.pnf&quot;).version == &quot;6.0.${__threadNum}&quot;;
6716  }</stringProp>
6717           </JSR223Assertion>
6718           <hashTree/>
6719         </hashTree>
6720         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Metrics" enabled="true">
6721           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6722             <collectionProp name="Arguments.arguments"/>
6723           </elementProp>
6724           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6725           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6726           <stringProp name="HTTPSampler.protocol">https</stringProp>
6727           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6728           <stringProp name="HTTPSampler.path">/metrics</stringProp>
6729           <stringProp name="HTTPSampler.method">GET</stringProp>
6730           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6731           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6732           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6733           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6734           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6735           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6736           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6737         </HTTPSamplerProxy>
6738         <hashTree>
6739           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6740             <collectionProp name="Asserion.test_strings">
6741               <stringProp name="49586">200</stringProp>
6742             </collectionProp>
6743             <stringProp name="Assertion.custom_message"></stringProp>
6744             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6745             <boolProp name="Assertion.assume_success">false</boolProp>
6746             <intProp name="Assertion.test_type">1</intProp>
6747           </ResponseAssertion>
6748           <hashTree/>
6749           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6750             <stringProp name="scriptLanguage">groovy</stringProp>
6751             <stringProp name="parameters"></stringProp>
6752             <stringProp name="filename"></stringProp>
6753             <stringProp name="cacheKey">true</stringProp>
6754             <stringProp name="script">def res = [];
6755 if (prev.getResponseCode() == &apos;200&apos;) {
6756     res = prev.getResponseDataAsString();
6757
6758     assert res.contains(&quot;http_server_requests_seconds_sum&quot;)
6759     assert res.contains(&quot;http_server_requests_seconds_max&quot;)
6760     assert res.contains(&quot;spring_data_repository_invocations_seconds_count&quot;)
6761     assert res.contains(&quot;spring_data_repository_invocations_seconds_sum&quot;)
6762     assert res.contains(&quot;spring_data_repository_invocations_seconds_max&quot;)
6763     assert res.contains(&quot;jvm_threads_live_threads&quot;)
6764     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;POST\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policytypes\&quot;,}&quot;)
6765     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;GET\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/metrics\&quot;,}&quot;)
6766     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;GET\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId}\&quot;,}&quot;)
6767     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;DELETE\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/nodetemplates/{name}/versions/{version}\&quot;,}&quot;)
6768     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;GET\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/healthcheck\&quot;,}&quot;)
6769     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;GET\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId}/versions/{policyVersion}\&quot;,}&quot;)
6770     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;GET\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/nodetemplates/{name}/versions/{version}\&quot;,}&quot;)
6771     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;DELETE\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policytypes/{policyTypeId}/versions/{versionId}\&quot;,}&quot;)
6772     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;GET\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/statistics\&quot;,}&quot;)
6773     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;DELETE\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId}/versions/{policyVersion}\&quot;,}&quot;)
6774     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;GET\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policytypes/{policyTypeId}\&quot;,}&quot;)
6775     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;GET\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policytypes/{policyTypeId}/versions/{versionId}\&quot;,}&quot;)
6776     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;POST\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/nodetemplates\&quot;,}&quot;)
6777     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;POST\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies\&quot;,}&quot;)
6778     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;POST\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policies\&quot;,}&quot;)
6779     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;GET\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies\&quot;,}&quot;)
6780     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;GET\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId}/versions/latest\&quot;,}&quot;)
6781     assert res.contains(&quot;http_server_requests_seconds_count{exception=\&quot;None\&quot;,method=\&quot;DELETE\&quot;,outcome=\&quot;SUCCESS\&quot;,status=\&quot;200\&quot;,uri=\&quot;/policy/api/v1/policies/{policyId}/versions/{policyVersion}\&quot;,}&quot;)
6782 }</stringProp>
6783           </JSR223Assertion>
6784           <hashTree/>
6785           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
6786             <collectionProp name="HeaderManager.headers">
6787               <elementProp name="" elementType="Header">
6788                 <stringProp name="Header.name"></stringProp>
6789                 <stringProp name="Header.value"></stringProp>
6790               </elementProp>
6791               <elementProp name="" elementType="Header">
6792                 <stringProp name="Header.name">Accept</stringProp>
6793                 <stringProp name="Header.value">text/plain</stringProp>
6794               </elementProp>
6795             </collectionProp>
6796           </HeaderManager>
6797           <hashTree/>
6798         </hashTree>
6799       </hashTree>
6800       <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
6801         <stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp>
6802         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
6803           <boolProp name="LoopController.continue_forever">false</boolProp>
6804           <stringProp name="LoopController.loops">1</stringProp>
6805         </elementProp>
6806         <stringProp name="ThreadGroup.num_threads">1</stringProp>
6807         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
6808         <boolProp name="ThreadGroup.scheduler">false</boolProp>
6809         <stringProp name="ThreadGroup.duration"></stringProp>
6810         <stringProp name="ThreadGroup.delay"></stringProp>
6811         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
6812       </PostThreadGroup>
6813       <hashTree>
6814         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Healthcheck" enabled="true">
6815           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6816             <collectionProp name="Arguments.arguments"/>
6817           </elementProp>
6818           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6819           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6820           <stringProp name="HTTPSampler.protocol">https</stringProp>
6821           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6822           <stringProp name="HTTPSampler.path">/policy/api/v1/healthcheck</stringProp>
6823           <stringProp name="HTTPSampler.method">GET</stringProp>
6824           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6825           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6826           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6827           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6828           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6829           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6830           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6831         </HTTPSamplerProxy>
6832         <hashTree>
6833           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6834             <collectionProp name="Asserion.test_strings">
6835               <stringProp name="49586">200</stringProp>
6836             </collectionProp>
6837             <stringProp name="Assertion.custom_message"></stringProp>
6838             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6839             <boolProp name="Assertion.assume_success">false</boolProp>
6840             <intProp name="Assertion.test_type">1</intProp>
6841           </ResponseAssertion>
6842           <hashTree/>
6843           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6844             <stringProp name="cacheKey">true</stringProp>
6845             <stringProp name="filename"></stringProp>
6846             <stringProp name="parameters"></stringProp>
6847             <stringProp name="script">import groovy.json.JsonSlurper;
6848
6849 def res = [];
6850 if (prev.getResponseCode() == &apos;200&apos;) {
6851     def jsonSlurper = new JsonSlurper();
6852     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6853
6854     assert res instanceof Map;
6855     assert res.code == 200;
6856     assert res.name == &quot;Policy API&quot;;
6857     assert res.healthy==true;
6858     assert res.message==&quot;alive&quot;;
6859 }</stringProp>
6860             <stringProp name="scriptLanguage">groovy</stringProp>
6861           </JSR223Assertion>
6862           <hashTree/>
6863         </hashTree>
6864         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Preloaded Policy Types" enabled="true">
6865           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
6866             <collectionProp name="Arguments.arguments"/>
6867           </elementProp>
6868           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
6869           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
6870           <stringProp name="HTTPSampler.protocol">https</stringProp>
6871           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
6872           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
6873           <stringProp name="HTTPSampler.method">GET</stringProp>
6874           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
6875           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
6876           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
6877           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
6878           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
6879           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
6880           <stringProp name="HTTPSampler.response_timeout"></stringProp>
6881         </HTTPSamplerProxy>
6882         <hashTree>
6883           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
6884             <collectionProp name="Asserion.test_strings">
6885               <stringProp name="49586">200</stringProp>
6886             </collectionProp>
6887             <stringProp name="Assertion.custom_message"></stringProp>
6888             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
6889             <boolProp name="Assertion.assume_success">false</boolProp>
6890             <intProp name="Assertion.test_type">1</intProp>
6891           </ResponseAssertion>
6892           <hashTree/>
6893           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
6894             <stringProp name="scriptLanguage">groovy</stringProp>
6895             <stringProp name="parameters"></stringProp>
6896             <stringProp name="filename"></stringProp>
6897             <stringProp name="cacheKey">true</stringProp>
6898             <stringProp name="script">import groovy.json.JsonSlurper;
6899
6900 def res = [];
6901 if (prev.getResponseCode() == &apos;200&apos;) {
6902     def jsonSlurper = new JsonSlurper();
6903     res = jsonSlurper.parseText(prev.getResponseDataAsString());
6904
6905     assert res instanceof Map;
6906     assert res.policy_types instanceof Map;
6907     assert res.policy_types.size() == 38;
6908 }</stringProp>
6909           </JSR223Assertion>
6910           <hashTree/>
6911         </hashTree>
6912       </hashTree>
6913       <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
6914         <boolProp name="ResultCollector.error_logging">false</boolProp>
6915         <objProp>
6916           <name>saveConfig</name>
6917           <value class="SampleSaveConfiguration">
6918             <time>true</time>
6919             <latency>true</latency>
6920             <timestamp>true</timestamp>
6921             <success>true</success>
6922             <label>true</label>
6923             <code>true</code>
6924             <message>true</message>
6925             <threadName>true</threadName>
6926             <dataType>true</dataType>
6927             <encoding>false</encoding>
6928             <assertions>true</assertions>
6929             <subresults>true</subresults>
6930             <responseData>false</responseData>
6931             <samplerData>false</samplerData>
6932             <xml>false</xml>
6933             <fieldNames>true</fieldNames>
6934             <responseHeaders>false</responseHeaders>
6935             <requestHeaders>false</requestHeaders>
6936             <responseDataOnError>false</responseDataOnError>
6937             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
6938             <assertionsResultsToSave>0</assertionsResultsToSave>
6939             <bytes>true</bytes>
6940             <sentBytes>true</sentBytes>
6941             <url>true</url>
6942             <threadCounts>true</threadCounts>
6943             <idleTime>true</idleTime>
6944             <connectTime>true</connectTime>
6945           </value>
6946         </objProp>
6947         <stringProp name="filename">/home/liam/work/WIndriver/summary.log</stringProp>
6948       </ResultCollector>
6949       <hashTree/>
6950       <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
6951         <boolProp name="ResultCollector.error_logging">false</boolProp>
6952         <objProp>
6953           <name>saveConfig</name>
6954           <value class="SampleSaveConfiguration">
6955             <time>true</time>
6956             <latency>true</latency>
6957             <timestamp>true</timestamp>
6958             <success>true</success>
6959             <label>true</label>
6960             <code>true</code>
6961             <message>true</message>
6962             <threadName>true</threadName>
6963             <dataType>true</dataType>
6964             <encoding>false</encoding>
6965             <assertions>true</assertions>
6966             <subresults>true</subresults>
6967             <responseData>false</responseData>
6968             <samplerData>false</samplerData>
6969             <xml>false</xml>
6970             <fieldNames>true</fieldNames>
6971             <responseHeaders>false</responseHeaders>
6972             <requestHeaders>false</requestHeaders>
6973             <responseDataOnError>false</responseDataOnError>
6974             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
6975             <assertionsResultsToSave>0</assertionsResultsToSave>
6976             <bytes>true</bytes>
6977             <sentBytes>true</sentBytes>
6978             <url>true</url>
6979             <threadCounts>true</threadCounts>
6980             <idleTime>true</idleTime>
6981             <connectTime>true</connectTime>
6982           </value>
6983         </objProp>
6984         <stringProp name="filename">/Users/prakhapa/Downloads/stabilityTestResultsPolicyApi.jtl</stringProp>
6985       </ResultCollector>
6986       <hashTree/>
6987       <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
6988         <boolProp name="ResultCollector.error_logging">false</boolProp>
6989         <objProp>
6990           <name>saveConfig</name>
6991           <value class="SampleSaveConfiguration">
6992             <time>true</time>
6993             <latency>true</latency>
6994             <timestamp>true</timestamp>
6995             <success>true</success>
6996             <label>true</label>
6997             <code>true</code>
6998             <message>true</message>
6999             <threadName>true</threadName>
7000             <dataType>true</dataType>
7001             <encoding>false</encoding>
7002             <assertions>true</assertions>
7003             <subresults>true</subresults>
7004             <responseData>false</responseData>
7005             <samplerData>false</samplerData>
7006             <xml>false</xml>
7007             <fieldNames>true</fieldNames>
7008             <responseHeaders>false</responseHeaders>
7009             <requestHeaders>false</requestHeaders>
7010             <responseDataOnError>false</responseDataOnError>
7011             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
7012             <assertionsResultsToSave>0</assertionsResultsToSave>
7013             <bytes>true</bytes>
7014             <sentBytes>true</sentBytes>
7015             <url>true</url>
7016             <threadCounts>true</threadCounts>
7017             <idleTime>true</idleTime>
7018             <connectTime>true</connectTime>
7019           </value>
7020         </objProp>
7021         <stringProp name="filename">/Users/prakhapa/Downloads/stabilityTestResultsPolicyApi.jtl</stringProp>
7022       </ResultCollector>
7023       <hashTree/>
7024     </hashTree>
7025   </hashTree>
7026 </jmeterTestPlan>