1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
7 Modifications Copyright (C) 2020-2021,2024 Nordix Foundation.
8 Modifications Copyright (C) 2020,2022 Bell Canada. All rights reserved.
9 ================================================================================
10 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
21 <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3">
23 <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy PAP Stability" enabled="true">
24 <stringProp name="TestPlan.comments">Policy PAP Stability Tests</stringProp>
25 <boolProp name="TestPlan.functional_mode">false</boolProp>
26 <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
27 <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
28 <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
29 <collectionProp name="Arguments.arguments">
30 <elementProp name="PAP_HOST" elementType="Argument">
31 <stringProp name="Argument.name">PAP_HOST</stringProp>
32 <stringProp name="Argument.value">localhost</stringProp>
33 <stringProp name="Argument.metadata">=</stringProp>
35 <elementProp name="PAP_PORT" elementType="Argument">
36 <stringProp name="Argument.name">PAP_PORT</stringProp>
37 <stringProp name="Argument.value">30003</stringProp>
38 <stringProp name="Argument.metadata">=</stringProp>
40 <elementProp name="API_HOST" elementType="Argument">
41 <stringProp name="Argument.name">API_HOST</stringProp>
42 <stringProp name="Argument.value">localhost</stringProp>
43 <stringProp name="Argument.metadata">=</stringProp>
45 <elementProp name="API_PORT" elementType="Argument">
46 <stringProp name="Argument.name">API_PORT</stringProp>
47 <stringProp name="Argument.value">30002</stringProp>
48 <stringProp name="Argument.metadata">=</stringProp>
52 <stringProp name="TestPlan.user_define_classpath"></stringProp>
55 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager">
56 <collectionProp name="AuthManager.auth_list">
57 <elementProp name="" elementType="Authorization">
58 <stringProp name="Authorization.url">http://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
59 <stringProp name="Authorization.username">policyadmin</stringProp>
60 <stringProp name="Authorization.password">zb!XztG34</stringProp>
61 <stringProp name="Authorization.domain"></stringProp>
62 <stringProp name="Authorization.realm"></stringProp>
64 <elementProp name="" elementType="Authorization">
65 <stringProp name="Authorization.url">http://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
66 <stringProp name="Authorization.username">policyadmin</stringProp>
67 <stringProp name="Authorization.password">zb!XztG34</stringProp>
68 <stringProp name="Authorization.domain"></stringProp>
69 <stringProp name="Authorization.realm"></stringProp>
71 <elementProp name="" elementType="Authorization">
72 <stringProp name="Authorization.url">http://${PAP_HOST}:${PAP_PORT}/metrics</stringProp>
73 <stringProp name="Authorization.username">policyadmin</stringProp>
74 <stringProp name="Authorization.password">zb!XztG34</stringProp>
75 <stringProp name="Authorization.domain"></stringProp>
76 <stringProp name="Authorization.realm"></stringProp>
79 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
80 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
83 <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
84 <collectionProp name="HeaderManager.headers">
85 <elementProp name="" elementType="Header">
86 <stringProp name="Header.name">Content-Type</stringProp>
87 <stringProp name="Header.value">application/json</stringProp>
92 <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group">
93 <intProp name="ThreadGroup.num_threads">1</intProp>
94 <intProp name="ThreadGroup.ramp_time">1</intProp>
95 <longProp name="ThreadGroup.duration">260000</longProp>
96 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
97 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
98 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
99 <stringProp name="LoopController.loops">1</stringProp>
100 <boolProp name="LoopController.continue_forever">false</boolProp>
104 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy">
105 <intProp name="HTTPSampler.concurrentPool">6</intProp>
106 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
107 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
108 <stringProp name="HTTPSampler.protocol">http</stringProp>
109 <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0/policies</stringProp>
110 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
111 <stringProp name="HTTPSampler.method">POST</stringProp>
112 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
113 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
114 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
115 <collectionProp name="Arguments.arguments">
116 <elementProp name="" elementType="HTTPArgument">
117 <boolProp name="HTTPArgument.always_encode">false</boolProp>
118 <stringProp name="Argument.value">{
119 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
120 "topology_template": {
121 "policies": [
123 "operational.apex.stabilityTestDefaultDomain": {
124 "type": "onap.policies.controlloop.operational.common.Apex",
125 "type_version": "1.0.0",
126 "version": "1.0.0",
127 "metadata": {
128 "policy-id": "operational.apex.defaultDomain",
129 "policy-version": 1
131 "properties": {
132 "engineServiceParameters": {
133 "name": "MyApexEngine",
134 "version": "0.0.1",
135 "id": 45,
136 "instanceCount": 4,
137 "deploymentPort": 12561,
138 "policy_type_impl": {
139 "apexPolicyModel": {
140 "key": {
141 "name": "SamplePolicyModelJAVASCRIPT",
142 "version": "0.0.1"
144 "keyInformation": {
145 "key": {
146 "name": "KeyInformation",
147 "version": "0.0.1"
149 "keyInfoMap": {
150 "entry": [
152 "key": {
153 "name": "Context",
154 "version": "0.0.1"
156 "value": {
157 "key": {
158 "name": "Context",
159 "version": "0.0.1"
161 "UUID": "ca36bfd8-6042-3633-8c85-89c66507c3bf",
162 "description": "Generated description for concept referred to by key \"Context:0.0.1\""
166 "key": {
167 "name": "Event0000",
168 "version": "0.0.1"
170 "value": {
171 "key": {
172 "name": "Event0000",
173 "version": "0.0.1"
175 "UUID": "465a81cc-885f-3a4d-bc4e-1508da92b236",
176 "description": "Generated description for concept referred to by key \"Event0000:0.0.1\""
180 "key": {
181 "name": "Event0001",
182 "version": "0.0.1"
184 "value": {
185 "key": {
186 "name": "Event0001",
187 "version": "0.0.1"
189 "UUID": "36b2d570-fff7-3a4b-bab2-6bf492f5129a",
190 "description": "Generated description for concept referred to by key \"Event0001:0.0.1\""
194 "key": {
195 "name": "Event0002",
196 "version": "0.0.1"
198 "value": {
199 "key": {
200 "name": "Event0002",
201 "version": "0.0.1"
203 "UUID": "ff6160a7-fb5e-379c-a6d2-2cd28053eacf",
204 "description": "Generated description for concept referred to by key \"Event0002:0.0.1\""
208 "key": {
209 "name": "Event0003",
210 "version": "0.0.1"
212 "value": {
213 "key": {
214 "name": "Event0003",
215 "version": "0.0.1"
217 "UUID": "5899e216-2abf-3781-abc4-2c257b92721e",
218 "description": "Generated description for concept referred to by key \"Event0003:0.0.1\""
222 "key": {
223 "name": "Event0004",
224 "version": "0.0.1"
226 "value": {
227 "key": {
228 "name": "Event0004",
229 "version": "0.0.1"
231 "UUID": "7c2692a7-4587-3d09-abf9-d96b339a316f",
232 "description": "Generated description for concept referred to by key \"Event0004:0.0.1\""
236 "key": {
237 "name": "Event0100",
238 "version": "0.0.1"
240 "value": {
241 "key": {
242 "name": "Event0100",
243 "version": "0.0.1"
245 "UUID": "b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7",
246 "description": "Generated description for concept referred to by key \"Event0100:0.0.1\""
250 "key": {
251 "name": "Event0101",
252 "version": "0.0.1"
254 "value": {
255 "key": {
256 "name": "Event0101",
257 "version": "0.0.1"
259 "UUID": "edbfa868-2ab2-30fd-8078-4c7f67ca6122",
260 "description": "Generated description for concept referred to by key \"Event0101:0.0.1\""
264 "key": {
265 "name": "Event0102",
266 "version": "0.0.1"
268 "value": {
269 "key": {
270 "name": "Event0102",
271 "version": "0.0.1"
273 "UUID": "6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4",
274 "description": "Generated description for concept referred to by key \"Event0102:0.0.1\""
278 "key": {
279 "name": "Event0103",
280 "version": "0.0.1"
282 "value": {
283 "key": {
284 "name": "Event0103",
285 "version": "0.0.1"
287 "UUID": "c2550912-10d9-3000-8826-377288cd6cb1",
288 "description": "Generated description for concept referred to by key \"Event0103:0.0.1\""
292 "key": {
293 "name": "Event0104",
294 "version": "0.0.1"
296 "value": {
297 "key": {
298 "name": "Event0104",
299 "version": "0.0.1"
301 "UUID": "f6d75b71-c8a7-3337-a121-88d68c389f5a",
302 "description": "Generated description for concept referred to by key \"Event0104:0.0.1\""
306 "key": {
307 "name": "Events",
308 "version": "0.0.1"
310 "value": {
311 "key": {
312 "name": "Events",
313 "version": "0.0.1"
315 "UUID": "0215644c-4531-375c-8335-d558b4de8c03",
316 "description": "Generated description for concept referred to by key \"Events:0.0.1\""
320 "key": {
321 "name": "ExternalContextAlbum",
322 "version": "0.0.1"
324 "value": {
325 "key": {
326 "name": "ExternalContextAlbum",
327 "version": "0.0.1"
329 "UUID": "976a79e7-5c80-3c03-9503-da3f41fec395",
330 "description": "Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""
334 "key": {
335 "name": "GlobalContextAlbum",
336 "version": "0.0.1"
338 "value": {
339 "key": {
340 "name": "GlobalContextAlbum",
341 "version": "0.0.1"
343 "UUID": "c95e9e5f-d2c7-3ac7-a205-ea3574530cb7",
344 "description": "Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""
348 "key": {
349 "name": "KeyInformation",
350 "version": "0.0.1"
352 "value": {
353 "key": {
354 "name": "KeyInformation",
355 "version": "0.0.1"
357 "UUID": "1ff2f905-685c-3caf-95bc-0bbc90345888",
358 "description": "Generated description for concept referred to by key \"KeyInformation:0.0.1\""
362 "key": {
363 "name": "Policies",
364 "version": "0.0.1"
366 "value": {
367 "key": {
368 "name": "Policies",
369 "version": "0.0.1"
371 "UUID": "f54c3b2b-be76-31c4-adfc-87c494c06808",
372 "description": "Generated description for concept referred to by key \"Policies:0.0.1\""
376 "key": {
377 "name": "Policy0",
378 "version": "0.0.1"
380 "value": {
381 "key": {
382 "name": "Policy0",
383 "version": "0.0.1"
385 "UUID": "3410e939-30ca-32c4-a2d8-c30b6fee6eec",
386 "description": "Generated description for concept referred to by key \"Policy0:0.0.1\""
390 "key": {
391 "name": "Policy0ContextAlbum",
392 "version": "0.0.1"
394 "value": {
395 "key": {
396 "name": "Policy0ContextAlbum",
397 "version": "0.0.1"
399 "UUID": "e27564c4-3cbf-3db2-9bf3-83ae80a2f907",
400 "description": "Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""
404 "key": {
405 "name": "Policy1",
406 "version": "0.0.1"
408 "value": {
409 "key": {
410 "name": "Policy1",
411 "version": "0.0.1"
413 "UUID": "d0b2b585-f344-33b8-af9e-250e7f4cfbce",
414 "description": "Generated description for concept referred to by key \"Policy1:0.0.1\""
418 "key": {
419 "name": "Policy1ContextAlbum",
420 "version": "0.0.1"
422 "value": {
423 "key": {
424 "name": "Policy1ContextAlbum",
425 "version": "0.0.1"
427 "UUID": "815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0",
428 "description": "Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""
432 "key": {
433 "name": "SamplePolicyModelJAVASCRIPT",
434 "version": "0.0.1"
436 "value": {
437 "key": {
438 "name": "SamplePolicyModelJAVASCRIPT",
439 "version": "0.0.1"
441 "UUID": "bc8ee312-81ce-3c4a-92d5-4a73b8077148",
442 "description": "Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""
446 "key": {
447 "name": "Task_Act0",
448 "version": "0.0.1"
450 "value": {
451 "key": {
452 "name": "Task_Act0",
453 "version": "0.0.1"
455 "UUID": "0589ff20-adcc-3ce5-95fe-8d7978ed54ed",
456 "description": "Generated description for concept referred to by key \"Task_Act0:0.0.1\""
460 "key": {
461 "name": "Task_Act1",
462 "version": "0.0.1"
464 "value": {
465 "key": {
466 "name": "Task_Act1",
467 "version": "0.0.1"
469 "UUID": "095b126d-ca8b-32c9-ad52-d744e817a79c",
470 "description": "Generated description for concept referred to by key \"Task_Act1:0.0.1\""
474 "key": {
475 "name": "Task_Act2",
476 "version": "0.0.1"
478 "value": {
479 "key": {
480 "name": "Task_Act2",
481 "version": "0.0.1"
483 "UUID": "3d786b4c-d9ee-3367-ab71-c67271a4ea2f",
484 "description": "Generated description for concept referred to by key \"Task_Act2:0.0.1\""
488 "key": {
489 "name": "Task_Act3",
490 "version": "0.0.1"
492 "value": {
493 "key": {
494 "name": "Task_Act3",
495 "version": "0.0.1"
497 "UUID": "9231753e-20c5-3436-982f-9100340cc570",
498 "description": "Generated description for concept referred to by key \"Task_Act3:0.0.1\""
502 "key": {
503 "name": "Task_Decide0",
504 "version": "0.0.1"
506 "value": {
507 "key": {
508 "name": "Task_Decide0",
509 "version": "0.0.1"
511 "UUID": "502383d3-483f-3a56-a426-2f0406674c8d",
512 "description": "Generated description for concept referred to by key \"Task_Decide0:0.0.1\""
516 "key": {
517 "name": "Task_Decide1",
518 "version": "0.0.1"
520 "value": {
521 "key": {
522 "name": "Task_Decide1",
523 "version": "0.0.1"
525 "UUID": "16598106-41c8-3b5a-99c6-5fcf6d1a5ddf",
526 "description": "Generated description for concept referred to by key \"Task_Decide1:0.0.1\""
530 "key": {
531 "name": "Task_Decide2",
532 "version": "0.0.1"
534 "value": {
535 "key": {
536 "name": "Task_Decide2",
537 "version": "0.0.1"
539 "UUID": "ad3a89f5-e369-3c66-b22c-669f7b3653b8",
540 "description": "Generated description for concept referred to by key \"Task_Decide2:0.0.1\""
544 "key": {
545 "name": "Task_Decide3",
546 "version": "0.0.1"
548 "value": {
549 "key": {
550 "name": "Task_Decide3",
551 "version": "0.0.1"
553 "UUID": "56815939-1164-3867-9ed1-0a27ff8aafb3",
554 "description": "Generated description for concept referred to by key \"Task_Decide3:0.0.1\""
558 "key": {
559 "name": "Task_Establish0",
560 "version": "0.0.1"
562 "value": {
563 "key": {
564 "name": "Task_Establish0",
565 "version": "0.0.1"
567 "UUID": "0db0c566-ecd7-3e27-9865-4b82c893abdb",
568 "description": "Generated description for concept referred to by key \"Task_Establish0:0.0.1\""
572 "key": {
573 "name": "Task_Establish1",
574 "version": "0.0.1"
576 "value": {
577 "key": {
578 "name": "Task_Establish1",
579 "version": "0.0.1"
581 "UUID": "6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0",
582 "description": "Generated description for concept referred to by key \"Task_Establish1:0.0.1\""
586 "key": {
587 "name": "Task_Establish2",
588 "version": "0.0.1"
590 "value": {
591 "key": {
592 "name": "Task_Establish2",
593 "version": "0.0.1"
595 "UUID": "0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a",
596 "description": "Generated description for concept referred to by key \"Task_Establish2:0.0.1\""
600 "key": {
601 "name": "Task_Establish3",
602 "version": "0.0.1"
604 "value": {
605 "key": {
606 "name": "Task_Establish3",
607 "version": "0.0.1"
609 "UUID": "c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66",
610 "description": "Generated description for concept referred to by key \"Task_Establish3:0.0.1\""
614 "key": {
615 "name": "Task_Match0",
616 "version": "0.0.1"
618 "value": {
619 "key": {
620 "name": "Task_Match0",
621 "version": "0.0.1"
623 "UUID": "051bcfd5-cf73-3c89-8ee7-ea6e005ec059",
624 "description": "Generated description for concept referred to by key \"Task_Match0:0.0.1\""
628 "key": {
629 "name": "Task_Match1",
630 "version": "0.0.1"
632 "value": {
633 "key": {
634 "name": "Task_Match1",
635 "version": "0.0.1"
637 "UUID": "3754fe19-98f2-34a1-9f45-db31052208d8",
638 "description": "Generated description for concept referred to by key \"Task_Match1:0.0.1\""
642 "key": {
643 "name": "Task_Match2",
644 "version": "0.0.1"
646 "value": {
647 "key": {
648 "name": "Task_Match2",
649 "version": "0.0.1"
651 "UUID": "8c200709-a180-3c8b-916f-275ff49ce194",
652 "description": "Generated description for concept referred to by key \"Task_Match2:0.0.1\""
656 "key": {
657 "name": "Task_Match3",
658 "version": "0.0.1"
660 "value": {
661 "key": {
662 "name": "Task_Match3",
663 "version": "0.0.1"
665 "UUID": "a1a879c6-4510-33b0-bbd0-ad6256189a37",
666 "description": "Generated description for concept referred to by key \"Task_Match3:0.0.1\""
670 "key": {
671 "name": "Tasks",
672 "version": "0.0.1"
674 "value": {
675 "key": {
676 "name": "Tasks",
677 "version": "0.0.1"
679 "UUID": "a7fab96b-ce1c-37ce-bbb2-556b6db524a5",
680 "description": "Generated description for concept referred to by key \"Tasks:0.0.1\""
684 "key": {
685 "name": "TestCase",
686 "version": "0.0.1"
688 "value": {
689 "key": {
690 "name": "TestCase",
691 "version": "0.0.1"
693 "UUID": "0a652886-c88d-3f8c-8994-ae9161e7c963",
694 "description": "Generated description for concept referred to by key \"TestCase:0.0.1\""
698 "key": {
699 "name": "TestContextItem000",
700 "version": "0.0.1"
702 "value": {
703 "key": {
704 "name": "TestContextItem000",
705 "version": "0.0.1"
707 "UUID": "8efba9fa-371e-33df-a7d6-88b0284e7fd0",
708 "description": "Generated description for concept referred to by key \"TestContextItem000:0.0.1\""
712 "key": {
713 "name": "TestContextItem001",
714 "version": "0.0.1"
716 "value": {
717 "key": {
718 "name": "TestContextItem001",
719 "version": "0.0.1"
721 "UUID": "3740077c-a2b3-356b-81dc-5ded2118a951",
722 "description": "Generated description for concept referred to by key \"TestContextItem001:0.0.1\""
726 "key": {
727 "name": "TestContextItem002",
728 "version": "0.0.1"
730 "value": {
731 "key": {
732 "name": "TestContextItem002",
733 "version": "0.0.1"
735 "UUID": "b5c7df95-9af5-322f-9ea8-eb440a2bf926",
736 "description": "Generated description for concept referred to by key \"TestContextItem002:0.0.1\""
740 "key": {
741 "name": "TestContextItem003",
742 "version": "0.0.1"
744 "value": {
745 "key": {
746 "name": "TestContextItem003",
747 "version": "0.0.1"
749 "UUID": "b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b",
750 "description": "Generated description for concept referred to by key \"TestContextItem003:0.0.1\""
754 "key": {
755 "name": "TestContextItem004",
756 "version": "0.0.1"
758 "value": {
759 "key": {
760 "name": "TestContextItem004",
761 "version": "0.0.1"
763 "UUID": "093cda11-eaeb-3a46-a5b6-d5e30c00935b",
764 "description": "Generated description for concept referred to by key \"TestContextItem004:0.0.1\""
768 "key": {
769 "name": "TestContextItem005",
770 "version": "0.0.1"
772 "value": {
773 "key": {
774 "name": "TestContextItem005",
775 "version": "0.0.1"
777 "UUID": "569a758d-ba40-37c0-aebb-7ad138df25ac",
778 "description": "Generated description for concept referred to by key \"TestContextItem005:0.0.1\""
782 "key": {
783 "name": "TestContextItem006",
784 "version": "0.0.1"
786 "value": {
787 "key": {
788 "name": "TestContextItem006",
789 "version": "0.0.1"
791 "UUID": "252818d9-b61f-3962-a905-8865fb00fb04",
792 "description": "Generated description for concept referred to by key \"TestContextItem006:0.0.1\""
796 "key": {
797 "name": "TestContextItem007",
798 "version": "0.0.1"
800 "value": {
801 "key": {
802 "name": "TestContextItem007",
803 "version": "0.0.1"
805 "UUID": "fe1a5f7c-c083-377b-a797-752b01fc6c73",
806 "description": "Generated description for concept referred to by key \"TestContextItem007:0.0.1\""
810 "key": {
811 "name": "TestContextItem008",
812 "version": "0.0.1"
814 "value": {
815 "key": {
816 "name": "TestContextItem008",
817 "version": "0.0.1"
819 "UUID": "aa87d007-d07e-3f67-8c6d-0ebc3d85479d",
820 "description": "Generated description for concept referred to by key \"TestContextItem008:0.0.1\""
824 "key": {
825 "name": "TestContextItem009",
826 "version": "0.0.1"
828 "value": {
829 "key": {
830 "name": "TestContextItem009",
831 "version": "0.0.1"
833 "UUID": "126e7a3a-11b6-3f88-9397-c21d8819f859",
834 "description": "Generated description for concept referred to by key \"TestContextItem009:0.0.1\""
838 "key": {
839 "name": "TestContextItem00A",
840 "version": "0.0.1"
842 "value": {
843 "key": {
844 "name": "TestContextItem00A",
845 "version": "0.0.1"
847 "UUID": "0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc",
848 "description": "Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""
852 "key": {
853 "name": "TestContextItem00B",
854 "version": "0.0.1"
856 "value": {
857 "key": {
858 "name": "TestContextItem00B",
859 "version": "0.0.1"
861 "UUID": "dbdc98df-3ff4-360c-b8d3-a7a836ac3de6",
862 "description": "Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""
866 "key": {
867 "name": "TestContextItem00C",
868 "version": "0.0.1"
870 "value": {
871 "key": {
872 "name": "TestContextItem00C",
873 "version": "0.0.1"
875 "UUID": "32a2f355-77f3-3b25-ace6-7a9c5763a5ad",
876 "description": "Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""
880 "key": {
881 "name": "TestDatatypes",
882 "version": "0.0.1"
884 "value": {
885 "key": {
886 "name": "TestDatatypes",
887 "version": "0.0.1"
889 "UUID": "3f95472c-973e-30e2-95f1-bf00cbef909a",
890 "description": "Generated description for concept referred to by key \"TestDatatypes:0.0.1\""
894 "key": {
895 "name": "TestExternalContextItem",
896 "version": "0.0.1"
898 "value": {
899 "key": {
900 "name": "TestExternalContextItem",
901 "version": "0.0.1"
903 "UUID": "610dbbd4-9149-3b3c-9af4-819056f0e169",
904 "description": "Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""
908 "key": {
909 "name": "TestGlobalContextItem",
910 "version": "0.0.1"
912 "value": {
913 "key": {
914 "name": "TestGlobalContextItem",
915 "version": "0.0.1"
917 "UUID": "07fa8f68-55f1-3fd0-81c1-749a379753a7",
918 "description": "Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""
922 "key": {
923 "name": "TestPolicyContextItem",
924 "version": "0.0.1"
926 "value": {
927 "key": {
928 "name": "TestPolicyContextItem",
929 "version": "0.0.1"
931 "UUID": "d9c93cd1-539e-35c5-aaec-bb711ceb1251",
932 "description": "Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""
936 "key": {
937 "name": "TestSlogan",
938 "version": "0.0.1"
940 "value": {
941 "key": {
942 "name": "TestSlogan",
943 "version": "0.0.1"
945 "UUID": "683fe492-7eae-3ac7-9924-bb7850208d05",
946 "description": "Generated description for concept referred to by key \"TestSlogan:0.0.1\""
950 "key": {
951 "name": "TestTemperature",
952 "version": "0.0.1"
954 "value": {
955 "key": {
956 "name": "TestTemperature",
957 "version": "0.0.1"
959 "UUID": "bba25b6f-e3cd-3060-9022-4ef3a79f8eb0",
960 "description": "Generated description for concept referred to by key \"TestTemperature:0.0.1\""
964 "key": {
965 "name": "TestTimestamp",
966 "version": "0.0.1"
968 "value": {
969 "key": {
970 "name": "TestTimestamp",
971 "version": "0.0.1"
973 "UUID": "97b73937-c344-33c0-924c-4d26b6449564",
974 "description": "Generated description for concept referred to by key \"TestTimestamp:0.0.1\""
980 "policies": {
981 "key": {
982 "name": "Policies",
983 "version": "0.0.1"
985 "policyMap": {
986 "entry": [
988 "key": {
989 "name": "Policy0",
990 "version": "0.0.1"
992 "value": {
993 "policyKey": {
994 "name": "Policy0",
995 "version": "0.0.1"
997 "template": "MEDA",
998 "state": {
999 "entry": [
1001 "key": "Act",
1002 "value": {
1003 "stateKey": {
1004 "parentKeyName": "Policy0",
1005 "parentKeyVersion": "0.0.1",
1006 "parentLocalName": "NULL",
1007 "localName": "Act"
1009 "trigger": {
1010 "name": "Event0003",
1011 "version": "0.0.1"
1013 "stateOutputs": {
1014 "entry": [
1016 "key": "Act_NULL",
1017 "value": {
1018 "key": {
1019 "parentKeyName": "Policy0",
1020 "parentKeyVersion": "0.0.1",
1021 "parentLocalName": "Act",
1022 "localName": "Act_NULL"
1024 "outgoingEvent": {
1025 "name": "Event0004",
1026 "version": "0.0.1"
1028 "nextState": {
1029 "parentKeyName": "NULL",
1030 "parentKeyVersion": "0.0.0",
1031 "parentLocalName": "NULL",
1032 "localName": "NULL"
1038 "contextAlbumReference": [
1040 "name": "GlobalContextAlbum",
1041 "version": "0.0.1"
1044 "taskSelectionLogic": {
1045 "key": "TaskSelectionLigic",
1046 "logicFlavour": "JAVASCRIPT",
1047 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"
1049 "stateFinalizerLogicMap": {
1050 "entry": []
1052 "defaultTask": {
1053 "name": "Task_Act1",
1054 "version": "0.0.1"
1056 "taskReferences": {
1057 "entry": [
1059 "key": {
1060 "name": "Task_Act0",
1061 "version": "0.0.1"
1063 "value": {
1064 "key": {
1065 "parentKeyName": "Policy0",
1066 "parentKeyVersion": "0.0.1",
1067 "parentLocalName": "Act",
1068 "localName": "Task_Act0_DIRECT_Act_NULL"
1070 "outputType": "DIRECT",
1071 "output": {
1072 "parentKeyName": "Policy0",
1073 "parentKeyVersion": "0.0.1",
1074 "parentLocalName": "Act",
1075 "localName": "Act_NULL"
1080 "key": {
1081 "name": "Task_Act1",
1082 "version": "0.0.1"
1084 "value": {
1085 "key": {
1086 "parentKeyName": "Policy0",
1087 "parentKeyVersion": "0.0.1",
1088 "parentLocalName": "Act",
1089 "localName": "Task_Act1_DIRECT_Act_NULL"
1091 "outputType": "DIRECT",
1092 "output": {
1093 "parentKeyName": "Policy0",
1094 "parentKeyVersion": "0.0.1",
1095 "parentLocalName": "Act",
1096 "localName": "Act_NULL"
1101 "key": {
1102 "name": "Task_Act2",
1103 "version": "0.0.1"
1105 "value": {
1106 "key": {
1107 "parentKeyName": "Policy0",
1108 "parentKeyVersion": "0.0.1",
1109 "parentLocalName": "Act",
1110 "localName": "Task_Act2_DIRECT_Act_NULL"
1112 "outputType": "DIRECT",
1113 "output": {
1114 "parentKeyName": "Policy0",
1115 "parentKeyVersion": "0.0.1",
1116 "parentLocalName": "Act",
1117 "localName": "Act_NULL"
1122 "key": {
1123 "name": "Task_Act3",
1124 "version": "0.0.1"
1126 "value": {
1127 "key": {
1128 "parentKeyName": "Policy0",
1129 "parentKeyVersion": "0.0.1",
1130 "parentLocalName": "Act",
1131 "localName": "Task_Act3_DIRECT_Act_NULL"
1133 "outputType": "DIRECT",
1134 "output": {
1135 "parentKeyName": "Policy0",
1136 "parentKeyVersion": "0.0.1",
1137 "parentLocalName": "Act",
1138 "localName": "Act_NULL"
1147 "key": "Decide",
1148 "value": {
1149 "stateKey": {
1150 "parentKeyName": "Policy0",
1151 "parentKeyVersion": "0.0.1",
1152 "parentLocalName": "NULL",
1153 "localName": "Decide"
1155 "trigger": {
1156 "name": "Event0002",
1157 "version": "0.0.1"
1159 "stateOutputs": {
1160 "entry": [
1162 "key": "Decide_Act",
1163 "value": {
1164 "key": {
1165 "parentKeyName": "Policy0",
1166 "parentKeyVersion": "0.0.1",
1167 "parentLocalName": "Decide",
1168 "localName": "Decide_Act"
1170 "outgoingEvent": {
1171 "name": "Event0003",
1172 "version": "0.0.1"
1174 "nextState": {
1175 "parentKeyName": "Policy0",
1176 "parentKeyVersion": "0.0.1",
1177 "parentLocalName": "NULL",
1178 "localName": "Act"
1184 "contextAlbumReference": [
1186 "name": "ExternalContextAlbum",
1187 "version": "0.0.1"
1190 "name": "GlobalContextAlbum",
1191 "version": "0.0.1"
1194 "name": "Policy0ContextAlbum",
1195 "version": "0.0.1"
1198 "taskSelectionLogic": {
1199 "key": "TaskSelectionLigic",
1200 "logicFlavour": "JAVASCRIPT",
1201 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"
1203 "stateFinalizerLogicMap": {
1204 "entry": []
1206 "defaultTask": {
1207 "name": "Task_Decide3",
1208 "version": "0.0.1"
1210 "taskReferences": {
1211 "entry": [
1213 "key": {
1214 "name": "Task_Decide0",
1215 "version": "0.0.1"
1217 "value": {
1218 "key": {
1219 "parentKeyName": "Policy0",
1220 "parentKeyVersion": "0.0.1",
1221 "parentLocalName": "Decide",
1222 "localName": "Task_Decide0_DIRECT_Decide_Act"
1224 "outputType": "DIRECT",
1225 "output": {
1226 "parentKeyName": "Policy0",
1227 "parentKeyVersion": "0.0.1",
1228 "parentLocalName": "Decide",
1229 "localName": "Decide_Act"
1234 "key": {
1235 "name": "Task_Decide1",
1236 "version": "0.0.1"
1238 "value": {
1239 "key": {
1240 "parentKeyName": "Policy0",
1241 "parentKeyVersion": "0.0.1",
1242 "parentLocalName": "Decide",
1243 "localName": "Task_Decide1_DIRECT_Decide_Act"
1245 "outputType": "DIRECT",
1246 "output": {
1247 "parentKeyName": "Policy0",
1248 "parentKeyVersion": "0.0.1",
1249 "parentLocalName": "Decide",
1250 "localName": "Decide_Act"
1255 "key": {
1256 "name": "Task_Decide2",
1257 "version": "0.0.1"
1259 "value": {
1260 "key": {
1261 "parentKeyName": "Policy0",
1262 "parentKeyVersion": "0.0.1",
1263 "parentLocalName": "Decide",
1264 "localName": "Task_Decide2_DIRECT_Decide_Act"
1266 "outputType": "DIRECT",
1267 "output": {
1268 "parentKeyName": "Policy0",
1269 "parentKeyVersion": "0.0.1",
1270 "parentLocalName": "Decide",
1271 "localName": "Decide_Act"
1276 "key": {
1277 "name": "Task_Decide3",
1278 "version": "0.0.1"
1280 "value": {
1281 "key": {
1282 "parentKeyName": "Policy0",
1283 "parentKeyVersion": "0.0.1",
1284 "parentLocalName": "Decide",
1285 "localName": "Task_Decide3_DIRECT_Decide_Act"
1287 "outputType": "DIRECT",
1288 "output": {
1289 "parentKeyName": "Policy0",
1290 "parentKeyVersion": "0.0.1",
1291 "parentLocalName": "Decide",
1292 "localName": "Decide_Act"
1301 "key": "Establish",
1302 "value": {
1303 "stateKey": {
1304 "parentKeyName": "Policy0",
1305 "parentKeyVersion": "0.0.1",
1306 "parentLocalName": "NULL",
1307 "localName": "Establish"
1309 "trigger": {
1310 "name": "Event0001",
1311 "version": "0.0.1"
1313 "stateOutputs": {
1314 "entry": [
1316 "key": "Establish_Decide",
1317 "value": {
1318 "key": {
1319 "parentKeyName": "Policy0",
1320 "parentKeyVersion": "0.0.1",
1321 "parentLocalName": "Establish",
1322 "localName": "Establish_Decide"
1324 "outgoingEvent": {
1325 "name": "Event0002",
1326 "version": "0.0.1"
1328 "nextState": {
1329 "parentKeyName": "Policy0",
1330 "parentKeyVersion": "0.0.1",
1331 "parentLocalName": "NULL",
1332 "localName": "Decide"
1338 "contextAlbumReference": [
1340 "name": "ExternalContextAlbum",
1341 "version": "0.0.1"
1344 "name": "GlobalContextAlbum",
1345 "version": "0.0.1"
1348 "name": "Policy1ContextAlbum",
1349 "version": "0.0.1"
1352 "taskSelectionLogic": {
1353 "key": "TaskSelectionLigic",
1354 "logicFlavour": "JAVASCRIPT",
1355 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"
1357 "stateFinalizerLogicMap": {
1358 "entry": []
1360 "defaultTask": {
1361 "name": "Task_Establish2",
1362 "version": "0.0.1"
1364 "taskReferences": {
1365 "entry": [
1367 "key": {
1368 "name": "Task_Establish0",
1369 "version": "0.0.1"
1371 "value": {
1372 "key": {
1373 "parentKeyName": "Policy0",
1374 "parentKeyVersion": "0.0.1",
1375 "parentLocalName": "Establish",
1376 "localName": "Task_Establish0_DIRECT_Establish_Decide"
1378 "outputType": "DIRECT",
1379 "output": {
1380 "parentKeyName": "Policy0",
1381 "parentKeyVersion": "0.0.1",
1382 "parentLocalName": "Establish",
1383 "localName": "Establish_Decide"
1388 "key": {
1389 "name": "Task_Establish1",
1390 "version": "0.0.1"
1392 "value": {
1393 "key": {
1394 "parentKeyName": "Policy0",
1395 "parentKeyVersion": "0.0.1",
1396 "parentLocalName": "Establish",
1397 "localName": "Task_Establish1_DIRECT_Establish_Decide"
1399 "outputType": "DIRECT",
1400 "output": {
1401 "parentKeyName": "Policy0",
1402 "parentKeyVersion": "0.0.1",
1403 "parentLocalName": "Establish",
1404 "localName": "Establish_Decide"
1409 "key": {
1410 "name": "Task_Establish2",
1411 "version": "0.0.1"
1413 "value": {
1414 "key": {
1415 "parentKeyName": "Policy0",
1416 "parentKeyVersion": "0.0.1",
1417 "parentLocalName": "Establish",
1418 "localName": "Task_Establish2_DIRECT_Establish_Decide"
1420 "outputType": "DIRECT",
1421 "output": {
1422 "parentKeyName": "Policy0",
1423 "parentKeyVersion": "0.0.1",
1424 "parentLocalName": "Establish",
1425 "localName": "Establish_Decide"
1430 "key": {
1431 "name": "Task_Establish3",
1432 "version": "0.0.1"
1434 "value": {
1435 "key": {
1436 "parentKeyName": "Policy0",
1437 "parentKeyVersion": "0.0.1",
1438 "parentLocalName": "Establish",
1439 "localName": "Task_Establish3_DIRECT_Establish_Decide"
1441 "outputType": "DIRECT",
1442 "output": {
1443 "parentKeyName": "Policy0",
1444 "parentKeyVersion": "0.0.1",
1445 "parentLocalName": "Establish",
1446 "localName": "Establish_Decide"
1455 "key": "Match",
1456 "value": {
1457 "stateKey": {
1458 "parentKeyName": "Policy0",
1459 "parentKeyVersion": "0.0.1",
1460 "parentLocalName": "NULL",
1461 "localName": "Match"
1463 "trigger": {
1464 "name": "Event0000",
1465 "version": "0.0.1"
1467 "stateOutputs": {
1468 "entry": [
1470 "key": "Match_Establish",
1471 "value": {
1472 "key": {
1473 "parentKeyName": "Policy0",
1474 "parentKeyVersion": "0.0.1",
1475 "parentLocalName": "Match",
1476 "localName": "Match_Establish"
1478 "outgoingEvent": {
1479 "name": "Event0001",
1480 "version": "0.0.1"
1482 "nextState": {
1483 "parentKeyName": "Policy0",
1484 "parentKeyVersion": "0.0.1",
1485 "parentLocalName": "NULL",
1486 "localName": "Establish"
1492 "contextAlbumReference": [
1494 "name": "GlobalContextAlbum",
1495 "version": "0.0.1"
1498 "name": "Policy0ContextAlbum",
1499 "version": "0.0.1"
1502 "taskSelectionLogic": {
1503 "key": "TaskSelectionLigic",
1504 "logicFlavour": "JAVASCRIPT",
1505 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"
1507 "stateFinalizerLogicMap": {
1508 "entry": []
1510 "defaultTask": {
1511 "name": "Task_Match0",
1512 "version": "0.0.1"
1514 "taskReferences": {
1515 "entry": [
1517 "key": {
1518 "name": "Task_Match0",
1519 "version": "0.0.1"
1521 "value": {
1522 "key": {
1523 "parentKeyName": "Policy0",
1524 "parentKeyVersion": "0.0.1",
1525 "parentLocalName": "Match",
1526 "localName": "Task_Match0_DIRECT_Match_Establish"
1528 "outputType": "DIRECT",
1529 "output": {
1530 "parentKeyName": "Policy0",
1531 "parentKeyVersion": "0.0.1",
1532 "parentLocalName": "Match",
1533 "localName": "Match_Establish"
1538 "key": {
1539 "name": "Task_Match1",
1540 "version": "0.0.1"
1542 "value": {
1543 "key": {
1544 "parentKeyName": "Policy0",
1545 "parentKeyVersion": "0.0.1",
1546 "parentLocalName": "Match",
1547 "localName": "Task_Match1_DIRECT_Match_Establish"
1549 "outputType": "DIRECT",
1550 "output": {
1551 "parentKeyName": "Policy0",
1552 "parentKeyVersion": "0.0.1",
1553 "parentLocalName": "Match",
1554 "localName": "Match_Establish"
1559 "key": {
1560 "name": "Task_Match2",
1561 "version": "0.0.1"
1563 "value": {
1564 "key": {
1565 "parentKeyName": "Policy0",
1566 "parentKeyVersion": "0.0.1",
1567 "parentLocalName": "Match",
1568 "localName": "Task_Match2_DIRECT_Match_Establish"
1570 "outputType": "DIRECT",
1571 "output": {
1572 "parentKeyName": "Policy0",
1573 "parentKeyVersion": "0.0.1",
1574 "parentLocalName": "Match",
1575 "localName": "Match_Establish"
1580 "key": {
1581 "name": "Task_Match3",
1582 "version": "0.0.1"
1584 "value": {
1585 "key": {
1586 "parentKeyName": "Policy0",
1587 "parentKeyVersion": "0.0.1",
1588 "parentLocalName": "Match",
1589 "localName": "Task_Match3_DIRECT_Match_Establish"
1591 "outputType": "DIRECT",
1592 "output": {
1593 "parentKeyName": "Policy0",
1594 "parentKeyVersion": "0.0.1",
1595 "parentLocalName": "Match",
1596 "localName": "Match_Establish"
1606 "firstState": "Match"
1610 "key": {
1611 "name": "Policy1",
1612 "version": "0.0.1"
1614 "value": {
1615 "policyKey": {
1616 "name": "Policy1",
1617 "version": "0.0.1"
1619 "template": "MEDA",
1620 "state": {
1621 "entry": [
1623 "key": "Act",
1624 "value": {
1625 "stateKey": {
1626 "parentKeyName": "Policy1",
1627 "parentKeyVersion": "0.0.1",
1628 "parentLocalName": "NULL",
1629 "localName": "Act"
1631 "trigger": {
1632 "name": "Event0103",
1633 "version": "0.0.1"
1635 "stateOutputs": {
1636 "entry": [
1638 "key": "Act_NULL",
1639 "value": {
1640 "key": {
1641 "parentKeyName": "Policy1",
1642 "parentKeyVersion": "0.0.1",
1643 "parentLocalName": "Act",
1644 "localName": "Act_NULL"
1646 "outgoingEvent": {
1647 "name": "Event0104",
1648 "version": "0.0.1"
1650 "nextState": {
1651 "parentKeyName": "NULL",
1652 "parentKeyVersion": "0.0.0",
1653 "parentLocalName": "NULL",
1654 "localName": "NULL"
1660 "contextAlbumReference": [
1662 "name": "GlobalContextAlbum",
1663 "version": "0.0.1"
1666 "taskSelectionLogic": {
1667 "key": "TaskSelectionLigic",
1668 "logicFlavour": "JAVASCRIPT",
1669 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"
1671 "stateFinalizerLogicMap": {
1672 "entry": []
1674 "defaultTask": {
1675 "name": "Task_Act0",
1676 "version": "0.0.1"
1678 "taskReferences": {
1679 "entry": [
1681 "key": {
1682 "name": "Task_Act0",
1683 "version": "0.0.1"
1685 "value": {
1686 "key": {
1687 "parentKeyName": "Policy1",
1688 "parentKeyVersion": "0.0.1",
1689 "parentLocalName": "Act",
1690 "localName": "Task_Act0_DIRECT_Act_NULL"
1692 "outputType": "DIRECT",
1693 "output": {
1694 "parentKeyName": "Policy1",
1695 "parentKeyVersion": "0.0.1",
1696 "parentLocalName": "Act",
1697 "localName": "Act_NULL"
1702 "key": {
1703 "name": "Task_Act1",
1704 "version": "0.0.1"
1706 "value": {
1707 "key": {
1708 "parentKeyName": "Policy1",
1709 "parentKeyVersion": "0.0.1",
1710 "parentLocalName": "Act",
1711 "localName": "Task_Act1_DIRECT_Act_NULL"
1713 "outputType": "DIRECT",
1714 "output": {
1715 "parentKeyName": "Policy1",
1716 "parentKeyVersion": "0.0.1",
1717 "parentLocalName": "Act",
1718 "localName": "Act_NULL"
1723 "key": {
1724 "name": "Task_Act2",
1725 "version": "0.0.1"
1727 "value": {
1728 "key": {
1729 "parentKeyName": "Policy1",
1730 "parentKeyVersion": "0.0.1",
1731 "parentLocalName": "Act",
1732 "localName": "Task_Act2_DIRECT_Act_NULL"
1734 "outputType": "DIRECT",
1735 "output": {
1736 "parentKeyName": "Policy1",
1737 "parentKeyVersion": "0.0.1",
1738 "parentLocalName": "Act",
1739 "localName": "Act_NULL"
1744 "key": {
1745 "name": "Task_Act3",
1746 "version": "0.0.1"
1748 "value": {
1749 "key": {
1750 "parentKeyName": "Policy1",
1751 "parentKeyVersion": "0.0.1",
1752 "parentLocalName": "Act",
1753 "localName": "Task_Act3_DIRECT_Act_NULL"
1755 "outputType": "DIRECT",
1756 "output": {
1757 "parentKeyName": "Policy1",
1758 "parentKeyVersion": "0.0.1",
1759 "parentLocalName": "Act",
1760 "localName": "Act_NULL"
1769 "key": "Decide",
1770 "value": {
1771 "stateKey": {
1772 "parentKeyName": "Policy1",
1773 "parentKeyVersion": "0.0.1",
1774 "parentLocalName": "NULL",
1775 "localName": "Decide"
1777 "trigger": {
1778 "name": "Event0102",
1779 "version": "0.0.1"
1781 "stateOutputs": {
1782 "entry": [
1784 "key": "Decide_Act",
1785 "value": {
1786 "key": {
1787 "parentKeyName": "Policy1",
1788 "parentKeyVersion": "0.0.1",
1789 "parentLocalName": "Decide",
1790 "localName": "Decide_Act"
1792 "outgoingEvent": {
1793 "name": "Event0103",
1794 "version": "0.0.1"
1796 "nextState": {
1797 "parentKeyName": "Policy1",
1798 "parentKeyVersion": "0.0.1",
1799 "parentLocalName": "NULL",
1800 "localName": "Act"
1806 "contextAlbumReference": [
1808 "name": "ExternalContextAlbum",
1809 "version": "0.0.1"
1812 "name": "GlobalContextAlbum",
1813 "version": "0.0.1"
1816 "name": "Policy1ContextAlbum",
1817 "version": "0.0.1"
1820 "taskSelectionLogic": {
1821 "key": "TaskSelectionLigic",
1822 "logicFlavour": "JAVASCRIPT",
1823 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"
1825 "stateFinalizerLogicMap": {
1826 "entry": []
1828 "defaultTask": {
1829 "name": "Task_Decide3",
1830 "version": "0.0.1"
1832 "taskReferences": {
1833 "entry": [
1835 "key": {
1836 "name": "Task_Decide0",
1837 "version": "0.0.1"
1839 "value": {
1840 "key": {
1841 "parentKeyName": "Policy1",
1842 "parentKeyVersion": "0.0.1",
1843 "parentLocalName": "Decide",
1844 "localName": "Task_Decide0_DIRECT_Decide_Act"
1846 "outputType": "DIRECT",
1847 "output": {
1848 "parentKeyName": "Policy1",
1849 "parentKeyVersion": "0.0.1",
1850 "parentLocalName": "Decide",
1851 "localName": "Decide_Act"
1856 "key": {
1857 "name": "Task_Decide1",
1858 "version": "0.0.1"
1860 "value": {
1861 "key": {
1862 "parentKeyName": "Policy1",
1863 "parentKeyVersion": "0.0.1",
1864 "parentLocalName": "Decide",
1865 "localName": "Task_Decide1_DIRECT_Decide_Act"
1867 "outputType": "DIRECT",
1868 "output": {
1869 "parentKeyName": "Policy1",
1870 "parentKeyVersion": "0.0.1",
1871 "parentLocalName": "Decide",
1872 "localName": "Decide_Act"
1877 "key": {
1878 "name": "Task_Decide2",
1879 "version": "0.0.1"
1881 "value": {
1882 "key": {
1883 "parentKeyName": "Policy1",
1884 "parentKeyVersion": "0.0.1",
1885 "parentLocalName": "Decide",
1886 "localName": "Task_Decide2_DIRECT_Decide_Act"
1888 "outputType": "DIRECT",
1889 "output": {
1890 "parentKeyName": "Policy1",
1891 "parentKeyVersion": "0.0.1",
1892 "parentLocalName": "Decide",
1893 "localName": "Decide_Act"
1898 "key": {
1899 "name": "Task_Decide3",
1900 "version": "0.0.1"
1902 "value": {
1903 "key": {
1904 "parentKeyName": "Policy1",
1905 "parentKeyVersion": "0.0.1",
1906 "parentLocalName": "Decide",
1907 "localName": "Task_Decide3_DIRECT_Decide_Act"
1909 "outputType": "DIRECT",
1910 "output": {
1911 "parentKeyName": "Policy1",
1912 "parentKeyVersion": "0.0.1",
1913 "parentLocalName": "Decide",
1914 "localName": "Decide_Act"
1923 "key": "Establish",
1924 "value": {
1925 "stateKey": {
1926 "parentKeyName": "Policy1",
1927 "parentKeyVersion": "0.0.1",
1928 "parentLocalName": "NULL",
1929 "localName": "Establish"
1931 "trigger": {
1932 "name": "Event0101",
1933 "version": "0.0.1"
1935 "stateOutputs": {
1936 "entry": [
1938 "key": "Establish_Decide",
1939 "value": {
1940 "key": {
1941 "parentKeyName": "Policy1",
1942 "parentKeyVersion": "0.0.1",
1943 "parentLocalName": "Establish",
1944 "localName": "Establish_Decide"
1946 "outgoingEvent": {
1947 "name": "Event0102",
1948 "version": "0.0.1"
1950 "nextState": {
1951 "parentKeyName": "Policy1",
1952 "parentKeyVersion": "0.0.1",
1953 "parentLocalName": "NULL",
1954 "localName": "Decide"
1960 "contextAlbumReference": [
1962 "name": "ExternalContextAlbum",
1963 "version": "0.0.1"
1966 "name": "GlobalContextAlbum",
1967 "version": "0.0.1"
1970 "name": "Policy1ContextAlbum",
1971 "version": "0.0.1"
1974 "taskSelectionLogic": {
1975 "key": "TaskSelectionLigic",
1976 "logicFlavour": "JAVASCRIPT",
1977 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"
1979 "stateFinalizerLogicMap": {
1980 "entry": []
1982 "defaultTask": {
1983 "name": "Task_Establish1",
1984 "version": "0.0.1"
1986 "taskReferences": {
1987 "entry": [
1989 "key": {
1990 "name": "Task_Establish0",
1991 "version": "0.0.1"
1993 "value": {
1994 "key": {
1995 "parentKeyName": "Policy1",
1996 "parentKeyVersion": "0.0.1",
1997 "parentLocalName": "Establish",
1998 "localName": "Task_Establish0_DIRECT_Establish_Decide"
2000 "outputType": "DIRECT",
2001 "output": {
2002 "parentKeyName": "Policy1",
2003 "parentKeyVersion": "0.0.1",
2004 "parentLocalName": "Establish",
2005 "localName": "Establish_Decide"
2010 "key": {
2011 "name": "Task_Establish1",
2012 "version": "0.0.1"
2014 "value": {
2015 "key": {
2016 "parentKeyName": "Policy1",
2017 "parentKeyVersion": "0.0.1",
2018 "parentLocalName": "Establish",
2019 "localName": "Task_Establish1_DIRECT_Establish_Decide"
2021 "outputType": "DIRECT",
2022 "output": {
2023 "parentKeyName": "Policy1",
2024 "parentKeyVersion": "0.0.1",
2025 "parentLocalName": "Establish",
2026 "localName": "Establish_Decide"
2031 "key": {
2032 "name": "Task_Establish2",
2033 "version": "0.0.1"
2035 "value": {
2036 "key": {
2037 "parentKeyName": "Policy1",
2038 "parentKeyVersion": "0.0.1",
2039 "parentLocalName": "Establish",
2040 "localName": "Task_Establish2_DIRECT_Establish_Decide"
2042 "outputType": "DIRECT",
2043 "output": {
2044 "parentKeyName": "Policy1",
2045 "parentKeyVersion": "0.0.1",
2046 "parentLocalName": "Establish",
2047 "localName": "Establish_Decide"
2052 "key": {
2053 "name": "Task_Establish3",
2054 "version": "0.0.1"
2056 "value": {
2057 "key": {
2058 "parentKeyName": "Policy1",
2059 "parentKeyVersion": "0.0.1",
2060 "parentLocalName": "Establish",
2061 "localName": "Task_Establish3_DIRECT_Establish_Decide"
2063 "outputType": "DIRECT",
2064 "output": {
2065 "parentKeyName": "Policy1",
2066 "parentKeyVersion": "0.0.1",
2067 "parentLocalName": "Establish",
2068 "localName": "Establish_Decide"
2077 "key": "Match",
2078 "value": {
2079 "stateKey": {
2080 "parentKeyName": "Policy1",
2081 "parentKeyVersion": "0.0.1",
2082 "parentLocalName": "NULL",
2083 "localName": "Match"
2085 "trigger": {
2086 "name": "Event0100",
2087 "version": "0.0.1"
2089 "stateOutputs": {
2090 "entry": [
2092 "key": "Match_Establish",
2093 "value": {
2094 "key": {
2095 "parentKeyName": "Policy1",
2096 "parentKeyVersion": "0.0.1",
2097 "parentLocalName": "Match",
2098 "localName": "Match_Establish"
2100 "outgoingEvent": {
2101 "name": "Event0101",
2102 "version": "0.0.1"
2104 "nextState": {
2105 "parentKeyName": "Policy1",
2106 "parentKeyVersion": "0.0.1",
2107 "parentLocalName": "NULL",
2108 "localName": "Establish"
2114 "contextAlbumReference": [
2116 "name": "ExternalContextAlbum",
2117 "version": "0.0.1"
2120 "name": "GlobalContextAlbum",
2121 "version": "0.0.1"
2124 "name": "Policy1ContextAlbum",
2125 "version": "0.0.1"
2128 "taskSelectionLogic": {
2129 "key": "TaskSelectionLigic",
2130 "logicFlavour": "JAVASCRIPT",
2131 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"
2133 "stateFinalizerLogicMap": {
2134 "entry": []
2136 "defaultTask": {
2137 "name": "Task_Match3",
2138 "version": "0.0.1"
2140 "taskReferences": {
2141 "entry": [
2143 "key": {
2144 "name": "Task_Match0",
2145 "version": "0.0.1"
2147 "value": {
2148 "key": {
2149 "parentKeyName": "Policy1",
2150 "parentKeyVersion": "0.0.1",
2151 "parentLocalName": "Match",
2152 "localName": "Task_Match0_DIRECT_Match_Establish"
2154 "outputType": "DIRECT",
2155 "output": {
2156 "parentKeyName": "Policy1",
2157 "parentKeyVersion": "0.0.1",
2158 "parentLocalName": "Match",
2159 "localName": "Match_Establish"
2164 "key": {
2165 "name": "Task_Match1",
2166 "version": "0.0.1"
2168 "value": {
2169 "key": {
2170 "parentKeyName": "Policy1",
2171 "parentKeyVersion": "0.0.1",
2172 "parentLocalName": "Match",
2173 "localName": "Task_Match1_DIRECT_Match_Establish"
2175 "outputType": "DIRECT",
2176 "output": {
2177 "parentKeyName": "Policy1",
2178 "parentKeyVersion": "0.0.1",
2179 "parentLocalName": "Match",
2180 "localName": "Match_Establish"
2185 "key": {
2186 "name": "Task_Match2",
2187 "version": "0.0.1"
2189 "value": {
2190 "key": {
2191 "parentKeyName": "Policy1",
2192 "parentKeyVersion": "0.0.1",
2193 "parentLocalName": "Match",
2194 "localName": "Task_Match2_DIRECT_Match_Establish"
2196 "outputType": "DIRECT",
2197 "output": {
2198 "parentKeyName": "Policy1",
2199 "parentKeyVersion": "0.0.1",
2200 "parentLocalName": "Match",
2201 "localName": "Match_Establish"
2206 "key": {
2207 "name": "Task_Match3",
2208 "version": "0.0.1"
2210 "value": {
2211 "key": {
2212 "parentKeyName": "Policy1",
2213 "parentKeyVersion": "0.0.1",
2214 "parentLocalName": "Match",
2215 "localName": "Task_Match3_DIRECT_Match_Establish"
2217 "outputType": "DIRECT",
2218 "output": {
2219 "parentKeyName": "Policy1",
2220 "parentKeyVersion": "0.0.1",
2221 "parentLocalName": "Match",
2222 "localName": "Match_Establish"
2232 "firstState": "Match"
2238 "tasks": {
2239 "key": {
2240 "name": "Tasks",
2241 "version": "0.0.1"
2243 "taskMap": {
2244 "entry": [
2246 "key": {
2247 "name": "Task_Act0",
2248 "version": "0.0.1"
2250 "value": {
2251 "key": {
2252 "name": "Task_Act0",
2253 "version": "0.0.1"
2255 "inputFields": {
2256 "entry": [
2258 "key": "TestDecideCaseSelected",
2259 "value": {
2260 "key": "TestDecideCaseSelected",
2261 "fieldSchemaKey": {
2262 "name": "TestCase",
2263 "version": "0.0.1"
2265 "optional": false
2269 "key": "TestDecideStateTime",
2270 "value": {
2271 "key": "TestDecideStateTime",
2272 "fieldSchemaKey": {
2273 "name": "TestTimestamp",
2274 "version": "0.0.1"
2276 "optional": false
2280 "key": "TestEstablishCaseSelected",
2281 "value": {
2282 "key": "TestEstablishCaseSelected",
2283 "fieldSchemaKey": {
2284 "name": "TestCase",
2285 "version": "0.0.1"
2287 "optional": false
2291 "key": "TestEstablishStateTime",
2292 "value": {
2293 "key": "TestEstablishStateTime",
2294 "fieldSchemaKey": {
2295 "name": "TestTimestamp",
2296 "version": "0.0.1"
2298 "optional": false
2302 "key": "TestMatchCase",
2303 "value": {
2304 "key": "TestMatchCase",
2305 "fieldSchemaKey": {
2306 "name": "TestCase",
2307 "version": "0.0.1"
2309 "optional": false
2313 "key": "TestMatchCaseSelected",
2314 "value": {
2315 "key": "TestMatchCaseSelected",
2316 "fieldSchemaKey": {
2317 "name": "TestCase",
2318 "version": "0.0.1"
2320 "optional": false
2324 "key": "TestMatchStateTime",
2325 "value": {
2326 "key": "TestMatchStateTime",
2327 "fieldSchemaKey": {
2328 "name": "TestTimestamp",
2329 "version": "0.0.1"
2331 "optional": false
2335 "key": "TestSlogan",
2336 "value": {
2337 "key": "TestSlogan",
2338 "fieldSchemaKey": {
2339 "name": "TestSlogan",
2340 "version": "0.0.1"
2342 "optional": false
2346 "key": "TestTemperature",
2347 "value": {
2348 "key": "TestTemperature",
2349 "fieldSchemaKey": {
2350 "name": "TestTemperature",
2351 "version": "0.0.1"
2353 "optional": false
2357 "key": "TestTimestamp",
2358 "value": {
2359 "key": "TestTimestamp",
2360 "fieldSchemaKey": {
2361 "name": "TestTimestamp",
2362 "version": "0.0.1"
2364 "optional": false
2369 "outputFields": {
2370 "entry": [
2372 "key": "TestActCaseSelected",
2373 "value": {
2374 "key": "TestActCaseSelected",
2375 "fieldSchemaKey": {
2376 "name": "TestCase",
2377 "version": "0.0.1"
2379 "optional": false
2383 "key": "TestActStateTime",
2384 "value": {
2385 "key": "TestActStateTime",
2386 "fieldSchemaKey": {
2387 "name": "TestTimestamp",
2388 "version": "0.0.1"
2390 "optional": false
2394 "key": "TestDecideCaseSelected",
2395 "value": {
2396 "key": "TestDecideCaseSelected",
2397 "fieldSchemaKey": {
2398 "name": "TestCase",
2399 "version": "0.0.1"
2401 "optional": false
2405 "key": "TestDecideStateTime",
2406 "value": {
2407 "key": "TestDecideStateTime",
2408 "fieldSchemaKey": {
2409 "name": "TestTimestamp",
2410 "version": "0.0.1"
2412 "optional": false
2416 "key": "TestEstablishCaseSelected",
2417 "value": {
2418 "key": "TestEstablishCaseSelected",
2419 "fieldSchemaKey": {
2420 "name": "TestCase",
2421 "version": "0.0.1"
2423 "optional": false
2427 "key": "TestEstablishStateTime",
2428 "value": {
2429 "key": "TestEstablishStateTime",
2430 "fieldSchemaKey": {
2431 "name": "TestTimestamp",
2432 "version": "0.0.1"
2434 "optional": false
2438 "key": "TestMatchCase",
2439 "value": {
2440 "key": "TestMatchCase",
2441 "fieldSchemaKey": {
2442 "name": "TestCase",
2443 "version": "0.0.1"
2445 "optional": false
2449 "key": "TestMatchCaseSelected",
2450 "value": {
2451 "key": "TestMatchCaseSelected",
2452 "fieldSchemaKey": {
2453 "name": "TestCase",
2454 "version": "0.0.1"
2456 "optional": false
2460 "key": "TestMatchStateTime",
2461 "value": {
2462 "key": "TestMatchStateTime",
2463 "fieldSchemaKey": {
2464 "name": "TestTimestamp",
2465 "version": "0.0.1"
2467 "optional": false
2471 "key": "TestSlogan",
2472 "value": {
2473 "key": "TestSlogan",
2474 "fieldSchemaKey": {
2475 "name": "TestSlogan",
2476 "version": "0.0.1"
2478 "optional": false
2482 "key": "TestTemperature",
2483 "value": {
2484 "key": "TestTemperature",
2485 "fieldSchemaKey": {
2486 "name": "TestTemperature",
2487 "version": "0.0.1"
2489 "optional": false
2493 "key": "TestTimestamp",
2494 "value": {
2495 "key": "TestTimestamp",
2496 "fieldSchemaKey": {
2497 "name": "TestTimestamp",
2498 "version": "0.0.1"
2500 "optional": false
2505 "taskParameters": {
2506 "entry": [
2508 "key": "Parameter0",
2509 "value": {
2510 "key": {
2511 "parentKeyName": "Task_Act0",
2512 "parentKeyVersion": "0.0.1",
2513 "parentLocalName": "NULL",
2514 "localName": "Parameter0"
2516 "defaultValue": "DefaultValue0"
2520 "key": "Parameter1",
2521 "value": {
2522 "key": {
2523 "parentKeyName": "Task_Act0",
2524 "parentKeyVersion": "0.0.1",
2525 "parentLocalName": "NULL",
2526 "localName": "Parameter1"
2528 "defaultValue": "DefaultValue1"
2532 "key": "Parameter2",
2533 "value": {
2534 "key": {
2535 "parentKeyName": "Task_Act0",
2536 "parentKeyVersion": "0.0.1",
2537 "parentLocalName": "NULL",
2538 "localName": "Parameter2"
2540 "defaultValue": "DefaultValue2"
2545 "contextAlbumReference": [
2547 "name": "ExternalContextAlbum",
2548 "version": "0.0.1"
2551 "name": "GlobalContextAlbum",
2552 "version": "0.0.1"
2555 "name": "Policy0ContextAlbum",
2556 "version": "0.0.1"
2559 "name": "Policy1ContextAlbum",
2560 "version": "0.0.1"
2563 "taskLogic": {
2564 "key": "_TaskLogic",
2565 "logicFlavour": "JAVASCRIPT",
2566 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
2571 "key": {
2572 "name": "Task_Act1",
2573 "version": "0.0.1"
2575 "value": {
2576 "key": {
2577 "name": "Task_Act1",
2578 "version": "0.0.1"
2580 "inputFields": {
2581 "entry": [
2583 "key": "TestDecideCaseSelected",
2584 "value": {
2585 "key": "TestDecideCaseSelected",
2586 "fieldSchemaKey": {
2587 "name": "TestCase",
2588 "version": "0.0.1"
2590 "optional": false
2594 "key": "TestDecideStateTime",
2595 "value": {
2596 "key": "TestDecideStateTime",
2597 "fieldSchemaKey": {
2598 "name": "TestTimestamp",
2599 "version": "0.0.1"
2601 "optional": false
2605 "key": "TestEstablishCaseSelected",
2606 "value": {
2607 "key": "TestEstablishCaseSelected",
2608 "fieldSchemaKey": {
2609 "name": "TestCase",
2610 "version": "0.0.1"
2612 "optional": false
2616 "key": "TestEstablishStateTime",
2617 "value": {
2618 "key": "TestEstablishStateTime",
2619 "fieldSchemaKey": {
2620 "name": "TestTimestamp",
2621 "version": "0.0.1"
2623 "optional": false
2627 "key": "TestMatchCase",
2628 "value": {
2629 "key": "TestMatchCase",
2630 "fieldSchemaKey": {
2631 "name": "TestCase",
2632 "version": "0.0.1"
2634 "optional": false
2638 "key": "TestMatchCaseSelected",
2639 "value": {
2640 "key": "TestMatchCaseSelected",
2641 "fieldSchemaKey": {
2642 "name": "TestCase",
2643 "version": "0.0.1"
2645 "optional": false
2649 "key": "TestMatchStateTime",
2650 "value": {
2651 "key": "TestMatchStateTime",
2652 "fieldSchemaKey": {
2653 "name": "TestTimestamp",
2654 "version": "0.0.1"
2656 "optional": false
2660 "key": "TestSlogan",
2661 "value": {
2662 "key": "TestSlogan",
2663 "fieldSchemaKey": {
2664 "name": "TestSlogan",
2665 "version": "0.0.1"
2667 "optional": false
2671 "key": "TestTemperature",
2672 "value": {
2673 "key": "TestTemperature",
2674 "fieldSchemaKey": {
2675 "name": "TestTemperature",
2676 "version": "0.0.1"
2678 "optional": false
2682 "key": "TestTimestamp",
2683 "value": {
2684 "key": "TestTimestamp",
2685 "fieldSchemaKey": {
2686 "name": "TestTimestamp",
2687 "version": "0.0.1"
2689 "optional": false
2694 "outputFields": {
2695 "entry": [
2697 "key": "TestActCaseSelected",
2698 "value": {
2699 "key": "TestActCaseSelected",
2700 "fieldSchemaKey": {
2701 "name": "TestCase",
2702 "version": "0.0.1"
2704 "optional": false
2708 "key": "TestActStateTime",
2709 "value": {
2710 "key": "TestActStateTime",
2711 "fieldSchemaKey": {
2712 "name": "TestTimestamp",
2713 "version": "0.0.1"
2715 "optional": false
2719 "key": "TestDecideCaseSelected",
2720 "value": {
2721 "key": "TestDecideCaseSelected",
2722 "fieldSchemaKey": {
2723 "name": "TestCase",
2724 "version": "0.0.1"
2726 "optional": false
2730 "key": "TestDecideStateTime",
2731 "value": {
2732 "key": "TestDecideStateTime",
2733 "fieldSchemaKey": {
2734 "name": "TestTimestamp",
2735 "version": "0.0.1"
2737 "optional": false
2741 "key": "TestEstablishCaseSelected",
2742 "value": {
2743 "key": "TestEstablishCaseSelected",
2744 "fieldSchemaKey": {
2745 "name": "TestCase",
2746 "version": "0.0.1"
2748 "optional": false
2752 "key": "TestEstablishStateTime",
2753 "value": {
2754 "key": "TestEstablishStateTime",
2755 "fieldSchemaKey": {
2756 "name": "TestTimestamp",
2757 "version": "0.0.1"
2759 "optional": false
2763 "key": "TestMatchCase",
2764 "value": {
2765 "key": "TestMatchCase",
2766 "fieldSchemaKey": {
2767 "name": "TestCase",
2768 "version": "0.0.1"
2770 "optional": false
2774 "key": "TestMatchCaseSelected",
2775 "value": {
2776 "key": "TestMatchCaseSelected",
2777 "fieldSchemaKey": {
2778 "name": "TestCase",
2779 "version": "0.0.1"
2781 "optional": false
2785 "key": "TestMatchStateTime",
2786 "value": {
2787 "key": "TestMatchStateTime",
2788 "fieldSchemaKey": {
2789 "name": "TestTimestamp",
2790 "version": "0.0.1"
2792 "optional": false
2796 "key": "TestSlogan",
2797 "value": {
2798 "key": "TestSlogan",
2799 "fieldSchemaKey": {
2800 "name": "TestSlogan",
2801 "version": "0.0.1"
2803 "optional": false
2807 "key": "TestTemperature",
2808 "value": {
2809 "key": "TestTemperature",
2810 "fieldSchemaKey": {
2811 "name": "TestTemperature",
2812 "version": "0.0.1"
2814 "optional": false
2818 "key": "TestTimestamp",
2819 "value": {
2820 "key": "TestTimestamp",
2821 "fieldSchemaKey": {
2822 "name": "TestTimestamp",
2823 "version": "0.0.1"
2825 "optional": false
2830 "taskParameters": {
2831 "entry": [
2833 "key": "Parameter0",
2834 "value": {
2835 "key": {
2836 "parentKeyName": "Task_Act1",
2837 "parentKeyVersion": "0.0.1",
2838 "parentLocalName": "NULL",
2839 "localName": "Parameter0"
2841 "defaultValue": "DefaultValue0"
2845 "key": "Parameter1",
2846 "value": {
2847 "key": {
2848 "parentKeyName": "Task_Act1",
2849 "parentKeyVersion": "0.0.1",
2850 "parentLocalName": "NULL",
2851 "localName": "Parameter1"
2853 "defaultValue": "DefaultValue1"
2858 "contextAlbumReference": [
2860 "name": "GlobalContextAlbum",
2861 "version": "0.0.1"
2864 "name": "Policy0ContextAlbum",
2865 "version": "0.0.1"
2868 "taskLogic": {
2869 "key": "_TaskLogic",
2870 "logicFlavour": "JAVASCRIPT",
2871 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
2876 "key": {
2877 "name": "Task_Act2",
2878 "version": "0.0.1"
2880 "value": {
2881 "key": {
2882 "name": "Task_Act2",
2883 "version": "0.0.1"
2885 "inputFields": {
2886 "entry": [
2888 "key": "TestDecideCaseSelected",
2889 "value": {
2890 "key": "TestDecideCaseSelected",
2891 "fieldSchemaKey": {
2892 "name": "TestCase",
2893 "version": "0.0.1"
2895 "optional": false
2899 "key": "TestDecideStateTime",
2900 "value": {
2901 "key": "TestDecideStateTime",
2902 "fieldSchemaKey": {
2903 "name": "TestTimestamp",
2904 "version": "0.0.1"
2906 "optional": false
2910 "key": "TestEstablishCaseSelected",
2911 "value": {
2912 "key": "TestEstablishCaseSelected",
2913 "fieldSchemaKey": {
2914 "name": "TestCase",
2915 "version": "0.0.1"
2917 "optional": false
2921 "key": "TestEstablishStateTime",
2922 "value": {
2923 "key": "TestEstablishStateTime",
2924 "fieldSchemaKey": {
2925 "name": "TestTimestamp",
2926 "version": "0.0.1"
2928 "optional": false
2932 "key": "TestMatchCase",
2933 "value": {
2934 "key": "TestMatchCase",
2935 "fieldSchemaKey": {
2936 "name": "TestCase",
2937 "version": "0.0.1"
2939 "optional": false
2943 "key": "TestMatchCaseSelected",
2944 "value": {
2945 "key": "TestMatchCaseSelected",
2946 "fieldSchemaKey": {
2947 "name": "TestCase",
2948 "version": "0.0.1"
2950 "optional": false
2954 "key": "TestMatchStateTime",
2955 "value": {
2956 "key": "TestMatchStateTime",
2957 "fieldSchemaKey": {
2958 "name": "TestTimestamp",
2959 "version": "0.0.1"
2961 "optional": false
2965 "key": "TestSlogan",
2966 "value": {
2967 "key": "TestSlogan",
2968 "fieldSchemaKey": {
2969 "name": "TestSlogan",
2970 "version": "0.0.1"
2972 "optional": false
2976 "key": "TestTemperature",
2977 "value": {
2978 "key": "TestTemperature",
2979 "fieldSchemaKey": {
2980 "name": "TestTemperature",
2981 "version": "0.0.1"
2983 "optional": false
2987 "key": "TestTimestamp",
2988 "value": {
2989 "key": "TestTimestamp",
2990 "fieldSchemaKey": {
2991 "name": "TestTimestamp",
2992 "version": "0.0.1"
2994 "optional": false
2999 "outputFields": {
3000 "entry": [
3002 "key": "TestActCaseSelected",
3003 "value": {
3004 "key": "TestActCaseSelected",
3005 "fieldSchemaKey": {
3006 "name": "TestCase",
3007 "version": "0.0.1"
3009 "optional": false
3013 "key": "TestActStateTime",
3014 "value": {
3015 "key": "TestActStateTime",
3016 "fieldSchemaKey": {
3017 "name": "TestTimestamp",
3018 "version": "0.0.1"
3020 "optional": false
3024 "key": "TestDecideCaseSelected",
3025 "value": {
3026 "key": "TestDecideCaseSelected",
3027 "fieldSchemaKey": {
3028 "name": "TestCase",
3029 "version": "0.0.1"
3031 "optional": false
3035 "key": "TestDecideStateTime",
3036 "value": {
3037 "key": "TestDecideStateTime",
3038 "fieldSchemaKey": {
3039 "name": "TestTimestamp",
3040 "version": "0.0.1"
3042 "optional": false
3046 "key": "TestEstablishCaseSelected",
3047 "value": {
3048 "key": "TestEstablishCaseSelected",
3049 "fieldSchemaKey": {
3050 "name": "TestCase",
3051 "version": "0.0.1"
3053 "optional": false
3057 "key": "TestEstablishStateTime",
3058 "value": {
3059 "key": "TestEstablishStateTime",
3060 "fieldSchemaKey": {
3061 "name": "TestTimestamp",
3062 "version": "0.0.1"
3064 "optional": false
3068 "key": "TestMatchCase",
3069 "value": {
3070 "key": "TestMatchCase",
3071 "fieldSchemaKey": {
3072 "name": "TestCase",
3073 "version": "0.0.1"
3075 "optional": false
3079 "key": "TestMatchCaseSelected",
3080 "value": {
3081 "key": "TestMatchCaseSelected",
3082 "fieldSchemaKey": {
3083 "name": "TestCase",
3084 "version": "0.0.1"
3086 "optional": false
3090 "key": "TestMatchStateTime",
3091 "value": {
3092 "key": "TestMatchStateTime",
3093 "fieldSchemaKey": {
3094 "name": "TestTimestamp",
3095 "version": "0.0.1"
3097 "optional": false
3101 "key": "TestSlogan",
3102 "value": {
3103 "key": "TestSlogan",
3104 "fieldSchemaKey": {
3105 "name": "TestSlogan",
3106 "version": "0.0.1"
3108 "optional": false
3112 "key": "TestTemperature",
3113 "value": {
3114 "key": "TestTemperature",
3115 "fieldSchemaKey": {
3116 "name": "TestTemperature",
3117 "version": "0.0.1"
3119 "optional": false
3123 "key": "TestTimestamp",
3124 "value": {
3125 "key": "TestTimestamp",
3126 "fieldSchemaKey": {
3127 "name": "TestTimestamp",
3128 "version": "0.0.1"
3130 "optional": false
3135 "taskParameters": {
3136 "entry": [
3138 "key": "Parameter0",
3139 "value": {
3140 "key": {
3141 "parentKeyName": "Task_Act2",
3142 "parentKeyVersion": "0.0.1",
3143 "parentLocalName": "NULL",
3144 "localName": "Parameter0"
3146 "defaultValue": "DefaultValue0"
3151 "contextAlbumReference": [
3153 "name": "GlobalContextAlbum",
3154 "version": "0.0.1"
3157 "name": "Policy1ContextAlbum",
3158 "version": "0.0.1"
3161 "taskLogic": {
3162 "key": "_TaskLogic",
3163 "logicFlavour": "JAVASCRIPT",
3164 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
3169 "key": {
3170 "name": "Task_Act3",
3171 "version": "0.0.1"
3173 "value": {
3174 "key": {
3175 "name": "Task_Act3",
3176 "version": "0.0.1"
3178 "inputFields": {
3179 "entry": [
3181 "key": "TestDecideCaseSelected",
3182 "value": {
3183 "key": "TestDecideCaseSelected",
3184 "fieldSchemaKey": {
3185 "name": "TestCase",
3186 "version": "0.0.1"
3188 "optional": false
3192 "key": "TestDecideStateTime",
3193 "value": {
3194 "key": "TestDecideStateTime",
3195 "fieldSchemaKey": {
3196 "name": "TestTimestamp",
3197 "version": "0.0.1"
3199 "optional": false
3203 "key": "TestEstablishCaseSelected",
3204 "value": {
3205 "key": "TestEstablishCaseSelected",
3206 "fieldSchemaKey": {
3207 "name": "TestCase",
3208 "version": "0.0.1"
3210 "optional": false
3214 "key": "TestEstablishStateTime",
3215 "value": {
3216 "key": "TestEstablishStateTime",
3217 "fieldSchemaKey": {
3218 "name": "TestTimestamp",
3219 "version": "0.0.1"
3221 "optional": false
3225 "key": "TestMatchCase",
3226 "value": {
3227 "key": "TestMatchCase",
3228 "fieldSchemaKey": {
3229 "name": "TestCase",
3230 "version": "0.0.1"
3232 "optional": false
3236 "key": "TestMatchCaseSelected",
3237 "value": {
3238 "key": "TestMatchCaseSelected",
3239 "fieldSchemaKey": {
3240 "name": "TestCase",
3241 "version": "0.0.1"
3243 "optional": false
3247 "key": "TestMatchStateTime",
3248 "value": {
3249 "key": "TestMatchStateTime",
3250 "fieldSchemaKey": {
3251 "name": "TestTimestamp",
3252 "version": "0.0.1"
3254 "optional": false
3258 "key": "TestSlogan",
3259 "value": {
3260 "key": "TestSlogan",
3261 "fieldSchemaKey": {
3262 "name": "TestSlogan",
3263 "version": "0.0.1"
3265 "optional": false
3269 "key": "TestTemperature",
3270 "value": {
3271 "key": "TestTemperature",
3272 "fieldSchemaKey": {
3273 "name": "TestTemperature",
3274 "version": "0.0.1"
3276 "optional": false
3280 "key": "TestTimestamp",
3281 "value": {
3282 "key": "TestTimestamp",
3283 "fieldSchemaKey": {
3284 "name": "TestTimestamp",
3285 "version": "0.0.1"
3287 "optional": false
3292 "outputFields": {
3293 "entry": [
3295 "key": "TestActCaseSelected",
3296 "value": {
3297 "key": "TestActCaseSelected",
3298 "fieldSchemaKey": {
3299 "name": "TestCase",
3300 "version": "0.0.1"
3302 "optional": false
3306 "key": "TestActStateTime",
3307 "value": {
3308 "key": "TestActStateTime",
3309 "fieldSchemaKey": {
3310 "name": "TestTimestamp",
3311 "version": "0.0.1"
3313 "optional": false
3317 "key": "TestDecideCaseSelected",
3318 "value": {
3319 "key": "TestDecideCaseSelected",
3320 "fieldSchemaKey": {
3321 "name": "TestCase",
3322 "version": "0.0.1"
3324 "optional": false
3328 "key": "TestDecideStateTime",
3329 "value": {
3330 "key": "TestDecideStateTime",
3331 "fieldSchemaKey": {
3332 "name": "TestTimestamp",
3333 "version": "0.0.1"
3335 "optional": false
3339 "key": "TestEstablishCaseSelected",
3340 "value": {
3341 "key": "TestEstablishCaseSelected",
3342 "fieldSchemaKey": {
3343 "name": "TestCase",
3344 "version": "0.0.1"
3346 "optional": false
3350 "key": "TestEstablishStateTime",
3351 "value": {
3352 "key": "TestEstablishStateTime",
3353 "fieldSchemaKey": {
3354 "name": "TestTimestamp",
3355 "version": "0.0.1"
3357 "optional": false
3361 "key": "TestMatchCase",
3362 "value": {
3363 "key": "TestMatchCase",
3364 "fieldSchemaKey": {
3365 "name": "TestCase",
3366 "version": "0.0.1"
3368 "optional": false
3372 "key": "TestMatchCaseSelected",
3373 "value": {
3374 "key": "TestMatchCaseSelected",
3375 "fieldSchemaKey": {
3376 "name": "TestCase",
3377 "version": "0.0.1"
3379 "optional": false
3383 "key": "TestMatchStateTime",
3384 "value": {
3385 "key": "TestMatchStateTime",
3386 "fieldSchemaKey": {
3387 "name": "TestTimestamp",
3388 "version": "0.0.1"
3390 "optional": false
3394 "key": "TestSlogan",
3395 "value": {
3396 "key": "TestSlogan",
3397 "fieldSchemaKey": {
3398 "name": "TestSlogan",
3399 "version": "0.0.1"
3401 "optional": false
3405 "key": "TestTemperature",
3406 "value": {
3407 "key": "TestTemperature",
3408 "fieldSchemaKey": {
3409 "name": "TestTemperature",
3410 "version": "0.0.1"
3412 "optional": false
3416 "key": "TestTimestamp",
3417 "value": {
3418 "key": "TestTimestamp",
3419 "fieldSchemaKey": {
3420 "name": "TestTimestamp",
3421 "version": "0.0.1"
3423 "optional": false
3428 "taskParameters": {
3429 "entry": [
3431 "key": "Parameter0",
3432 "value": {
3433 "key": {
3434 "parentKeyName": "Task_Act3",
3435 "parentKeyVersion": "0.0.1",
3436 "parentLocalName": "NULL",
3437 "localName": "Parameter0"
3439 "defaultValue": "DefaultValue0"
3444 "contextAlbumReference": [
3446 "name": "ExternalContextAlbum",
3447 "version": "0.0.1"
3450 "name": "GlobalContextAlbum",
3451 "version": "0.0.1"
3454 "taskLogic": {
3455 "key": "_TaskLogic",
3456 "logicFlavour": "JAVASCRIPT",
3457 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
3462 "key": {
3463 "name": "Task_Decide0",
3464 "version": "0.0.1"
3466 "value": {
3467 "key": {
3468 "name": "Task_Decide0",
3469 "version": "0.0.1"
3471 "inputFields": {
3472 "entry": [
3474 "key": "TestEstablishCaseSelected",
3475 "value": {
3476 "key": "TestEstablishCaseSelected",
3477 "fieldSchemaKey": {
3478 "name": "TestCase",
3479 "version": "0.0.1"
3481 "optional": false
3485 "key": "TestEstablishStateTime",
3486 "value": {
3487 "key": "TestEstablishStateTime",
3488 "fieldSchemaKey": {
3489 "name": "TestTimestamp",
3490 "version": "0.0.1"
3492 "optional": false
3496 "key": "TestMatchCase",
3497 "value": {
3498 "key": "TestMatchCase",
3499 "fieldSchemaKey": {
3500 "name": "TestCase",
3501 "version": "0.0.1"
3503 "optional": false
3507 "key": "TestMatchCaseSelected",
3508 "value": {
3509 "key": "TestMatchCaseSelected",
3510 "fieldSchemaKey": {
3511 "name": "TestCase",
3512 "version": "0.0.1"
3514 "optional": false
3518 "key": "TestMatchStateTime",
3519 "value": {
3520 "key": "TestMatchStateTime",
3521 "fieldSchemaKey": {
3522 "name": "TestTimestamp",
3523 "version": "0.0.1"
3525 "optional": false
3529 "key": "TestSlogan",
3530 "value": {
3531 "key": "TestSlogan",
3532 "fieldSchemaKey": {
3533 "name": "TestSlogan",
3534 "version": "0.0.1"
3536 "optional": false
3540 "key": "TestTemperature",
3541 "value": {
3542 "key": "TestTemperature",
3543 "fieldSchemaKey": {
3544 "name": "TestTemperature",
3545 "version": "0.0.1"
3547 "optional": false
3551 "key": "TestTimestamp",
3552 "value": {
3553 "key": "TestTimestamp",
3554 "fieldSchemaKey": {
3555 "name": "TestTimestamp",
3556 "version": "0.0.1"
3558 "optional": false
3563 "outputFields": {
3564 "entry": [
3566 "key": "TestDecideCaseSelected",
3567 "value": {
3568 "key": "TestDecideCaseSelected",
3569 "fieldSchemaKey": {
3570 "name": "TestCase",
3571 "version": "0.0.1"
3573 "optional": false
3577 "key": "TestDecideStateTime",
3578 "value": {
3579 "key": "TestDecideStateTime",
3580 "fieldSchemaKey": {
3581 "name": "TestTimestamp",
3582 "version": "0.0.1"
3584 "optional": false
3588 "key": "TestEstablishCaseSelected",
3589 "value": {
3590 "key": "TestEstablishCaseSelected",
3591 "fieldSchemaKey": {
3592 "name": "TestCase",
3593 "version": "0.0.1"
3595 "optional": false
3599 "key": "TestEstablishStateTime",
3600 "value": {
3601 "key": "TestEstablishStateTime",
3602 "fieldSchemaKey": {
3603 "name": "TestTimestamp",
3604 "version": "0.0.1"
3606 "optional": false
3610 "key": "TestMatchCase",
3611 "value": {
3612 "key": "TestMatchCase",
3613 "fieldSchemaKey": {
3614 "name": "TestCase",
3615 "version": "0.0.1"
3617 "optional": false
3621 "key": "TestMatchCaseSelected",
3622 "value": {
3623 "key": "TestMatchCaseSelected",
3624 "fieldSchemaKey": {
3625 "name": "TestCase",
3626 "version": "0.0.1"
3628 "optional": false
3632 "key": "TestMatchStateTime",
3633 "value": {
3634 "key": "TestMatchStateTime",
3635 "fieldSchemaKey": {
3636 "name": "TestTimestamp",
3637 "version": "0.0.1"
3639 "optional": false
3643 "key": "TestSlogan",
3644 "value": {
3645 "key": "TestSlogan",
3646 "fieldSchemaKey": {
3647 "name": "TestSlogan",
3648 "version": "0.0.1"
3650 "optional": false
3654 "key": "TestTemperature",
3655 "value": {
3656 "key": "TestTemperature",
3657 "fieldSchemaKey": {
3658 "name": "TestTemperature",
3659 "version": "0.0.1"
3661 "optional": false
3665 "key": "TestTimestamp",
3666 "value": {
3667 "key": "TestTimestamp",
3668 "fieldSchemaKey": {
3669 "name": "TestTimestamp",
3670 "version": "0.0.1"
3672 "optional": false
3677 "taskParameters": {
3678 "entry": [
3680 "key": "Parameter0",
3681 "value": {
3682 "key": {
3683 "parentKeyName": "Task_Decide0",
3684 "parentKeyVersion": "0.0.1",
3685 "parentLocalName": "NULL",
3686 "localName": "Parameter0"
3688 "defaultValue": "DefaultValue0"
3692 "key": "Parameter1",
3693 "value": {
3694 "key": {
3695 "parentKeyName": "Task_Decide0",
3696 "parentKeyVersion": "0.0.1",
3697 "parentLocalName": "NULL",
3698 "localName": "Parameter1"
3700 "defaultValue": "DefaultValue1"
3704 "key": "Parameter2",
3705 "value": {
3706 "key": {
3707 "parentKeyName": "Task_Decide0",
3708 "parentKeyVersion": "0.0.1",
3709 "parentLocalName": "NULL",
3710 "localName": "Parameter2"
3712 "defaultValue": "DefaultValue2"
3717 "contextAlbumReference": [
3719 "name": "ExternalContextAlbum",
3720 "version": "0.0.1"
3723 "name": "GlobalContextAlbum",
3724 "version": "0.0.1"
3727 "name": "Policy0ContextAlbum",
3728 "version": "0.0.1"
3731 "name": "Policy1ContextAlbum",
3732 "version": "0.0.1"
3735 "taskLogic": {
3736 "key": "_TaskLogic",
3737 "logicFlavour": "JAVASCRIPT",
3738 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
3743 "key": {
3744 "name": "Task_Decide1",
3745 "version": "0.0.1"
3747 "value": {
3748 "key": {
3749 "name": "Task_Decide1",
3750 "version": "0.0.1"
3752 "inputFields": {
3753 "entry": [
3755 "key": "TestEstablishCaseSelected",
3756 "value": {
3757 "key": "TestEstablishCaseSelected",
3758 "fieldSchemaKey": {
3759 "name": "TestCase",
3760 "version": "0.0.1"
3762 "optional": false
3766 "key": "TestEstablishStateTime",
3767 "value": {
3768 "key": "TestEstablishStateTime",
3769 "fieldSchemaKey": {
3770 "name": "TestTimestamp",
3771 "version": "0.0.1"
3773 "optional": false
3777 "key": "TestMatchCase",
3778 "value": {
3779 "key": "TestMatchCase",
3780 "fieldSchemaKey": {
3781 "name": "TestCase",
3782 "version": "0.0.1"
3784 "optional": false
3788 "key": "TestMatchCaseSelected",
3789 "value": {
3790 "key": "TestMatchCaseSelected",
3791 "fieldSchemaKey": {
3792 "name": "TestCase",
3793 "version": "0.0.1"
3795 "optional": false
3799 "key": "TestMatchStateTime",
3800 "value": {
3801 "key": "TestMatchStateTime",
3802 "fieldSchemaKey": {
3803 "name": "TestTimestamp",
3804 "version": "0.0.1"
3806 "optional": false
3810 "key": "TestSlogan",
3811 "value": {
3812 "key": "TestSlogan",
3813 "fieldSchemaKey": {
3814 "name": "TestSlogan",
3815 "version": "0.0.1"
3817 "optional": false
3821 "key": "TestTemperature",
3822 "value": {
3823 "key": "TestTemperature",
3824 "fieldSchemaKey": {
3825 "name": "TestTemperature",
3826 "version": "0.0.1"
3828 "optional": false
3832 "key": "TestTimestamp",
3833 "value": {
3834 "key": "TestTimestamp",
3835 "fieldSchemaKey": {
3836 "name": "TestTimestamp",
3837 "version": "0.0.1"
3839 "optional": false
3844 "outputFields": {
3845 "entry": [
3847 "key": "TestDecideCaseSelected",
3848 "value": {
3849 "key": "TestDecideCaseSelected",
3850 "fieldSchemaKey": {
3851 "name": "TestCase",
3852 "version": "0.0.1"
3854 "optional": false
3858 "key": "TestDecideStateTime",
3859 "value": {
3860 "key": "TestDecideStateTime",
3861 "fieldSchemaKey": {
3862 "name": "TestTimestamp",
3863 "version": "0.0.1"
3865 "optional": false
3869 "key": "TestEstablishCaseSelected",
3870 "value": {
3871 "key": "TestEstablishCaseSelected",
3872 "fieldSchemaKey": {
3873 "name": "TestCase",
3874 "version": "0.0.1"
3876 "optional": false
3880 "key": "TestEstablishStateTime",
3881 "value": {
3882 "key": "TestEstablishStateTime",
3883 "fieldSchemaKey": {
3884 "name": "TestTimestamp",
3885 "version": "0.0.1"
3887 "optional": false
3891 "key": "TestMatchCase",
3892 "value": {
3893 "key": "TestMatchCase",
3894 "fieldSchemaKey": {
3895 "name": "TestCase",
3896 "version": "0.0.1"
3898 "optional": false
3902 "key": "TestMatchCaseSelected",
3903 "value": {
3904 "key": "TestMatchCaseSelected",
3905 "fieldSchemaKey": {
3906 "name": "TestCase",
3907 "version": "0.0.1"
3909 "optional": false
3913 "key": "TestMatchStateTime",
3914 "value": {
3915 "key": "TestMatchStateTime",
3916 "fieldSchemaKey": {
3917 "name": "TestTimestamp",
3918 "version": "0.0.1"
3920 "optional": false
3924 "key": "TestSlogan",
3925 "value": {
3926 "key": "TestSlogan",
3927 "fieldSchemaKey": {
3928 "name": "TestSlogan",
3929 "version": "0.0.1"
3931 "optional": false
3935 "key": "TestTemperature",
3936 "value": {
3937 "key": "TestTemperature",
3938 "fieldSchemaKey": {
3939 "name": "TestTemperature",
3940 "version": "0.0.1"
3942 "optional": false
3946 "key": "TestTimestamp",
3947 "value": {
3948 "key": "TestTimestamp",
3949 "fieldSchemaKey": {
3950 "name": "TestTimestamp",
3951 "version": "0.0.1"
3953 "optional": false
3958 "taskParameters": {
3959 "entry": [
3961 "key": "Parameter0",
3962 "value": {
3963 "key": {
3964 "parentKeyName": "Task_Decide1",
3965 "parentKeyVersion": "0.0.1",
3966 "parentLocalName": "NULL",
3967 "localName": "Parameter0"
3969 "defaultValue": "DefaultValue0"
3973 "key": "Parameter1",
3974 "value": {
3975 "key": {
3976 "parentKeyName": "Task_Decide1",
3977 "parentKeyVersion": "0.0.1",
3978 "parentLocalName": "NULL",
3979 "localName": "Parameter1"
3981 "defaultValue": "DefaultValue1"
3986 "contextAlbumReference": [
3988 "name": "GlobalContextAlbum",
3989 "version": "0.0.1"
3992 "name": "Policy0ContextAlbum",
3993 "version": "0.0.1"
3996 "taskLogic": {
3997 "key": "_TaskLogic",
3998 "logicFlavour": "JAVASCRIPT",
3999 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
4004 "key": {
4005 "name": "Task_Decide2",
4006 "version": "0.0.1"
4008 "value": {
4009 "key": {
4010 "name": "Task_Decide2",
4011 "version": "0.0.1"
4013 "inputFields": {
4014 "entry": [
4016 "key": "TestEstablishCaseSelected",
4017 "value": {
4018 "key": "TestEstablishCaseSelected",
4019 "fieldSchemaKey": {
4020 "name": "TestCase",
4021 "version": "0.0.1"
4023 "optional": false
4027 "key": "TestEstablishStateTime",
4028 "value": {
4029 "key": "TestEstablishStateTime",
4030 "fieldSchemaKey": {
4031 "name": "TestTimestamp",
4032 "version": "0.0.1"
4034 "optional": false
4038 "key": "TestMatchCase",
4039 "value": {
4040 "key": "TestMatchCase",
4041 "fieldSchemaKey": {
4042 "name": "TestCase",
4043 "version": "0.0.1"
4045 "optional": false
4049 "key": "TestMatchCaseSelected",
4050 "value": {
4051 "key": "TestMatchCaseSelected",
4052 "fieldSchemaKey": {
4053 "name": "TestCase",
4054 "version": "0.0.1"
4056 "optional": false
4060 "key": "TestMatchStateTime",
4061 "value": {
4062 "key": "TestMatchStateTime",
4063 "fieldSchemaKey": {
4064 "name": "TestTimestamp",
4065 "version": "0.0.1"
4067 "optional": false
4071 "key": "TestSlogan",
4072 "value": {
4073 "key": "TestSlogan",
4074 "fieldSchemaKey": {
4075 "name": "TestSlogan",
4076 "version": "0.0.1"
4078 "optional": false
4082 "key": "TestTemperature",
4083 "value": {
4084 "key": "TestTemperature",
4085 "fieldSchemaKey": {
4086 "name": "TestTemperature",
4087 "version": "0.0.1"
4089 "optional": false
4093 "key": "TestTimestamp",
4094 "value": {
4095 "key": "TestTimestamp",
4096 "fieldSchemaKey": {
4097 "name": "TestTimestamp",
4098 "version": "0.0.1"
4100 "optional": false
4105 "outputFields": {
4106 "entry": [
4108 "key": "TestDecideCaseSelected",
4109 "value": {
4110 "key": "TestDecideCaseSelected",
4111 "fieldSchemaKey": {
4112 "name": "TestCase",
4113 "version": "0.0.1"
4115 "optional": false
4119 "key": "TestDecideStateTime",
4120 "value": {
4121 "key": "TestDecideStateTime",
4122 "fieldSchemaKey": {
4123 "name": "TestTimestamp",
4124 "version": "0.0.1"
4126 "optional": false
4130 "key": "TestEstablishCaseSelected",
4131 "value": {
4132 "key": "TestEstablishCaseSelected",
4133 "fieldSchemaKey": {
4134 "name": "TestCase",
4135 "version": "0.0.1"
4137 "optional": false
4141 "key": "TestEstablishStateTime",
4142 "value": {
4143 "key": "TestEstablishStateTime",
4144 "fieldSchemaKey": {
4145 "name": "TestTimestamp",
4146 "version": "0.0.1"
4148 "optional": false
4152 "key": "TestMatchCase",
4153 "value": {
4154 "key": "TestMatchCase",
4155 "fieldSchemaKey": {
4156 "name": "TestCase",
4157 "version": "0.0.1"
4159 "optional": false
4163 "key": "TestMatchCaseSelected",
4164 "value": {
4165 "key": "TestMatchCaseSelected",
4166 "fieldSchemaKey": {
4167 "name": "TestCase",
4168 "version": "0.0.1"
4170 "optional": false
4174 "key": "TestMatchStateTime",
4175 "value": {
4176 "key": "TestMatchStateTime",
4177 "fieldSchemaKey": {
4178 "name": "TestTimestamp",
4179 "version": "0.0.1"
4181 "optional": false
4185 "key": "TestSlogan",
4186 "value": {
4187 "key": "TestSlogan",
4188 "fieldSchemaKey": {
4189 "name": "TestSlogan",
4190 "version": "0.0.1"
4192 "optional": false
4196 "key": "TestTemperature",
4197 "value": {
4198 "key": "TestTemperature",
4199 "fieldSchemaKey": {
4200 "name": "TestTemperature",
4201 "version": "0.0.1"
4203 "optional": false
4207 "key": "TestTimestamp",
4208 "value": {
4209 "key": "TestTimestamp",
4210 "fieldSchemaKey": {
4211 "name": "TestTimestamp",
4212 "version": "0.0.1"
4214 "optional": false
4219 "taskParameters": {
4220 "entry": [
4222 "key": "Parameter0",
4223 "value": {
4224 "key": {
4225 "parentKeyName": "Task_Decide2",
4226 "parentKeyVersion": "0.0.1",
4227 "parentLocalName": "NULL",
4228 "localName": "Parameter0"
4230 "defaultValue": "DefaultValue0"
4235 "contextAlbumReference": [
4237 "name": "GlobalContextAlbum",
4238 "version": "0.0.1"
4241 "name": "Policy1ContextAlbum",
4242 "version": "0.0.1"
4245 "taskLogic": {
4246 "key": "_TaskLogic",
4247 "logicFlavour": "JAVASCRIPT",
4248 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
4253 "key": {
4254 "name": "Task_Decide3",
4255 "version": "0.0.1"
4257 "value": {
4258 "key": {
4259 "name": "Task_Decide3",
4260 "version": "0.0.1"
4262 "inputFields": {
4263 "entry": [
4265 "key": "TestEstablishCaseSelected",
4266 "value": {
4267 "key": "TestEstablishCaseSelected",
4268 "fieldSchemaKey": {
4269 "name": "TestCase",
4270 "version": "0.0.1"
4272 "optional": false
4276 "key": "TestEstablishStateTime",
4277 "value": {
4278 "key": "TestEstablishStateTime",
4279 "fieldSchemaKey": {
4280 "name": "TestTimestamp",
4281 "version": "0.0.1"
4283 "optional": false
4287 "key": "TestMatchCase",
4288 "value": {
4289 "key": "TestMatchCase",
4290 "fieldSchemaKey": {
4291 "name": "TestCase",
4292 "version": "0.0.1"
4294 "optional": false
4298 "key": "TestMatchCaseSelected",
4299 "value": {
4300 "key": "TestMatchCaseSelected",
4301 "fieldSchemaKey": {
4302 "name": "TestCase",
4303 "version": "0.0.1"
4305 "optional": false
4309 "key": "TestMatchStateTime",
4310 "value": {
4311 "key": "TestMatchStateTime",
4312 "fieldSchemaKey": {
4313 "name": "TestTimestamp",
4314 "version": "0.0.1"
4316 "optional": false
4320 "key": "TestSlogan",
4321 "value": {
4322 "key": "TestSlogan",
4323 "fieldSchemaKey": {
4324 "name": "TestSlogan",
4325 "version": "0.0.1"
4327 "optional": false
4331 "key": "TestTemperature",
4332 "value": {
4333 "key": "TestTemperature",
4334 "fieldSchemaKey": {
4335 "name": "TestTemperature",
4336 "version": "0.0.1"
4338 "optional": false
4342 "key": "TestTimestamp",
4343 "value": {
4344 "key": "TestTimestamp",
4345 "fieldSchemaKey": {
4346 "name": "TestTimestamp",
4347 "version": "0.0.1"
4349 "optional": false
4354 "outputFields": {
4355 "entry": [
4357 "key": "TestDecideCaseSelected",
4358 "value": {
4359 "key": "TestDecideCaseSelected",
4360 "fieldSchemaKey": {
4361 "name": "TestCase",
4362 "version": "0.0.1"
4364 "optional": false
4368 "key": "TestDecideStateTime",
4369 "value": {
4370 "key": "TestDecideStateTime",
4371 "fieldSchemaKey": {
4372 "name": "TestTimestamp",
4373 "version": "0.0.1"
4375 "optional": false
4379 "key": "TestEstablishCaseSelected",
4380 "value": {
4381 "key": "TestEstablishCaseSelected",
4382 "fieldSchemaKey": {
4383 "name": "TestCase",
4384 "version": "0.0.1"
4386 "optional": false
4390 "key": "TestEstablishStateTime",
4391 "value": {
4392 "key": "TestEstablishStateTime",
4393 "fieldSchemaKey": {
4394 "name": "TestTimestamp",
4395 "version": "0.0.1"
4397 "optional": false
4401 "key": "TestMatchCase",
4402 "value": {
4403 "key": "TestMatchCase",
4404 "fieldSchemaKey": {
4405 "name": "TestCase",
4406 "version": "0.0.1"
4408 "optional": false
4412 "key": "TestMatchCaseSelected",
4413 "value": {
4414 "key": "TestMatchCaseSelected",
4415 "fieldSchemaKey": {
4416 "name": "TestCase",
4417 "version": "0.0.1"
4419 "optional": false
4423 "key": "TestMatchStateTime",
4424 "value": {
4425 "key": "TestMatchStateTime",
4426 "fieldSchemaKey": {
4427 "name": "TestTimestamp",
4428 "version": "0.0.1"
4430 "optional": false
4434 "key": "TestSlogan",
4435 "value": {
4436 "key": "TestSlogan",
4437 "fieldSchemaKey": {
4438 "name": "TestSlogan",
4439 "version": "0.0.1"
4441 "optional": false
4445 "key": "TestTemperature",
4446 "value": {
4447 "key": "TestTemperature",
4448 "fieldSchemaKey": {
4449 "name": "TestTemperature",
4450 "version": "0.0.1"
4452 "optional": false
4456 "key": "TestTimestamp",
4457 "value": {
4458 "key": "TestTimestamp",
4459 "fieldSchemaKey": {
4460 "name": "TestTimestamp",
4461 "version": "0.0.1"
4463 "optional": false
4468 "taskParameters": {
4469 "entry": [
4471 "key": "Parameter0",
4472 "value": {
4473 "key": {
4474 "parentKeyName": "Task_Decide3",
4475 "parentKeyVersion": "0.0.1",
4476 "parentLocalName": "NULL",
4477 "localName": "Parameter0"
4479 "defaultValue": "DefaultValue0"
4484 "contextAlbumReference": [
4486 "name": "ExternalContextAlbum",
4487 "version": "0.0.1"
4490 "name": "GlobalContextAlbum",
4491 "version": "0.0.1"
4494 "taskLogic": {
4495 "key": "_TaskLogic",
4496 "logicFlavour": "JAVASCRIPT",
4497 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
4502 "key": {
4503 "name": "Task_Establish0",
4504 "version": "0.0.1"
4506 "value": {
4507 "key": {
4508 "name": "Task_Establish0",
4509 "version": "0.0.1"
4511 "inputFields": {
4512 "entry": [
4514 "key": "TestMatchCase",
4515 "value": {
4516 "key": "TestMatchCase",
4517 "fieldSchemaKey": {
4518 "name": "TestCase",
4519 "version": "0.0.1"
4521 "optional": false
4525 "key": "TestMatchCaseSelected",
4526 "value": {
4527 "key": "TestMatchCaseSelected",
4528 "fieldSchemaKey": {
4529 "name": "TestCase",
4530 "version": "0.0.1"
4532 "optional": false
4536 "key": "TestMatchStateTime",
4537 "value": {
4538 "key": "TestMatchStateTime",
4539 "fieldSchemaKey": {
4540 "name": "TestTimestamp",
4541 "version": "0.0.1"
4543 "optional": false
4547 "key": "TestSlogan",
4548 "value": {
4549 "key": "TestSlogan",
4550 "fieldSchemaKey": {
4551 "name": "TestSlogan",
4552 "version": "0.0.1"
4554 "optional": false
4558 "key": "TestTemperature",
4559 "value": {
4560 "key": "TestTemperature",
4561 "fieldSchemaKey": {
4562 "name": "TestTemperature",
4563 "version": "0.0.1"
4565 "optional": false
4569 "key": "TestTimestamp",
4570 "value": {
4571 "key": "TestTimestamp",
4572 "fieldSchemaKey": {
4573 "name": "TestTimestamp",
4574 "version": "0.0.1"
4576 "optional": false
4581 "outputFields": {
4582 "entry": [
4584 "key": "TestEstablishCaseSelected",
4585 "value": {
4586 "key": "TestEstablishCaseSelected",
4587 "fieldSchemaKey": {
4588 "name": "TestCase",
4589 "version": "0.0.1"
4591 "optional": false
4595 "key": "TestEstablishStateTime",
4596 "value": {
4597 "key": "TestEstablishStateTime",
4598 "fieldSchemaKey": {
4599 "name": "TestTimestamp",
4600 "version": "0.0.1"
4602 "optional": false
4606 "key": "TestMatchCase",
4607 "value": {
4608 "key": "TestMatchCase",
4609 "fieldSchemaKey": {
4610 "name": "TestCase",
4611 "version": "0.0.1"
4613 "optional": false
4617 "key": "TestMatchCaseSelected",
4618 "value": {
4619 "key": "TestMatchCaseSelected",
4620 "fieldSchemaKey": {
4621 "name": "TestCase",
4622 "version": "0.0.1"
4624 "optional": false
4628 "key": "TestMatchStateTime",
4629 "value": {
4630 "key": "TestMatchStateTime",
4631 "fieldSchemaKey": {
4632 "name": "TestTimestamp",
4633 "version": "0.0.1"
4635 "optional": false
4639 "key": "TestSlogan",
4640 "value": {
4641 "key": "TestSlogan",
4642 "fieldSchemaKey": {
4643 "name": "TestSlogan",
4644 "version": "0.0.1"
4646 "optional": false
4650 "key": "TestTemperature",
4651 "value": {
4652 "key": "TestTemperature",
4653 "fieldSchemaKey": {
4654 "name": "TestTemperature",
4655 "version": "0.0.1"
4657 "optional": false
4661 "key": "TestTimestamp",
4662 "value": {
4663 "key": "TestTimestamp",
4664 "fieldSchemaKey": {
4665 "name": "TestTimestamp",
4666 "version": "0.0.1"
4668 "optional": false
4673 "taskParameters": {
4674 "entry": [
4676 "key": "Parameter0",
4677 "value": {
4678 "key": {
4679 "parentKeyName": "Task_Establish0",
4680 "parentKeyVersion": "0.0.1",
4681 "parentLocalName": "NULL",
4682 "localName": "Parameter0"
4684 "defaultValue": "DefaultValue0"
4688 "key": "Parameter1",
4689 "value": {
4690 "key": {
4691 "parentKeyName": "Task_Establish0",
4692 "parentKeyVersion": "0.0.1",
4693 "parentLocalName": "NULL",
4694 "localName": "Parameter1"
4696 "defaultValue": "DefaultValue1"
4700 "key": "Parameter2",
4701 "value": {
4702 "key": {
4703 "parentKeyName": "Task_Establish0",
4704 "parentKeyVersion": "0.0.1",
4705 "parentLocalName": "NULL",
4706 "localName": "Parameter2"
4708 "defaultValue": "DefaultValue2"
4713 "contextAlbumReference": [
4715 "name": "ExternalContextAlbum",
4716 "version": "0.0.1"
4719 "name": "GlobalContextAlbum",
4720 "version": "0.0.1"
4723 "name": "Policy0ContextAlbum",
4724 "version": "0.0.1"
4727 "name": "Policy1ContextAlbum",
4728 "version": "0.0.1"
4731 "taskLogic": {
4732 "key": "_TaskLogic",
4733 "logicFlavour": "JAVASCRIPT",
4734 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
4739 "key": {
4740 "name": "Task_Establish1",
4741 "version": "0.0.1"
4743 "value": {
4744 "key": {
4745 "name": "Task_Establish1",
4746 "version": "0.0.1"
4748 "inputFields": {
4749 "entry": [
4751 "key": "TestMatchCase",
4752 "value": {
4753 "key": "TestMatchCase",
4754 "fieldSchemaKey": {
4755 "name": "TestCase",
4756 "version": "0.0.1"
4758 "optional": false
4762 "key": "TestMatchCaseSelected",
4763 "value": {
4764 "key": "TestMatchCaseSelected",
4765 "fieldSchemaKey": {
4766 "name": "TestCase",
4767 "version": "0.0.1"
4769 "optional": false
4773 "key": "TestMatchStateTime",
4774 "value": {
4775 "key": "TestMatchStateTime",
4776 "fieldSchemaKey": {
4777 "name": "TestTimestamp",
4778 "version": "0.0.1"
4780 "optional": false
4784 "key": "TestSlogan",
4785 "value": {
4786 "key": "TestSlogan",
4787 "fieldSchemaKey": {
4788 "name": "TestSlogan",
4789 "version": "0.0.1"
4791 "optional": false
4795 "key": "TestTemperature",
4796 "value": {
4797 "key": "TestTemperature",
4798 "fieldSchemaKey": {
4799 "name": "TestTemperature",
4800 "version": "0.0.1"
4802 "optional": false
4806 "key": "TestTimestamp",
4807 "value": {
4808 "key": "TestTimestamp",
4809 "fieldSchemaKey": {
4810 "name": "TestTimestamp",
4811 "version": "0.0.1"
4813 "optional": false
4818 "outputFields": {
4819 "entry": [
4821 "key": "TestEstablishCaseSelected",
4822 "value": {
4823 "key": "TestEstablishCaseSelected",
4824 "fieldSchemaKey": {
4825 "name": "TestCase",
4826 "version": "0.0.1"
4828 "optional": false
4832 "key": "TestEstablishStateTime",
4833 "value": {
4834 "key": "TestEstablishStateTime",
4835 "fieldSchemaKey": {
4836 "name": "TestTimestamp",
4837 "version": "0.0.1"
4839 "optional": false
4843 "key": "TestMatchCase",
4844 "value": {
4845 "key": "TestMatchCase",
4846 "fieldSchemaKey": {
4847 "name": "TestCase",
4848 "version": "0.0.1"
4850 "optional": false
4854 "key": "TestMatchCaseSelected",
4855 "value": {
4856 "key": "TestMatchCaseSelected",
4857 "fieldSchemaKey": {
4858 "name": "TestCase",
4859 "version": "0.0.1"
4861 "optional": false
4865 "key": "TestMatchStateTime",
4866 "value": {
4867 "key": "TestMatchStateTime",
4868 "fieldSchemaKey": {
4869 "name": "TestTimestamp",
4870 "version": "0.0.1"
4872 "optional": false
4876 "key": "TestSlogan",
4877 "value": {
4878 "key": "TestSlogan",
4879 "fieldSchemaKey": {
4880 "name": "TestSlogan",
4881 "version": "0.0.1"
4883 "optional": false
4887 "key": "TestTemperature",
4888 "value": {
4889 "key": "TestTemperature",
4890 "fieldSchemaKey": {
4891 "name": "TestTemperature",
4892 "version": "0.0.1"
4894 "optional": false
4898 "key": "TestTimestamp",
4899 "value": {
4900 "key": "TestTimestamp",
4901 "fieldSchemaKey": {
4902 "name": "TestTimestamp",
4903 "version": "0.0.1"
4905 "optional": false
4910 "taskParameters": {
4911 "entry": [
4913 "key": "Parameter0",
4914 "value": {
4915 "key": {
4916 "parentKeyName": "Task_Establish1",
4917 "parentKeyVersion": "0.0.1",
4918 "parentLocalName": "NULL",
4919 "localName": "Parameter0"
4921 "defaultValue": "DefaultValue0"
4925 "key": "Parameter1",
4926 "value": {
4927 "key": {
4928 "parentKeyName": "Task_Establish1",
4929 "parentKeyVersion": "0.0.1",
4930 "parentLocalName": "NULL",
4931 "localName": "Parameter1"
4933 "defaultValue": "DefaultValue1"
4938 "contextAlbumReference": [
4940 "name": "GlobalContextAlbum",
4941 "version": "0.0.1"
4944 "name": "Policy0ContextAlbum",
4945 "version": "0.0.1"
4948 "taskLogic": {
4949 "key": "_TaskLogic",
4950 "logicFlavour": "JAVASCRIPT",
4951 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
4956 "key": {
4957 "name": "Task_Establish2",
4958 "version": "0.0.1"
4960 "value": {
4961 "key": {
4962 "name": "Task_Establish2",
4963 "version": "0.0.1"
4965 "inputFields": {
4966 "entry": [
4968 "key": "TestMatchCase",
4969 "value": {
4970 "key": "TestMatchCase",
4971 "fieldSchemaKey": {
4972 "name": "TestCase",
4973 "version": "0.0.1"
4975 "optional": false
4979 "key": "TestMatchCaseSelected",
4980 "value": {
4981 "key": "TestMatchCaseSelected",
4982 "fieldSchemaKey": {
4983 "name": "TestCase",
4984 "version": "0.0.1"
4986 "optional": false
4990 "key": "TestMatchStateTime",
4991 "value": {
4992 "key": "TestMatchStateTime",
4993 "fieldSchemaKey": {
4994 "name": "TestTimestamp",
4995 "version": "0.0.1"
4997 "optional": false
5001 "key": "TestSlogan",
5002 "value": {
5003 "key": "TestSlogan",
5004 "fieldSchemaKey": {
5005 "name": "TestSlogan",
5006 "version": "0.0.1"
5008 "optional": false
5012 "key": "TestTemperature",
5013 "value": {
5014 "key": "TestTemperature",
5015 "fieldSchemaKey": {
5016 "name": "TestTemperature",
5017 "version": "0.0.1"
5019 "optional": false
5023 "key": "TestTimestamp",
5024 "value": {
5025 "key": "TestTimestamp",
5026 "fieldSchemaKey": {
5027 "name": "TestTimestamp",
5028 "version": "0.0.1"
5030 "optional": false
5035 "outputFields": {
5036 "entry": [
5038 "key": "TestEstablishCaseSelected",
5039 "value": {
5040 "key": "TestEstablishCaseSelected",
5041 "fieldSchemaKey": {
5042 "name": "TestCase",
5043 "version": "0.0.1"
5045 "optional": false
5049 "key": "TestEstablishStateTime",
5050 "value": {
5051 "key": "TestEstablishStateTime",
5052 "fieldSchemaKey": {
5053 "name": "TestTimestamp",
5054 "version": "0.0.1"
5056 "optional": false
5060 "key": "TestMatchCase",
5061 "value": {
5062 "key": "TestMatchCase",
5063 "fieldSchemaKey": {
5064 "name": "TestCase",
5065 "version": "0.0.1"
5067 "optional": false
5071 "key": "TestMatchCaseSelected",
5072 "value": {
5073 "key": "TestMatchCaseSelected",
5074 "fieldSchemaKey": {
5075 "name": "TestCase",
5076 "version": "0.0.1"
5078 "optional": false
5082 "key": "TestMatchStateTime",
5083 "value": {
5084 "key": "TestMatchStateTime",
5085 "fieldSchemaKey": {
5086 "name": "TestTimestamp",
5087 "version": "0.0.1"
5089 "optional": false
5093 "key": "TestSlogan",
5094 "value": {
5095 "key": "TestSlogan",
5096 "fieldSchemaKey": {
5097 "name": "TestSlogan",
5098 "version": "0.0.1"
5100 "optional": false
5104 "key": "TestTemperature",
5105 "value": {
5106 "key": "TestTemperature",
5107 "fieldSchemaKey": {
5108 "name": "TestTemperature",
5109 "version": "0.0.1"
5111 "optional": false
5115 "key": "TestTimestamp",
5116 "value": {
5117 "key": "TestTimestamp",
5118 "fieldSchemaKey": {
5119 "name": "TestTimestamp",
5120 "version": "0.0.1"
5122 "optional": false
5127 "taskParameters": {
5128 "entry": [
5130 "key": "Parameter0",
5131 "value": {
5132 "key": {
5133 "parentKeyName": "Task_Establish2",
5134 "parentKeyVersion": "0.0.1",
5135 "parentLocalName": "NULL",
5136 "localName": "Parameter0"
5138 "defaultValue": "DefaultValue0"
5143 "contextAlbumReference": [
5145 "name": "GlobalContextAlbum",
5146 "version": "0.0.1"
5149 "name": "Policy1ContextAlbum",
5150 "version": "0.0.1"
5153 "taskLogic": {
5154 "key": "_TaskLogic",
5155 "logicFlavour": "JAVASCRIPT",
5156 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
5161 "key": {
5162 "name": "Task_Establish3",
5163 "version": "0.0.1"
5165 "value": {
5166 "key": {
5167 "name": "Task_Establish3",
5168 "version": "0.0.1"
5170 "inputFields": {
5171 "entry": [
5173 "key": "TestMatchCase",
5174 "value": {
5175 "key": "TestMatchCase",
5176 "fieldSchemaKey": {
5177 "name": "TestCase",
5178 "version": "0.0.1"
5180 "optional": false
5184 "key": "TestMatchCaseSelected",
5185 "value": {
5186 "key": "TestMatchCaseSelected",
5187 "fieldSchemaKey": {
5188 "name": "TestCase",
5189 "version": "0.0.1"
5191 "optional": false
5195 "key": "TestMatchStateTime",
5196 "value": {
5197 "key": "TestMatchStateTime",
5198 "fieldSchemaKey": {
5199 "name": "TestTimestamp",
5200 "version": "0.0.1"
5202 "optional": false
5206 "key": "TestSlogan",
5207 "value": {
5208 "key": "TestSlogan",
5209 "fieldSchemaKey": {
5210 "name": "TestSlogan",
5211 "version": "0.0.1"
5213 "optional": false
5217 "key": "TestTemperature",
5218 "value": {
5219 "key": "TestTemperature",
5220 "fieldSchemaKey": {
5221 "name": "TestTemperature",
5222 "version": "0.0.1"
5224 "optional": false
5228 "key": "TestTimestamp",
5229 "value": {
5230 "key": "TestTimestamp",
5231 "fieldSchemaKey": {
5232 "name": "TestTimestamp",
5233 "version": "0.0.1"
5235 "optional": false
5240 "outputFields": {
5241 "entry": [
5243 "key": "TestEstablishCaseSelected",
5244 "value": {
5245 "key": "TestEstablishCaseSelected",
5246 "fieldSchemaKey": {
5247 "name": "TestCase",
5248 "version": "0.0.1"
5250 "optional": false
5254 "key": "TestEstablishStateTime",
5255 "value": {
5256 "key": "TestEstablishStateTime",
5257 "fieldSchemaKey": {
5258 "name": "TestTimestamp",
5259 "version": "0.0.1"
5261 "optional": false
5265 "key": "TestMatchCase",
5266 "value": {
5267 "key": "TestMatchCase",
5268 "fieldSchemaKey": {
5269 "name": "TestCase",
5270 "version": "0.0.1"
5272 "optional": false
5276 "key": "TestMatchCaseSelected",
5277 "value": {
5278 "key": "TestMatchCaseSelected",
5279 "fieldSchemaKey": {
5280 "name": "TestCase",
5281 "version": "0.0.1"
5283 "optional": false
5287 "key": "TestMatchStateTime",
5288 "value": {
5289 "key": "TestMatchStateTime",
5290 "fieldSchemaKey": {
5291 "name": "TestTimestamp",
5292 "version": "0.0.1"
5294 "optional": false
5298 "key": "TestSlogan",
5299 "value": {
5300 "key": "TestSlogan",
5301 "fieldSchemaKey": {
5302 "name": "TestSlogan",
5303 "version": "0.0.1"
5305 "optional": false
5309 "key": "TestTemperature",
5310 "value": {
5311 "key": "TestTemperature",
5312 "fieldSchemaKey": {
5313 "name": "TestTemperature",
5314 "version": "0.0.1"
5316 "optional": false
5320 "key": "TestTimestamp",
5321 "value": {
5322 "key": "TestTimestamp",
5323 "fieldSchemaKey": {
5324 "name": "TestTimestamp",
5325 "version": "0.0.1"
5327 "optional": false
5332 "taskParameters": {
5333 "entry": [
5335 "key": "Parameter0",
5336 "value": {
5337 "key": {
5338 "parentKeyName": "Task_Establish3",
5339 "parentKeyVersion": "0.0.1",
5340 "parentLocalName": "NULL",
5341 "localName": "Parameter0"
5343 "defaultValue": "DefaultValue0"
5348 "contextAlbumReference": [
5350 "name": "ExternalContextAlbum",
5351 "version": "0.0.1"
5354 "name": "GlobalContextAlbum",
5355 "version": "0.0.1"
5358 "taskLogic": {
5359 "key": "_TaskLogic",
5360 "logicFlavour": "JAVASCRIPT",
5361 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
5366 "key": {
5367 "name": "Task_Match0",
5368 "version": "0.0.1"
5370 "value": {
5371 "key": {
5372 "name": "Task_Match0",
5373 "version": "0.0.1"
5375 "inputFields": {
5376 "entry": [
5378 "key": "TestMatchCase",
5379 "value": {
5380 "key": "TestMatchCase",
5381 "fieldSchemaKey": {
5382 "name": "TestCase",
5383 "version": "0.0.1"
5385 "optional": false
5389 "key": "TestSlogan",
5390 "value": {
5391 "key": "TestSlogan",
5392 "fieldSchemaKey": {
5393 "name": "TestSlogan",
5394 "version": "0.0.1"
5396 "optional": false
5400 "key": "TestTemperature",
5401 "value": {
5402 "key": "TestTemperature",
5403 "fieldSchemaKey": {
5404 "name": "TestTemperature",
5405 "version": "0.0.1"
5407 "optional": false
5411 "key": "TestTimestamp",
5412 "value": {
5413 "key": "TestTimestamp",
5414 "fieldSchemaKey": {
5415 "name": "TestTimestamp",
5416 "version": "0.0.1"
5418 "optional": false
5423 "outputFields": {
5424 "entry": [
5426 "key": "TestMatchCase",
5427 "value": {
5428 "key": "TestMatchCase",
5429 "fieldSchemaKey": {
5430 "name": "TestCase",
5431 "version": "0.0.1"
5433 "optional": false
5437 "key": "TestMatchCaseSelected",
5438 "value": {
5439 "key": "TestMatchCaseSelected",
5440 "fieldSchemaKey": {
5441 "name": "TestCase",
5442 "version": "0.0.1"
5444 "optional": false
5448 "key": "TestMatchStateTime",
5449 "value": {
5450 "key": "TestMatchStateTime",
5451 "fieldSchemaKey": {
5452 "name": "TestTimestamp",
5453 "version": "0.0.1"
5455 "optional": false
5459 "key": "TestSlogan",
5460 "value": {
5461 "key": "TestSlogan",
5462 "fieldSchemaKey": {
5463 "name": "TestSlogan",
5464 "version": "0.0.1"
5466 "optional": false
5470 "key": "TestTemperature",
5471 "value": {
5472 "key": "TestTemperature",
5473 "fieldSchemaKey": {
5474 "name": "TestTemperature",
5475 "version": "0.0.1"
5477 "optional": false
5481 "key": "TestTimestamp",
5482 "value": {
5483 "key": "TestTimestamp",
5484 "fieldSchemaKey": {
5485 "name": "TestTimestamp",
5486 "version": "0.0.1"
5488 "optional": false
5493 "taskParameters": {
5494 "entry": [
5496 "key": "Parameter0",
5497 "value": {
5498 "key": {
5499 "parentKeyName": "Task_Match0",
5500 "parentKeyVersion": "0.0.1",
5501 "parentLocalName": "NULL",
5502 "localName": "Parameter0"
5504 "defaultValue": "DefaultValue0"
5508 "key": "Parameter1",
5509 "value": {
5510 "key": {
5511 "parentKeyName": "Task_Match0",
5512 "parentKeyVersion": "0.0.1",
5513 "parentLocalName": "NULL",
5514 "localName": "Parameter1"
5516 "defaultValue": "DefaultValue1"
5520 "key": "Parameter2",
5521 "value": {
5522 "key": {
5523 "parentKeyName": "Task_Match0",
5524 "parentKeyVersion": "0.0.1",
5525 "parentLocalName": "NULL",
5526 "localName": "Parameter2"
5528 "defaultValue": "DefaultValue2"
5533 "contextAlbumReference": [
5535 "name": "ExternalContextAlbum",
5536 "version": "0.0.1"
5539 "name": "GlobalContextAlbum",
5540 "version": "0.0.1"
5543 "name": "Policy0ContextAlbum",
5544 "version": "0.0.1"
5547 "name": "Policy1ContextAlbum",
5548 "version": "0.0.1"
5551 "taskLogic": {
5552 "key": "_TaskLogic",
5553 "logicFlavour": "JAVASCRIPT",
5554 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
5559 "key": {
5560 "name": "Task_Match1",
5561 "version": "0.0.1"
5563 "value": {
5564 "key": {
5565 "name": "Task_Match1",
5566 "version": "0.0.1"
5568 "inputFields": {
5569 "entry": [
5571 "key": "TestMatchCase",
5572 "value": {
5573 "key": "TestMatchCase",
5574 "fieldSchemaKey": {
5575 "name": "TestCase",
5576 "version": "0.0.1"
5578 "optional": false
5582 "key": "TestSlogan",
5583 "value": {
5584 "key": "TestSlogan",
5585 "fieldSchemaKey": {
5586 "name": "TestSlogan",
5587 "version": "0.0.1"
5589 "optional": false
5593 "key": "TestTemperature",
5594 "value": {
5595 "key": "TestTemperature",
5596 "fieldSchemaKey": {
5597 "name": "TestTemperature",
5598 "version": "0.0.1"
5600 "optional": false
5604 "key": "TestTimestamp",
5605 "value": {
5606 "key": "TestTimestamp",
5607 "fieldSchemaKey": {
5608 "name": "TestTimestamp",
5609 "version": "0.0.1"
5611 "optional": false
5616 "outputFields": {
5617 "entry": [
5619 "key": "TestMatchCase",
5620 "value": {
5621 "key": "TestMatchCase",
5622 "fieldSchemaKey": {
5623 "name": "TestCase",
5624 "version": "0.0.1"
5626 "optional": false
5630 "key": "TestMatchCaseSelected",
5631 "value": {
5632 "key": "TestMatchCaseSelected",
5633 "fieldSchemaKey": {
5634 "name": "TestCase",
5635 "version": "0.0.1"
5637 "optional": false
5641 "key": "TestMatchStateTime",
5642 "value": {
5643 "key": "TestMatchStateTime",
5644 "fieldSchemaKey": {
5645 "name": "TestTimestamp",
5646 "version": "0.0.1"
5648 "optional": false
5652 "key": "TestSlogan",
5653 "value": {
5654 "key": "TestSlogan",
5655 "fieldSchemaKey": {
5656 "name": "TestSlogan",
5657 "version": "0.0.1"
5659 "optional": false
5663 "key": "TestTemperature",
5664 "value": {
5665 "key": "TestTemperature",
5666 "fieldSchemaKey": {
5667 "name": "TestTemperature",
5668 "version": "0.0.1"
5670 "optional": false
5674 "key": "TestTimestamp",
5675 "value": {
5676 "key": "TestTimestamp",
5677 "fieldSchemaKey": {
5678 "name": "TestTimestamp",
5679 "version": "0.0.1"
5681 "optional": false
5686 "taskParameters": {
5687 "entry": [
5689 "key": "Parameter0",
5690 "value": {
5691 "key": {
5692 "parentKeyName": "Task_Match1",
5693 "parentKeyVersion": "0.0.1",
5694 "parentLocalName": "NULL",
5695 "localName": "Parameter0"
5697 "defaultValue": "DefaultValue0"
5701 "key": "Parameter1",
5702 "value": {
5703 "key": {
5704 "parentKeyName": "Task_Match1",
5705 "parentKeyVersion": "0.0.1",
5706 "parentLocalName": "NULL",
5707 "localName": "Parameter1"
5709 "defaultValue": "DefaultValue1"
5714 "contextAlbumReference": [
5716 "name": "GlobalContextAlbum",
5717 "version": "0.0.1"
5720 "name": "Policy0ContextAlbum",
5721 "version": "0.0.1"
5724 "taskLogic": {
5725 "key": "_TaskLogic",
5726 "logicFlavour": "JAVASCRIPT",
5727 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
5732 "key": {
5733 "name": "Task_Match2",
5734 "version": "0.0.1"
5736 "value": {
5737 "key": {
5738 "name": "Task_Match2",
5739 "version": "0.0.1"
5741 "inputFields": {
5742 "entry": [
5744 "key": "TestMatchCase",
5745 "value": {
5746 "key": "TestMatchCase",
5747 "fieldSchemaKey": {
5748 "name": "TestCase",
5749 "version": "0.0.1"
5751 "optional": false
5755 "key": "TestSlogan",
5756 "value": {
5757 "key": "TestSlogan",
5758 "fieldSchemaKey": {
5759 "name": "TestSlogan",
5760 "version": "0.0.1"
5762 "optional": false
5766 "key": "TestTemperature",
5767 "value": {
5768 "key": "TestTemperature",
5769 "fieldSchemaKey": {
5770 "name": "TestTemperature",
5771 "version": "0.0.1"
5773 "optional": false
5777 "key": "TestTimestamp",
5778 "value": {
5779 "key": "TestTimestamp",
5780 "fieldSchemaKey": {
5781 "name": "TestTimestamp",
5782 "version": "0.0.1"
5784 "optional": false
5789 "outputFields": {
5790 "entry": [
5792 "key": "TestMatchCase",
5793 "value": {
5794 "key": "TestMatchCase",
5795 "fieldSchemaKey": {
5796 "name": "TestCase",
5797 "version": "0.0.1"
5799 "optional": false
5803 "key": "TestMatchCaseSelected",
5804 "value": {
5805 "key": "TestMatchCaseSelected",
5806 "fieldSchemaKey": {
5807 "name": "TestCase",
5808 "version": "0.0.1"
5810 "optional": false
5814 "key": "TestMatchStateTime",
5815 "value": {
5816 "key": "TestMatchStateTime",
5817 "fieldSchemaKey": {
5818 "name": "TestTimestamp",
5819 "version": "0.0.1"
5821 "optional": false
5825 "key": "TestSlogan",
5826 "value": {
5827 "key": "TestSlogan",
5828 "fieldSchemaKey": {
5829 "name": "TestSlogan",
5830 "version": "0.0.1"
5832 "optional": false
5836 "key": "TestTemperature",
5837 "value": {
5838 "key": "TestTemperature",
5839 "fieldSchemaKey": {
5840 "name": "TestTemperature",
5841 "version": "0.0.1"
5843 "optional": false
5847 "key": "TestTimestamp",
5848 "value": {
5849 "key": "TestTimestamp",
5850 "fieldSchemaKey": {
5851 "name": "TestTimestamp",
5852 "version": "0.0.1"
5854 "optional": false
5859 "taskParameters": {
5860 "entry": [
5862 "key": "Parameter0",
5863 "value": {
5864 "key": {
5865 "parentKeyName": "Task_Match2",
5866 "parentKeyVersion": "0.0.1",
5867 "parentLocalName": "NULL",
5868 "localName": "Parameter0"
5870 "defaultValue": "DefaultValue0"
5875 "contextAlbumReference": [
5877 "name": "GlobalContextAlbum",
5878 "version": "0.0.1"
5881 "name": "Policy1ContextAlbum",
5882 "version": "0.0.1"
5885 "taskLogic": {
5886 "key": "_TaskLogic",
5887 "logicFlavour": "JAVASCRIPT",
5888 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
5893 "key": {
5894 "name": "Task_Match3",
5895 "version": "0.0.1"
5897 "value": {
5898 "key": {
5899 "name": "Task_Match3",
5900 "version": "0.0.1"
5902 "inputFields": {
5903 "entry": [
5905 "key": "TestMatchCase",
5906 "value": {
5907 "key": "TestMatchCase",
5908 "fieldSchemaKey": {
5909 "name": "TestCase",
5910 "version": "0.0.1"
5912 "optional": false
5916 "key": "TestSlogan",
5917 "value": {
5918 "key": "TestSlogan",
5919 "fieldSchemaKey": {
5920 "name": "TestSlogan",
5921 "version": "0.0.1"
5923 "optional": false
5927 "key": "TestTemperature",
5928 "value": {
5929 "key": "TestTemperature",
5930 "fieldSchemaKey": {
5931 "name": "TestTemperature",
5932 "version": "0.0.1"
5934 "optional": false
5938 "key": "TestTimestamp",
5939 "value": {
5940 "key": "TestTimestamp",
5941 "fieldSchemaKey": {
5942 "name": "TestTimestamp",
5943 "version": "0.0.1"
5945 "optional": false
5950 "outputFields": {
5951 "entry": [
5953 "key": "TestMatchCase",
5954 "value": {
5955 "key": "TestMatchCase",
5956 "fieldSchemaKey": {
5957 "name": "TestCase",
5958 "version": "0.0.1"
5960 "optional": false
5964 "key": "TestMatchCaseSelected",
5965 "value": {
5966 "key": "TestMatchCaseSelected",
5967 "fieldSchemaKey": {
5968 "name": "TestCase",
5969 "version": "0.0.1"
5971 "optional": false
5975 "key": "TestMatchStateTime",
5976 "value": {
5977 "key": "TestMatchStateTime",
5978 "fieldSchemaKey": {
5979 "name": "TestTimestamp",
5980 "version": "0.0.1"
5982 "optional": false
5986 "key": "TestSlogan",
5987 "value": {
5988 "key": "TestSlogan",
5989 "fieldSchemaKey": {
5990 "name": "TestSlogan",
5991 "version": "0.0.1"
5993 "optional": false
5997 "key": "TestTemperature",
5998 "value": {
5999 "key": "TestTemperature",
6000 "fieldSchemaKey": {
6001 "name": "TestTemperature",
6002 "version": "0.0.1"
6004 "optional": false
6008 "key": "TestTimestamp",
6009 "value": {
6010 "key": "TestTimestamp",
6011 "fieldSchemaKey": {
6012 "name": "TestTimestamp",
6013 "version": "0.0.1"
6015 "optional": false
6020 "taskParameters": {
6021 "entry": [
6023 "key": "Parameter0",
6024 "value": {
6025 "key": {
6026 "parentKeyName": "Task_Match3",
6027 "parentKeyVersion": "0.0.1",
6028 "parentLocalName": "NULL",
6029 "localName": "Parameter0"
6031 "defaultValue": "DefaultValue0"
6036 "contextAlbumReference": [
6038 "name": "ExternalContextAlbum",
6039 "version": "0.0.1"
6042 "name": "GlobalContextAlbum",
6043 "version": "0.0.1"
6046 "taskLogic": {
6047 "key": "_TaskLogic",
6048 "logicFlavour": "JAVASCRIPT",
6049 "logic": "/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"
6056 "events": {
6057 "key": {
6058 "name": "Events",
6059 "version": "0.0.1"
6061 "eventMap": {
6062 "entry": [
6064 "key": {
6065 "name": "Event0000",
6066 "version": "0.0.1"
6068 "value": {
6069 "key": {
6070 "name": "Event0000",
6071 "version": "0.0.1"
6073 "nameSpace": "org.onap.policy.apex.sample.events",
6074 "source": "Outside",
6075 "target": "Match",
6076 "parameter": {
6077 "entry": [
6079 "key": "TestMatchCase",
6080 "value": {
6081 "key": "TestMatchCase",
6082 "fieldSchemaKey": {
6083 "name": "TestCase",
6084 "version": "0.0.1"
6086 "optional": false
6090 "key": "TestSlogan",
6091 "value": {
6092 "key": "TestSlogan",
6093 "fieldSchemaKey": {
6094 "name": "TestSlogan",
6095 "version": "0.0.1"
6097 "optional": false
6101 "key": "TestTemperature",
6102 "value": {
6103 "key": "TestTemperature",
6104 "fieldSchemaKey": {
6105 "name": "TestTemperature",
6106 "version": "0.0.1"
6108 "optional": false
6112 "key": "TestTimestamp",
6113 "value": {
6114 "key": "TestTimestamp",
6115 "fieldSchemaKey": {
6116 "name": "TestTimestamp",
6117 "version": "0.0.1"
6119 "optional": false
6127 "key": {
6128 "name": "Event0001",
6129 "version": "0.0.1"
6131 "value": {
6132 "key": {
6133 "name": "Event0001",
6134 "version": "0.0.1"
6136 "nameSpace": "org.onap.policy.apex.sample.events",
6137 "source": "Match",
6138 "target": "Establish",
6139 "parameter": {
6140 "entry": [
6142 "key": "TestMatchCase",
6143 "value": {
6144 "key": "TestMatchCase",
6145 "fieldSchemaKey": {
6146 "name": "TestCase",
6147 "version": "0.0.1"
6149 "optional": false
6153 "key": "TestMatchCaseSelected",
6154 "value": {
6155 "key": "TestMatchCaseSelected",
6156 "fieldSchemaKey": {
6157 "name": "TestCase",
6158 "version": "0.0.1"
6160 "optional": false
6164 "key": "TestMatchStateTime",
6165 "value": {
6166 "key": "TestMatchStateTime",
6167 "fieldSchemaKey": {
6168 "name": "TestTimestamp",
6169 "version": "0.0.1"
6171 "optional": false
6175 "key": "TestSlogan",
6176 "value": {
6177 "key": "TestSlogan",
6178 "fieldSchemaKey": {
6179 "name": "TestSlogan",
6180 "version": "0.0.1"
6182 "optional": false
6186 "key": "TestTemperature",
6187 "value": {
6188 "key": "TestTemperature",
6189 "fieldSchemaKey": {
6190 "name": "TestTemperature",
6191 "version": "0.0.1"
6193 "optional": false
6197 "key": "TestTimestamp",
6198 "value": {
6199 "key": "TestTimestamp",
6200 "fieldSchemaKey": {
6201 "name": "TestTimestamp",
6202 "version": "0.0.1"
6204 "optional": false
6212 "key": {
6213 "name": "Event0002",
6214 "version": "0.0.1"
6216 "value": {
6217 "key": {
6218 "name": "Event0002",
6219 "version": "0.0.1"
6221 "nameSpace": "org.onap.policy.apex.sample.events",
6222 "source": "Establish",
6223 "target": "Decide",
6224 "parameter": {
6225 "entry": [
6227 "key": "TestEstablishCaseSelected",
6228 "value": {
6229 "key": "TestEstablishCaseSelected",
6230 "fieldSchemaKey": {
6231 "name": "TestCase",
6232 "version": "0.0.1"
6234 "optional": false
6238 "key": "TestEstablishStateTime",
6239 "value": {
6240 "key": "TestEstablishStateTime",
6241 "fieldSchemaKey": {
6242 "name": "TestTimestamp",
6243 "version": "0.0.1"
6245 "optional": false
6249 "key": "TestMatchCase",
6250 "value": {
6251 "key": "TestMatchCase",
6252 "fieldSchemaKey": {
6253 "name": "TestCase",
6254 "version": "0.0.1"
6256 "optional": false
6260 "key": "TestMatchCaseSelected",
6261 "value": {
6262 "key": "TestMatchCaseSelected",
6263 "fieldSchemaKey": {
6264 "name": "TestCase",
6265 "version": "0.0.1"
6267 "optional": false
6271 "key": "TestMatchStateTime",
6272 "value": {
6273 "key": "TestMatchStateTime",
6274 "fieldSchemaKey": {
6275 "name": "TestTimestamp",
6276 "version": "0.0.1"
6278 "optional": false
6282 "key": "TestSlogan",
6283 "value": {
6284 "key": "TestSlogan",
6285 "fieldSchemaKey": {
6286 "name": "TestSlogan",
6287 "version": "0.0.1"
6289 "optional": false
6293 "key": "TestTemperature",
6294 "value": {
6295 "key": "TestTemperature",
6296 "fieldSchemaKey": {
6297 "name": "TestTemperature",
6298 "version": "0.0.1"
6300 "optional": false
6304 "key": "TestTimestamp",
6305 "value": {
6306 "key": "TestTimestamp",
6307 "fieldSchemaKey": {
6308 "name": "TestTimestamp",
6309 "version": "0.0.1"
6311 "optional": false
6319 "key": {
6320 "name": "Event0003",
6321 "version": "0.0.1"
6323 "value": {
6324 "key": {
6325 "name": "Event0003",
6326 "version": "0.0.1"
6328 "nameSpace": "org.onap.policy.apex.sample.events",
6329 "source": "Decide",
6330 "target": "Act",
6331 "parameter": {
6332 "entry": [
6334 "key": "TestDecideCaseSelected",
6335 "value": {
6336 "key": "TestDecideCaseSelected",
6337 "fieldSchemaKey": {
6338 "name": "TestCase",
6339 "version": "0.0.1"
6341 "optional": false
6345 "key": "TestDecideStateTime",
6346 "value": {
6347 "key": "TestDecideStateTime",
6348 "fieldSchemaKey": {
6349 "name": "TestTimestamp",
6350 "version": "0.0.1"
6352 "optional": false
6356 "key": "TestEstablishCaseSelected",
6357 "value": {
6358 "key": "TestEstablishCaseSelected",
6359 "fieldSchemaKey": {
6360 "name": "TestCase",
6361 "version": "0.0.1"
6363 "optional": false
6367 "key": "TestEstablishStateTime",
6368 "value": {
6369 "key": "TestEstablishStateTime",
6370 "fieldSchemaKey": {
6371 "name": "TestTimestamp",
6372 "version": "0.0.1"
6374 "optional": false
6378 "key": "TestMatchCase",
6379 "value": {
6380 "key": "TestMatchCase",
6381 "fieldSchemaKey": {
6382 "name": "TestCase",
6383 "version": "0.0.1"
6385 "optional": false
6389 "key": "TestMatchCaseSelected",
6390 "value": {
6391 "key": "TestMatchCaseSelected",
6392 "fieldSchemaKey": {
6393 "name": "TestCase",
6394 "version": "0.0.1"
6396 "optional": false
6400 "key": "TestMatchStateTime",
6401 "value": {
6402 "key": "TestMatchStateTime",
6403 "fieldSchemaKey": {
6404 "name": "TestTimestamp",
6405 "version": "0.0.1"
6407 "optional": false
6411 "key": "TestSlogan",
6412 "value": {
6413 "key": "TestSlogan",
6414 "fieldSchemaKey": {
6415 "name": "TestSlogan",
6416 "version": "0.0.1"
6418 "optional": false
6422 "key": "TestTemperature",
6423 "value": {
6424 "key": "TestTemperature",
6425 "fieldSchemaKey": {
6426 "name": "TestTemperature",
6427 "version": "0.0.1"
6429 "optional": false
6433 "key": "TestTimestamp",
6434 "value": {
6435 "key": "TestTimestamp",
6436 "fieldSchemaKey": {
6437 "name": "TestTimestamp",
6438 "version": "0.0.1"
6440 "optional": false
6448 "key": {
6449 "name": "Event0004",
6450 "version": "0.0.1"
6452 "value": {
6453 "key": {
6454 "name": "Event0004",
6455 "version": "0.0.1"
6457 "nameSpace": "org.onap.policy.apex.sample.events",
6458 "source": "Act",
6459 "target": "Outside",
6460 "parameter": {
6461 "entry": [
6463 "key": "TestActCaseSelected",
6464 "value": {
6465 "key": "TestActCaseSelected",
6466 "fieldSchemaKey": {
6467 "name": "TestCase",
6468 "version": "0.0.1"
6470 "optional": false
6474 "key": "TestActStateTime",
6475 "value": {
6476 "key": "TestActStateTime",
6477 "fieldSchemaKey": {
6478 "name": "TestTimestamp",
6479 "version": "0.0.1"
6481 "optional": false
6485 "key": "TestDecideCaseSelected",
6486 "value": {
6487 "key": "TestDecideCaseSelected",
6488 "fieldSchemaKey": {
6489 "name": "TestCase",
6490 "version": "0.0.1"
6492 "optional": false
6496 "key": "TestDecideStateTime",
6497 "value": {
6498 "key": "TestDecideStateTime",
6499 "fieldSchemaKey": {
6500 "name": "TestTimestamp",
6501 "version": "0.0.1"
6503 "optional": false
6507 "key": "TestEstablishCaseSelected",
6508 "value": {
6509 "key": "TestEstablishCaseSelected",
6510 "fieldSchemaKey": {
6511 "name": "TestCase",
6512 "version": "0.0.1"
6514 "optional": false
6518 "key": "TestEstablishStateTime",
6519 "value": {
6520 "key": "TestEstablishStateTime",
6521 "fieldSchemaKey": {
6522 "name": "TestTimestamp",
6523 "version": "0.0.1"
6525 "optional": false
6529 "key": "TestMatchCase",
6530 "value": {
6531 "key": "TestMatchCase",
6532 "fieldSchemaKey": {
6533 "name": "TestCase",
6534 "version": "0.0.1"
6536 "optional": false
6540 "key": "TestMatchCaseSelected",
6541 "value": {
6542 "key": "TestMatchCaseSelected",
6543 "fieldSchemaKey": {
6544 "name": "TestCase",
6545 "version": "0.0.1"
6547 "optional": false
6551 "key": "TestMatchStateTime",
6552 "value": {
6553 "key": "TestMatchStateTime",
6554 "fieldSchemaKey": {
6555 "name": "TestTimestamp",
6556 "version": "0.0.1"
6558 "optional": false
6562 "key": "TestSlogan",
6563 "value": {
6564 "key": "TestSlogan",
6565 "fieldSchemaKey": {
6566 "name": "TestSlogan",
6567 "version": "0.0.1"
6569 "optional": false
6573 "key": "TestTemperature",
6574 "value": {
6575 "key": "TestTemperature",
6576 "fieldSchemaKey": {
6577 "name": "TestTemperature",
6578 "version": "0.0.1"
6580 "optional": false
6584 "key": "TestTimestamp",
6585 "value": {
6586 "key": "TestTimestamp",
6587 "fieldSchemaKey": {
6588 "name": "TestTimestamp",
6589 "version": "0.0.1"
6591 "optional": false
6599 "key": {
6600 "name": "Event0100",
6601 "version": "0.0.1"
6603 "value": {
6604 "key": {
6605 "name": "Event0100",
6606 "version": "0.0.1"
6608 "nameSpace": "org.onap.policy.apex.sample.events",
6609 "source": "Outside",
6610 "target": "Match",
6611 "parameter": {
6612 "entry": [
6614 "key": "TestMatchCase",
6615 "value": {
6616 "key": "TestMatchCase",
6617 "fieldSchemaKey": {
6618 "name": "TestCase",
6619 "version": "0.0.1"
6621 "optional": false
6625 "key": "TestSlogan",
6626 "value": {
6627 "key": "TestSlogan",
6628 "fieldSchemaKey": {
6629 "name": "TestSlogan",
6630 "version": "0.0.1"
6632 "optional": false
6636 "key": "TestTemperature",
6637 "value": {
6638 "key": "TestTemperature",
6639 "fieldSchemaKey": {
6640 "name": "TestTemperature",
6641 "version": "0.0.1"
6643 "optional": false
6647 "key": "TestTimestamp",
6648 "value": {
6649 "key": "TestTimestamp",
6650 "fieldSchemaKey": {
6651 "name": "TestTimestamp",
6652 "version": "0.0.1"
6654 "optional": false
6662 "key": {
6663 "name": "Event0101",
6664 "version": "0.0.1"
6666 "value": {
6667 "key": {
6668 "name": "Event0101",
6669 "version": "0.0.1"
6671 "nameSpace": "org.onap.policy.apex.sample.events",
6672 "source": "Match",
6673 "target": "Establish",
6674 "parameter": {
6675 "entry": [
6677 "key": "TestMatchCase",
6678 "value": {
6679 "key": "TestMatchCase",
6680 "fieldSchemaKey": {
6681 "name": "TestCase",
6682 "version": "0.0.1"
6684 "optional": false
6688 "key": "TestMatchCaseSelected",
6689 "value": {
6690 "key": "TestMatchCaseSelected",
6691 "fieldSchemaKey": {
6692 "name": "TestCase",
6693 "version": "0.0.1"
6695 "optional": false
6699 "key": "TestMatchStateTime",
6700 "value": {
6701 "key": "TestMatchStateTime",
6702 "fieldSchemaKey": {
6703 "name": "TestTimestamp",
6704 "version": "0.0.1"
6706 "optional": false
6710 "key": "TestSlogan",
6711 "value": {
6712 "key": "TestSlogan",
6713 "fieldSchemaKey": {
6714 "name": "TestSlogan",
6715 "version": "0.0.1"
6717 "optional": false
6721 "key": "TestTemperature",
6722 "value": {
6723 "key": "TestTemperature",
6724 "fieldSchemaKey": {
6725 "name": "TestTemperature",
6726 "version": "0.0.1"
6728 "optional": false
6732 "key": "TestTimestamp",
6733 "value": {
6734 "key": "TestTimestamp",
6735 "fieldSchemaKey": {
6736 "name": "TestTimestamp",
6737 "version": "0.0.1"
6739 "optional": false
6747 "key": {
6748 "name": "Event0102",
6749 "version": "0.0.1"
6751 "value": {
6752 "key": {
6753 "name": "Event0102",
6754 "version": "0.0.1"
6756 "nameSpace": "org.onap.policy.apex.sample.events",
6757 "source": "Establish",
6758 "target": "Decide",
6759 "parameter": {
6760 "entry": [
6762 "key": "TestEstablishCaseSelected",
6763 "value": {
6764 "key": "TestEstablishCaseSelected",
6765 "fieldSchemaKey": {
6766 "name": "TestCase",
6767 "version": "0.0.1"
6769 "optional": false
6773 "key": "TestEstablishStateTime",
6774 "value": {
6775 "key": "TestEstablishStateTime",
6776 "fieldSchemaKey": {
6777 "name": "TestTimestamp",
6778 "version": "0.0.1"
6780 "optional": false
6784 "key": "TestMatchCase",
6785 "value": {
6786 "key": "TestMatchCase",
6787 "fieldSchemaKey": {
6788 "name": "TestCase",
6789 "version": "0.0.1"
6791 "optional": false
6795 "key": "TestMatchCaseSelected",
6796 "value": {
6797 "key": "TestMatchCaseSelected",
6798 "fieldSchemaKey": {
6799 "name": "TestCase",
6800 "version": "0.0.1"
6802 "optional": false
6806 "key": "TestMatchStateTime",
6807 "value": {
6808 "key": "TestMatchStateTime",
6809 "fieldSchemaKey": {
6810 "name": "TestTimestamp",
6811 "version": "0.0.1"
6813 "optional": false
6817 "key": "TestSlogan",
6818 "value": {
6819 "key": "TestSlogan",
6820 "fieldSchemaKey": {
6821 "name": "TestSlogan",
6822 "version": "0.0.1"
6824 "optional": false
6828 "key": "TestTemperature",
6829 "value": {
6830 "key": "TestTemperature",
6831 "fieldSchemaKey": {
6832 "name": "TestTemperature",
6833 "version": "0.0.1"
6835 "optional": false
6839 "key": "TestTimestamp",
6840 "value": {
6841 "key": "TestTimestamp",
6842 "fieldSchemaKey": {
6843 "name": "TestTimestamp",
6844 "version": "0.0.1"
6846 "optional": false
6854 "key": {
6855 "name": "Event0103",
6856 "version": "0.0.1"
6858 "value": {
6859 "key": {
6860 "name": "Event0103",
6861 "version": "0.0.1"
6863 "nameSpace": "org.onap.policy.apex.sample.events",
6864 "source": "Decide",
6865 "target": "Act",
6866 "parameter": {
6867 "entry": [
6869 "key": "TestDecideCaseSelected",
6870 "value": {
6871 "key": "TestDecideCaseSelected",
6872 "fieldSchemaKey": {
6873 "name": "TestCase",
6874 "version": "0.0.1"
6876 "optional": false
6880 "key": "TestDecideStateTime",
6881 "value": {
6882 "key": "TestDecideStateTime",
6883 "fieldSchemaKey": {
6884 "name": "TestTimestamp",
6885 "version": "0.0.1"
6887 "optional": false
6891 "key": "TestEstablishCaseSelected",
6892 "value": {
6893 "key": "TestEstablishCaseSelected",
6894 "fieldSchemaKey": {
6895 "name": "TestCase",
6896 "version": "0.0.1"
6898 "optional": false
6902 "key": "TestEstablishStateTime",
6903 "value": {
6904 "key": "TestEstablishStateTime",
6905 "fieldSchemaKey": {
6906 "name": "TestTimestamp",
6907 "version": "0.0.1"
6909 "optional": false
6913 "key": "TestMatchCase",
6914 "value": {
6915 "key": "TestMatchCase",
6916 "fieldSchemaKey": {
6917 "name": "TestCase",
6918 "version": "0.0.1"
6920 "optional": false
6924 "key": "TestMatchCaseSelected",
6925 "value": {
6926 "key": "TestMatchCaseSelected",
6927 "fieldSchemaKey": {
6928 "name": "TestCase",
6929 "version": "0.0.1"
6931 "optional": false
6935 "key": "TestMatchStateTime",
6936 "value": {
6937 "key": "TestMatchStateTime",
6938 "fieldSchemaKey": {
6939 "name": "TestTimestamp",
6940 "version": "0.0.1"
6942 "optional": false
6946 "key": "TestSlogan",
6947 "value": {
6948 "key": "TestSlogan",
6949 "fieldSchemaKey": {
6950 "name": "TestSlogan",
6951 "version": "0.0.1"
6953 "optional": false
6957 "key": "TestTemperature",
6958 "value": {
6959 "key": "TestTemperature",
6960 "fieldSchemaKey": {
6961 "name": "TestTemperature",
6962 "version": "0.0.1"
6964 "optional": false
6968 "key": "TestTimestamp",
6969 "value": {
6970 "key": "TestTimestamp",
6971 "fieldSchemaKey": {
6972 "name": "TestTimestamp",
6973 "version": "0.0.1"
6975 "optional": false
6983 "key": {
6984 "name": "Event0104",
6985 "version": "0.0.1"
6987 "value": {
6988 "key": {
6989 "name": "Event0104",
6990 "version": "0.0.1"
6992 "nameSpace": "org.onap.policy.apex.sample.events",
6993 "source": "Act",
6994 "target": "Outside",
6995 "parameter": {
6996 "entry": [
6998 "key": "TestActCaseSelected",
6999 "value": {
7000 "key": "TestActCaseSelected",
7001 "fieldSchemaKey": {
7002 "name": "TestCase",
7003 "version": "0.0.1"
7005 "optional": false
7009 "key": "TestActStateTime",
7010 "value": {
7011 "key": "TestActStateTime",
7012 "fieldSchemaKey": {
7013 "name": "TestTimestamp",
7014 "version": "0.0.1"
7016 "optional": false
7020 "key": "TestDecideCaseSelected",
7021 "value": {
7022 "key": "TestDecideCaseSelected",
7023 "fieldSchemaKey": {
7024 "name": "TestCase",
7025 "version": "0.0.1"
7027 "optional": false
7031 "key": "TestDecideStateTime",
7032 "value": {
7033 "key": "TestDecideStateTime",
7034 "fieldSchemaKey": {
7035 "name": "TestTimestamp",
7036 "version": "0.0.1"
7038 "optional": false
7042 "key": "TestEstablishCaseSelected",
7043 "value": {
7044 "key": "TestEstablishCaseSelected",
7045 "fieldSchemaKey": {
7046 "name": "TestCase",
7047 "version": "0.0.1"
7049 "optional": false
7053 "key": "TestEstablishStateTime",
7054 "value": {
7055 "key": "TestEstablishStateTime",
7056 "fieldSchemaKey": {
7057 "name": "TestTimestamp",
7058 "version": "0.0.1"
7060 "optional": false
7064 "key": "TestMatchCase",
7065 "value": {
7066 "key": "TestMatchCase",
7067 "fieldSchemaKey": {
7068 "name": "TestCase",
7069 "version": "0.0.1"
7071 "optional": false
7075 "key": "TestMatchCaseSelected",
7076 "value": {
7077 "key": "TestMatchCaseSelected",
7078 "fieldSchemaKey": {
7079 "name": "TestCase",
7080 "version": "0.0.1"
7082 "optional": false
7086 "key": "TestMatchStateTime",
7087 "value": {
7088 "key": "TestMatchStateTime",
7089 "fieldSchemaKey": {
7090 "name": "TestTimestamp",
7091 "version": "0.0.1"
7093 "optional": false
7097 "key": "TestSlogan",
7098 "value": {
7099 "key": "TestSlogan",
7100 "fieldSchemaKey": {
7101 "name": "TestSlogan",
7102 "version": "0.0.1"
7104 "optional": false
7108 "key": "TestTemperature",
7109 "value": {
7110 "key": "TestTemperature",
7111 "fieldSchemaKey": {
7112 "name": "TestTemperature",
7113 "version": "0.0.1"
7115 "optional": false
7119 "key": "TestTimestamp",
7120 "value": {
7121 "key": "TestTimestamp",
7122 "fieldSchemaKey": {
7123 "name": "TestTimestamp",
7124 "version": "0.0.1"
7126 "optional": false
7136 "albums": {
7137 "key": {
7138 "name": "Context",
7139 "version": "0.0.1"
7141 "albums": {
7142 "entry": [
7144 "key": {
7145 "name": "ExternalContextAlbum",
7146 "version": "0.0.1"
7148 "value": {
7149 "key": {
7150 "name": "ExternalContextAlbum",
7151 "version": "0.0.1"
7153 "scope": "EXTERNAL",
7154 "isWritable": false,
7155 "itemSchema": {
7156 "name": "TestExternalContextItem",
7157 "version": "0.0.1"
7162 "key": {
7163 "name": "GlobalContextAlbum",
7164 "version": "0.0.1"
7166 "value": {
7167 "key": {
7168 "name": "GlobalContextAlbum",
7169 "version": "0.0.1"
7171 "scope": "GLOBAL",
7172 "isWritable": true,
7173 "itemSchema": {
7174 "name": "TestGlobalContextItem",
7175 "version": "0.0.1"
7180 "key": {
7181 "name": "Policy0ContextAlbum",
7182 "version": "0.0.1"
7184 "value": {
7185 "key": {
7186 "name": "Policy0ContextAlbum",
7187 "version": "0.0.1"
7189 "scope": "APPLICATION",
7190 "isWritable": true,
7191 "itemSchema": {
7192 "name": "TestPolicyContextItem",
7193 "version": "0.0.1"
7198 "key": {
7199 "name": "Policy1ContextAlbum",
7200 "version": "0.0.1"
7202 "value": {
7203 "key": {
7204 "name": "Policy1ContextAlbum",
7205 "version": "0.0.1"
7207 "scope": "APPLICATION",
7208 "isWritable": true,
7209 "itemSchema": {
7210 "name": "TestPolicyContextItem",
7211 "version": "0.0.1"
7218 "schemas": {
7219 "key": {
7220 "name": "TestDatatypes",
7221 "version": "0.0.1"
7223 "schemas": {
7224 "entry": [
7226 "key": {
7227 "name": "TestCase",
7228 "version": "0.0.1"
7230 "value": {
7231 "key": {
7232 "name": "TestCase",
7233 "version": "0.0.1"
7235 "schemaFlavour": "Java",
7236 "schemaDefinition": "java.lang.Byte"
7240 "key": {
7241 "name": "TestContextItem000",
7242 "version": "0.0.1"
7244 "value": {
7245 "key": {
7246 "name": "TestContextItem000",
7247 "version": "0.0.1"
7249 "schemaFlavour": "Java",
7250 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem000"
7254 "key": {
7255 "name": "TestContextItem001",
7256 "version": "0.0.1"
7258 "value": {
7259 "key": {
7260 "name": "TestContextItem001",
7261 "version": "0.0.1"
7263 "schemaFlavour": "Java",
7264 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem001"
7268 "key": {
7269 "name": "TestContextItem002",
7270 "version": "0.0.1"
7272 "value": {
7273 "key": {
7274 "name": "TestContextItem002",
7275 "version": "0.0.1"
7277 "schemaFlavour": "Java",
7278 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem002"
7282 "key": {
7283 "name": "TestContextItem003",
7284 "version": "0.0.1"
7286 "value": {
7287 "key": {
7288 "name": "TestContextItem003",
7289 "version": "0.0.1"
7291 "schemaFlavour": "Java",
7292 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem003"
7296 "key": {
7297 "name": "TestContextItem004",
7298 "version": "0.0.1"
7300 "value": {
7301 "key": {
7302 "name": "TestContextItem004",
7303 "version": "0.0.1"
7305 "schemaFlavour": "Java",
7306 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem004"
7310 "key": {
7311 "name": "TestContextItem005",
7312 "version": "0.0.1"
7314 "value": {
7315 "key": {
7316 "name": "TestContextItem005",
7317 "version": "0.0.1"
7319 "schemaFlavour": "Java",
7320 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem005"
7324 "key": {
7325 "name": "TestContextItem006",
7326 "version": "0.0.1"
7328 "value": {
7329 "key": {
7330 "name": "TestContextItem006",
7331 "version": "0.0.1"
7333 "schemaFlavour": "Java",
7334 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem006"
7338 "key": {
7339 "name": "TestContextItem007",
7340 "version": "0.0.1"
7342 "value": {
7343 "key": {
7344 "name": "TestContextItem007",
7345 "version": "0.0.1"
7347 "schemaFlavour": "Java",
7348 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem007"
7352 "key": {
7353 "name": "TestContextItem008",
7354 "version": "0.0.1"
7356 "value": {
7357 "key": {
7358 "name": "TestContextItem008",
7359 "version": "0.0.1"
7361 "schemaFlavour": "Java",
7362 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem008"
7366 "key": {
7367 "name": "TestContextItem009",
7368 "version": "0.0.1"
7370 "value": {
7371 "key": {
7372 "name": "TestContextItem009",
7373 "version": "0.0.1"
7375 "schemaFlavour": "Java",
7376 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem009"
7380 "key": {
7381 "name": "TestContextItem00A",
7382 "version": "0.0.1"
7384 "value": {
7385 "key": {
7386 "name": "TestContextItem00A",
7387 "version": "0.0.1"
7389 "schemaFlavour": "Java",
7390 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00A"
7394 "key": {
7395 "name": "TestContextItem00B",
7396 "version": "0.0.1"
7398 "value": {
7399 "key": {
7400 "name": "TestContextItem00B",
7401 "version": "0.0.1"
7403 "schemaFlavour": "Java",
7404 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00B"
7408 "key": {
7409 "name": "TestContextItem00C",
7410 "version": "0.0.1"
7412 "value": {
7413 "key": {
7414 "name": "TestContextItem00C",
7415 "version": "0.0.1"
7417 "schemaFlavour": "Java",
7418 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00C"
7422 "key": {
7423 "name": "TestExternalContextItem",
7424 "version": "0.0.1"
7426 "value": {
7427 "key": {
7428 "name": "TestExternalContextItem",
7429 "version": "0.0.1"
7431 "schemaFlavour": "Java",
7432 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestExternalContextItem"
7436 "key": {
7437 "name": "TestGlobalContextItem",
7438 "version": "0.0.1"
7440 "value": {
7441 "key": {
7442 "name": "TestGlobalContextItem",
7443 "version": "0.0.1"
7445 "schemaFlavour": "Java",
7446 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"
7450 "key": {
7451 "name": "TestPolicyContextItem",
7452 "version": "0.0.1"
7454 "value": {
7455 "key": {
7456 "name": "TestPolicyContextItem",
7457 "version": "0.0.1"
7459 "schemaFlavour": "Java",
7460 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"
7464 "key": {
7465 "name": "TestSlogan",
7466 "version": "0.0.1"
7468 "value": {
7469 "key": {
7470 "name": "TestSlogan",
7471 "version": "0.0.1"
7473 "schemaFlavour": "Java",
7474 "schemaDefinition": "java.lang.String"
7478 "key": {
7479 "name": "TestTemperature",
7480 "version": "0.0.1"
7482 "value": {
7483 "key": {
7484 "name": "TestTemperature",
7485 "version": "0.0.1"
7487 "schemaFlavour": "Java",
7488 "schemaDefinition": "java.lang.Double"
7492 "key": {
7493 "name": "TestTimestamp",
7494 "version": "0.0.1"
7496 "value": {
7497 "key": {
7498 "name": "TestTimestamp",
7499 "version": "0.0.1"
7501 "schemaFlavour": "Java",
7502 "schemaDefinition": "java.lang.Long"
7510 "engineParameters": {
7511 "executorParameters": {
7512 "JAVASCRIPT": {
7513 "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"
7518 "eventInputParameters": {
7519 "FirstConsumer": {
7520 "carrierTechnologyParameters": {
7521 "carrierTechnology": "KAFKA",
7522 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters",
7523 "parameters": {
7524 "bootstrapServers": "kafka:9092",
7525 "groupId": "apex-grp2",
7526 "enableAutoCommit": true,
7527 "autoCommitTime": 1000,
7528 "sessionTimeout": 30000,
7529 "consumerPollTime": 100,
7530 "consumerTopicList": [
7531 "unauthenticated.dcae_cl_output"
7533 "keyDeserializer": "org.apache.kafka.common.serialization.StringDeserializer",
7534 "valueDeserializer": "org.apache.kafka.common.serialization.StringDeserializer",
7535 "kafkaProperties": [
7539 "eventProtocolParameters": {
7540 "eventProtocol": "JSON"
7542 "synchronousMode": true,
7543 "synchronousPeer": "FirstProducer",
7544 "synchronousTimeout": 2000
7547 "eventOutputParameters": {
7548 "FirstProducer": {
7549 "carrierTechnology": "KAFKA",
7550 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters",
7551 "parameters": {
7552 "bootstrapServers": "kafka:9092",
7553 "acks": "all",
7554 "retries": 0,
7555 "batchSize": 16384,
7556 "lingerTime": 1,
7557 "bufferMemory": 33554432,
7558 "producerTopic": "apex-cl-mgt2",
7559 "keySerializer": "org.apache.kafka.common.serialization.StringSerializer",
7560 "valueSerializer": "org.apache.kafka.common.serialization.StringSerializer",
7561 "kafkaProperties": [
7565 "eventProtocolParameters": {
7566 "eventProtocol": "JSON"
7568 "synchronousMode": true,
7569 "synchronousPeer": "FirstConsumer",
7570 "synchronousTimeout": 2000
7580 <stringProp name="Argument.metadata">=</stringProp>
7586 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
7587 <collectionProp name="Asserion.test_strings">
7588 <stringProp name="49586">200</stringProp>
7590 <stringProp name="Assertion.custom_message"></stringProp>
7591 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
7592 <boolProp name="Assertion.assume_success">false</boolProp>
7593 <intProp name="Assertion.test_type">1</intProp>
7594 </ResponseAssertion>
7597 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Nodetemplate metadata for sampleGroup policy">
7598 <stringProp name="TestPlan.comments">Create Nodetemplate metadata for sampleGroup policy</stringProp>
7599 <intProp name="HTTPSampler.concurrentPool">6</intProp>
7600 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
7601 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
7602 <stringProp name="HTTPSampler.protocol">http</stringProp>
7603 <stringProp name="HTTPSampler.path">/policy/api/v1/nodetemplates</stringProp>
7604 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
7605 <stringProp name="HTTPSampler.method">POST</stringProp>
7606 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
7607 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
7608 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
7609 <collectionProp name="Arguments.arguments">
7610 <elementProp name="" elementType="HTTPArgument">
7611 <boolProp name="HTTPArgument.always_encode">false</boolProp>
7612 <stringProp name="Argument.value">{
7613 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
7614 "node_types": {
7615 "org.onap.nodetypes.policy.MetadataSet": {
7616 "derived_from": "tosca.nodetypes.Root",
7617 "version": "1.0.0"
7620 "topology_template": {
7621 "node_templates": {
7622 "apex.metadata.pnf": {
7623 "version": "1.0.0",
7624 "type": "org.onap.nodetypes.policy.MetadataSet",
7625 "type_version": "1.0.0",
7626 "description": "Metadata set for apex pnf Policy",
7627 "metadata": {
7628 "apexPolicyModel": {
7629 "key": {
7630 "name": "onap.policies.apex.Simplecontrolloop",
7631 "version": "0.0.1"
7633 "keyInformation": {
7634 "key": {
7635 "name": "onap.policies.apex.Simplecontrolloop_KeyInfo",
7636 "version": "0.0.1"
7638 "keyInfoMap": {
7639 "entry": [
7641 "key": {
7642 "name": "SimpleBooleanType",
7643 "version": "0.0.1"
7645 "value": {
7646 "key": {
7647 "name": "SimpleBooleanType",
7648 "version": "0.0.1"
7650 "UUID": "7218fb2f-59e3-321d-9ae1-bc97b19eb4ae",
7651 "description": "Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""
7655 "key": {
7656 "name": "SimpleCL_AAIFailureResponseEvent",
7657 "version": "0.0.1"
7659 "value": {
7660 "key": {
7661 "name": "SimpleCL_AAIFailureResponseEvent",
7662 "version": "0.0.1"
7664 "UUID": "c8a29e27-0a15-354a-84f9-4c7f207e5c81",
7665 "description": "Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""
7669 "key": {
7670 "name": "SimpleCL_AAIFailureResponseHandlerPolicy",
7671 "version": "0.0.1"
7673 "value": {
7674 "key": {
7675 "name": "SimpleCL_AAIFailureResponseHandlerPolicy",
7676 "version": "0.0.1"
7678 "UUID": "5e843cee-0180-39b9-8989-180b2ffe11c0",
7679 "description": "Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\""
7683 "key": {
7684 "name": "SimpleCL_AAIRequestErrorType",
7685 "version": "0.0.1"
7687 "value": {
7688 "key": {
7689 "name": "SimpleCL_AAIRequestErrorType",
7690 "version": "0.0.1"
7692 "UUID": "90291c92-9b27-3cd9-8720-db572419c048",
7693 "description": "Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""
7697 "key": {
7698 "name": "SimpleCL_AAIRequestEvent",
7699 "version": "0.0.1"
7701 "value": {
7702 "key": {
7703 "name": "SimpleCL_AAIRequestEvent",
7704 "version": "0.0.1"
7706 "UUID": "7b7e6751-4e0b-389d-98c0-5567bbc0294c",
7707 "description": "Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""
7711 "key": {
7712 "name": "SimpleCL_AAISuccessResponseEvent",
7713 "version": "0.0.1"
7715 "value": {
7716 "key": {
7717 "name": "SimpleCL_AAISuccessResponseEvent",
7718 "version": "0.0.1"
7720 "UUID": "63d5680c-14ef-3505-8d34-ebb646bba07b",
7721 "description": "Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""
7725 "key": {
7726 "name": "SimpleCL_AAISuccessResponseHandlerPolicy",
7727 "version": "0.0.1"
7729 "value": {
7730 "key": {
7731 "name": "SimpleCL_AAISuccessResponseHandlerPolicy",
7732 "version": "0.0.1"
7734 "UUID": "a84ca97d-6e94-39a2-91f9-59a6c9aa435e",
7735 "description": "Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\""
7739 "key": {
7740 "name": "SimpleCL_CDSActionIdentifiersType",
7741 "version": "0.0.1"
7743 "value": {
7744 "key": {
7745 "name": "SimpleCL_CDSActionIdentifiersType",
7746 "version": "0.0.1"
7748 "UUID": "0e2ee622-7fd3-3e49-82e2-539c4f5e9624",
7749 "description": "Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""
7753 "key": {
7754 "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
7755 "version": "0.0.1"
7757 "value": {
7758 "key": {
7759 "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
7760 "version": "0.0.1"
7762 "UUID": "e84f8682-ea33-3ad0-8626-8bc4634581fc",
7763 "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""
7767 "key": {
7768 "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy",
7769 "version": "0.0.1"
7771 "value": {
7772 "key": {
7773 "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy",
7774 "version": "0.0.1"
7776 "UUID": "a252f835-2479-38ef-9ef4-20af62725752",
7777 "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\""
7781 "key": {
7782 "name": "SimpleCL_CDSConfigModifyFailureResponseTask",
7783 "version": "0.0.1"
7785 "value": {
7786 "key": {
7787 "name": "SimpleCL_CDSConfigModifyFailureResponseTask",
7788 "version": "0.0.1"
7790 "UUID": "cfc46ea9-b8c1-38dd-ac9c-304c916daf34",
7791 "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\""
7795 "key": {
7796 "name": "SimpleCL_CDSConfigModifyRequestEvent",
7797 "version": "0.0.1"
7799 "value": {
7800 "key": {
7801 "name": "SimpleCL_CDSConfigModifyRequestEvent",
7802 "version": "0.0.1"
7804 "UUID": "1e7095d6-a455-3f89-acae-486e35d7e311",
7805 "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""
7809 "key": {
7810 "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
7811 "version": "0.0.1"
7813 "value": {
7814 "key": {
7815 "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
7816 "version": "0.0.1"
7818 "UUID": "d22ea83b-695d-3da9-b9f5-41f16ca433bf",
7819 "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""
7823 "key": {
7824 "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
7825 "version": "0.0.1"
7827 "value": {
7828 "key": {
7829 "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
7830 "version": "0.0.1"
7832 "UUID": "e9fe2e40-1f0d-30dd-8b9e-885695878693",
7833 "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""
7837 "key": {
7838 "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
7839 "version": "0.0.1"
7841 "value": {
7842 "key": {
7843 "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
7844 "version": "0.0.1"
7846 "UUID": "5e04fa76-0a17-38a9-8524-23b2d1a23fa5",
7847 "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""
7851 "key": {
7852 "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy",
7853 "version": "0.0.1"
7855 "value": {
7856 "key": {
7857 "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy",
7858 "version": "0.0.1"
7860 "UUID": "15866380-40f5-3f8e-87d9-13747a36d352",
7861 "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\""
7865 "key": {
7866 "name": "SimpleCL_CDSConfigModifySuccessResponseTask",
7867 "version": "0.0.1"
7869 "value": {
7870 "key": {
7871 "name": "SimpleCL_CDSConfigModifySuccessResponseTask",
7872 "version": "0.0.1"
7874 "UUID": "2c3d76ce-dd42-32ac-a397-ab418534e1cf",
7875 "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\""
7879 "key": {
7880 "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
7881 "version": "0.0.1"
7883 "value": {
7884 "key": {
7885 "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
7886 "version": "0.0.1"
7888 "UUID": "b99c44da-dae7-3c96-b528-58852537d063",
7889 "description": "Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""
7893 "key": {
7894 "name": "SimpleCL_CDSFailureResponseStatusType",
7895 "version": "0.0.1"
7897 "value": {
7898 "key": {
7899 "name": "SimpleCL_CDSFailureResponseStatusType",
7900 "version": "0.0.1"
7902 "UUID": "1db688e2-3afe-3b03-9795-fdbfa80fa240",
7903 "description": "Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""
7907 "key": {
7908 "name": "SimpleCL_CDSRequestCommonHeaderType",
7909 "version": "0.0.1"
7911 "value": {
7912 "key": {
7913 "name": "SimpleCL_CDSRequestCommonHeaderType",
7914 "version": "0.0.1"
7916 "UUID": "31022456-e85b-3a9b-9ecb-a09691792d3e",
7917 "description": "Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""
7921 "key": {
7922 "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
7923 "version": "0.0.1"
7925 "value": {
7926 "key": {
7927 "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
7928 "version": "0.0.1"
7930 "UUID": "d6075720-622e-3a0d-827a-aa4580a2f5d7",
7931 "description": "Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""
7935 "key": {
7936 "name": "SimpleCL_CDSSuccessResponseStatusType",
7937 "version": "0.0.1"
7939 "value": {
7940 "key": {
7941 "name": "SimpleCL_CDSSuccessResponseStatusType",
7942 "version": "0.0.1"
7944 "UUID": "948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5",
7945 "description": "Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""
7949 "key": {
7950 "name": "SimpleCL_EventDetailsAlbum",
7951 "version": "0.0.1"
7953 "value": {
7954 "key": {
7955 "name": "SimpleCL_EventDetailsAlbum",
7956 "version": "0.0.1"
7958 "UUID": "63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644",
7959 "description": "Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""
7963 "key": {
7964 "name": "SimpleCL_EventDetailsAlbumType",
7965 "version": "0.0.1"
7967 "value": {
7968 "key": {
7969 "name": "SimpleCL_EventDetailsAlbumType",
7970 "version": "0.0.1"
7972 "UUID": "a0407d0b-5719-38bf-9529-25ad62ace8c4",
7973 "description": "Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""
7977 "key": {
7978 "name": "SimpleCL_HandleAAIFailureResponseTask",
7979 "version": "0.0.1"
7981 "value": {
7982 "key": {
7983 "name": "SimpleCL_HandleAAIFailureResponseTask",
7984 "version": "0.0.1"
7986 "UUID": "28e894dc-4ab8-3469-aab7-d81bd05bb4c9",
7987 "description": "Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask:0.0.1\""
7991 "key": {
7992 "name": "SimpleCL_HandleAAISuccessResponseTask",
7993 "version": "0.0.1"
7995 "value": {
7996 "key": {
7997 "name": "SimpleCL_HandleAAISuccessResponseTask",
7998 "version": "0.0.1"
8000 "UUID": "073f1433-999e-3506-98ad-ef820d2fa7f0",
8001 "description": "Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask:0.0.1\""
8005 "key": {
8006 "name": "SimpleCL_HandleVesEventTask",
8007 "version": "0.0.1"
8009 "value": {
8010 "key": {
8011 "name": "SimpleCL_HandleVesEventTask",
8012 "version": "0.0.1"
8014 "UUID": "afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74",
8015 "description": "Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask:0.0.1\""
8019 "key": {
8020 "name": "SimpleCL_LogStatusEvent",
8021 "version": "0.0.1"
8023 "value": {
8024 "key": {
8025 "name": "SimpleCL_LogStatusEvent",
8026 "version": "0.0.1"
8028 "UUID": "98e1ddd7-3bd9-30c1-b877-4b9b4d3bff15",
8029 "description": "Generated description for concept referred to by key \"SimpleCL_LogStatusEvent:0.0.1\""
8033 "key": {
8034 "name": "SimpleCL_VesEvent",
8035 "version": "0.0.1"
8037 "value": {
8038 "key": {
8039 "name": "SimpleCL_VesEvent",
8040 "version": "0.0.1"
8042 "UUID": "0f57665a-f0a9-314e-ad0a-04c1f5758174",
8043 "description": "Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""
8047 "key": {
8048 "name": "SimpleCL_VesEventHandlerPolicy",
8049 "version": "0.0.1"
8051 "value": {
8052 "key": {
8053 "name": "SimpleCL_VesEventHandlerPolicy",
8054 "version": "0.0.1"
8056 "UUID": "ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b",
8057 "description": "Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy:0.0.1\""
8061 "key": {
8062 "name": "SimpleCL_VesEventType",
8063 "version": "0.0.1"
8065 "value": {
8066 "key": {
8067 "name": "SimpleCL_VesEventType",
8068 "version": "0.0.1"
8070 "UUID": "9fd7a967-57d4-36ef-81e9-c3396f3aa8d1",
8071 "description": "Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""
8075 "key": {
8076 "name": "SimpleLongType",
8077 "version": "0.0.1"
8079 "value": {
8080 "key": {
8081 "name": "SimpleLongType",
8082 "version": "0.0.1"
8084 "UUID": "2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574",
8085 "description": "Generated description for concept referred to by key \"SimpleLongType:0.0.1\""
8089 "key": {
8090 "name": "SimpleStringType",
8091 "version": "0.0.1"
8093 "value": {
8094 "key": {
8095 "name": "SimpleStringType",
8096 "version": "0.0.1"
8098 "UUID": "8a4957cf-9493-3a76-8c22-a208e23259af",
8099 "description": "Generated description for concept referred to by key \"SimpleStringType:0.0.1\""
8103 "key": {
8104 "name": "onap.policies.apex.Simplecontrolloop",
8105 "version": "0.0.1"
8107 "value": {
8108 "key": {
8109 "name": "onap.policies.apex.Simplecontrolloop",
8110 "version": "0.0.1"
8112 "UUID": "ecc97b87-f30b-344c-a476-d36501bf5cbd",
8113 "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop:0.0.1\""
8117 "key": {
8118 "name": "onap.policies.apex.Simplecontrolloop_Albums",
8119 "version": "0.0.1"
8121 "value": {
8122 "key": {
8123 "name": "onap.policies.apex.Simplecontrolloop_Albums",
8124 "version": "0.0.1"
8126 "UUID": "1469671a-56dd-3a68-bf6c-77a5cf7a9487",
8127 "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Albums:0.0.1\""
8131 "key": {
8132 "name": "onap.policies.apex.Simplecontrolloop_Events",
8133 "version": "0.0.1"
8135 "value": {
8136 "key": {
8137 "name": "onap.policies.apex.Simplecontrolloop_Events",
8138 "version": "0.0.1"
8140 "UUID": "23c4eee4-aba5-36f6-96d6-46f40061bfed",
8141 "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Events:0.0.1\""
8145 "key": {
8146 "name": "onap.policies.apex.Simplecontrolloop_KeyInfo",
8147 "version": "0.0.1"
8149 "value": {
8150 "key": {
8151 "name": "onap.policies.apex.Simplecontrolloop_KeyInfo",
8152 "version": "0.0.1"
8154 "UUID": "ea9e73ff-483c-3827-896c-6eaa9d69bc6e",
8155 "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\""
8159 "key": {
8160 "name": "onap.policies.apex.Simplecontrolloop_Policies",
8161 "version": "0.0.1"
8163 "value": {
8164 "key": {
8165 "name": "onap.policies.apex.Simplecontrolloop_Policies",
8166 "version": "0.0.1"
8168 "UUID": "38c068e5-bb9a-3997-9e50-ec77c66825c8",
8169 "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Policies:0.0.1\""
8173 "key": {
8174 "name": "onap.policies.apex.Simplecontrolloop_Schemas",
8175 "version": "0.0.1"
8177 "value": {
8178 "key": {
8179 "name": "onap.policies.apex.Simplecontrolloop_Schemas",
8180 "version": "0.0.1"
8182 "UUID": "38514b27-8b9b-3d06-844a-3aced27deb0a",
8183 "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\""
8187 "key": {
8188 "name": "onap.policies.apex.Simplecontrolloop_Tasks",
8189 "version": "0.0.1"
8191 "value": {
8192 "key": {
8193 "name": "onap.policies.apex.Simplecontrolloop_Tasks",
8194 "version": "0.0.1"
8196 "UUID": "0e0387b5-07fa-30e4-8554-eb51d2e18939",
8197 "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\""
8203 "policies": {
8204 "key": {
8205 "name": "onap.policies.apex.Simplecontrolloop_Policies",
8206 "version": "0.0.1"
8208 "policyMap": {
8209 "entry": [
8211 "key": {
8212 "name": "SimpleCL_AAIFailureResponseHandlerPolicy",
8213 "version": "0.0.1"
8215 "value": {
8216 "policyKey": {
8217 "name": "SimpleCL_AAIFailureResponseHandlerPolicy",
8218 "version": "0.0.1"
8220 "template": "Freestyle",
8221 "state": {
8222 "entry": [
8224 "key": "SimpleCL_ReceiveAAIFailureResponseState",
8225 "value": {
8226 "stateKey": {
8227 "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy",
8228 "parentKeyVersion": "0.0.1",
8229 "parentLocalName": "NULL",
8230 "localName": "SimpleCL_ReceiveAAIFailureResponseState"
8232 "trigger": {
8233 "name": "SimpleCL_AAIFailureResponseEvent",
8234 "version": "0.0.1"
8236 "stateOutputs": {
8237 "entry": [
8239 "key": "AAIFailureStateOutput",
8240 "value": {
8241 "key": {
8242 "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy",
8243 "parentKeyVersion": "0.0.1",
8244 "parentLocalName": "SimpleCL_ReceiveAAIFailureResponseState",
8245 "localName": "AAIFailureStateOutput"
8247 "outgoingEvent": {
8248 "name": "SimpleCL_LogStatusEvent",
8249 "version": "0.0.1"
8251 "nextState": {
8252 "parentKeyName": "NULL",
8253 "parentKeyVersion": "0.0.0",
8254 "parentLocalName": "NULL",
8255 "localName": "NULL"
8261 "contextAlbumReference": [],
8262 "taskSelectionLogic": {
8263 "key": "NULL",
8264 "logicFlavour": "UNDEFINED",
8265 "logic": ""
8267 "stateFinalizerLogicMap": {
8268 "entry": []
8270 "defaultTask": {
8271 "name": "SimpleCL_HandleAAIFailureResponseTask",
8272 "version": "0.0.1"
8274 "taskReferences": {
8275 "entry": [
8277 "key": {
8278 "name": "SimpleCL_HandleAAIFailureResponseTask",
8279 "version": "0.0.1"
8281 "value": {
8282 "key": {
8283 "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy",
8284 "parentKeyVersion": "0.0.1",
8285 "parentLocalName": "SimpleCL_ReceiveAAIFailureResponseState",
8286 "localName": "SimpleCL_AAIFailureResponseHandlerPolicy"
8288 "outputType": "DIRECT",
8289 "output": {
8290 "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy",
8291 "parentKeyVersion": "0.0.1",
8292 "parentLocalName": "SimpleCL_ReceiveAAIFailureResponseState",
8293 "localName": "AAIFailureStateOutput"
8303 "firstState": "SimpleCL_ReceiveAAIFailureResponseState"
8307 "key": {
8308 "name": "SimpleCL_AAISuccessResponseHandlerPolicy",
8309 "version": "0.0.1"
8311 "value": {
8312 "policyKey": {
8313 "name": "SimpleCL_AAISuccessResponseHandlerPolicy",
8314 "version": "0.0.1"
8316 "template": "Freestyle",
8317 "state": {
8318 "entry": [
8320 "key": "SimpleCL_ReceiveAAISuccessResponseState",
8321 "value": {
8322 "stateKey": {
8323 "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy",
8324 "parentKeyVersion": "0.0.1",
8325 "parentLocalName": "NULL",
8326 "localName": "SimpleCL_ReceiveAAISuccessResponseState"
8328 "trigger": {
8329 "name": "SimpleCL_AAISuccessResponseEvent",
8330 "version": "0.0.1"
8332 "stateOutputs": {
8333 "entry": [
8335 "key": "AAISuccessStateOutput",
8336 "value": {
8337 "key": {
8338 "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy",
8339 "parentKeyVersion": "0.0.1",
8340 "parentLocalName": "SimpleCL_ReceiveAAISuccessResponseState",
8341 "localName": "AAISuccessStateOutput"
8343 "outgoingEvent": {
8344 "name": "SimpleCL_CDSConfigModifyRequestEvent",
8345 "version": "0.0.1"
8347 "nextState": {
8348 "parentKeyName": "NULL",
8349 "parentKeyVersion": "0.0.0",
8350 "parentLocalName": "NULL",
8351 "localName": "NULL"
8357 "contextAlbumReference": [],
8358 "taskSelectionLogic": {
8359 "key": "NULL",
8360 "logicFlavour": "UNDEFINED",
8361 "logic": ""
8363 "stateFinalizerLogicMap": {
8364 "entry": []
8366 "defaultTask": {
8367 "name": "SimpleCL_HandleAAISuccessResponseTask",
8368 "version": "0.0.1"
8370 "taskReferences": {
8371 "entry": [
8373 "key": {
8374 "name": "SimpleCL_HandleAAISuccessResponseTask",
8375 "version": "0.0.1"
8377 "value": {
8378 "key": {
8379 "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy",
8380 "parentKeyVersion": "0.0.1",
8381 "parentLocalName": "SimpleCL_ReceiveAAISuccessResponseState",
8382 "localName": "SimpleCL_AAISuccessResponseHandlerPolicy"
8384 "outputType": "DIRECT",
8385 "output": {
8386 "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy",
8387 "parentKeyVersion": "0.0.1",
8388 "parentLocalName": "SimpleCL_ReceiveAAISuccessResponseState",
8389 "localName": "AAISuccessStateOutput"
8399 "firstState": "SimpleCL_ReceiveAAISuccessResponseState"
8403 "key": {
8404 "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy",
8405 "version": "0.0.1"
8407 "value": {
8408 "policyKey": {
8409 "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy",
8410 "version": "0.0.1"
8412 "template": "Freestyle",
8413 "state": {
8414 "entry": [
8416 "key": "SimpleCL_CDSConfigModifyFailureResponseState",
8417 "value": {
8418 "stateKey": {
8419 "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy",
8420 "parentKeyVersion": "0.0.1",
8421 "parentLocalName": "NULL",
8422 "localName": "SimpleCL_CDSConfigModifyFailureResponseState"
8424 "trigger": {
8425 "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
8426 "version": "0.0.1"
8428 "stateOutputs": {
8429 "entry": [
8431 "key": "ConfigModifyFailureResponseOutput",
8432 "value": {
8433 "key": {
8434 "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy",
8435 "parentKeyVersion": "0.0.1",
8436 "parentLocalName": "SimpleCL_CDSConfigModifyFailureResponseState",
8437 "localName": "ConfigModifyFailureResponseOutput"
8439 "outgoingEvent": {
8440 "name": "SimpleCL_LogStatusEvent",
8441 "version": "0.0.1"
8443 "nextState": {
8444 "parentKeyName": "NULL",
8445 "parentKeyVersion": "0.0.0",
8446 "parentLocalName": "NULL",
8447 "localName": "NULL"
8453 "contextAlbumReference": [],
8454 "taskSelectionLogic": {
8455 "key": "NULL",
8456 "logicFlavour": "UNDEFINED",
8457 "logic": ""
8459 "stateFinalizerLogicMap": {
8460 "entry": []
8462 "defaultTask": {
8463 "name": "SimpleCL_CDSConfigModifyFailureResponseTask",
8464 "version": "0.0.1"
8466 "taskReferences": {
8467 "entry": [
8469 "key": {
8470 "name": "SimpleCL_CDSConfigModifyFailureResponseTask",
8471 "version": "0.0.1"
8473 "value": {
8474 "key": {
8475 "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy",
8476 "parentKeyVersion": "0.0.1",
8477 "parentLocalName": "SimpleCL_CDSConfigModifyFailureResponseState",
8478 "localName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy"
8480 "outputType": "DIRECT",
8481 "output": {
8482 "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy",
8483 "parentKeyVersion": "0.0.1",
8484 "parentLocalName": "SimpleCL_CDSConfigModifyFailureResponseState",
8485 "localName": "ConfigModifyFailureResponseOutput"
8495 "firstState": "SimpleCL_CDSConfigModifyFailureResponseState"
8499 "key": {
8500 "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy",
8501 "version": "0.0.1"
8503 "value": {
8504 "policyKey": {
8505 "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy",
8506 "version": "0.0.1"
8508 "template": "Freestyle",
8509 "state": {
8510 "entry": [
8512 "key": "SimpleCL_CDSConfigModifySuccessResponseState",
8513 "value": {
8514 "stateKey": {
8515 "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy",
8516 "parentKeyVersion": "0.0.1",
8517 "parentLocalName": "NULL",
8518 "localName": "SimpleCL_CDSConfigModifySuccessResponseState"
8520 "trigger": {
8521 "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
8522 "version": "0.0.1"
8524 "stateOutputs": {
8525 "entry": [
8527 "key": "ConfigModifySuccessResponseOutput",
8528 "value": {
8529 "key": {
8530 "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy",
8531 "parentKeyVersion": "0.0.1",
8532 "parentLocalName": "SimpleCL_CDSConfigModifySuccessResponseState",
8533 "localName": "ConfigModifySuccessResponseOutput"
8535 "outgoingEvent": {
8536 "name": "SimpleCL_LogStatusEvent",
8537 "version": "0.0.1"
8539 "nextState": {
8540 "parentKeyName": "NULL",
8541 "parentKeyVersion": "0.0.0",
8542 "parentLocalName": "NULL",
8543 "localName": "NULL"
8549 "contextAlbumReference": [],
8550 "taskSelectionLogic": {
8551 "key": "NULL",
8552 "logicFlavour": "UNDEFINED",
8553 "logic": ""
8555 "stateFinalizerLogicMap": {
8556 "entry": []
8558 "defaultTask": {
8559 "name": "SimpleCL_CDSConfigModifySuccessResponseTask",
8560 "version": "0.0.1"
8562 "taskReferences": {
8563 "entry": [
8565 "key": {
8566 "name": "SimpleCL_CDSConfigModifySuccessResponseTask",
8567 "version": "0.0.1"
8569 "value": {
8570 "key": {
8571 "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy",
8572 "parentKeyVersion": "0.0.1",
8573 "parentLocalName": "SimpleCL_CDSConfigModifySuccessResponseState",
8574 "localName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy"
8576 "outputType": "DIRECT",
8577 "output": {
8578 "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy",
8579 "parentKeyVersion": "0.0.1",
8580 "parentLocalName": "SimpleCL_CDSConfigModifySuccessResponseState",
8581 "localName": "ConfigModifySuccessResponseOutput"
8591 "firstState": "SimpleCL_CDSConfigModifySuccessResponseState"
8595 "key": {
8596 "name": "SimpleCL_VesEventHandlerPolicy",
8597 "version": "0.0.1"
8599 "value": {
8600 "policyKey": {
8601 "name": "SimpleCL_VesEventHandlerPolicy",
8602 "version": "0.0.1"
8604 "template": "Freestyle",
8605 "state": {
8606 "entry": [
8608 "key": "SimpleCL_ReceiveVesState",
8609 "value": {
8610 "stateKey": {
8611 "parentKeyName": "SimpleCL_VesEventHandlerPolicy",
8612 "parentKeyVersion": "0.0.1",
8613 "parentLocalName": "NULL",
8614 "localName": "SimpleCL_ReceiveVesState"
8616 "trigger": {
8617 "name": "SimpleCL_VesEvent",
8618 "version": "0.0.1"
8620 "stateOutputs": {
8621 "entry": [
8623 "key": "VesOutput",
8624 "value": {
8625 "key": {
8626 "parentKeyName": "SimpleCL_VesEventHandlerPolicy",
8627 "parentKeyVersion": "0.0.1",
8628 "parentLocalName": "SimpleCL_ReceiveVesState",
8629 "localName": "VesOutput"
8631 "outgoingEvent": {
8632 "name": "SimpleCL_AAIRequestEvent",
8633 "version": "0.0.1"
8635 "nextState": {
8636 "parentKeyName": "NULL",
8637 "parentKeyVersion": "0.0.0",
8638 "parentLocalName": "NULL",
8639 "localName": "NULL"
8645 "contextAlbumReference": [],
8646 "taskSelectionLogic": {
8647 "key": "NULL",
8648 "logicFlavour": "UNDEFINED",
8649 "logic": ""
8651 "stateFinalizerLogicMap": {
8652 "entry": []
8654 "defaultTask": {
8655 "name": "SimpleCL_HandleVesEventTask",
8656 "version": "0.0.1"
8658 "taskReferences": {
8659 "entry": [
8661 "key": {
8662 "name": "SimpleCL_HandleVesEventTask",
8663 "version": "0.0.1"
8665 "value": {
8666 "key": {
8667 "parentKeyName": "SimpleCL_VesEventHandlerPolicy",
8668 "parentKeyVersion": "0.0.1",
8669 "parentLocalName": "SimpleCL_ReceiveVesState",
8670 "localName": "SimpleCL_VesEventHandlerPolicy"
8672 "outputType": "DIRECT",
8673 "output": {
8674 "parentKeyName": "SimpleCL_VesEventHandlerPolicy",
8675 "parentKeyVersion": "0.0.1",
8676 "parentLocalName": "SimpleCL_ReceiveVesState",
8677 "localName": "VesOutput"
8687 "firstState": "SimpleCL_ReceiveVesState"
8693 "tasks": {
8694 "key": {
8695 "name": "onap.policies.apex.Simplecontrolloop_Tasks",
8696 "version": "0.0.1"
8698 "taskMap": {
8699 "entry": [
8701 "key": {
8702 "name": "SimpleCL_CDSConfigModifyFailureResponseTask",
8703 "version": "0.0.1"
8705 "value": {
8706 "key": {
8707 "name": "SimpleCL_CDSConfigModifyFailureResponseTask",
8708 "version": "0.0.1"
8710 "inputFields": {
8711 "entry": [
8713 "key": "actionIdentifiers",
8714 "value": {
8715 "key": "actionIdentifiers",
8716 "fieldSchemaKey": {
8717 "name": "SimpleCL_CDSActionIdentifiersType",
8718 "version": "0.0.1"
8720 "optional": false
8724 "key": "commonHeader",
8725 "value": {
8726 "key": "commonHeader",
8727 "fieldSchemaKey": {
8728 "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
8729 "version": "0.0.1"
8731 "optional": false
8735 "key": "payload",
8736 "value": {
8737 "key": "payload",
8738 "fieldSchemaKey": {
8739 "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
8740 "version": "0.0.1"
8742 "optional": false
8746 "key": "status",
8747 "value": {
8748 "key": "status",
8749 "fieldSchemaKey": {
8750 "name": "SimpleCL_CDSFailureResponseStatusType",
8751 "version": "0.0.1"
8753 "optional": false
8758 "outputFields": {
8759 "entry": [
8761 "key": "message",
8762 "value": {
8763 "key": "message",
8764 "fieldSchemaKey": {
8765 "name": "SimpleStringType",
8766 "version": "0.0.1"
8768 "optional": false
8773 "taskParameters": {
8774 "entry": []
8776 "contextAlbumReference": [
8778 "name": "SimpleCL_EventDetailsAlbum",
8779 "version": "0.0.1"
8782 "taskLogic": {
8783 "key": "TaskLogic",
8784 "logicFlavour": "JAVASCRIPT",
8785 "logic": "var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar cdsResponse = executor.inFields;\nvar albumID = cdsResponse.get(\"commonHeader\").get(\"subRequestId\");\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar timestamp = longType(new Date().getTime())\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nsend(commonEventHeader.get(\"eventId\"), \"PNF\", eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), timestamp, \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = '{'\n +'\"id\" : \"' + id + '\",'\n +'\"target\" : {'\n +'\"targetType\" : \"' + targetType + '\",'\n +'\"entityInfo\" : {'\n +'\"pnf-name\" : \"' + targetId + '\"'\n +'}'\n +'},'\n +'\"component\" : {'\n +'\"name\" : \"Policy\",'\n +'\"flavour\" : \"Apex-PDP\",'\n +'\"timestamp\" : ' + timestamp + ','\n +'\"status\" : \"' + status + '\",'\n +'\"message\" : \"' + message + '\",'\n +'\"artifacts\" : {'\n +'\"policyName\" : \"onap.policies.apex.Simplecontrolloop\",'\n +'\"policyVersion\" : \"1.0.0\"'\n +'}'\n +'},'\n +'\"otherFields\" : {'\n +'\"useCaseName\" : \"simple-controlloop-usecase\"'\n +'}'\n +'}';\n\n executor.logger.info(\"sending the status to log.\");\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n //headers.put(\"Authorization\" , \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\");\n executor.logger.info(\"LogEvent:\"+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\"logUrl\"),\n \"\",\n \"\",\n headers,\n \"application/json\",\n logEvent\n );\n executor.logger.info(\"DMaaP Response after sending LogEvent: \" + response);\n return response;\n}"
8790 "key": {
8791 "name": "SimpleCL_CDSConfigModifySuccessResponseTask",
8792 "version": "0.0.1"
8794 "value": {
8795 "key": {
8796 "name": "SimpleCL_CDSConfigModifySuccessResponseTask",
8797 "version": "0.0.1"
8799 "inputFields": {
8800 "entry": [
8802 "key": "actionIdentifiers",
8803 "value": {
8804 "key": "actionIdentifiers",
8805 "fieldSchemaKey": {
8806 "name": "SimpleCL_CDSActionIdentifiersType",
8807 "version": "0.0.1"
8809 "optional": false
8813 "key": "commonHeader",
8814 "value": {
8815 "key": "commonHeader",
8816 "fieldSchemaKey": {
8817 "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
8818 "version": "0.0.1"
8820 "optional": false
8824 "key": "payload",
8825 "value": {
8826 "key": "payload",
8827 "fieldSchemaKey": {
8828 "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
8829 "version": "0.0.1"
8831 "optional": false
8835 "key": "status",
8836 "value": {
8837 "key": "status",
8838 "fieldSchemaKey": {
8839 "name": "SimpleCL_CDSSuccessResponseStatusType",
8840 "version": "0.0.1"
8842 "optional": false
8847 "outputFields": {
8848 "entry": [
8850 "key": "message",
8851 "value": {
8852 "key": "message",
8853 "fieldSchemaKey": {
8854 "name": "SimpleStringType",
8855 "version": "0.0.1"
8857 "optional": false
8862 "taskParameters": {
8863 "entry": []
8865 "contextAlbumReference": [
8867 "name": "SimpleCL_EventDetailsAlbum",
8868 "version": "0.0.1"
8871 "taskLogic": {
8872 "key": "TaskLogic",
8873 "logicFlavour": "JAVASCRIPT",
8874 "logic": "var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar cdsResponse = executor.inFields;\nvar albumID = cdsResponse.get(\"commonHeader\").get(\"subRequestId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar timestamp = longType(new Date().getTime());\n\nsend(commonEventHeader.get(\"eventId\"), \"PNF\", eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), timestamp, \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = '{'\n +'\"id\" : \"' + id + '\",'\n +'\"target\" : {'\n +'\"targetType\" : \"' + targetType + '\",'\n +'\"entityInfo\" : {'\n +'\"pnf-name\" : \"' + targetId + '\"'\n +'}'\n +'},'\n +'\"component\" : {'\n +'\"name\" : \"Policy\",'\n +'\"flavour\" : \"Apex-PDP\",'\n +'\"timestamp\" : ' + timestamp + ','\n +'\"status\" : \"' + status + '\",'\n +'\"message\" : \"' + message + '\",'\n +'\"artifacts\" : {'\n +'\"policyName\" : \"onap.policies.apex.Simplecontrolloop\",'\n +'\"policyVersion\" : \"1.0.0\"'\n +'}'\n +'},'\n +'\"otherFields\" : {'\n +'\"useCaseName\" : \"simple-controlloop-usecase\"'\n +'}'\n +'}';\n\n executor.logger.info(\"sending the status to log.\");\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n //headers.put(\"Authorization\" , \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\");\n executor.logger.info(\"LogEvent:\"+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\"logUrl\"),\n \"\",\n \"\",\n headers,\n \"application/json\",\n logEvent\n );\n executor.logger.info(\"DMaaP Response after sending LogEvent: \" + response);\n return response;\n}"
8879 "key": {
8880 "name": "SimpleCL_HandleAAIFailureResponseTask",
8881 "version": "0.0.1"
8883 "value": {
8884 "key": {
8885 "name": "SimpleCL_HandleAAIFailureResponseTask",
8886 "version": "0.0.1"
8888 "inputFields": {
8889 "entry": [
8891 "key": "requestError",
8892 "value": {
8893 "key": "requestError",
8894 "fieldSchemaKey": {
8895 "name": "SimpleCL_AAIRequestErrorType",
8896 "version": "0.0.1"
8898 "optional": false
8903 "outputFields": {
8904 "entry": [
8906 "key": "message",
8907 "value": {
8908 "key": "message",
8909 "fieldSchemaKey": {
8910 "name": "SimpleStringType",
8911 "version": "0.0.1"
8913 "optional": false
8918 "taskParameters": {
8919 "entry": []
8921 "contextAlbumReference": [
8923 "name": "SimpleCL_EventDetailsAlbum",
8924 "version": "0.0.1"
8927 "taskLogic": {
8928 "key": "TaskLogic",
8929 "logicFlavour": "JAVASCRIPT",
8930 "logic": "var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\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(\"requestError\").get(\"serviceException\").get(\"messageId\"), \"PNF\", \"N/A\", timestamp, \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\ntrue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = '{'\n +'\"id\" : \"' + id + '\",'\n +'\"target\" : {'\n +'\"targetType\" : \"' + targetType + '\",'\n +'\"entityInfo\" : {'\n +'\"pnf-name\" : \"' + targetId + '\"'\n +'}'\n +'},'\n +'\"component\" : {'\n +'\"name\" : \"Policy\",'\n +'\"flavour\" : \"Apex-PDP\",'\n +'\"timestamp\" : ' + timestamp + ','\n +'\"status\" : \"' + status + '\",'\n +'\"message\" : \"' + message + '\",'\n +'\"artifacts\" : {'\n +'\"policyName\" : \"onap.policies.apex.Simplecontrolloop\",'\n +'\"policyVersion\" : \"1.0.0\"'\n +'}'\n +'},'\n +'\"otherFields\" : {'\n +'\"useCaseName\" : \"simple-controlloop-usecase\"'\n +'}'\n +'}';\n\n executor.logger.info(\"sending the status to log.\");\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n //headers.put(\"Authorization\" , \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\");\n executor.logger.info(\"LogEvent:\"+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\"logUrl\"),\n \"\",\n \"\",\n headers,\n \"application/json\",\n logEvent\n );\n executor.logger.info(\"DMaaP Response after sending LogEvent: \" + response);\n return response;\n}"
8935 "key": {
8936 "name": "SimpleCL_HandleAAISuccessResponseTask",
8937 "version": "0.0.1"
8939 "value": {
8940 "key": {
8941 "name": "SimpleCL_HandleAAISuccessResponseTask",
8942 "version": "0.0.1"
8944 "inputFields": {
8945 "entry": [
8947 "key": "equip-model",
8948 "value": {
8949 "key": "equip-model",
8950 "fieldSchemaKey": {
8951 "name": "SimpleStringType",
8952 "version": "0.0.1"
8954 "optional": false
8958 "key": "equip-type",
8959 "value": {
8960 "key": "equip-type",
8961 "fieldSchemaKey": {
8962 "name": "SimpleStringType",
8963 "version": "0.0.1"
8965 "optional": false
8969 "key": "equip-vendor",
8970 "value": {
8971 "key": "equip-vendor",
8972 "fieldSchemaKey": {
8973 "name": "SimpleStringType",
8974 "version": "0.0.1"
8976 "optional": false
8980 "key": "in-maint",
8981 "value": {
8982 "key": "in-maint",
8983 "fieldSchemaKey": {
8984 "name": "SimpleBooleanType",
8985 "version": "0.0.1"
8987 "optional": false
8991 "key": "ipaddress-v4-oam",
8992 "value": {
8993 "key": "ipaddress-v4-oam",
8994 "fieldSchemaKey": {
8995 "name": "SimpleStringType",
8996 "version": "0.0.1"
8998 "optional": false
9002 "key": "ipaddress-v6-oam",
9003 "value": {
9004 "key": "ipaddress-v6-oam",
9005 "fieldSchemaKey": {
9006 "name": "SimpleStringType",
9007 "version": "0.0.1"
9009 "optional": false
9013 "key": "management-option",
9014 "value": {
9015 "key": "management-option",
9016 "fieldSchemaKey": {
9017 "name": "SimpleStringType",
9018 "version": "0.0.1"
9020 "optional": false
9024 "key": "pnf-id",
9025 "value": {
9026 "key": "pnf-id",
9027 "fieldSchemaKey": {
9028 "name": "SimpleStringType",
9029 "version": "0.0.1"
9031 "optional": false
9035 "key": "pnf-name",
9036 "value": {
9037 "key": "pnf-name",
9038 "fieldSchemaKey": {
9039 "name": "SimpleStringType",
9040 "version": "0.0.1"
9042 "optional": false
9046 "key": "pnf-name2",
9047 "value": {
9048 "key": "pnf-name2",
9049 "fieldSchemaKey": {
9050 "name": "SimpleStringType",
9051 "version": "0.0.1"
9053 "optional": false
9057 "key": "resource-version",
9058 "value": {
9059 "key": "resource-version",
9060 "fieldSchemaKey": {
9061 "name": "SimpleStringType",
9062 "version": "0.0.1"
9064 "optional": false
9069 "outputFields": {
9070 "entry": [
9072 "key": "actionIdentifiers",
9073 "value": {
9074 "key": "actionIdentifiers",
9075 "fieldSchemaKey": {
9076 "name": "SimpleCL_CDSActionIdentifiersType",
9077 "version": "0.0.1"
9079 "optional": false
9083 "key": "commonHeader",
9084 "value": {
9085 "key": "commonHeader",
9086 "fieldSchemaKey": {
9087 "name": "SimpleCL_CDSRequestCommonHeaderType",
9088 "version": "0.0.1"
9090 "optional": false
9094 "key": "payload",
9095 "value": {
9096 "key": "payload",
9097 "fieldSchemaKey": {
9098 "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
9099 "version": "0.0.1"
9101 "optional": false
9106 "taskParameters": {
9107 "entry": []
9109 "contextAlbumReference": [
9111 "name": "SimpleCL_EventDetailsAlbum",
9112 "version": "0.0.1"
9115 "taskLogic": {
9116 "key": "TaskLogic",
9117 "logicFlavour": "JAVASCRIPT",
9118 "logic": "var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar pnfDetails = executor.inFields;\nvar albumID = pnfDetails.get(\"pnf-id\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nvar timestamp = longType(new Date().getTime());\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n send(commonEventHeader.get(\"eventId\"), \"PNF\", otherFieldsMap.get(\"pnfName\"), timestamp, \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"pnf-test-cba\";\n var blueprintVersion = \"1.0.0\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n executor.outFields.put(\"commonHeader\", commonHeader);\n executor.outFields.put(\"actionIdentifiers\", actionIdentifiers);\n executor.outFields.put(\"payload\", payload);\n\n send(commonEventHeader.get(\"eventId\"), \"PNF\", otherFieldsMap.get(\"pnfName\"), timestamp, \"SUCCESS\", logMessage)\n}\n\nreturnVal;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = '{'\n +'\"id\" : \"' + id + '\",'\n +'\"target\" : {'\n +'\"targetType\" : \"' + targetType + '\",'\n +'\"entityInfo\" : {'\n +'\"pnf-name\" : \"' + targetId + '\"'\n +'}'\n +'},'\n +'\"component\" : {'\n +'\"name\" : \"Policy\",'\n +'\"flavour\" : \"Apex-PDP\",'\n +'\"timestamp\" : ' + timestamp + ','\n +'\"status\" : \"' + status + '\",'\n +'\"message\" : \"' + message + '\",'\n +'\"artifacts\" : {'\n +'\"policyName\" : \"onap.policies.apex.Simplecontrolloop\",'\n +'\"policyVersion\" : \"1.0.0\"'\n +'}'\n +'},'\n +'\"otherFields\" : {'\n +'\"useCaseName\" : \"simple-controlloop-usecase\"'\n +'}'\n +'}';\n\n executor.logger.info(\"sending the status to log.\");\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n //headers.put(\"Authorization\" , \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\");\n executor.logger.info(\"LogEvent:\"+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\"logUrl\"),\n \"\",\n \"\",\n headers,\n \"application/json\",\n logEvent\n );\n executor.logger.info(\"DMaaP Response after sending LogEvent: \" + response);\n return response;\n}"
9123 "key": {
9124 "name": "SimpleCL_HandleVesEventTask",
9125 "version": "0.0.1"
9127 "value": {
9128 "key": {
9129 "name": "SimpleCL_HandleVesEventTask",
9130 "version": "0.0.1"
9132 "inputFields": {
9133 "entry": [
9135 "key": "event",
9136 "value": {
9137 "key": "event",
9138 "fieldSchemaKey": {
9139 "name": "SimpleCL_VesEventType",
9140 "version": "0.0.1"
9142 "optional": false
9147 "outputFields": {
9148 "entry": [
9150 "key": "aaifield",
9151 "value": {
9152 "key": "aaifield",
9153 "fieldSchemaKey": {
9154 "name": "SimpleStringType",
9155 "version": "0.0.1"
9157 "optional": false
9162 "taskParameters": {
9163 "entry": []
9165 "contextAlbumReference": [
9167 "name": "SimpleCL_EventDetailsAlbum",
9168 "version": "0.0.1"
9171 "taskLogic": {
9172 "key": "TaskLogic",
9173 "logicFlavour": "JAVASCRIPT",
9174 "logic": "var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\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(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar timestamp = longType(new Date().getTime());\nsend(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), \"PNF\", otherFields.get(\"hashMap\").get(\"pnfName\"), timestamp, \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\nexecutor.logger.info(executor.outFields);\nreturnValue;\n\nfunction send(id, targetType, targetId, timestamp, status, message) {\n var logData = '{'\n +'\"id\" : \"' + id + '\",'\n +'\"target\" : {'\n +'\"targetType\" : \"' + targetType + '\",'\n +'\"entityInfo\" : {'\n +'\"pnf-name\" : \"' + targetId + '\"'\n +'}'\n +'},'\n +'\"component\" : {'\n +'\"name\" : \"Policy\",'\n +'\"flavour\" : \"Apex-PDP\",'\n +'\"timestamp\" : ' + timestamp + ','\n +'\"status\" : \"' + status + '\",'\n +'\"message\" : \"' + message + '\",'\n +'\"artifacts\" : {'\n +'\"policyName\" : \"onap.policies.apex.Simplecontrolloop\",'\n +'\"policyVersion\" : \"1.0.0\"'\n +'}'\n +'},'\n +'\"otherFields\" : {'\n +'\"useCaseName\" : \"simple-controlloop-usecase\"'\n +'}'\n +'}';\n\n executor.logger.info(\"sending the status to log.\");\n fireLogEvent(logData);\n}\n\nfunction fireLogEvent(logEvent){\n var headers = new HashMapType();\n //headers.put(\"Authorization\" , \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\");\n executor.logger.info(\"LogEvent:\"+logEvent);\n var response = new org.onap.policy.rest.RestManager().post(\n executor.getParameters().get(\"logUrl\"),\n \"\",\n \"\",\n headers,\n \"application/json\",\n logEvent\n );\n executor.logger.info(\"DMaaP Response after sending LogEvent: \" + response);\n return response;\n}"
9181 "events": {
9182 "key": {
9183 "name": "onap.policies.apex.Simplecontrolloop_Events",
9184 "version": "0.0.1"
9186 "eventMap": {
9187 "entry": [
9189 "key": {
9190 "name": "SimpleCL_AAIFailureResponseEvent",
9191 "version": "0.0.1"
9193 "value": {
9194 "key": {
9195 "name": "SimpleCL_AAIFailureResponseEvent",
9196 "version": "0.0.1"
9198 "nameSpace": "org.onap.policy.apex.simplecontrolloop",
9199 "source": "AAI",
9200 "target": "APEX",
9201 "parameter": {
9202 "entry": [
9204 "key": "requestError",
9205 "value": {
9206 "key": "requestError",
9207 "fieldSchemaKey": {
9208 "name": "SimpleCL_AAIRequestErrorType",
9209 "version": "0.0.1"
9211 "optional": false
9216 "toscaPolicyState": "EXIT_FAILURE"
9220 "key": {
9221 "name": "SimpleCL_AAIRequestEvent",
9222 "version": "0.0.1"
9224 "value": {
9225 "key": {
9226 "name": "SimpleCL_AAIRequestEvent",
9227 "version": "0.0.1"
9229 "nameSpace": "org.onap.policy.apex.simplecontrolloop",
9230 "source": "APEX",
9231 "target": "AAI",
9232 "parameter": {
9233 "entry": [
9235 "key": "aaifield",
9236 "value": {
9237 "key": "aaifield",
9238 "fieldSchemaKey": {
9239 "name": "SimpleStringType",
9240 "version": "0.0.1"
9242 "optional": false
9247 "toscaPolicyState": ""
9251 "key": {
9252 "name": "SimpleCL_AAISuccessResponseEvent",
9253 "version": "0.0.1"
9255 "value": {
9256 "key": {
9257 "name": "SimpleCL_AAISuccessResponseEvent",
9258 "version": "0.0.1"
9260 "nameSpace": "org.onap.policy.apex.simplecontrolloop",
9261 "source": "AAI",
9262 "target": "APEX",
9263 "parameter": {
9264 "entry": [
9266 "key": "equip-model",
9267 "value": {
9268 "key": "equip-model",
9269 "fieldSchemaKey": {
9270 "name": "SimpleStringType",
9271 "version": "0.0.1"
9273 "optional": false
9277 "key": "equip-type",
9278 "value": {
9279 "key": "equip-type",
9280 "fieldSchemaKey": {
9281 "name": "SimpleStringType",
9282 "version": "0.0.1"
9284 "optional": false
9288 "key": "equip-vendor",
9289 "value": {
9290 "key": "equip-vendor",
9291 "fieldSchemaKey": {
9292 "name": "SimpleStringType",
9293 "version": "0.0.1"
9295 "optional": false
9299 "key": "in-maint",
9300 "value": {
9301 "key": "in-maint",
9302 "fieldSchemaKey": {
9303 "name": "SimpleBooleanType",
9304 "version": "0.0.1"
9306 "optional": false
9310 "key": "ipaddress-v4-oam",
9311 "value": {
9312 "key": "ipaddress-v4-oam",
9313 "fieldSchemaKey": {
9314 "name": "SimpleStringType",
9315 "version": "0.0.1"
9317 "optional": false
9321 "key": "ipaddress-v6-oam",
9322 "value": {
9323 "key": "ipaddress-v6-oam",
9324 "fieldSchemaKey": {
9325 "name": "SimpleStringType",
9326 "version": "0.0.1"
9328 "optional": false
9332 "key": "management-option",
9333 "value": {
9334 "key": "management-option",
9335 "fieldSchemaKey": {
9336 "name": "SimpleStringType",
9337 "version": "0.0.1"
9339 "optional": false
9343 "key": "pnf-id",
9344 "value": {
9345 "key": "pnf-id",
9346 "fieldSchemaKey": {
9347 "name": "SimpleStringType",
9348 "version": "0.0.1"
9350 "optional": false
9354 "key": "pnf-name",
9355 "value": {
9356 "key": "pnf-name",
9357 "fieldSchemaKey": {
9358 "name": "SimpleStringType",
9359 "version": "0.0.1"
9361 "optional": false
9365 "key": "pnf-name2",
9366 "value": {
9367 "key": "pnf-name2",
9368 "fieldSchemaKey": {
9369 "name": "SimpleStringType",
9370 "version": "0.0.1"
9372 "optional": false
9376 "key": "resource-version",
9377 "value": {
9378 "key": "resource-version",
9379 "fieldSchemaKey": {
9380 "name": "SimpleStringType",
9381 "version": "0.0.1"
9383 "optional": false
9388 "toscaPolicyState": ""
9392 "key": {
9393 "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
9394 "version": "0.0.1"
9396 "value": {
9397 "key": {
9398 "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
9399 "version": "0.0.1"
9401 "nameSpace": "org.onap.policy.apex.simplecontrolloop",
9402 "source": "CDS",
9403 "target": "APEX",
9404 "parameter": {
9405 "entry": [
9407 "key": "actionIdentifiers",
9408 "value": {
9409 "key": "actionIdentifiers",
9410 "fieldSchemaKey": {
9411 "name": "SimpleCL_CDSActionIdentifiersType",
9412 "version": "0.0.1"
9414 "optional": false
9418 "key": "commonHeader",
9419 "value": {
9420 "key": "commonHeader",
9421 "fieldSchemaKey": {
9422 "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
9423 "version": "0.0.1"
9425 "optional": false
9429 "key": "payload",
9430 "value": {
9431 "key": "payload",
9432 "fieldSchemaKey": {
9433 "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
9434 "version": "0.0.1"
9436 "optional": false
9440 "key": "status",
9441 "value": {
9442 "key": "status",
9443 "fieldSchemaKey": {
9444 "name": "SimpleCL_CDSFailureResponseStatusType",
9445 "version": "0.0.1"
9447 "optional": false
9452 "toscaPolicyState": "EXIT_FAILURE"
9456 "key": {
9457 "name": "SimpleCL_CDSConfigModifyRequestEvent",
9458 "version": "0.0.1"
9460 "value": {
9461 "key": {
9462 "name": "SimpleCL_CDSConfigModifyRequestEvent",
9463 "version": "0.0.1"
9465 "nameSpace": "org.onap.policy.apex.simplecontrolloop",
9466 "source": "APEX",
9467 "target": "APEX",
9468 "parameter": {
9469 "entry": [
9471 "key": "actionIdentifiers",
9472 "value": {
9473 "key": "actionIdentifiers",
9474 "fieldSchemaKey": {
9475 "name": "SimpleCL_CDSActionIdentifiersType",
9476 "version": "0.0.1"
9478 "optional": false
9482 "key": "commonHeader",
9483 "value": {
9484 "key": "commonHeader",
9485 "fieldSchemaKey": {
9486 "name": "SimpleCL_CDSRequestCommonHeaderType",
9487 "version": "0.0.1"
9489 "optional": false
9493 "key": "payload",
9494 "value": {
9495 "key": "payload",
9496 "fieldSchemaKey": {
9497 "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
9498 "version": "0.0.1"
9500 "optional": false
9505 "toscaPolicyState": ""
9509 "key": {
9510 "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
9511 "version": "0.0.1"
9513 "value": {
9514 "key": {
9515 "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
9516 "version": "0.0.1"
9518 "nameSpace": "org.onap.policy.apex.simplecontrolloop",
9519 "source": "CDS",
9520 "target": "APEX",
9521 "parameter": {
9522 "entry": [
9524 "key": "actionIdentifiers",
9525 "value": {
9526 "key": "actionIdentifiers",
9527 "fieldSchemaKey": {
9528 "name": "SimpleCL_CDSActionIdentifiersType",
9529 "version": "0.0.1"
9531 "optional": false
9535 "key": "commonHeader",
9536 "value": {
9537 "key": "commonHeader",
9538 "fieldSchemaKey": {
9539 "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
9540 "version": "0.0.1"
9542 "optional": false
9546 "key": "payload",
9547 "value": {
9548 "key": "payload",
9549 "fieldSchemaKey": {
9550 "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
9551 "version": "0.0.1"
9553 "optional": false
9557 "key": "status",
9558 "value": {
9559 "key": "status",
9560 "fieldSchemaKey": {
9561 "name": "SimpleCL_CDSSuccessResponseStatusType",
9562 "version": "0.0.1"
9564 "optional": false
9569 "toscaPolicyState": "EXIT_SUCCESS"
9573 "key": {
9574 "name": "SimpleCL_LogStatusEvent",
9575 "version": "0.0.1"
9577 "value": {
9578 "key": {
9579 "name": "SimpleCL_LogStatusEvent",
9580 "version": "0.0.1"
9582 "nameSpace": "org.onap.policy.apex.simplecontrolloop",
9583 "source": "APEX",
9584 "target": "DCAE",
9585 "parameter": {
9586 "entry": [
9588 "key": "message",
9589 "value": {
9590 "key": "message",
9591 "fieldSchemaKey": {
9592 "name": "SimpleStringType",
9593 "version": "0.0.1"
9595 "optional": false
9600 "toscaPolicyState": ""
9604 "key": {
9605 "name": "SimpleCL_VesEvent",
9606 "version": "0.0.1"
9608 "value": {
9609 "key": {
9610 "name": "SimpleCL_VesEvent",
9611 "version": "0.0.1"
9613 "nameSpace": "org.onap.policy.apex.simplecontrolloop",
9614 "source": "DCAE",
9615 "target": "APEX",
9616 "parameter": {
9617 "entry": [
9619 "key": "event",
9620 "value": {
9621 "key": "event",
9622 "fieldSchemaKey": {
9623 "name": "SimpleCL_VesEventType",
9624 "version": "0.0.1"
9626 "optional": false
9631 "toscaPolicyState": "ENTRY"
9637 "albums": {
9638 "key": {
9639 "name": "onap.policies.apex.Simplecontrolloop_Albums",
9640 "version": "0.0.1"
9642 "albums": {
9643 "entry": [
9645 "key": {
9646 "name": "SimpleCL_EventDetailsAlbum",
9647 "version": "0.0.1"
9649 "value": {
9650 "key": {
9651 "name": "SimpleCL_EventDetailsAlbum",
9652 "version": "0.0.1"
9654 "scope": "policy",
9655 "isWritable": true,
9656 "itemSchema": {
9657 "name": "SimpleCL_EventDetailsAlbumType",
9658 "version": "0.0.1"
9665 "schemas": {
9666 "key": {
9667 "name": "onap.policies.apex.Simplecontrolloop_Schemas",
9668 "version": "0.0.1"
9670 "schemas": {
9671 "entry": [
9673 "key": {
9674 "name": "SimpleBooleanType",
9675 "version": "0.0.1"
9677 "value": {
9678 "key": {
9679 "name": "SimpleBooleanType",
9680 "version": "0.0.1"
9682 "schemaFlavour": "Java",
9683 "schemaDefinition": "java.lang.Boolean"
9687 "key": {
9688 "name": "SimpleCL_AAIRequestErrorType",
9689 "version": "0.0.1"
9691 "value": {
9692 "key": {
9693 "name": "SimpleCL_AAIRequestErrorType",
9694 "version": "0.0.1"
9696 "schemaFlavour": "Avro",
9697 "schemaDefinition": "{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"
9701 "key": {
9702 "name": "SimpleCL_CDSActionIdentifiersType",
9703 "version": "0.0.1"
9705 "value": {
9706 "key": {
9707 "name": "SimpleCL_CDSActionIdentifiersType",
9708 "version": "0.0.1"
9710 "schemaFlavour": "Avro",
9711 "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"
9715 "key": {
9716 "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
9717 "version": "0.0.1"
9719 "value": {
9720 "key": {
9721 "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
9722 "version": "0.0.1"
9724 "schemaFlavour": "Avro",
9725 "schemaDefinition": "{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"
9729 "key": {
9730 "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
9731 "version": "0.0.1"
9733 "value": {
9734 "key": {
9735 "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
9736 "version": "0.0.1"
9738 "schemaFlavour": "Avro",
9739 "schemaDefinition": "{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"
9743 "key": {
9744 "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
9745 "version": "0.0.1"
9747 "value": {
9748 "key": {
9749 "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
9750 "version": "0.0.1"
9752 "schemaFlavour": "Avro",
9753 "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"
9757 "key": {
9758 "name": "SimpleCL_CDSFailureResponseStatusType",
9759 "version": "0.0.1"
9761 "value": {
9762 "key": {
9763 "name": "SimpleCL_CDSFailureResponseStatusType",
9764 "version": "0.0.1"
9766 "schemaFlavour": "Avro",
9767 "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"
9771 "key": {
9772 "name": "SimpleCL_CDSRequestCommonHeaderType",
9773 "version": "0.0.1"
9775 "value": {
9776 "key": {
9777 "name": "SimpleCL_CDSRequestCommonHeaderType",
9778 "version": "0.0.1"
9780 "schemaFlavour": "Avro",
9781 "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"
9785 "key": {
9786 "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
9787 "version": "0.0.1"
9789 "value": {
9790 "key": {
9791 "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
9792 "version": "0.0.1"
9794 "schemaFlavour": "Avro",
9795 "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"
9799 "key": {
9800 "name": "SimpleCL_CDSSuccessResponseStatusType",
9801 "version": "0.0.1"
9803 "value": {
9804 "key": {
9805 "name": "SimpleCL_CDSSuccessResponseStatusType",
9806 "version": "0.0.1"
9808 "schemaFlavour": "Avro",
9809 "schemaDefinition": "{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"
9813 "key": {
9814 "name": "SimpleCL_EventDetailsAlbumType",
9815 "version": "0.0.1"
9817 "value": {
9818 "key": {
9819 "name": "SimpleCL_EventDetailsAlbumType",
9820 "version": "0.0.1"
9822 "schemaFlavour": "Avro",
9823 "schemaDefinition": "{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"
9827 "key": {
9828 "name": "SimpleCL_VesEventType",
9829 "version": "0.0.1"
9831 "value": {
9832 "key": {
9833 "name": "SimpleCL_VesEventType",
9834 "version": "0.0.1"
9836 "schemaFlavour": "Avro",
9837 "schemaDefinition": "{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"
9841 "key": {
9842 "name": "SimpleLongType",
9843 "version": "0.0.1"
9845 "value": {
9846 "key": {
9847 "name": "SimpleLongType",
9848 "version": "0.0.1"
9850 "schemaFlavour": "Java",
9851 "schemaDefinition": "java.lang.Long"
9855 "key": {
9856 "name": "SimpleStringType",
9857 "version": "0.0.1"
9859 "value": {
9860 "key": {
9861 "name": "SimpleStringType",
9862 "version": "0.0.1"
9864 "schemaFlavour": "Java",
9865 "schemaDefinition": "java.lang.String"
9877 <stringProp name="Argument.metadata">=</stringProp>
9883 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
9884 <collectionProp name="Asserion.test_strings">
9885 <stringProp name="49586">200</stringProp>
9887 <stringProp name="Assertion.custom_message"></stringProp>
9888 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
9889 <boolProp name="Assertion.assume_success">false</boolProp>
9890 <intProp name="Assertion.test_type">1</intProp>
9891 </ResponseAssertion>
9894 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy for sampleGroup">
9895 <intProp name="HTTPSampler.concurrentPool">6</intProp>
9896 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
9897 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
9898 <stringProp name="HTTPSampler.protocol">http</stringProp>
9899 <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0/policies</stringProp>
9900 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
9901 <stringProp name="HTTPSampler.method">POST</stringProp>
9902 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
9903 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
9904 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
9905 <collectionProp name="Arguments.arguments">
9906 <elementProp name="" elementType="HTTPArgument">
9907 <boolProp name="HTTPArgument.always_encode">false</boolProp>
9908 <stringProp name="Argument.value">{
9909 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
9910 "topology_template": {
9911 "policies": [
9913 "operational.apex.stabilityTestSampleDomain": {
9914 "type": "onap.policies.native.Apex",
9915 "type_version": "1.0.0",
9916 "name": "operational.apex.stabilityTestSampleDomain",
9917 "version": "1.0.0",
9918 "metadata": {
9919 "metadataSetName": "apex.metadata.pnf",
9920 "metadataSetVersion": "1.0.0"
9922 "properties": {
9923 "engineServiceParameters": {
9924 "name": "TestApexEnginePnf",
9925 "version": "0.0.1",
9926 "id": 45,
9927 "instanceCount": 4,
9928 "deploymentPort": 12561,
9929 "engineParameters": {
9930 "executorParameters": {
9931 "JAVASCRIPT": {
9932 "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"
9935 "contextParameters": {
9936 "parameterClassName": "org.onap.policy.apex.context.parameters.ContextParameters",
9937 "schemaParameters": {
9938 "Avro": {
9939 "parameterClassName": "org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"
9943 "taskParameters": [
9945 "key": "logUrl",
9946 "value": "http://kafka:9092/events/apex-cl-mgmt"
9951 "eventInputParameters": {
9952 "SimpleCL_DCAEConsumer": {
9953 "carrierTechnologyParameters": {
9954 "carrierTechnology": "KAFKA",
9955 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters",
9956 "parameters": {
9957 "bootstrapServers": "kafka:9092",
9958 "acks": "all",
9959 "retries": 0,
9960 "batchSize": 16384,
9961 "lingerTime": 1,
9962 "bufferMemory": 33554432,
9963 "producerTopic": "apex-cl-mgt2",
9964 "keySerializer": "org.apache.kafka.common.serialization.StringSerializer",
9965 "valueSerializer": "org.apache.kafka.common.serialization.StringSerializer",
9966 "kafkaProperties": [
9971 "eventProtocolParameters": {
9972 "eventProtocol": "JSON"
9974 "eventName": "SimpleCL_VesEvent"
9976 "SimpleCL_AAIResponseConsumer": {
9977 "carrierTechnologyParameters": {
9978 "carrierTechnology": "RESTREQUESTOR",
9979 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters",
9980 "parameters": {
9981 "url": "https://aai:8443/aai/v14/network/pnfs/pnf/{pnfName}",
9982 "httpMethod": "GET",
9983 "httpCodeFilter": "[2-5][0-1][0-9]",
9984 "httpHeaders": [
9986 "Accept",
9987 "application/json"
9990 "Content-Type",
9991 "application/json"
9994 "X-FromAppId",
9995 "dcae-curl"
9998 "x-transactionId",
9999 "9998"
10002 "Authorization",
10003 "Basic QUFJOkFBSQ=="
10008 "eventProtocolParameters": {
10009 "eventProtocol": "JSON"
10011 "eventName": "SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent",
10012 "requestorMode": true,
10013 "requestorPeer": "SimpleCL_AAIProducer",
10014 "requestorTimeout": 2000
10016 "SimpleCL_CDSConfigModifyResponseConsumer": {
10017 "carrierTechnologyParameters": {
10018 "carrierTechnology": "GRPC",
10019 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"
10021 "eventProtocolParameters": {
10022 "eventProtocol": "JSON"
10024 "eventName": "SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent",
10025 "requestorMode": true,
10026 "requestorPeer": "SimpleCL_CDSConfigModifyRequestProducer",
10027 "requestorTimeout": 500
10030 "eventOutputParameters": {
10031 "SimpleCL_AAIProducer": {
10032 "carrierTechnologyParameters": {
10033 "carrierTechnology": "RESTREQUESTOR",
10034 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"
10036 "eventProtocolParameters": {
10037 "eventProtocol": "JSON"
10039 "eventNameFilter": "SimpleCL_AAIRequestEvent",
10040 "requestorMode": true,
10041 "requestorPeer": "SimpleCL_AAIResponseConsumer",
10042 "requestorTimeout": 2000
10044 "SimpleCL_CDSConfigModifyRequestProducer": {
10045 "carrierTechnologyParameters": {
10046 "carrierTechnology": "GRPC",
10047 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters",
10048 "parameters": {
10049 "host": "cds-blueprints-processor-grpc",
10050 "port": 9111,
10051 "username": "ccsdkapps",
10052 "password": "ccsdkapps",
10053 "timeout": 60
10056 "eventProtocolParameters": {
10057 "eventProtocol": "JSON"
10059 "eventNameFilter": "SimpleCL_CDSConfigModifyRequestEvent",
10060 "requestorMode": true,
10061 "requestorPeer": "SimpleCL_CDSConfigModifyResponseConsumer",
10062 "requestorTimeout": 500
10064 "SimpleCL_logOutputter": {
10065 "carrierTechnologyParameters": {
10066 "carrierTechnology": "FILE",
10067 "parameters": {
10068 "fileName": "outputevents.log"
10071 "eventProtocolParameters": {
10072 "eventProtocol": "JSON"
10082 <stringProp name="Argument.metadata">=</stringProp>
10086 </HTTPSamplerProxy>
10088 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10089 <collectionProp name="Asserion.test_strings">
10090 <stringProp name="49586">200</stringProp>
10092 <stringProp name="Assertion.custom_message"></stringProp>
10093 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10094 <boolProp name="Assertion.assume_success">false</boolProp>
10095 <intProp name="Assertion.test_type">1</intProp>
10096 </ResponseAssertion>
10099 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change State to ACTIVE (defaultGroup)" enabled="true">
10100 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10101 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10102 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10103 <stringProp name="HTTPSampler.protocol">http</stringProp>
10104 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/defaultGroup?state=ACTIVE</stringProp>
10105 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10106 <stringProp name="HTTPSampler.method">PUT</stringProp>
10107 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10108 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10109 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10110 <collectionProp name="Arguments.arguments"/>
10112 </HTTPSamplerProxy>
10114 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10115 <collectionProp name="Asserion.test_strings">
10116 <stringProp name="49586">200</stringProp>
10118 <stringProp name="Assertion.custom_message"></stringProp>
10119 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10120 <boolProp name="Assertion.assume_success">false</boolProp>
10121 <intProp name="Assertion.test_type">1</intProp>
10122 </ResponseAssertion>
10125 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create/Update PDP Group" enabled="true">
10126 <stringProp name="TestPlan.comments">create SampleGroup </stringProp>
10127 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10128 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10129 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10130 <stringProp name="HTTPSampler.protocol">http</stringProp>
10131 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/groups/batch</stringProp>
10132 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10133 <stringProp name="HTTPSampler.method">POST</stringProp>
10134 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10135 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
10136 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
10137 <collectionProp name="Arguments.arguments">
10138 <elementProp name="" elementType="HTTPArgument">
10139 <boolProp name="HTTPArgument.always_encode">false</boolProp>
10140 <stringProp name="Argument.value">{
10141 "groups": [
10143 "name": "sampleGroup",
10144 "pdpGroupState": "ACTIVE",
10145 "properties": {},
10146 "pdpSubgroups": [
10148 "pdpType": "apex",
10149 "desiredInstanceCount": 1,
10150 "properties": {},
10151 "supportedPolicyTypes": [
10153 "name": "onap.policies.native.Apex",
10154 "version": "1.0.0"
10157 "policies": []
10163 <stringProp name="Argument.metadata">=</stringProp>
10167 </HTTPSamplerProxy>
10169 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10170 <collectionProp name="Asserion.test_strings">
10171 <stringProp name="49586">200</stringProp>
10173 <stringProp name="Assertion.custom_message"></stringProp>
10174 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10175 <boolProp name="Assertion.assume_success">false</boolProp>
10176 <intProp name="Assertion.test_type">1</intProp>
10177 </ResponseAssertion>
10180 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Query" enabled="true">
10181 <stringProp name="TestPlan.comments">Check PdpGroup Query</stringProp>
10182 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10183 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10184 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10185 <stringProp name="HTTPSampler.protocol">http</stringProp>
10186 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp>
10187 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10188 <stringProp name="HTTPSampler.method">GET</stringProp>
10189 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10190 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10191 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10192 <collectionProp name="Arguments.arguments"/>
10194 </HTTPSamplerProxy>
10196 <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
10197 <stringProp name="ConstantTimer.delay">120000</stringProp>
10200 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10201 <collectionProp name="Asserion.test_strings">
10202 <stringProp name="49586">200</stringProp>
10204 <stringProp name="Assertion.custom_message"></stringProp>
10205 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10206 <boolProp name="Assertion.assume_success">false</boolProp>
10207 <intProp name="Assertion.test_type">1</intProp>
10208 </ResponseAssertion>
10210 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
10211 <stringProp name="scriptLanguage">groovy</stringProp>
10212 <stringProp name="parameters"></stringProp>
10213 <stringProp name="filename"></stringProp>
10214 <stringProp name="cacheKey">true</stringProp>
10215 <stringProp name="script">import groovy.json.JsonSlurper;
10217 if (prev.getResponseCode() == '200') {
10218 def jsonSlurper = new JsonSlurper();
10219 res = jsonSlurper.parseText(prev.getResponseDataAsString());
10221 assert res instanceof Map;
10222 assert res.groups.size == 2;
10223 assert res.groups[0].pdpGroupState== 'ACTIVE';
10224 assert res.groups[1].pdpGroupState== 'ACTIVE';
10231 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="PAP Test Flow" enabled="true">
10232 <intProp name="ThreadGroup.num_threads">1</intProp>
10233 <intProp name="ThreadGroup.ramp_time">1</intProp>
10234 <longProp name="ThreadGroup.duration">259200</longProp>
10235 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
10236 <boolProp name="ThreadGroup.scheduler">true</boolProp>
10237 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
10238 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
10239 <intProp name="LoopController.loops">-1</intProp>
10240 <boolProp name="LoopController.continue_forever">false</boolProp>
10244 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Health" enabled="true">
10245 <stringProp name="TestPlan.comments">Basic Health Check</stringProp>
10246 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10247 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10248 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10249 <stringProp name="HTTPSampler.protocol">http</stringProp>
10250 <stringProp name="HTTPSampler.path">/policy/pap/v1/healthcheck</stringProp>
10251 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10252 <stringProp name="HTTPSampler.method">GET</stringProp>
10253 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10254 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10255 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10256 <collectionProp name="Arguments.arguments"/>
10258 </HTTPSamplerProxy>
10260 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10261 <collectionProp name="Asserion.test_strings">
10262 <stringProp name="49586">200</stringProp>
10264 <stringProp name="Assertion.custom_message"></stringProp>
10265 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10266 <boolProp name="Assertion.assume_success">false</boolProp>
10267 <intProp name="Assertion.test_type">1</intProp>
10268 </ResponseAssertion>
10270 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
10271 <stringProp name="scriptLanguage">groovy</stringProp>
10272 <stringProp name="parameters"></stringProp>
10273 <stringProp name="filename"></stringProp>
10274 <stringProp name="cacheKey">true</stringProp>
10275 <stringProp name="script">import groovy.json.JsonSlurper;
10278 if (prev.getResponseCode() == '200') {
10279 def jsonSlurper = new JsonSlurper();
10280 res = jsonSlurper.parseText(prev.getResponseDataAsString());
10282 assert res instanceof Map;
10283 assert res.code == 200;
10284 assert res.name == "Policy PAP";
10285 assert res.healthy==true;
10286 assert res.message=="alive";
10292 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="PAP Metrics" enabled="true">
10293 <stringProp name="TestPlan.comments">PAP Metrics</stringProp>
10294 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10295 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10296 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10297 <stringProp name="HTTPSampler.protocol">http</stringProp>
10298 <stringProp name="HTTPSampler.path">/policy/pap/v1/metrics</stringProp>
10299 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10300 <stringProp name="HTTPSampler.method">GET</stringProp>
10301 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10302 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10303 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10304 <collectionProp name="Arguments.arguments"/>
10306 </HTTPSamplerProxy>
10308 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10309 <collectionProp name="Asserion.test_strings">
10310 <stringProp name="49586">200</stringProp>
10312 <stringProp name="Assertion.custom_message"></stringProp>
10313 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10314 <boolProp name="Assertion.assume_success">false</boolProp>
10315 <intProp name="Assertion.test_type">1</intProp>
10316 </ResponseAssertion>
10318 <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="JSR223 PostProcessor" enabled="true">
10319 <stringProp name="cacheKey">true</stringProp>
10320 <stringProp name="filename"></stringProp>
10321 <stringProp name="parameters"></stringProp>
10322 <stringProp name="script">
10323 if (prev.getResponseCode() == '200') {
10324 def res = prev.getResponseDataAsString();
10326 def deploySuccessCount = '0';
10327 if (res.contains('pap_policy_deployments_total{operation="deploy",status="SUCCESS",} ')) {
10328 deploySuccessCount = (res =~ /pap_policy_deployments_total\{operation="deploy",status="SUCCESS",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1];
10331 def undeploySuccessCount = '0';
10332 if (res.contains('pap_policy_deployments_total{operation="undeploy",status="SUCCESS",} ')) {
10333 undeploySuccessCount = (res =~ /pap_policy_deployments_total\{operation="undeploy",status="SUCCESS",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1];
10336 def deployFailureCount = '0';
10337 if (res.contains('pap_policy_deployments_total{operation="deploy",status="FAILURE",} ')) {
10338 deployFailureCount = (res =~ /pap_policy_deployments_total\{operation="deploy",status="FAILURE",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1];
10340 def undeployFailureCount = '0';
10341 if (res.contains('pap_policy_deployments_total{operation="undeploy",status="FAILURE",} ')) {
10342 undeployFailureCount = (res =~ /pap_policy_deployments_total\{operation="undeploy",status="FAILURE",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1]
10345 def simpleDeployAPICount = '0';
10346 if (res.contains('http_server_requests_seconds_count{exception="None",method="POST",outcome="SUCCESS",status="202",uri="/policy/pap/v1/pdps/policies",} ')) {
10347 simpleDeployAPICount = (res =~ /http_server_requests_seconds_count\{exception="None",method="POST",outcome="SUCCESS",status="202",uri="\/policy\/pap\/v1\/pdps\/policies",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1]
10349 def simpleUndeployAPICount = '0';
10350 if (res.contains('http_server_requests_seconds_count{exception="None",method="DELETE",outcome="SUCCESS",status="202",uri="/policy/pap/v1/pdps/policies/{name}",} ')) {
10351 simpleUndeployAPICount = (res =~ /http_server_requests_seconds_count\{exception="None",method="DELETE",outcome="SUCCESS",status="202",uri="\/policy\/pap\/v1\/pdps\/policies\/\{name\}",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1]
10353 def batchDeploymentAPICount = '0';
10354 if (res.contains('http_server_requests_seconds_count{exception="None",method="POST",outcome="SUCCESS",status="202",uri="/policy/pap/v1/pdps/deployments/batch",} ')) {
10355 batchDeploymentAPICount = (res =~ /http_server_requests_seconds_count\{exception="None",method="POST",outcome="SUCCESS",status="202",uri="\/policy\/pap\/v1\/pdps\/deployments\/batch",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1]
10357 log.info("deploySuccessCount: "+ deploySuccessCount);
10358 log.info("undeploySuccessCount: "+ undeploySuccessCount);
10359 log.info("batchDeploymentAPICount: "+ batchDeploymentAPICount);
10360 log.info("simpleDeployAPICount: "+ simpleDeployAPICount);
10361 log.info("simpleUndeployAPICount: "+ simpleUndeployAPICount);
10363 vars.put("deploySuccessCount", deploySuccessCount);
10364 vars.put("undeploySuccessCount", undeploySuccessCount);
10365 vars.put("deployFailureCount", deployFailureCount);
10366 vars.put("undeployFailureCount", undeployFailureCount);
10367 vars.put("simpleDeployAPICount", simpleDeployAPICount);
10368 vars.put("simpleUndeployAPICount", simpleUndeployAPICount);
10369 vars.put("batchDeploymentAPICount", batchDeploymentAPICount);
10372 <stringProp name="scriptLanguage">groovy</stringProp>
10373 </JSR223PostProcessor>
10376 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Query" enabled="true">
10377 <stringProp name="TestPlan.comments">Check PdpGroup Query</stringProp>
10378 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10379 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10380 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10381 <stringProp name="HTTPSampler.protocol">http</stringProp>
10382 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp>
10383 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10384 <stringProp name="HTTPSampler.method">GET</stringProp>
10385 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10386 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10387 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10388 <collectionProp name="Arguments.arguments"/>
10390 </HTTPSamplerProxy>
10392 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10393 <collectionProp name="Asserion.test_strings">
10394 <stringProp name="49586">200</stringProp>
10396 <stringProp name="Assertion.custom_message"></stringProp>
10397 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10398 <boolProp name="Assertion.assume_success">false</boolProp>
10399 <intProp name="Assertion.test_type">1</intProp>
10400 </ResponseAssertion>
10402 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
10403 <stringProp name="scriptLanguage">groovy</stringProp>
10404 <stringProp name="parameters"></stringProp>
10405 <stringProp name="filename"></stringProp>
10406 <stringProp name="cacheKey">true</stringProp>
10407 <stringProp name="script">import groovy.json.JsonSlurper;
10409 if (prev.getResponseCode() == '200') {
10410 def jsonSlurper = new JsonSlurper();
10411 res = jsonSlurper.parseText(prev.getResponseDataAsString());
10413 assert res instanceof Map;
10414 assert res.groups.size == 2;
10415 assert res.groups[0].pdpGroupState== 'ACTIVE';
10416 assert res.groups[1].pdpGroupState== 'ACTIVE';
10422 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy defaultDomain Policy" enabled="true">
10423 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10424 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10425 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10426 <stringProp name="HTTPSampler.protocol">http</stringProp>
10427 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
10428 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10429 <stringProp name="HTTPSampler.method">POST</stringProp>
10430 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10431 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
10432 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
10433 <collectionProp name="Arguments.arguments">
10434 <elementProp name="" elementType="HTTPArgument">
10435 <boolProp name="HTTPArgument.always_encode">false</boolProp>
10436 <stringProp name="Argument.value">{
10437 "policies" : [
10439 "policy-id": "operational.apex.stabilityTestDefaultDomain",
10440 "policy-version": "1.0.0"
10444 <stringProp name="Argument.metadata">=</stringProp>
10448 </HTTPSamplerProxy>
10450 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10451 <collectionProp name="Asserion.test_strings">
10452 <stringProp name="49588">202</stringProp>
10454 <stringProp name="Assertion.custom_message"></stringProp>
10455 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10456 <boolProp name="Assertion.assume_success">false</boolProp>
10457 <intProp name="Assertion.test_type">1</intProp>
10458 </ResponseAssertion>
10460 <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
10461 <stringProp name="ConstantTimer.delay">5000</stringProp>
10464 <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="JSR223 PostProcessor" enabled="true">
10465 <stringProp name="TestPlan.comments">Set variables to use for verifying the deployment status</stringProp>
10466 <stringProp name="scriptLanguage">groovy</stringProp>
10467 <stringProp name="parameters"></stringProp>
10468 <stringProp name="filename"></stringProp>
10469 <stringProp name="cacheKey">true</stringProp>
10470 <stringProp name="script">vars.put("dGstatusResponse", "");
10471 vars.put("dg_status_check_counter", "0");</stringProp>
10472 </JSR223PostProcessor>
10475 <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="While Controller" enabled="true">
10476 <stringProp name="WhileController.condition">${__javaScript((vars.get("dGstatusResponse") == null || vars.get("dGstatusResponse").indexOf("SUCCESS") == -1) && (parseInt(vars.get("dg_status_check_counter")) < 30),)}</stringProp>
10477 <stringProp name="TestPlan.comments">Wait until the policy is successfully deployed, retry for some time</stringProp>
10480 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check status of defaultGroup policy" enabled="true">
10481 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10482 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10483 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10484 <stringProp name="HTTPSampler.protocol">http</stringProp>
10485 <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status/defaultGroup/operational.apex.stabilityTestDefaultDomain/1.0.0</stringProp>
10486 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10487 <stringProp name="HTTPSampler.method">GET</stringProp>
10488 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10489 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10490 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10491 <collectionProp name="Arguments.arguments"/>
10493 </HTTPSamplerProxy>
10495 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10496 <collectionProp name="Asserion.test_strings">
10497 <stringProp name="49586">200</stringProp>
10499 <stringProp name="Assertion.custom_message"></stringProp>
10500 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10501 <boolProp name="Assertion.assume_success">false</boolProp>
10502 <intProp name="Assertion.test_type">1</intProp>
10503 </ResponseAssertion>
10505 <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="JSR223 PostProcessor" enabled="true">
10506 <stringProp name="scriptLanguage">groovy</stringProp>
10507 <stringProp name="parameters"></stringProp>
10508 <stringProp name="filename"></stringProp>
10509 <stringProp name="cacheKey">true</stringProp>
10510 <stringProp name="script">
10511 if (prev.getResponseCode() == '200') {
10512 def res = prev.getResponseDataAsString();
10513 vars.put("dGstatusResponse", res);
10515 int x =(vars.get("dg_status_check_counter")).toInteger();
10517 vars.put("dg_status_check_counter", Integer.toString(x));
10520 </JSR223PostProcessor>
10523 <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
10524 <stringProp name="ConstantTimer.delay">2000</stringProp>
10528 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Audit defaultGroup" enabled="true">
10529 <stringProp name="TestPlan.comments">Check PdpGroup Audit</stringProp>
10530 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10531 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10532 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10533 <stringProp name="HTTPSampler.protocol">http</stringProp>
10534 <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/audit/defaultGroup</stringProp>
10535 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10536 <stringProp name="HTTPSampler.method">GET</stringProp>
10537 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10538 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10539 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10540 <collectionProp name="Arguments.arguments"/>
10542 </HTTPSamplerProxy>
10544 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10545 <collectionProp name="Asserion.test_strings">
10546 <stringProp name="49586">200</stringProp>
10548 <stringProp name="Assertion.custom_message"></stringProp>
10549 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10550 <boolProp name="Assertion.assume_success">false</boolProp>
10551 <intProp name="Assertion.test_type">1</intProp>
10552 </ResponseAssertion>
10555 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Audit Policy (defaultGroup)" enabled="true">
10556 <stringProp name="TestPlan.comments">Check PdpGroup Audit</stringProp>
10557 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10558 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10559 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10560 <stringProp name="HTTPSampler.protocol">http</stringProp>
10561 <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/audit/defaultGroup/operational.apex.stabilityTestDefaultDomain/1.0.0</stringProp>
10562 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10563 <stringProp name="HTTPSampler.method">GET</stringProp>
10564 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10565 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10566 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10567 <collectionProp name="Arguments.arguments"/>
10569 </HTTPSamplerProxy>
10571 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10572 <collectionProp name="Asserion.test_strings">
10573 <stringProp name="49586">200</stringProp>
10575 <stringProp name="Assertion.custom_message"></stringProp>
10576 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10577 <boolProp name="Assertion.assume_success">false</boolProp>
10578 <intProp name="Assertion.test_type">1</intProp>
10579 </ResponseAssertion>
10582 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Query" enabled="true">
10583 <stringProp name="TestPlan.comments">Check PdpGroup Query</stringProp>
10584 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10585 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10586 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10587 <stringProp name="HTTPSampler.protocol">http</stringProp>
10588 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp>
10589 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10590 <stringProp name="HTTPSampler.method">GET</stringProp>
10591 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10592 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10593 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10594 <collectionProp name="Arguments.arguments"/>
10596 </HTTPSamplerProxy>
10598 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10599 <collectionProp name="Asserion.test_strings">
10600 <stringProp name="49586">200</stringProp>
10602 <stringProp name="Assertion.custom_message"></stringProp>
10603 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10604 <boolProp name="Assertion.assume_success">false</boolProp>
10605 <intProp name="Assertion.test_type">1</intProp>
10606 </ResponseAssertion>
10608 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
10609 <stringProp name="scriptLanguage">groovy</stringProp>
10610 <stringProp name="parameters"></stringProp>
10611 <stringProp name="filename"></stringProp>
10612 <stringProp name="cacheKey">true</stringProp>
10613 <stringProp name="script">import groovy.json.JsonSlurper;
10616 if (prev.getResponseCode() == '200') {
10617 def jsonSlurper = new JsonSlurper();
10618 res = jsonSlurper.parseText(prev.getResponseDataAsString());
10620 assert res instanceof Map;
10621 assert res.groups.size == 2;
10623 for(int groupSize=0;groupSize<res.groups.size;groupSize++){
10625 for(int subGrpSize=0;subGrpSize<res.groups[groupSize].pdpSubgroups.size;subGrpSize++){
10627 def pdpSubGrp=res.groups[groupSize].pdpSubgroups[subGrpSize];
10628 if(pdpSubGrp.pdpType =='apex'){
10629 assert pdpSubGrp.pdpInstances.size == 1; // 1 instance in defaultGroup and 1 in sampleGroup
10630 if (res.groups[groupSize].name == 'defaultGroup') {
10631 // stabilityTestDefaultDomain policy is only deployed to defaultGroup
10632 assert pdpSubGrp.policies.size == 1;
10633 assert pdpSubGrp.policies[0].name == 'operational.apex.stabilityTestDefaultDomain';
10635 else if(res.groups[groupSize].name == 'sampleGroup' ){
10636 assert pdpSubGrp.policies.size == 0;
10637 //assert pdpSubGrp.policies[0].name == 'operational.apex.stabilityTestDefaultDomain';
10648 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deployment Update for sampleGroup" enabled="true">
10649 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10650 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10651 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10652 <stringProp name="HTTPSampler.protocol">http</stringProp>
10653 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp>
10654 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10655 <stringProp name="HTTPSampler.method">POST</stringProp>
10656 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10657 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
10658 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
10659 <collectionProp name="Arguments.arguments">
10660 <elementProp name="" elementType="HTTPArgument">
10661 <boolProp name="HTTPArgument.always_encode">false</boolProp>
10662 <stringProp name="Argument.value">{
10663 "groups": [
10665 "name": "sampleGroup",
10666 "deploymentSubgroups": [
10668 "pdpType": "apex",
10669 "action": "POST",
10670 "policies": [
10672 "name": "operational.apex.stabilityTestSampleDomain",
10673 "version": "1.0.0"
10681 <stringProp name="Argument.metadata">=</stringProp>
10685 </HTTPSamplerProxy>
10687 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10688 <collectionProp name="Asserion.test_strings">
10689 <stringProp name="49588">202</stringProp>
10691 <stringProp name="Assertion.custom_message"></stringProp>
10692 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10693 <boolProp name="Assertion.assume_success">false</boolProp>
10694 <intProp name="Assertion.test_type">1</intProp>
10695 </ResponseAssertion>
10697 <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
10698 <stringProp name="ConstantTimer.delay">5000</stringProp>
10701 <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="JSR223 PostProcessor" enabled="true">
10702 <stringProp name="TestPlan.comments">Set variables to use for verifying the deployment status</stringProp>
10703 <stringProp name="scriptLanguage">groovy</stringProp>
10704 <stringProp name="parameters"></stringProp>
10705 <stringProp name="filename"></stringProp>
10706 <stringProp name="cacheKey">true</stringProp>
10707 <stringProp name="script">vars.put("sGstatusResponse", "");
10708 vars.put("sg_status_check_counter", "0");</stringProp>
10709 </JSR223PostProcessor>
10712 <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="While Controller" enabled="true">
10713 <stringProp name="WhileController.condition">${__javaScript((vars.get("sGstatusResponse") == null || vars.get("sGstatusResponse").indexOf("SUCCESS") == -1) && (parseInt(vars.get("sg_status_check_counter")) < 30),)}</stringProp>
10714 <stringProp name="TestPlan.comments">Wait until the policy is successfully deployed, retry for some time</stringProp>
10717 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check status of sampleGroup policy" enabled="true">
10718 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10719 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10720 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10721 <stringProp name="HTTPSampler.protocol">http</stringProp>
10722 <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status/sampleGroup/operational.apex.stabilityTestSampleDomain/1.0.0</stringProp>
10723 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10724 <stringProp name="HTTPSampler.method">GET</stringProp>
10725 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10726 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10727 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10728 <collectionProp name="Arguments.arguments"/>
10730 </HTTPSamplerProxy>
10732 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10733 <collectionProp name="Asserion.test_strings">
10734 <stringProp name="49586">200</stringProp>
10736 <stringProp name="Assertion.custom_message"></stringProp>
10737 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10738 <boolProp name="Assertion.assume_success">false</boolProp>
10739 <intProp name="Assertion.test_type">1</intProp>
10740 </ResponseAssertion>
10742 <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="JSR223 PostProcessor" enabled="true">
10743 <stringProp name="scriptLanguage">groovy</stringProp>
10744 <stringProp name="parameters"></stringProp>
10745 <stringProp name="filename"></stringProp>
10746 <stringProp name="cacheKey">true</stringProp>
10747 <stringProp name="script">
10748 if (prev.getResponseCode() == '200') {
10749 def res = prev.getResponseDataAsString();
10750 vars.put("sGstatusResponse", res);
10752 int x =(vars.get("sg_status_check_counter")).toInteger();
10754 vars.put("sg_status_check_counter", Integer.toString(x));
10756 </JSR223PostProcessor>
10759 <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
10760 <stringProp name="ConstantTimer.delay">2000</stringProp>
10764 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check status of PdpGroups" enabled="true">
10765 <stringProp name="TestPlan.comments">Query policies status</stringProp>
10766 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10767 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10768 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10769 <stringProp name="HTTPSampler.protocol">http</stringProp>
10770 <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status</stringProp>
10771 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10772 <stringProp name="HTTPSampler.method">GET</stringProp>
10773 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10774 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10775 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10776 <collectionProp name="Arguments.arguments"/>
10778 </HTTPSamplerProxy>
10780 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10781 <collectionProp name="Asserion.test_strings">
10782 <stringProp name="49586">200</stringProp>
10784 <stringProp name="Assertion.custom_message"></stringProp>
10785 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10786 <boolProp name="Assertion.assume_success">false</boolProp>
10787 <intProp name="Assertion.test_type">1</intProp>
10788 </ResponseAssertion>
10791 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Query" enabled="true">
10792 <stringProp name="TestPlan.comments">Check PdpGroup Query</stringProp>
10793 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10794 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10795 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10796 <stringProp name="HTTPSampler.protocol">http</stringProp>
10797 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp>
10798 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10799 <stringProp name="HTTPSampler.method">GET</stringProp>
10800 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10801 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10802 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10803 <collectionProp name="Arguments.arguments"/>
10805 </HTTPSamplerProxy>
10807 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10808 <collectionProp name="Asserion.test_strings">
10809 <stringProp name="49586">200</stringProp>
10811 <stringProp name="Assertion.custom_message"></stringProp>
10812 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10813 <boolProp name="Assertion.assume_success">false</boolProp>
10814 <intProp name="Assertion.test_type">1</intProp>
10815 </ResponseAssertion>
10817 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
10818 <stringProp name="scriptLanguage">groovy</stringProp>
10819 <stringProp name="parameters"></stringProp>
10820 <stringProp name="filename"></stringProp>
10821 <stringProp name="cacheKey">true</stringProp>
10822 <stringProp name="script">import groovy.json.JsonSlurper;
10825 if (prev.getResponseCode() == '200') {
10826 def jsonSlurper = new JsonSlurper();
10827 res = jsonSlurper.parseText(prev.getResponseDataAsString());
10829 assert res instanceof Map;
10830 assert res.groups.size == 2;
10832 for(int groupSize=0;groupSize<res.groups.size;groupSize++){
10834 for(int subGrpSize=0;subGrpSize<res.groups[groupSize].pdpSubgroups.size;subGrpSize++){
10836 def pdpSubGrp=res.groups[groupSize].pdpSubgroups[subGrpSize];
10837 if(pdpSubGrp.pdpType == 'apex'){
10838 if (res.groups[groupSize].name == 'defaultGroup') {
10839 assert pdpSubGrp.policies.size == 1;
10840 assert pdpSubGrp.policies[0].name == 'operational.apex.stabilityTestDefaultDomain';
10841 }else if(res.groups[groupSize].name == 'sampleGroup' ){
10842 // only stabilityTestSampleDomain policy is deployed to sampleGroup
10843 assert pdpSubGrp.policies.size == 1;
10844 assert (pdpSubGrp.policies[0].name == 'operational.apex.stabilityTestSampleDomain');
10855 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Audit sampleGroup policy" enabled="true">
10856 <stringProp name="TestPlan.comments">Check Audit sampleGroup policy</stringProp>
10857 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10858 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10859 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10860 <stringProp name="HTTPSampler.protocol">http</stringProp>
10861 <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/audit/sampleGroup/operational.apex.stabilityTestSampleDomain/1.0.0</stringProp>
10862 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10863 <stringProp name="HTTPSampler.method">GET</stringProp>
10864 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10865 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10866 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10867 <collectionProp name="Arguments.arguments"/>
10869 </HTTPSamplerProxy>
10871 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10872 <collectionProp name="Asserion.test_strings">
10873 <stringProp name="49586">200</stringProp>
10875 <stringProp name="Assertion.custom_message"></stringProp>
10876 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10877 <boolProp name="Assertion.assume_success">false</boolProp>
10878 <intProp name="Assertion.test_type">1</intProp>
10879 </ResponseAssertion>
10882 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Consolidated Health" enabled="true">
10883 <stringProp name="TestPlan.comments">Consolidated Health Check</stringProp>
10884 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10885 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10886 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10887 <stringProp name="HTTPSampler.protocol">http</stringProp>
10888 <stringProp name="HTTPSampler.path">/policy/pap/v1/components/healthcheck</stringProp>
10889 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10890 <stringProp name="HTTPSampler.method">GET</stringProp>
10891 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10892 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10893 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10894 <collectionProp name="Arguments.arguments"/>
10896 </HTTPSamplerProxy>
10898 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10899 <collectionProp name="Asserion.test_strings">
10900 <stringProp name="49586">200</stringProp>
10902 <stringProp name="Assertion.custom_message"></stringProp>
10903 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10904 <boolProp name="Assertion.assume_success">false</boolProp>
10905 <intProp name="Assertion.test_type">1</intProp>
10906 </ResponseAssertion>
10908 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
10909 <stringProp name="scriptLanguage">groovy</stringProp>
10910 <stringProp name="parameters"></stringProp>
10911 <stringProp name="filename"></stringProp>
10912 <stringProp name="cacheKey">true</stringProp>
10913 <stringProp name="script">import groovy.json.JsonSlurper;
10916 if (prev.getResponseCode() == '200') {
10917 def jsonSlurper = new JsonSlurper();
10918 res = jsonSlurper.parseText(prev.getResponseDataAsString());
10919 assert res instanceof Map;
10920 //assert res.pdps.xacml!=null;
10921 //assert res.pdps.drools!=null;
10922 assert res.pdps.apex!=null;
10928 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Deployed Policies" enabled="true">
10929 <stringProp name="TestPlan.comments">Query Deployed policies</stringProp>
10930 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10931 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10932 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10933 <stringProp name="HTTPSampler.protocol">http</stringProp>
10934 <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/deployed</stringProp>
10935 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10936 <stringProp name="HTTPSampler.method">GET</stringProp>
10937 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10938 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
10939 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
10940 <collectionProp name="Arguments.arguments"/>
10942 </HTTPSamplerProxy>
10944 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
10945 <collectionProp name="Asserion.test_strings">
10946 <stringProp name="49586">200</stringProp>
10948 <stringProp name="Assertion.custom_message"></stringProp>
10949 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
10950 <boolProp name="Assertion.assume_success">false</boolProp>
10951 <intProp name="Assertion.test_type">1</intProp>
10952 </ResponseAssertion>
10954 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
10955 <stringProp name="scriptLanguage">groovy</stringProp>
10956 <stringProp name="parameters"></stringProp>
10957 <stringProp name="filename"></stringProp>
10958 <stringProp name="cacheKey">true</stringProp>
10959 <stringProp name="script">import groovy.json.JsonSlurper;
10962 if (prev.getResponseCode() == '200') {
10963 def jsonSlurper = new JsonSlurper();
10964 res = jsonSlurper.parseText(prev.getResponseDataAsString());
10965 assert res.size >1 ;
10972 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Policy in sampleGroup" enabled="true">
10973 <intProp name="HTTPSampler.concurrentPool">6</intProp>
10974 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
10975 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
10976 <stringProp name="HTTPSampler.protocol">http</stringProp>
10977 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp>
10978 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
10979 <stringProp name="HTTPSampler.method">POST</stringProp>
10980 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
10981 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
10982 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
10983 <collectionProp name="Arguments.arguments">
10984 <elementProp name="" elementType="HTTPArgument">
10985 <boolProp name="HTTPArgument.always_encode">false</boolProp>
10986 <stringProp name="Argument.value">{
10987 "groups": [
10989 "name": "sampleGroup",
10990 "deploymentSubgroups": [
10992 "pdpType": "apex",
10993 "action": "DELETE",
10994 "policies": [
10996 "name": "operational.apex.stabilityTestSampleDomain",
10997 "version": "1.0.0"
11005 <stringProp name="Argument.metadata">=</stringProp>
11009 </HTTPSamplerProxy>
11011 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
11012 <collectionProp name="Asserion.test_strings">
11013 <stringProp name="49588">202</stringProp>
11015 <stringProp name="Assertion.custom_message"></stringProp>
11016 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
11017 <boolProp name="Assertion.assume_success">false</boolProp>
11018 <intProp name="Assertion.test_type">1</intProp>
11019 </ResponseAssertion>
11022 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Default Policy" enabled="true">
11023 <intProp name="HTTPSampler.concurrentPool">6</intProp>
11024 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
11025 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
11026 <stringProp name="HTTPSampler.protocol">http</stringProp>
11027 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/operational.apex.stabilityTestDefaultDomain</stringProp>
11028 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11029 <stringProp name="HTTPSampler.method">DELETE</stringProp>
11030 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
11031 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
11032 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
11033 <collectionProp name="Arguments.arguments"/>
11035 </HTTPSamplerProxy>
11037 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
11038 <collectionProp name="Asserion.test_strings">
11039 <stringProp name="49588">202</stringProp>
11041 <stringProp name="Assertion.custom_message"></stringProp>
11042 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
11043 <boolProp name="Assertion.assume_success">false</boolProp>
11044 <intProp name="Assertion.test_type">1</intProp>
11045 </ResponseAssertion>
11047 <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
11048 <stringProp name="ConstantTimer.delay">5000</stringProp>
11051 <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="JSR223 PostProcessor" enabled="true">
11052 <stringProp name="TestPlan.comments">Set variables to use for verifying the deployment status</stringProp>
11053 <stringProp name="scriptLanguage">groovy</stringProp>
11054 <stringProp name="parameters"></stringProp>
11055 <stringProp name="filename"></stringProp>
11056 <stringProp name="cacheKey">true</stringProp>
11057 <stringProp name="script">// reset with an initial value for the while loop condition in next step to pass and the status request is made atleast once
11058 vars.put("statusResponse", "operational.apex.stabilityTestDefaultDomain");
11059 //initialize counter to 0
11060 vars.put("status_check_counter", "0");</stringProp>
11061 </JSR223PostProcessor>
11064 <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="While Controller" enabled="true">
11065 <stringProp name="WhileController.condition">${__javaScript((vars.get("statusResponse").indexOf("operational.apex.stabilityTestDefaultDomain") != -1 || vars.get("statusResponse").indexOf("operational.apex.stabilityTestSampleDomain") != -1) && (parseInt(vars.get("status_check_counter")) < 30),)}</stringProp>
11066 <stringProp name="TestPlan.comments">Wait until all policies are successfully undeployed</stringProp>
11069 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check status of policies" enabled="true">
11070 <intProp name="HTTPSampler.concurrentPool">6</intProp>
11071 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
11072 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
11073 <stringProp name="HTTPSampler.protocol">http</stringProp>
11074 <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status</stringProp>
11075 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11076 <stringProp name="HTTPSampler.method">GET</stringProp>
11077 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
11078 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
11079 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
11080 <collectionProp name="Arguments.arguments"/>
11082 </HTTPSamplerProxy>
11084 <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="JSR223 PostProcessor" enabled="true">
11085 <stringProp name="scriptLanguage">groovy</stringProp>
11086 <stringProp name="parameters"></stringProp>
11087 <stringProp name="filename"></stringProp>
11088 <stringProp name="cacheKey">true</stringProp>
11089 <stringProp name="script">
11090 if (prev.getResponseCode() == '200') {
11091 def res = prev.getResponseDataAsString();
11092 vars.put("statusResponse", res);
11094 int x =(vars.get("status_check_counter")).toInteger();
11096 vars.put("status_check_counter", Integer.toString(x));
11098 </JSR223PostProcessor>
11101 <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
11102 <stringProp name="ConstantTimer.delay">3000</stringProp>
11106 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Query" enabled="true">
11107 <stringProp name="TestPlan.comments">Check PdpGroup Query</stringProp>
11108 <intProp name="HTTPSampler.concurrentPool">6</intProp>
11109 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
11110 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
11111 <stringProp name="HTTPSampler.protocol">http</stringProp>
11112 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp>
11113 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11114 <stringProp name="HTTPSampler.method">GET</stringProp>
11115 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
11116 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
11117 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
11118 <collectionProp name="Arguments.arguments"/>
11120 </HTTPSamplerProxy>
11122 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
11123 <collectionProp name="Asserion.test_strings">
11124 <stringProp name="49586">200</stringProp>
11126 <stringProp name="Assertion.custom_message"></stringProp>
11127 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
11128 <boolProp name="Assertion.assume_success">false</boolProp>
11129 <intProp name="Assertion.test_type">1</intProp>
11130 </ResponseAssertion>
11132 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
11133 <stringProp name="scriptLanguage">groovy</stringProp>
11134 <stringProp name="parameters"></stringProp>
11135 <stringProp name="filename"></stringProp>
11136 <stringProp name="cacheKey">true</stringProp>
11137 <stringProp name="script">import groovy.json.JsonSlurper;
11139 if (prev.getResponseCode() == '200') {
11140 def jsonSlurper = new JsonSlurper();
11141 res = jsonSlurper.parseText(prev.getResponseDataAsString());
11143 assert res instanceof Map;
11144 assert res.groups.size == 2;
11146 for(int groupSize=0;groupSize<res.groups.size;groupSize++){
11148 for(int subGrpSize=0;subGrpSize<res.groups[groupSize].pdpSubgroups.size;subGrpSize++){
11150 def pdpSubGrp=res.groups[groupSize].pdpSubgroups[subGrpSize];
11151 if(pdpSubGrp.pdpType =='apex'){
11152 assert pdpSubGrp.pdpInstances.size == 1; // 1 instance in defaultGroup and 1 in sampleGroup
11153 if (res.groups[groupSize].name == 'defaultGroup') {
11154 assert pdpSubGrp.policies.size == 0;
11156 else if(res.groups[groupSize].name == 'sampleGroup' ){
11157 assert pdpSubGrp.policies.size == 0;
11168 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="PAP Metrics after deployments" enabled="true">
11169 <stringProp name="TestPlan.comments">PAP Metrics after deployments</stringProp>
11170 <intProp name="HTTPSampler.concurrentPool">6</intProp>
11171 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
11172 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
11173 <stringProp name="HTTPSampler.protocol">http</stringProp>
11174 <stringProp name="HTTPSampler.path">/policy/pap/v1/metrics</stringProp>
11175 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11176 <stringProp name="HTTPSampler.method">GET</stringProp>
11177 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
11178 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
11179 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
11180 <collectionProp name="Arguments.arguments"/>
11182 </HTTPSamplerProxy>
11184 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
11185 <collectionProp name="Asserion.test_strings">
11186 <stringProp name="49586">200</stringProp>
11188 <stringProp name="Assertion.custom_message"></stringProp>
11189 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
11190 <boolProp name="Assertion.assume_success">false</boolProp>
11191 <intProp name="Assertion.test_type">1</intProp>
11192 </ResponseAssertion>
11194 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
11195 <stringProp name="scriptLanguage">groovy</stringProp>
11196 <stringProp name="parameters"></stringProp>
11197 <stringProp name="filename"></stringProp>
11198 <stringProp name="cacheKey">true</stringProp>
11199 <stringProp name="script">
11200 if (prev.getResponseCode() == '200') {
11201 def res = prev.getResponseDataAsString();
11203 def newDeploySuccessCount = '0';
11204 if (res.contains('pap_policy_deployments_total{operation="deploy",status="SUCCESS",} ')) {
11205 newDeploySuccessCount = (res =~ /pap_policy_deployments_total\{operation="deploy",status="SUCCESS",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1];
11208 def newUndeploySuccessCount = '0';
11209 if (res.contains('pap_policy_deployments_total{operation="undeploy",status="SUCCESS",} ')) {
11210 newUndeploySuccessCount = (res =~ /pap_policy_deployments_total\{operation="undeploy",status="SUCCESS",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1];
11213 def newDeployFailureCount = '0';
11214 if (res.contains('pap_policy_deployments_total{operation="deploy",status="FAILURE",} ')) {
11215 newDeployFailureCount = (res =~ /pap_policy_deployments_total\{operation="deploy",status="FAILURE",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1];
11217 def newUndeployFailureCount = '0';
11218 if (res.contains('pap_policy_deployments_total{operation="undeploy",status="FAILURE",} ')) {
11219 newUndeployFailureCount = (res =~ /pap_policy_deployments_total\{operation="undeploy",status="FAILURE",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1]
11222 def newSimpleDeployAPICount = '0';
11223 if (res.contains('http_server_requests_seconds_count{error="none",exception="none",method="POST",outcome="SUCCESS",status="202",uri="/pdps/policies",} ')) {
11224 newSimpleDeployAPICount = (res =~ /http_server_requests_seconds_count\{error="none",exception="none",method="POST",outcome="SUCCESS",status="202",uri="\/pdps\/policies",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1]
11226 def newSimpleUndeployAPICount = '0';
11227 if (res.contains('http_server_requests_seconds_count{error="none",exception="none",method="DELETE",outcome="SUCCESS",status="202",uri="/pdps/policies/{name}",} ')) {
11228 newSimpleUndeployAPICount = (res =~ /http_server_requests_seconds_count\{error="none",exception="none",method="DELETE",outcome="SUCCESS",status="202",uri="\/pdps\/policies\/\{name\}",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1]
11230 def newBatchDeploymentAPICount = '0';
11231 if (res.contains('http_server_requests_seconds_count{error="none",exception="none",method="POST",outcome="SUCCESS",status="202",uri="/pdps/deployments/batch",} ')) {
11232 newBatchDeploymentAPICount = (res =~ /http_server_requests_seconds_count\{error="none",exception="none",method="POST",outcome="SUCCESS",status="202",uri="\/pdps\/deployments\/batch",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1]
11234 log.info("newDeploySuccessCount: "+ newDeploySuccessCount);
11235 log.info("newUndeploySuccessCount: "+ newUndeploySuccessCount);
11236 log.info("newBatchDeploymentAPICount: "+ newBatchDeploymentAPICount);
11237 log.info("newSimpleDeployAPICount: "+ newSimpleDeployAPICount);
11238 log.info("newSimpleUndeployAPICount: "+ newSimpleUndeployAPICount);
11240 assert Long.valueOf(vars.get("deployFailureCount")) == Long.valueOf(newDeployFailureCount);
11241 assert Long.valueOf(vars.get("undeployFailureCount")) == Long.valueOf(newUndeployFailureCount);
11242 // One policy is deployed/undeployed using batch API and the other one using simple APIs
11243 assert (Long.valueOf(vars.get("simpleDeployAPICount"))+1) <= Long.valueOf(newSimpleDeployAPICount);
11244 assert (Long.valueOf(vars.get("simpleUndeployAPICount"))+1) <= Long.valueOf(newSimpleUndeployAPICount);
11245 assert (Long.valueOf(vars.get("batchDeploymentAPICount"))+2) <= Long.valueOf(newBatchDeploymentAPICount);
11246 assert (Long.valueOf(vars.get("deploySuccessCount"))+2) <= Long.valueOf(newDeploySuccessCount);
11247 assert (Long.valueOf(vars.get("undeploySuccessCount"))+2) <= Long.valueOf(newUndeploySuccessCount);
11254 <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
11255 <intProp name="ThreadGroup.num_threads">1</intProp>
11256 <intProp name="ThreadGroup.ramp_time">1</intProp>
11257 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
11258 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
11259 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
11260 <stringProp name="LoopController.loops">1</stringProp>
11261 <boolProp name="LoopController.continue_forever">false</boolProp>
11265 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change sampleGroup State to PASSIVE" enabled="true">
11266 <intProp name="HTTPSampler.concurrentPool">6</intProp>
11267 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
11268 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
11269 <stringProp name="HTTPSampler.protocol">http</stringProp>
11270 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/sampleGroup?state=PASSIVE</stringProp>
11271 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11272 <stringProp name="HTTPSampler.method">PUT</stringProp>
11273 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
11274 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
11275 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
11276 <collectionProp name="Arguments.arguments"/>
11278 </HTTPSamplerProxy>
11280 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
11281 <collectionProp name="Asserion.test_strings">
11282 <stringProp name="49586">200</stringProp>
11284 <stringProp name="Assertion.custom_message"></stringProp>
11285 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
11286 <boolProp name="Assertion.assume_success">false</boolProp>
11287 <intProp name="Assertion.test_type">1</intProp>
11288 </ResponseAssertion>
11291 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete PdpGroup SampleGroup" enabled="true">
11292 <stringProp name="TestPlan.comments">Delete PdpGroup </stringProp>
11293 <intProp name="HTTPSampler.concurrentPool">6</intProp>
11294 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
11295 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
11296 <stringProp name="HTTPSampler.protocol">http</stringProp>
11297 <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/groups/sampleGroup</stringProp>
11298 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11299 <stringProp name="HTTPSampler.method">DELETE</stringProp>
11300 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
11301 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
11302 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
11303 <collectionProp name="Arguments.arguments"/>
11305 </HTTPSamplerProxy>
11307 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
11308 <collectionProp name="Asserion.test_strings">
11309 <stringProp name="49586">200</stringProp>
11311 <stringProp name="Assertion.custom_message"></stringProp>
11312 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
11313 <boolProp name="Assertion.assume_success">false</boolProp>
11314 <intProp name="Assertion.test_type">1</intProp>
11315 </ResponseAssertion>
11318 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change defaultGroup State to PASSIVE" enabled="true">
11319 <intProp name="HTTPSampler.concurrentPool">6</intProp>
11320 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
11321 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
11322 <stringProp name="HTTPSampler.protocol">http</stringProp>
11323 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/defaultGroup?state=PASSIVE</stringProp>
11324 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11325 <stringProp name="HTTPSampler.method">PUT</stringProp>
11326 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
11327 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
11328 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
11329 <collectionProp name="Arguments.arguments"/>
11331 </HTTPSamplerProxy>
11333 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
11334 <collectionProp name="Asserion.test_strings">
11335 <stringProp name="49586">200</stringProp>
11337 <stringProp name="Assertion.custom_message"></stringProp>
11338 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
11339 <boolProp name="Assertion.assume_success">false</boolProp>
11340 <intProp name="Assertion.test_type">1</intProp>
11341 </ResponseAssertion>
11344 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy defaultDomain" enabled="true">
11345 <intProp name="HTTPSampler.concurrentPool">6</intProp>
11346 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
11347 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
11348 <stringProp name="HTTPSampler.protocol">http</stringProp>
11349 <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0/policies/operational.apex.stabilityTestDefaultDomain/versions/1.0.0</stringProp>
11350 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11351 <stringProp name="HTTPSampler.method">DELETE</stringProp>
11352 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
11353 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
11354 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
11355 <collectionProp name="Arguments.arguments"/>
11357 </HTTPSamplerProxy>
11359 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
11360 <collectionProp name="Asserion.test_strings">
11361 <stringProp name="49586">200</stringProp>
11363 <stringProp name="Assertion.custom_message"></stringProp>
11364 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
11365 <boolProp name="Assertion.assume_success">false</boolProp>
11366 <intProp name="Assertion.test_type">1</intProp>
11367 </ResponseAssertion>
11370 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy for sampleGroup" enabled="true">
11371 <intProp name="HTTPSampler.concurrentPool">6</intProp>
11372 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
11373 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
11374 <stringProp name="HTTPSampler.protocol">http</stringProp>
11375 <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/operational.apex.stabilityTestSampleDomain/versions/1.0.0</stringProp>
11376 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11377 <stringProp name="HTTPSampler.method">DELETE</stringProp>
11378 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
11379 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
11380 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
11381 <collectionProp name="Arguments.arguments"/>
11383 </HTTPSamplerProxy>
11385 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
11386 <collectionProp name="Asserion.test_strings">
11387 <stringProp name="49586">200</stringProp>
11389 <stringProp name="Assertion.custom_message"></stringProp>
11390 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
11391 <boolProp name="Assertion.assume_success">false</boolProp>
11392 <intProp name="Assertion.test_type">1</intProp>
11393 </ResponseAssertion>
11396 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Nodetemplate metadata for sampleDomain policy" enabled="true">
11397 <intProp name="HTTPSampler.concurrentPool">6</intProp>
11398 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
11399 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
11400 <stringProp name="HTTPSampler.protocol">http</stringProp>
11401 <stringProp name="HTTPSampler.path">/policy/api/v1/nodetemplates/apex.metadata.pnf/versions/1.0.0</stringProp>
11402 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
11403 <stringProp name="HTTPSampler.method">DELETE</stringProp>
11404 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
11405 <boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
11406 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
11407 <collectionProp name="Arguments.arguments"/>
11409 </HTTPSamplerProxy>
11411 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
11412 <collectionProp name="Asserion.test_strings">
11413 <stringProp name="49586">200</stringProp>
11415 <stringProp name="Assertion.custom_message"></stringProp>
11416 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
11417 <boolProp name="Assertion.assume_success">false</boolProp>
11418 <intProp name="Assertion.test_type">1</intProp>
11419 </ResponseAssertion>
11423 <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
11424 <boolProp name="ResultCollector.error_logging">false</boolProp>
11426 <name>saveConfig</name>
11427 <value class="SampleSaveConfiguration">
11429 <latency>true</latency>
11430 <timestamp>true</timestamp>
11431 <success>true</success>
11432 <label>true</label>
11434 <message>true</message>
11435 <threadName>true</threadName>
11436 <dataType>true</dataType>
11437 <encoding>false</encoding>
11438 <assertions>true</assertions>
11439 <subresults>true</subresults>
11440 <responseData>false</responseData>
11441 <samplerData>false</samplerData>
11443 <fieldNames>true</fieldNames>
11444 <responseHeaders>false</responseHeaders>
11445 <requestHeaders>false</requestHeaders>
11446 <responseDataOnError>false</responseDataOnError>
11447 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
11448 <assertionsResultsToSave>0</assertionsResultsToSave>
11449 <bytes>true</bytes>
11450 <sentBytes>true</sentBytes>
11452 <threadCounts>true</threadCounts>
11453 <sampleCount>true</sampleCount>
11454 <idleTime>true</idleTime>
11455 <connectTime>true</connectTime>
11458 <stringProp name="filename">/home/ramesh/s3pTestResults.jtl</stringProp>
11461 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
11462 <boolProp name="ResultCollector.error_logging">false</boolProp>
11464 <name>saveConfig</name>
11465 <value class="SampleSaveConfiguration">
11467 <latency>true</latency>
11468 <timestamp>true</timestamp>
11469 <success>true</success>
11470 <label>true</label>
11472 <message>true</message>
11473 <threadName>true</threadName>
11474 <dataType>true</dataType>
11475 <encoding>false</encoding>
11476 <assertions>true</assertions>
11477 <subresults>true</subresults>
11478 <responseData>false</responseData>
11479 <samplerData>false</samplerData>
11481 <fieldNames>true</fieldNames>
11482 <responseHeaders>false</responseHeaders>
11483 <requestHeaders>false</requestHeaders>
11484 <responseDataOnError>false</responseDataOnError>
11485 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
11486 <assertionsResultsToSave>0</assertionsResultsToSave>
11487 <bytes>true</bytes>
11488 <sentBytes>true</sentBytes>
11490 <threadCounts>true</threadCounts>
11491 <idleTime>true</idleTime>
11492 <connectTime>true</connectTime>
11495 <stringProp name="filename">/home/ramesh/s3pTestResults.jtl</stringProp>
11498 <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
11499 <boolProp name="ResultCollector.error_logging">false</boolProp>
11501 <name>saveConfig</name>
11502 <value class="SampleSaveConfiguration">
11504 <latency>true</latency>
11505 <timestamp>true</timestamp>
11506 <success>true</success>
11507 <label>true</label>
11509 <message>true</message>
11510 <threadName>true</threadName>
11511 <dataType>true</dataType>
11512 <encoding>false</encoding>
11513 <assertions>true</assertions>
11514 <subresults>true</subresults>
11515 <responseData>false</responseData>
11516 <samplerData>false</samplerData>
11518 <fieldNames>true</fieldNames>
11519 <responseHeaders>false</responseHeaders>
11520 <requestHeaders>false</requestHeaders>
11521 <responseDataOnError>false</responseDataOnError>
11522 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
11523 <assertionsResultsToSave>0</assertionsResultsToSave>
11524 <bytes>true</bytes>
11525 <sentBytes>true</sentBytes>
11527 <threadCounts>true</threadCounts>
11528 <idleTime>true</idleTime>
11529 <connectTime>true</connectTime>
11532 <stringProp name="filename">/home/ramesh/s3pTestResults.jtl</stringProp>