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