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