blob: 179bbea2f50302817858f534878089c18e8c2533 [file] [log] [blame]
a.sreekumar7d80c382019-05-07 13:36:39 +00001{
a.sreekumar29fc8352020-03-11 16:28:57 +00002 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
a.sreekumar7d80c382019-05-07 13:36:39 +00003 "topology_template": {
4 "policies": [
5 {
a.sreekumar81b94382020-03-20 14:23:00 +00006 "operational.apex.sampledomain": {
a.sreekumar7d80c382019-05-07 13:36:39 +00007 "type": "onap.policies.controlloop.operational.Apex",
8 "type_version": "1.0.0",
a.sreekumar7d80c382019-05-07 13:36:39 +00009 "version": "1.0.0",
a.sreekumar81b94382020-03-20 14:23:00 +000010 "metadata": {
11 "policy-id": "operational.apex.sampledomain",
12 "policy-version": 1
13 },
a.sreekumar7d80c382019-05-07 13:36:39 +000014 "properties": {
a.sreekumar61318ad2020-01-29 10:17:35 +000015 "engineServiceParameters": {
16 "name": "MyApexEngine",
17 "version": "0.0.1",
18 "id": 45,
19 "instanceCount": 4,
20 "deploymentPort": 12561,
21 "policy_type_impl": {
22 "apexPolicyModel": {
23 "key": {
24 "name": "SamplePolicyModelJAVASCRIPT",
25 "version": "0.0.1"
26 },
27 "keyInformation": {
28 "key": {
29 "name": "KeyInformation",
30 "version": "0.0.1"
31 },
32 "keyInfoMap": {
33 "entry": [
34 {
35 "key": {
36 "name": "Context",
37 "version": "0.0.1"
Bilal Ad46ab2e2019-06-07 21:25:59 +000038 },
a.sreekumar61318ad2020-01-29 10:17:35 +000039 "value": {
40 "key": {
41 "name": "Context",
42 "version": "0.0.1"
43 },
44 "UUID": "ca36bfd8-6042-3633-8c85-89c66507c3bf",
45 "description": "Generated description for concept referred to by key \"Context:0.0.1\""
Bilal Ad46ab2e2019-06-07 21:25:59 +000046 }
a.sreekumar61318ad2020-01-29 10:17:35 +000047 },
48 {
49 "key": {
50 "name": "Event0000",
51 "version": "0.0.1"
Bilal Ad46ab2e2019-06-07 21:25:59 +000052 },
a.sreekumar61318ad2020-01-29 10:17:35 +000053 "value": {
54 "key": {
55 "name": "Event0000",
56 "version": "0.0.1"
57 },
58 "UUID": "465a81cc-885f-3a4d-bc4e-1508da92b236",
59 "description": "Generated description for concept referred to by key \"Event0000:0.0.1\""
Bilal Ad46ab2e2019-06-07 21:25:59 +000060 }
a.sreekumar61318ad2020-01-29 10:17:35 +000061 },
62 {
63 "key": {
64 "name": "Event0001",
65 "version": "0.0.1"
Bilal Ad46ab2e2019-06-07 21:25:59 +000066 },
a.sreekumar61318ad2020-01-29 10:17:35 +000067 "value": {
68 "key": {
69 "name": "Event0001",
70 "version": "0.0.1"
71 },
72 "UUID": "36b2d570-fff7-3a4b-bab2-6bf492f5129a",
73 "description": "Generated description for concept referred to by key \"Event0001:0.0.1\""
Bilal Ad46ab2e2019-06-07 21:25:59 +000074 }
a.sreekumar61318ad2020-01-29 10:17:35 +000075 },
76 {
77 "key": {
78 "name": "Event0002",
79 "version": "0.0.1"
Bilal Ad46ab2e2019-06-07 21:25:59 +000080 },
a.sreekumar61318ad2020-01-29 10:17:35 +000081 "value": {
82 "key": {
83 "name": "Event0002",
84 "version": "0.0.1"
85 },
86 "UUID": "ff6160a7-fb5e-379c-a6d2-2cd28053eacf",
87 "description": "Generated description for concept referred to by key \"Event0002:0.0.1\""
Bilal Ad46ab2e2019-06-07 21:25:59 +000088 }
a.sreekumar61318ad2020-01-29 10:17:35 +000089 },
90 {
91 "key": {
92 "name": "Event0003",
93 "version": "0.0.1"
Bilal Ad46ab2e2019-06-07 21:25:59 +000094 },
a.sreekumar61318ad2020-01-29 10:17:35 +000095 "value": {
96 "key": {
97 "name": "Event0003",
98 "version": "0.0.1"
99 },
100 "UUID": "5899e216-2abf-3781-abc4-2c257b92721e",
101 "description": "Generated description for concept referred to by key \"Event0003:0.0.1\""
Bilal Ad46ab2e2019-06-07 21:25:59 +0000102 }
a.sreekumar61318ad2020-01-29 10:17:35 +0000103 },
104 {
105 "key": {
106 "name": "Event0004",
107 "version": "0.0.1"
Bilal Ad46ab2e2019-06-07 21:25:59 +0000108 },
a.sreekumar61318ad2020-01-29 10:17:35 +0000109 "value": {
110 "key": {
111 "name": "Event0004",
112 "version": "0.0.1"
113 },
114 "UUID": "7c2692a7-4587-3d09-abf9-d96b339a316f",
115 "description": "Generated description for concept referred to by key \"Event0004:0.0.1\""
Bilal Ad46ab2e2019-06-07 21:25:59 +0000116 }
a.sreekumar61318ad2020-01-29 10:17:35 +0000117 },
118 {
119 "key": {
120 "name": "Event0100",
121 "version": "0.0.1"
122 },
123 "value": {
124 "key": {
125 "name": "Event0100",
126 "version": "0.0.1"
127 },
128 "UUID": "b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7",
129 "description": "Generated description for concept referred to by key \"Event0100:0.0.1\""
130 }
131 },
132 {
133 "key": {
134 "name": "Event0101",
135 "version": "0.0.1"
136 },
137 "value": {
138 "key": {
139 "name": "Event0101",
140 "version": "0.0.1"
141 },
142 "UUID": "edbfa868-2ab2-30fd-8078-4c7f67ca6122",
143 "description": "Generated description for concept referred to by key \"Event0101:0.0.1\""
144 }
145 },
146 {
147 "key": {
148 "name": "Event0102",
149 "version": "0.0.1"
150 },
151 "value": {
152 "key": {
153 "name": "Event0102",
154 "version": "0.0.1"
155 },
156 "UUID": "6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4",
157 "description": "Generated description for concept referred to by key \"Event0102:0.0.1\""
158 }
159 },
160 {
161 "key": {
162 "name": "Event0103",
163 "version": "0.0.1"
164 },
165 "value": {
166 "key": {
167 "name": "Event0103",
168 "version": "0.0.1"
169 },
170 "UUID": "c2550912-10d9-3000-8826-377288cd6cb1",
171 "description": "Generated description for concept referred to by key \"Event0103:0.0.1\""
172 }
173 },
174 {
175 "key": {
176 "name": "Event0104",
177 "version": "0.0.1"
178 },
179 "value": {
180 "key": {
181 "name": "Event0104",
182 "version": "0.0.1"
183 },
184 "UUID": "f6d75b71-c8a7-3337-a121-88d68c389f5a",
185 "description": "Generated description for concept referred to by key \"Event0104:0.0.1\""
186 }
187 },
188 {
189 "key": {
190 "name": "Events",
191 "version": "0.0.1"
192 },
193 "value": {
194 "key": {
195 "name": "Events",
196 "version": "0.0.1"
197 },
198 "UUID": "0215644c-4531-375c-8335-d558b4de8c03",
199 "description": "Generated description for concept referred to by key \"Events:0.0.1\""
200 }
201 },
202 {
203 "key": {
204 "name": "ExternalContextAlbum",
205 "version": "0.0.1"
206 },
207 "value": {
208 "key": {
209 "name": "ExternalContextAlbum",
210 "version": "0.0.1"
211 },
212 "UUID": "976a79e7-5c80-3c03-9503-da3f41fec395",
213 "description": "Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""
214 }
215 },
216 {
217 "key": {
218 "name": "GlobalContextAlbum",
219 "version": "0.0.1"
220 },
221 "value": {
222 "key": {
223 "name": "GlobalContextAlbum",
224 "version": "0.0.1"
225 },
226 "UUID": "c95e9e5f-d2c7-3ac7-a205-ea3574530cb7",
227 "description": "Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""
228 }
229 },
230 {
231 "key": {
232 "name": "KeyInformation",
233 "version": "0.0.1"
234 },
235 "value": {
236 "key": {
237 "name": "KeyInformation",
238 "version": "0.0.1"
239 },
240 "UUID": "1ff2f905-685c-3caf-95bc-0bbc90345888",
241 "description": "Generated description for concept referred to by key \"KeyInformation:0.0.1\""
242 }
243 },
244 {
245 "key": {
246 "name": "Policies",
247 "version": "0.0.1"
248 },
249 "value": {
250 "key": {
251 "name": "Policies",
252 "version": "0.0.1"
253 },
254 "UUID": "f54c3b2b-be76-31c4-adfc-87c494c06808",
255 "description": "Generated description for concept referred to by key \"Policies:0.0.1\""
256 }
257 },
258 {
259 "key": {
260 "name": "Policy0",
261 "version": "0.0.1"
262 },
263 "value": {
264 "key": {
265 "name": "Policy0",
266 "version": "0.0.1"
267 },
268 "UUID": "3410e939-30ca-32c4-a2d8-c30b6fee6eec",
269 "description": "Generated description for concept referred to by key \"Policy0:0.0.1\""
270 }
271 },
272 {
273 "key": {
274 "name": "Policy0ContextAlbum",
275 "version": "0.0.1"
276 },
277 "value": {
278 "key": {
279 "name": "Policy0ContextAlbum",
280 "version": "0.0.1"
281 },
282 "UUID": "e27564c4-3cbf-3db2-9bf3-83ae80a2f907",
283 "description": "Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""
284 }
285 },
286 {
287 "key": {
288 "name": "Policy1",
289 "version": "0.0.1"
290 },
291 "value": {
292 "key": {
293 "name": "Policy1",
294 "version": "0.0.1"
295 },
296 "UUID": "d0b2b585-f344-33b8-af9e-250e7f4cfbce",
297 "description": "Generated description for concept referred to by key \"Policy1:0.0.1\""
298 }
299 },
300 {
301 "key": {
302 "name": "Policy1ContextAlbum",
303 "version": "0.0.1"
304 },
305 "value": {
306 "key": {
307 "name": "Policy1ContextAlbum",
308 "version": "0.0.1"
309 },
310 "UUID": "815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0",
311 "description": "Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""
312 }
313 },
314 {
315 "key": {
316 "name": "SamplePolicyModelJAVASCRIPT",
317 "version": "0.0.1"
318 },
319 "value": {
320 "key": {
321 "name": "SamplePolicyModelJAVASCRIPT",
322 "version": "0.0.1"
323 },
324 "UUID": "bc8ee312-81ce-3c4a-92d5-4a73b8077148",
325 "description": "Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""
326 }
327 },
328 {
329 "key": {
330 "name": "Task_Act0",
331 "version": "0.0.1"
332 },
333 "value": {
334 "key": {
335 "name": "Task_Act0",
336 "version": "0.0.1"
337 },
338 "UUID": "0589ff20-adcc-3ce5-95fe-8d7978ed54ed",
339 "description": "Generated description for concept referred to by key \"Task_Act0:0.0.1\""
340 }
341 },
342 {
343 "key": {
344 "name": "Task_Act1",
345 "version": "0.0.1"
346 },
347 "value": {
348 "key": {
349 "name": "Task_Act1",
350 "version": "0.0.1"
351 },
352 "UUID": "095b126d-ca8b-32c9-ad52-d744e817a79c",
353 "description": "Generated description for concept referred to by key \"Task_Act1:0.0.1\""
354 }
355 },
356 {
357 "key": {
358 "name": "Task_Act2",
359 "version": "0.0.1"
360 },
361 "value": {
362 "key": {
363 "name": "Task_Act2",
364 "version": "0.0.1"
365 },
366 "UUID": "3d786b4c-d9ee-3367-ab71-c67271a4ea2f",
367 "description": "Generated description for concept referred to by key \"Task_Act2:0.0.1\""
368 }
369 },
370 {
371 "key": {
372 "name": "Task_Act3",
373 "version": "0.0.1"
374 },
375 "value": {
376 "key": {
377 "name": "Task_Act3",
378 "version": "0.0.1"
379 },
380 "UUID": "9231753e-20c5-3436-982f-9100340cc570",
381 "description": "Generated description for concept referred to by key \"Task_Act3:0.0.1\""
382 }
383 },
384 {
385 "key": {
386 "name": "Task_Decide0",
387 "version": "0.0.1"
388 },
389 "value": {
390 "key": {
391 "name": "Task_Decide0",
392 "version": "0.0.1"
393 },
394 "UUID": "502383d3-483f-3a56-a426-2f0406674c8d",
395 "description": "Generated description for concept referred to by key \"Task_Decide0:0.0.1\""
396 }
397 },
398 {
399 "key": {
400 "name": "Task_Decide1",
401 "version": "0.0.1"
402 },
403 "value": {
404 "key": {
405 "name": "Task_Decide1",
406 "version": "0.0.1"
407 },
408 "UUID": "16598106-41c8-3b5a-99c6-5fcf6d1a5ddf",
409 "description": "Generated description for concept referred to by key \"Task_Decide1:0.0.1\""
410 }
411 },
412 {
413 "key": {
414 "name": "Task_Decide2",
415 "version": "0.0.1"
416 },
417 "value": {
418 "key": {
419 "name": "Task_Decide2",
420 "version": "0.0.1"
421 },
422 "UUID": "ad3a89f5-e369-3c66-b22c-669f7b3653b8",
423 "description": "Generated description for concept referred to by key \"Task_Decide2:0.0.1\""
424 }
425 },
426 {
427 "key": {
428 "name": "Task_Decide3",
429 "version": "0.0.1"
430 },
431 "value": {
432 "key": {
433 "name": "Task_Decide3",
434 "version": "0.0.1"
435 },
436 "UUID": "56815939-1164-3867-9ed1-0a27ff8aafb3",
437 "description": "Generated description for concept referred to by key \"Task_Decide3:0.0.1\""
438 }
439 },
440 {
441 "key": {
442 "name": "Task_Establish0",
443 "version": "0.0.1"
444 },
445 "value": {
446 "key": {
447 "name": "Task_Establish0",
448 "version": "0.0.1"
449 },
450 "UUID": "0db0c566-ecd7-3e27-9865-4b82c893abdb",
451 "description": "Generated description for concept referred to by key \"Task_Establish0:0.0.1\""
452 }
453 },
454 {
455 "key": {
456 "name": "Task_Establish1",
457 "version": "0.0.1"
458 },
459 "value": {
460 "key": {
461 "name": "Task_Establish1",
462 "version": "0.0.1"
463 },
464 "UUID": "6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0",
465 "description": "Generated description for concept referred to by key \"Task_Establish1:0.0.1\""
466 }
467 },
468 {
469 "key": {
470 "name": "Task_Establish2",
471 "version": "0.0.1"
472 },
473 "value": {
474 "key": {
475 "name": "Task_Establish2",
476 "version": "0.0.1"
477 },
478 "UUID": "0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a",
479 "description": "Generated description for concept referred to by key \"Task_Establish2:0.0.1\""
480 }
481 },
482 {
483 "key": {
484 "name": "Task_Establish3",
485 "version": "0.0.1"
486 },
487 "value": {
488 "key": {
489 "name": "Task_Establish3",
490 "version": "0.0.1"
491 },
492 "UUID": "c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66",
493 "description": "Generated description for concept referred to by key \"Task_Establish3:0.0.1\""
494 }
495 },
496 {
497 "key": {
498 "name": "Task_Match0",
499 "version": "0.0.1"
500 },
501 "value": {
502 "key": {
503 "name": "Task_Match0",
504 "version": "0.0.1"
505 },
506 "UUID": "051bcfd5-cf73-3c89-8ee7-ea6e005ec059",
507 "description": "Generated description for concept referred to by key \"Task_Match0:0.0.1\""
508 }
509 },
510 {
511 "key": {
512 "name": "Task_Match1",
513 "version": "0.0.1"
514 },
515 "value": {
516 "key": {
517 "name": "Task_Match1",
518 "version": "0.0.1"
519 },
520 "UUID": "3754fe19-98f2-34a1-9f45-db31052208d8",
521 "description": "Generated description for concept referred to by key \"Task_Match1:0.0.1\""
522 }
523 },
524 {
525 "key": {
526 "name": "Task_Match2",
527 "version": "0.0.1"
528 },
529 "value": {
530 "key": {
531 "name": "Task_Match2",
532 "version": "0.0.1"
533 },
534 "UUID": "8c200709-a180-3c8b-916f-275ff49ce194",
535 "description": "Generated description for concept referred to by key \"Task_Match2:0.0.1\""
536 }
537 },
538 {
539 "key": {
540 "name": "Task_Match3",
541 "version": "0.0.1"
542 },
543 "value": {
544 "key": {
545 "name": "Task_Match3",
546 "version": "0.0.1"
547 },
548 "UUID": "a1a879c6-4510-33b0-bbd0-ad6256189a37",
549 "description": "Generated description for concept referred to by key \"Task_Match3:0.0.1\""
550 }
551 },
552 {
553 "key": {
554 "name": "Tasks",
555 "version": "0.0.1"
556 },
557 "value": {
558 "key": {
559 "name": "Tasks",
560 "version": "0.0.1"
561 },
562 "UUID": "a7fab96b-ce1c-37ce-bbb2-556b6db524a5",
563 "description": "Generated description for concept referred to by key \"Tasks:0.0.1\""
564 }
565 },
566 {
567 "key": {
568 "name": "TestCase",
569 "version": "0.0.1"
570 },
571 "value": {
572 "key": {
573 "name": "TestCase",
574 "version": "0.0.1"
575 },
576 "UUID": "0a652886-c88d-3f8c-8994-ae9161e7c963",
577 "description": "Generated description for concept referred to by key \"TestCase:0.0.1\""
578 }
579 },
580 {
581 "key": {
582 "name": "TestContextItem000",
583 "version": "0.0.1"
584 },
585 "value": {
586 "key": {
587 "name": "TestContextItem000",
588 "version": "0.0.1"
589 },
590 "UUID": "8efba9fa-371e-33df-a7d6-88b0284e7fd0",
591 "description": "Generated description for concept referred to by key \"TestContextItem000:0.0.1\""
592 }
593 },
594 {
595 "key": {
596 "name": "TestContextItem001",
597 "version": "0.0.1"
598 },
599 "value": {
600 "key": {
601 "name": "TestContextItem001",
602 "version": "0.0.1"
603 },
604 "UUID": "3740077c-a2b3-356b-81dc-5ded2118a951",
605 "description": "Generated description for concept referred to by key \"TestContextItem001:0.0.1\""
606 }
607 },
608 {
609 "key": {
610 "name": "TestContextItem002",
611 "version": "0.0.1"
612 },
613 "value": {
614 "key": {
615 "name": "TestContextItem002",
616 "version": "0.0.1"
617 },
618 "UUID": "b5c7df95-9af5-322f-9ea8-eb440a2bf926",
619 "description": "Generated description for concept referred to by key \"TestContextItem002:0.0.1\""
620 }
621 },
622 {
623 "key": {
624 "name": "TestContextItem003",
625 "version": "0.0.1"
626 },
627 "value": {
628 "key": {
629 "name": "TestContextItem003",
630 "version": "0.0.1"
631 },
632 "UUID": "b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b",
633 "description": "Generated description for concept referred to by key \"TestContextItem003:0.0.1\""
634 }
635 },
636 {
637 "key": {
638 "name": "TestContextItem004",
639 "version": "0.0.1"
640 },
641 "value": {
642 "key": {
643 "name": "TestContextItem004",
644 "version": "0.0.1"
645 },
646 "UUID": "093cda11-eaeb-3a46-a5b6-d5e30c00935b",
647 "description": "Generated description for concept referred to by key \"TestContextItem004:0.0.1\""
648 }
649 },
650 {
651 "key": {
652 "name": "TestContextItem005",
653 "version": "0.0.1"
654 },
655 "value": {
656 "key": {
657 "name": "TestContextItem005",
658 "version": "0.0.1"
659 },
660 "UUID": "569a758d-ba40-37c0-aebb-7ad138df25ac",
661 "description": "Generated description for concept referred to by key \"TestContextItem005:0.0.1\""
662 }
663 },
664 {
665 "key": {
666 "name": "TestContextItem006",
667 "version": "0.0.1"
668 },
669 "value": {
670 "key": {
671 "name": "TestContextItem006",
672 "version": "0.0.1"
673 },
674 "UUID": "252818d9-b61f-3962-a905-8865fb00fb04",
675 "description": "Generated description for concept referred to by key \"TestContextItem006:0.0.1\""
676 }
677 },
678 {
679 "key": {
680 "name": "TestContextItem007",
681 "version": "0.0.1"
682 },
683 "value": {
684 "key": {
685 "name": "TestContextItem007",
686 "version": "0.0.1"
687 },
688 "UUID": "fe1a5f7c-c083-377b-a797-752b01fc6c73",
689 "description": "Generated description for concept referred to by key \"TestContextItem007:0.0.1\""
690 }
691 },
692 {
693 "key": {
694 "name": "TestContextItem008",
695 "version": "0.0.1"
696 },
697 "value": {
698 "key": {
699 "name": "TestContextItem008",
700 "version": "0.0.1"
701 },
702 "UUID": "aa87d007-d07e-3f67-8c6d-0ebc3d85479d",
703 "description": "Generated description for concept referred to by key \"TestContextItem008:0.0.1\""
704 }
705 },
706 {
707 "key": {
708 "name": "TestContextItem009",
709 "version": "0.0.1"
710 },
711 "value": {
712 "key": {
713 "name": "TestContextItem009",
714 "version": "0.0.1"
715 },
716 "UUID": "126e7a3a-11b6-3f88-9397-c21d8819f859",
717 "description": "Generated description for concept referred to by key \"TestContextItem009:0.0.1\""
718 }
719 },
720 {
721 "key": {
722 "name": "TestContextItem00A",
723 "version": "0.0.1"
724 },
725 "value": {
726 "key": {
727 "name": "TestContextItem00A",
728 "version": "0.0.1"
729 },
730 "UUID": "0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc",
731 "description": "Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""
732 }
733 },
734 {
735 "key": {
736 "name": "TestContextItem00B",
737 "version": "0.0.1"
738 },
739 "value": {
740 "key": {
741 "name": "TestContextItem00B",
742 "version": "0.0.1"
743 },
744 "UUID": "dbdc98df-3ff4-360c-b8d3-a7a836ac3de6",
745 "description": "Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""
746 }
747 },
748 {
749 "key": {
750 "name": "TestContextItem00C",
751 "version": "0.0.1"
752 },
753 "value": {
754 "key": {
755 "name": "TestContextItem00C",
756 "version": "0.0.1"
757 },
758 "UUID": "32a2f355-77f3-3b25-ace6-7a9c5763a5ad",
759 "description": "Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""
760 }
761 },
762 {
763 "key": {
764 "name": "TestDatatypes",
765 "version": "0.0.1"
766 },
767 "value": {
768 "key": {
769 "name": "TestDatatypes",
770 "version": "0.0.1"
771 },
772 "UUID": "3f95472c-973e-30e2-95f1-bf00cbef909a",
773 "description": "Generated description for concept referred to by key \"TestDatatypes:0.0.1\""
774 }
775 },
776 {
777 "key": {
778 "name": "TestExternalContextItem",
779 "version": "0.0.1"
780 },
781 "value": {
782 "key": {
783 "name": "TestExternalContextItem",
784 "version": "0.0.1"
785 },
786 "UUID": "610dbbd4-9149-3b3c-9af4-819056f0e169",
787 "description": "Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""
788 }
789 },
790 {
791 "key": {
792 "name": "TestGlobalContextItem",
793 "version": "0.0.1"
794 },
795 "value": {
796 "key": {
797 "name": "TestGlobalContextItem",
798 "version": "0.0.1"
799 },
800 "UUID": "07fa8f68-55f1-3fd0-81c1-749a379753a7",
801 "description": "Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""
802 }
803 },
804 {
805 "key": {
806 "name": "TestPolicyContextItem",
807 "version": "0.0.1"
808 },
809 "value": {
810 "key": {
811 "name": "TestPolicyContextItem",
812 "version": "0.0.1"
813 },
814 "UUID": "d9c93cd1-539e-35c5-aaec-bb711ceb1251",
815 "description": "Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""
816 }
817 },
818 {
819 "key": {
820 "name": "TestSlogan",
821 "version": "0.0.1"
822 },
823 "value": {
824 "key": {
825 "name": "TestSlogan",
826 "version": "0.0.1"
827 },
828 "UUID": "683fe492-7eae-3ac7-9924-bb7850208d05",
829 "description": "Generated description for concept referred to by key \"TestSlogan:0.0.1\""
830 }
831 },
832 {
833 "key": {
834 "name": "TestTemperature",
835 "version": "0.0.1"
836 },
837 "value": {
838 "key": {
839 "name": "TestTemperature",
840 "version": "0.0.1"
841 },
842 "UUID": "bba25b6f-e3cd-3060-9022-4ef3a79f8eb0",
843 "description": "Generated description for concept referred to by key \"TestTemperature:0.0.1\""
844 }
845 },
846 {
847 "key": {
848 "name": "TestTimestamp",
849 "version": "0.0.1"
850 },
851 "value": {
852 "key": {
853 "name": "TestTimestamp",
854 "version": "0.0.1"
855 },
856 "UUID": "97b73937-c344-33c0-924c-4d26b6449564",
857 "description": "Generated description for concept referred to by key \"TestTimestamp:0.0.1\""
858 }
859 }
860 ]
Bilal Ad46ab2e2019-06-07 21:25:59 +0000861 }
a.sreekumar61318ad2020-01-29 10:17:35 +0000862 },
863 "policies": {
864 "key": {
865 "name": "Policies",
866 "version": "0.0.1"
867 },
868 "policyMap": {
869 "entry": [
870 {
871 "key": {
872 "name": "Policy0",
873 "version": "0.0.1"
874 },
875 "value": {
876 "policyKey": {
877 "name": "Policy0",
878 "version": "0.0.1"
879 },
880 "template": "MEDA",
881 "state": {
882 "entry": [
883 {
884 "key": "Act",
885 "value": {
886 "stateKey": {
887 "parentKeyName": "Policy0",
888 "parentKeyVersion": "0.0.1",
889 "parentLocalName": "NULL",
890 "localName": "Act"
891 },
892 "trigger": {
893 "name": "Event0003",
894 "version": "0.0.1"
895 },
896 "stateOutputs": {
897 "entry": [
898 {
899 "key": "Act_NULL",
900 "value": {
901 "key": {
902 "parentKeyName": "Policy0",
903 "parentKeyVersion": "0.0.1",
904 "parentLocalName": "Act",
905 "localName": "Act_NULL"
906 },
907 "outgoingEvent": {
908 "name": "Event0004",
909 "version": "0.0.1"
910 },
911 "nextState": {
912 "parentKeyName": "NULL",
913 "parentKeyVersion": "0.0.0",
914 "parentLocalName": "NULL",
915 "localName": "NULL"
916 }
917 }
918 }
919 ]
920 },
921 "contextAlbumReference": [
922 {
923 "name": "GlobalContextAlbum",
924 "version": "0.0.1"
925 }
926 ],
927 "taskSelectionLogic": {
928 "key": "TaskSelectionLigic",
929 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +0000930 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +0000931 },
932 "stateFinalizerLogicMap": {
933 "entry": []
934 },
935 "defaultTask": {
936 "name": "Task_Act1",
937 "version": "0.0.1"
938 },
939 "taskReferences": {
940 "entry": [
941 {
942 "key": {
943 "name": "Task_Act0",
944 "version": "0.0.1"
945 },
946 "value": {
947 "key": {
948 "parentKeyName": "Policy0",
949 "parentKeyVersion": "0.0.1",
950 "parentLocalName": "Act",
951 "localName": "Task_Act0_DIRECT_Act_NULL"
952 },
953 "outputType": "DIRECT",
954 "output": {
955 "parentKeyName": "Policy0",
956 "parentKeyVersion": "0.0.1",
957 "parentLocalName": "Act",
958 "localName": "Act_NULL"
959 }
960 }
961 },
962 {
963 "key": {
964 "name": "Task_Act1",
965 "version": "0.0.1"
966 },
967 "value": {
968 "key": {
969 "parentKeyName": "Policy0",
970 "parentKeyVersion": "0.0.1",
971 "parentLocalName": "Act",
972 "localName": "Task_Act1_DIRECT_Act_NULL"
973 },
974 "outputType": "DIRECT",
975 "output": {
976 "parentKeyName": "Policy0",
977 "parentKeyVersion": "0.0.1",
978 "parentLocalName": "Act",
979 "localName": "Act_NULL"
980 }
981 }
982 },
983 {
984 "key": {
985 "name": "Task_Act2",
986 "version": "0.0.1"
987 },
988 "value": {
989 "key": {
990 "parentKeyName": "Policy0",
991 "parentKeyVersion": "0.0.1",
992 "parentLocalName": "Act",
993 "localName": "Task_Act2_DIRECT_Act_NULL"
994 },
995 "outputType": "DIRECT",
996 "output": {
997 "parentKeyName": "Policy0",
998 "parentKeyVersion": "0.0.1",
999 "parentLocalName": "Act",
1000 "localName": "Act_NULL"
1001 }
1002 }
1003 },
1004 {
1005 "key": {
1006 "name": "Task_Act3",
1007 "version": "0.0.1"
1008 },
1009 "value": {
1010 "key": {
1011 "parentKeyName": "Policy0",
1012 "parentKeyVersion": "0.0.1",
1013 "parentLocalName": "Act",
1014 "localName": "Task_Act3_DIRECT_Act_NULL"
1015 },
1016 "outputType": "DIRECT",
1017 "output": {
1018 "parentKeyName": "Policy0",
1019 "parentKeyVersion": "0.0.1",
1020 "parentLocalName": "Act",
1021 "localName": "Act_NULL"
1022 }
1023 }
1024 }
1025 ]
1026 }
1027 }
1028 },
1029 {
1030 "key": "Decide",
1031 "value": {
1032 "stateKey": {
1033 "parentKeyName": "Policy0",
1034 "parentKeyVersion": "0.0.1",
1035 "parentLocalName": "NULL",
1036 "localName": "Decide"
1037 },
1038 "trigger": {
1039 "name": "Event0002",
1040 "version": "0.0.1"
1041 },
1042 "stateOutputs": {
1043 "entry": [
1044 {
1045 "key": "Decide_Act",
1046 "value": {
1047 "key": {
1048 "parentKeyName": "Policy0",
1049 "parentKeyVersion": "0.0.1",
1050 "parentLocalName": "Decide",
1051 "localName": "Decide_Act"
1052 },
1053 "outgoingEvent": {
1054 "name": "Event0003",
1055 "version": "0.0.1"
1056 },
1057 "nextState": {
1058 "parentKeyName": "Policy0",
1059 "parentKeyVersion": "0.0.1",
1060 "parentLocalName": "NULL",
1061 "localName": "Act"
1062 }
1063 }
1064 }
1065 ]
1066 },
1067 "contextAlbumReference": [
1068 {
1069 "name": "ExternalContextAlbum",
1070 "version": "0.0.1"
1071 },
1072 {
1073 "name": "GlobalContextAlbum",
1074 "version": "0.0.1"
1075 },
1076 {
1077 "name": "Policy0ContextAlbum",
1078 "version": "0.0.1"
1079 }
1080 ],
1081 "taskSelectionLogic": {
1082 "key": "TaskSelectionLigic",
1083 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00001084 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00001085 },
1086 "stateFinalizerLogicMap": {
1087 "entry": []
1088 },
1089 "defaultTask": {
1090 "name": "Task_Decide3",
1091 "version": "0.0.1"
1092 },
1093 "taskReferences": {
1094 "entry": [
1095 {
1096 "key": {
1097 "name": "Task_Decide0",
1098 "version": "0.0.1"
1099 },
1100 "value": {
1101 "key": {
1102 "parentKeyName": "Policy0",
1103 "parentKeyVersion": "0.0.1",
1104 "parentLocalName": "Decide",
1105 "localName": "Task_Decide0_DIRECT_Decide_Act"
1106 },
1107 "outputType": "DIRECT",
1108 "output": {
1109 "parentKeyName": "Policy0",
1110 "parentKeyVersion": "0.0.1",
1111 "parentLocalName": "Decide",
1112 "localName": "Decide_Act"
1113 }
1114 }
1115 },
1116 {
1117 "key": {
1118 "name": "Task_Decide1",
1119 "version": "0.0.1"
1120 },
1121 "value": {
1122 "key": {
1123 "parentKeyName": "Policy0",
1124 "parentKeyVersion": "0.0.1",
1125 "parentLocalName": "Decide",
1126 "localName": "Task_Decide1_DIRECT_Decide_Act"
1127 },
1128 "outputType": "DIRECT",
1129 "output": {
1130 "parentKeyName": "Policy0",
1131 "parentKeyVersion": "0.0.1",
1132 "parentLocalName": "Decide",
1133 "localName": "Decide_Act"
1134 }
1135 }
1136 },
1137 {
1138 "key": {
1139 "name": "Task_Decide2",
1140 "version": "0.0.1"
1141 },
1142 "value": {
1143 "key": {
1144 "parentKeyName": "Policy0",
1145 "parentKeyVersion": "0.0.1",
1146 "parentLocalName": "Decide",
1147 "localName": "Task_Decide2_DIRECT_Decide_Act"
1148 },
1149 "outputType": "DIRECT",
1150 "output": {
1151 "parentKeyName": "Policy0",
1152 "parentKeyVersion": "0.0.1",
1153 "parentLocalName": "Decide",
1154 "localName": "Decide_Act"
1155 }
1156 }
1157 },
1158 {
1159 "key": {
1160 "name": "Task_Decide3",
1161 "version": "0.0.1"
1162 },
1163 "value": {
1164 "key": {
1165 "parentKeyName": "Policy0",
1166 "parentKeyVersion": "0.0.1",
1167 "parentLocalName": "Decide",
1168 "localName": "Task_Decide3_DIRECT_Decide_Act"
1169 },
1170 "outputType": "DIRECT",
1171 "output": {
1172 "parentKeyName": "Policy0",
1173 "parentKeyVersion": "0.0.1",
1174 "parentLocalName": "Decide",
1175 "localName": "Decide_Act"
1176 }
1177 }
1178 }
1179 ]
1180 }
1181 }
1182 },
1183 {
1184 "key": "Establish",
1185 "value": {
1186 "stateKey": {
1187 "parentKeyName": "Policy0",
1188 "parentKeyVersion": "0.0.1",
1189 "parentLocalName": "NULL",
1190 "localName": "Establish"
1191 },
1192 "trigger": {
1193 "name": "Event0001",
1194 "version": "0.0.1"
1195 },
1196 "stateOutputs": {
1197 "entry": [
1198 {
1199 "key": "Establish_Decide",
1200 "value": {
1201 "key": {
1202 "parentKeyName": "Policy0",
1203 "parentKeyVersion": "0.0.1",
1204 "parentLocalName": "Establish",
1205 "localName": "Establish_Decide"
1206 },
1207 "outgoingEvent": {
1208 "name": "Event0002",
1209 "version": "0.0.1"
1210 },
1211 "nextState": {
1212 "parentKeyName": "Policy0",
1213 "parentKeyVersion": "0.0.1",
1214 "parentLocalName": "NULL",
1215 "localName": "Decide"
1216 }
1217 }
1218 }
1219 ]
1220 },
1221 "contextAlbumReference": [
1222 {
1223 "name": "ExternalContextAlbum",
1224 "version": "0.0.1"
1225 },
1226 {
1227 "name": "GlobalContextAlbum",
1228 "version": "0.0.1"
1229 },
1230 {
1231 "name": "Policy1ContextAlbum",
1232 "version": "0.0.1"
1233 }
1234 ],
1235 "taskSelectionLogic": {
1236 "key": "TaskSelectionLigic",
1237 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00001238 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00001239 },
1240 "stateFinalizerLogicMap": {
1241 "entry": []
1242 },
1243 "defaultTask": {
1244 "name": "Task_Establish2",
1245 "version": "0.0.1"
1246 },
1247 "taskReferences": {
1248 "entry": [
1249 {
1250 "key": {
1251 "name": "Task_Establish0",
1252 "version": "0.0.1"
1253 },
1254 "value": {
1255 "key": {
1256 "parentKeyName": "Policy0",
1257 "parentKeyVersion": "0.0.1",
1258 "parentLocalName": "Establish",
1259 "localName": "Task_Establish0_DIRECT_Establish_Decide"
1260 },
1261 "outputType": "DIRECT",
1262 "output": {
1263 "parentKeyName": "Policy0",
1264 "parentKeyVersion": "0.0.1",
1265 "parentLocalName": "Establish",
1266 "localName": "Establish_Decide"
1267 }
1268 }
1269 },
1270 {
1271 "key": {
1272 "name": "Task_Establish1",
1273 "version": "0.0.1"
1274 },
1275 "value": {
1276 "key": {
1277 "parentKeyName": "Policy0",
1278 "parentKeyVersion": "0.0.1",
1279 "parentLocalName": "Establish",
1280 "localName": "Task_Establish1_DIRECT_Establish_Decide"
1281 },
1282 "outputType": "DIRECT",
1283 "output": {
1284 "parentKeyName": "Policy0",
1285 "parentKeyVersion": "0.0.1",
1286 "parentLocalName": "Establish",
1287 "localName": "Establish_Decide"
1288 }
1289 }
1290 },
1291 {
1292 "key": {
1293 "name": "Task_Establish2",
1294 "version": "0.0.1"
1295 },
1296 "value": {
1297 "key": {
1298 "parentKeyName": "Policy0",
1299 "parentKeyVersion": "0.0.1",
1300 "parentLocalName": "Establish",
1301 "localName": "Task_Establish2_DIRECT_Establish_Decide"
1302 },
1303 "outputType": "DIRECT",
1304 "output": {
1305 "parentKeyName": "Policy0",
1306 "parentKeyVersion": "0.0.1",
1307 "parentLocalName": "Establish",
1308 "localName": "Establish_Decide"
1309 }
1310 }
1311 },
1312 {
1313 "key": {
1314 "name": "Task_Establish3",
1315 "version": "0.0.1"
1316 },
1317 "value": {
1318 "key": {
1319 "parentKeyName": "Policy0",
1320 "parentKeyVersion": "0.0.1",
1321 "parentLocalName": "Establish",
1322 "localName": "Task_Establish3_DIRECT_Establish_Decide"
1323 },
1324 "outputType": "DIRECT",
1325 "output": {
1326 "parentKeyName": "Policy0",
1327 "parentKeyVersion": "0.0.1",
1328 "parentLocalName": "Establish",
1329 "localName": "Establish_Decide"
1330 }
1331 }
1332 }
1333 ]
1334 }
1335 }
1336 },
1337 {
1338 "key": "Match",
1339 "value": {
1340 "stateKey": {
1341 "parentKeyName": "Policy0",
1342 "parentKeyVersion": "0.0.1",
1343 "parentLocalName": "NULL",
1344 "localName": "Match"
1345 },
1346 "trigger": {
1347 "name": "Event0000",
1348 "version": "0.0.1"
1349 },
1350 "stateOutputs": {
1351 "entry": [
1352 {
1353 "key": "Match_Establish",
1354 "value": {
1355 "key": {
1356 "parentKeyName": "Policy0",
1357 "parentKeyVersion": "0.0.1",
1358 "parentLocalName": "Match",
1359 "localName": "Match_Establish"
1360 },
1361 "outgoingEvent": {
1362 "name": "Event0001",
1363 "version": "0.0.1"
1364 },
1365 "nextState": {
1366 "parentKeyName": "Policy0",
1367 "parentKeyVersion": "0.0.1",
1368 "parentLocalName": "NULL",
1369 "localName": "Establish"
1370 }
1371 }
1372 }
1373 ]
1374 },
1375 "contextAlbumReference": [
1376 {
1377 "name": "GlobalContextAlbum",
1378 "version": "0.0.1"
1379 },
1380 {
1381 "name": "Policy0ContextAlbum",
1382 "version": "0.0.1"
1383 }
1384 ],
1385 "taskSelectionLogic": {
1386 "key": "TaskSelectionLigic",
1387 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00001388 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00001389 },
1390 "stateFinalizerLogicMap": {
1391 "entry": []
1392 },
1393 "defaultTask": {
1394 "name": "Task_Match0",
1395 "version": "0.0.1"
1396 },
1397 "taskReferences": {
1398 "entry": [
1399 {
1400 "key": {
1401 "name": "Task_Match0",
1402 "version": "0.0.1"
1403 },
1404 "value": {
1405 "key": {
1406 "parentKeyName": "Policy0",
1407 "parentKeyVersion": "0.0.1",
1408 "parentLocalName": "Match",
1409 "localName": "Task_Match0_DIRECT_Match_Establish"
1410 },
1411 "outputType": "DIRECT",
1412 "output": {
1413 "parentKeyName": "Policy0",
1414 "parentKeyVersion": "0.0.1",
1415 "parentLocalName": "Match",
1416 "localName": "Match_Establish"
1417 }
1418 }
1419 },
1420 {
1421 "key": {
1422 "name": "Task_Match1",
1423 "version": "0.0.1"
1424 },
1425 "value": {
1426 "key": {
1427 "parentKeyName": "Policy0",
1428 "parentKeyVersion": "0.0.1",
1429 "parentLocalName": "Match",
1430 "localName": "Task_Match1_DIRECT_Match_Establish"
1431 },
1432 "outputType": "DIRECT",
1433 "output": {
1434 "parentKeyName": "Policy0",
1435 "parentKeyVersion": "0.0.1",
1436 "parentLocalName": "Match",
1437 "localName": "Match_Establish"
1438 }
1439 }
1440 },
1441 {
1442 "key": {
1443 "name": "Task_Match2",
1444 "version": "0.0.1"
1445 },
1446 "value": {
1447 "key": {
1448 "parentKeyName": "Policy0",
1449 "parentKeyVersion": "0.0.1",
1450 "parentLocalName": "Match",
1451 "localName": "Task_Match2_DIRECT_Match_Establish"
1452 },
1453 "outputType": "DIRECT",
1454 "output": {
1455 "parentKeyName": "Policy0",
1456 "parentKeyVersion": "0.0.1",
1457 "parentLocalName": "Match",
1458 "localName": "Match_Establish"
1459 }
1460 }
1461 },
1462 {
1463 "key": {
1464 "name": "Task_Match3",
1465 "version": "0.0.1"
1466 },
1467 "value": {
1468 "key": {
1469 "parentKeyName": "Policy0",
1470 "parentKeyVersion": "0.0.1",
1471 "parentLocalName": "Match",
1472 "localName": "Task_Match3_DIRECT_Match_Establish"
1473 },
1474 "outputType": "DIRECT",
1475 "output": {
1476 "parentKeyName": "Policy0",
1477 "parentKeyVersion": "0.0.1",
1478 "parentLocalName": "Match",
1479 "localName": "Match_Establish"
1480 }
1481 }
1482 }
1483 ]
1484 }
1485 }
1486 }
1487 ]
1488 },
1489 "firstState": "Match"
1490 }
1491 },
1492 {
1493 "key": {
1494 "name": "Policy1",
1495 "version": "0.0.1"
1496 },
1497 "value": {
1498 "policyKey": {
1499 "name": "Policy1",
1500 "version": "0.0.1"
1501 },
1502 "template": "MEDA",
1503 "state": {
1504 "entry": [
1505 {
1506 "key": "Act",
1507 "value": {
1508 "stateKey": {
1509 "parentKeyName": "Policy1",
1510 "parentKeyVersion": "0.0.1",
1511 "parentLocalName": "NULL",
1512 "localName": "Act"
1513 },
1514 "trigger": {
1515 "name": "Event0103",
1516 "version": "0.0.1"
1517 },
1518 "stateOutputs": {
1519 "entry": [
1520 {
1521 "key": "Act_NULL",
1522 "value": {
1523 "key": {
1524 "parentKeyName": "Policy1",
1525 "parentKeyVersion": "0.0.1",
1526 "parentLocalName": "Act",
1527 "localName": "Act_NULL"
1528 },
1529 "outgoingEvent": {
1530 "name": "Event0104",
1531 "version": "0.0.1"
1532 },
1533 "nextState": {
1534 "parentKeyName": "NULL",
1535 "parentKeyVersion": "0.0.0",
1536 "parentLocalName": "NULL",
1537 "localName": "NULL"
1538 }
1539 }
1540 }
1541 ]
1542 },
1543 "contextAlbumReference": [
1544 {
1545 "name": "GlobalContextAlbum",
1546 "version": "0.0.1"
1547 }
1548 ],
1549 "taskSelectionLogic": {
1550 "key": "TaskSelectionLigic",
1551 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00001552 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00001553 },
1554 "stateFinalizerLogicMap": {
1555 "entry": []
1556 },
1557 "defaultTask": {
1558 "name": "Task_Act0",
1559 "version": "0.0.1"
1560 },
1561 "taskReferences": {
1562 "entry": [
1563 {
1564 "key": {
1565 "name": "Task_Act0",
1566 "version": "0.0.1"
1567 },
1568 "value": {
1569 "key": {
1570 "parentKeyName": "Policy1",
1571 "parentKeyVersion": "0.0.1",
1572 "parentLocalName": "Act",
1573 "localName": "Task_Act0_DIRECT_Act_NULL"
1574 },
1575 "outputType": "DIRECT",
1576 "output": {
1577 "parentKeyName": "Policy1",
1578 "parentKeyVersion": "0.0.1",
1579 "parentLocalName": "Act",
1580 "localName": "Act_NULL"
1581 }
1582 }
1583 },
1584 {
1585 "key": {
1586 "name": "Task_Act1",
1587 "version": "0.0.1"
1588 },
1589 "value": {
1590 "key": {
1591 "parentKeyName": "Policy1",
1592 "parentKeyVersion": "0.0.1",
1593 "parentLocalName": "Act",
1594 "localName": "Task_Act1_DIRECT_Act_NULL"
1595 },
1596 "outputType": "DIRECT",
1597 "output": {
1598 "parentKeyName": "Policy1",
1599 "parentKeyVersion": "0.0.1",
1600 "parentLocalName": "Act",
1601 "localName": "Act_NULL"
1602 }
1603 }
1604 },
1605 {
1606 "key": {
1607 "name": "Task_Act2",
1608 "version": "0.0.1"
1609 },
1610 "value": {
1611 "key": {
1612 "parentKeyName": "Policy1",
1613 "parentKeyVersion": "0.0.1",
1614 "parentLocalName": "Act",
1615 "localName": "Task_Act2_DIRECT_Act_NULL"
1616 },
1617 "outputType": "DIRECT",
1618 "output": {
1619 "parentKeyName": "Policy1",
1620 "parentKeyVersion": "0.0.1",
1621 "parentLocalName": "Act",
1622 "localName": "Act_NULL"
1623 }
1624 }
1625 },
1626 {
1627 "key": {
1628 "name": "Task_Act3",
1629 "version": "0.0.1"
1630 },
1631 "value": {
1632 "key": {
1633 "parentKeyName": "Policy1",
1634 "parentKeyVersion": "0.0.1",
1635 "parentLocalName": "Act",
1636 "localName": "Task_Act3_DIRECT_Act_NULL"
1637 },
1638 "outputType": "DIRECT",
1639 "output": {
1640 "parentKeyName": "Policy1",
1641 "parentKeyVersion": "0.0.1",
1642 "parentLocalName": "Act",
1643 "localName": "Act_NULL"
1644 }
1645 }
1646 }
1647 ]
1648 }
1649 }
1650 },
1651 {
1652 "key": "Decide",
1653 "value": {
1654 "stateKey": {
1655 "parentKeyName": "Policy1",
1656 "parentKeyVersion": "0.0.1",
1657 "parentLocalName": "NULL",
1658 "localName": "Decide"
1659 },
1660 "trigger": {
1661 "name": "Event0102",
1662 "version": "0.0.1"
1663 },
1664 "stateOutputs": {
1665 "entry": [
1666 {
1667 "key": "Decide_Act",
1668 "value": {
1669 "key": {
1670 "parentKeyName": "Policy1",
1671 "parentKeyVersion": "0.0.1",
1672 "parentLocalName": "Decide",
1673 "localName": "Decide_Act"
1674 },
1675 "outgoingEvent": {
1676 "name": "Event0103",
1677 "version": "0.0.1"
1678 },
1679 "nextState": {
1680 "parentKeyName": "Policy1",
1681 "parentKeyVersion": "0.0.1",
1682 "parentLocalName": "NULL",
1683 "localName": "Act"
1684 }
1685 }
1686 }
1687 ]
1688 },
1689 "contextAlbumReference": [
1690 {
1691 "name": "ExternalContextAlbum",
1692 "version": "0.0.1"
1693 },
1694 {
1695 "name": "GlobalContextAlbum",
1696 "version": "0.0.1"
1697 },
1698 {
1699 "name": "Policy1ContextAlbum",
1700 "version": "0.0.1"
1701 }
1702 ],
1703 "taskSelectionLogic": {
1704 "key": "TaskSelectionLigic",
1705 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00001706 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00001707 },
1708 "stateFinalizerLogicMap": {
1709 "entry": []
1710 },
1711 "defaultTask": {
1712 "name": "Task_Decide3",
1713 "version": "0.0.1"
1714 },
1715 "taskReferences": {
1716 "entry": [
1717 {
1718 "key": {
1719 "name": "Task_Decide0",
1720 "version": "0.0.1"
1721 },
1722 "value": {
1723 "key": {
1724 "parentKeyName": "Policy1",
1725 "parentKeyVersion": "0.0.1",
1726 "parentLocalName": "Decide",
1727 "localName": "Task_Decide0_DIRECT_Decide_Act"
1728 },
1729 "outputType": "DIRECT",
1730 "output": {
1731 "parentKeyName": "Policy1",
1732 "parentKeyVersion": "0.0.1",
1733 "parentLocalName": "Decide",
1734 "localName": "Decide_Act"
1735 }
1736 }
1737 },
1738 {
1739 "key": {
1740 "name": "Task_Decide1",
1741 "version": "0.0.1"
1742 },
1743 "value": {
1744 "key": {
1745 "parentKeyName": "Policy1",
1746 "parentKeyVersion": "0.0.1",
1747 "parentLocalName": "Decide",
1748 "localName": "Task_Decide1_DIRECT_Decide_Act"
1749 },
1750 "outputType": "DIRECT",
1751 "output": {
1752 "parentKeyName": "Policy1",
1753 "parentKeyVersion": "0.0.1",
1754 "parentLocalName": "Decide",
1755 "localName": "Decide_Act"
1756 }
1757 }
1758 },
1759 {
1760 "key": {
1761 "name": "Task_Decide2",
1762 "version": "0.0.1"
1763 },
1764 "value": {
1765 "key": {
1766 "parentKeyName": "Policy1",
1767 "parentKeyVersion": "0.0.1",
1768 "parentLocalName": "Decide",
1769 "localName": "Task_Decide2_DIRECT_Decide_Act"
1770 },
1771 "outputType": "DIRECT",
1772 "output": {
1773 "parentKeyName": "Policy1",
1774 "parentKeyVersion": "0.0.1",
1775 "parentLocalName": "Decide",
1776 "localName": "Decide_Act"
1777 }
1778 }
1779 },
1780 {
1781 "key": {
1782 "name": "Task_Decide3",
1783 "version": "0.0.1"
1784 },
1785 "value": {
1786 "key": {
1787 "parentKeyName": "Policy1",
1788 "parentKeyVersion": "0.0.1",
1789 "parentLocalName": "Decide",
1790 "localName": "Task_Decide3_DIRECT_Decide_Act"
1791 },
1792 "outputType": "DIRECT",
1793 "output": {
1794 "parentKeyName": "Policy1",
1795 "parentKeyVersion": "0.0.1",
1796 "parentLocalName": "Decide",
1797 "localName": "Decide_Act"
1798 }
1799 }
1800 }
1801 ]
1802 }
1803 }
1804 },
1805 {
1806 "key": "Establish",
1807 "value": {
1808 "stateKey": {
1809 "parentKeyName": "Policy1",
1810 "parentKeyVersion": "0.0.1",
1811 "parentLocalName": "NULL",
1812 "localName": "Establish"
1813 },
1814 "trigger": {
1815 "name": "Event0101",
1816 "version": "0.0.1"
1817 },
1818 "stateOutputs": {
1819 "entry": [
1820 {
1821 "key": "Establish_Decide",
1822 "value": {
1823 "key": {
1824 "parentKeyName": "Policy1",
1825 "parentKeyVersion": "0.0.1",
1826 "parentLocalName": "Establish",
1827 "localName": "Establish_Decide"
1828 },
1829 "outgoingEvent": {
1830 "name": "Event0102",
1831 "version": "0.0.1"
1832 },
1833 "nextState": {
1834 "parentKeyName": "Policy1",
1835 "parentKeyVersion": "0.0.1",
1836 "parentLocalName": "NULL",
1837 "localName": "Decide"
1838 }
1839 }
1840 }
1841 ]
1842 },
1843 "contextAlbumReference": [
1844 {
1845 "name": "ExternalContextAlbum",
1846 "version": "0.0.1"
1847 },
1848 {
1849 "name": "GlobalContextAlbum",
1850 "version": "0.0.1"
1851 },
1852 {
1853 "name": "Policy1ContextAlbum",
1854 "version": "0.0.1"
1855 }
1856 ],
1857 "taskSelectionLogic": {
1858 "key": "TaskSelectionLigic",
1859 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00001860 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00001861 },
1862 "stateFinalizerLogicMap": {
1863 "entry": []
1864 },
1865 "defaultTask": {
1866 "name": "Task_Establish1",
1867 "version": "0.0.1"
1868 },
1869 "taskReferences": {
1870 "entry": [
1871 {
1872 "key": {
1873 "name": "Task_Establish0",
1874 "version": "0.0.1"
1875 },
1876 "value": {
1877 "key": {
1878 "parentKeyName": "Policy1",
1879 "parentKeyVersion": "0.0.1",
1880 "parentLocalName": "Establish",
1881 "localName": "Task_Establish0_DIRECT_Establish_Decide"
1882 },
1883 "outputType": "DIRECT",
1884 "output": {
1885 "parentKeyName": "Policy1",
1886 "parentKeyVersion": "0.0.1",
1887 "parentLocalName": "Establish",
1888 "localName": "Establish_Decide"
1889 }
1890 }
1891 },
1892 {
1893 "key": {
1894 "name": "Task_Establish1",
1895 "version": "0.0.1"
1896 },
1897 "value": {
1898 "key": {
1899 "parentKeyName": "Policy1",
1900 "parentKeyVersion": "0.0.1",
1901 "parentLocalName": "Establish",
1902 "localName": "Task_Establish1_DIRECT_Establish_Decide"
1903 },
1904 "outputType": "DIRECT",
1905 "output": {
1906 "parentKeyName": "Policy1",
1907 "parentKeyVersion": "0.0.1",
1908 "parentLocalName": "Establish",
1909 "localName": "Establish_Decide"
1910 }
1911 }
1912 },
1913 {
1914 "key": {
1915 "name": "Task_Establish2",
1916 "version": "0.0.1"
1917 },
1918 "value": {
1919 "key": {
1920 "parentKeyName": "Policy1",
1921 "parentKeyVersion": "0.0.1",
1922 "parentLocalName": "Establish",
1923 "localName": "Task_Establish2_DIRECT_Establish_Decide"
1924 },
1925 "outputType": "DIRECT",
1926 "output": {
1927 "parentKeyName": "Policy1",
1928 "parentKeyVersion": "0.0.1",
1929 "parentLocalName": "Establish",
1930 "localName": "Establish_Decide"
1931 }
1932 }
1933 },
1934 {
1935 "key": {
1936 "name": "Task_Establish3",
1937 "version": "0.0.1"
1938 },
1939 "value": {
1940 "key": {
1941 "parentKeyName": "Policy1",
1942 "parentKeyVersion": "0.0.1",
1943 "parentLocalName": "Establish",
1944 "localName": "Task_Establish3_DIRECT_Establish_Decide"
1945 },
1946 "outputType": "DIRECT",
1947 "output": {
1948 "parentKeyName": "Policy1",
1949 "parentKeyVersion": "0.0.1",
1950 "parentLocalName": "Establish",
1951 "localName": "Establish_Decide"
1952 }
1953 }
1954 }
1955 ]
1956 }
1957 }
1958 },
1959 {
1960 "key": "Match",
1961 "value": {
1962 "stateKey": {
1963 "parentKeyName": "Policy1",
1964 "parentKeyVersion": "0.0.1",
1965 "parentLocalName": "NULL",
1966 "localName": "Match"
1967 },
1968 "trigger": {
1969 "name": "Event0100",
1970 "version": "0.0.1"
1971 },
1972 "stateOutputs": {
1973 "entry": [
1974 {
1975 "key": "Match_Establish",
1976 "value": {
1977 "key": {
1978 "parentKeyName": "Policy1",
1979 "parentKeyVersion": "0.0.1",
1980 "parentLocalName": "Match",
1981 "localName": "Match_Establish"
1982 },
1983 "outgoingEvent": {
1984 "name": "Event0101",
1985 "version": "0.0.1"
1986 },
1987 "nextState": {
1988 "parentKeyName": "Policy1",
1989 "parentKeyVersion": "0.0.1",
1990 "parentLocalName": "NULL",
1991 "localName": "Establish"
1992 }
1993 }
1994 }
1995 ]
1996 },
1997 "contextAlbumReference": [
1998 {
1999 "name": "ExternalContextAlbum",
2000 "version": "0.0.1"
2001 },
2002 {
2003 "name": "GlobalContextAlbum",
2004 "version": "0.0.1"
2005 },
2006 {
2007 "name": "Policy1ContextAlbum",
2008 "version": "0.0.1"
2009 }
2010 ],
2011 "taskSelectionLogic": {
2012 "key": "TaskSelectionLigic",
2013 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00002014 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00002015 },
2016 "stateFinalizerLogicMap": {
2017 "entry": []
2018 },
2019 "defaultTask": {
2020 "name": "Task_Match3",
2021 "version": "0.0.1"
2022 },
2023 "taskReferences": {
2024 "entry": [
2025 {
2026 "key": {
2027 "name": "Task_Match0",
2028 "version": "0.0.1"
2029 },
2030 "value": {
2031 "key": {
2032 "parentKeyName": "Policy1",
2033 "parentKeyVersion": "0.0.1",
2034 "parentLocalName": "Match",
2035 "localName": "Task_Match0_DIRECT_Match_Establish"
2036 },
2037 "outputType": "DIRECT",
2038 "output": {
2039 "parentKeyName": "Policy1",
2040 "parentKeyVersion": "0.0.1",
2041 "parentLocalName": "Match",
2042 "localName": "Match_Establish"
2043 }
2044 }
2045 },
2046 {
2047 "key": {
2048 "name": "Task_Match1",
2049 "version": "0.0.1"
2050 },
2051 "value": {
2052 "key": {
2053 "parentKeyName": "Policy1",
2054 "parentKeyVersion": "0.0.1",
2055 "parentLocalName": "Match",
2056 "localName": "Task_Match1_DIRECT_Match_Establish"
2057 },
2058 "outputType": "DIRECT",
2059 "output": {
2060 "parentKeyName": "Policy1",
2061 "parentKeyVersion": "0.0.1",
2062 "parentLocalName": "Match",
2063 "localName": "Match_Establish"
2064 }
2065 }
2066 },
2067 {
2068 "key": {
2069 "name": "Task_Match2",
2070 "version": "0.0.1"
2071 },
2072 "value": {
2073 "key": {
2074 "parentKeyName": "Policy1",
2075 "parentKeyVersion": "0.0.1",
2076 "parentLocalName": "Match",
2077 "localName": "Task_Match2_DIRECT_Match_Establish"
2078 },
2079 "outputType": "DIRECT",
2080 "output": {
2081 "parentKeyName": "Policy1",
2082 "parentKeyVersion": "0.0.1",
2083 "parentLocalName": "Match",
2084 "localName": "Match_Establish"
2085 }
2086 }
2087 },
2088 {
2089 "key": {
2090 "name": "Task_Match3",
2091 "version": "0.0.1"
2092 },
2093 "value": {
2094 "key": {
2095 "parentKeyName": "Policy1",
2096 "parentKeyVersion": "0.0.1",
2097 "parentLocalName": "Match",
2098 "localName": "Task_Match3_DIRECT_Match_Establish"
2099 },
2100 "outputType": "DIRECT",
2101 "output": {
2102 "parentKeyName": "Policy1",
2103 "parentKeyVersion": "0.0.1",
2104 "parentLocalName": "Match",
2105 "localName": "Match_Establish"
2106 }
2107 }
2108 }
2109 ]
2110 }
2111 }
2112 }
2113 ]
2114 },
2115 "firstState": "Match"
2116 }
2117 }
2118 ]
2119 }
2120 },
2121 "tasks": {
2122 "key": {
2123 "name": "Tasks",
2124 "version": "0.0.1"
2125 },
2126 "taskMap": {
2127 "entry": [
2128 {
2129 "key": {
2130 "name": "Task_Act0",
2131 "version": "0.0.1"
2132 },
2133 "value": {
2134 "key": {
2135 "name": "Task_Act0",
2136 "version": "0.0.1"
2137 },
2138 "inputFields": {
2139 "entry": [
2140 {
2141 "key": "TestDecideCaseSelected",
2142 "value": {
2143 "key": "TestDecideCaseSelected",
2144 "fieldSchemaKey": {
2145 "name": "TestCase",
2146 "version": "0.0.1"
2147 },
2148 "optional": false
2149 }
2150 },
2151 {
2152 "key": "TestDecideStateTime",
2153 "value": {
2154 "key": "TestDecideStateTime",
2155 "fieldSchemaKey": {
2156 "name": "TestTimestamp",
2157 "version": "0.0.1"
2158 },
2159 "optional": false
2160 }
2161 },
2162 {
2163 "key": "TestEstablishCaseSelected",
2164 "value": {
2165 "key": "TestEstablishCaseSelected",
2166 "fieldSchemaKey": {
2167 "name": "TestCase",
2168 "version": "0.0.1"
2169 },
2170 "optional": false
2171 }
2172 },
2173 {
2174 "key": "TestEstablishStateTime",
2175 "value": {
2176 "key": "TestEstablishStateTime",
2177 "fieldSchemaKey": {
2178 "name": "TestTimestamp",
2179 "version": "0.0.1"
2180 },
2181 "optional": false
2182 }
2183 },
2184 {
2185 "key": "TestMatchCase",
2186 "value": {
2187 "key": "TestMatchCase",
2188 "fieldSchemaKey": {
2189 "name": "TestCase",
2190 "version": "0.0.1"
2191 },
2192 "optional": false
2193 }
2194 },
2195 {
2196 "key": "TestMatchCaseSelected",
2197 "value": {
2198 "key": "TestMatchCaseSelected",
2199 "fieldSchemaKey": {
2200 "name": "TestCase",
2201 "version": "0.0.1"
2202 },
2203 "optional": false
2204 }
2205 },
2206 {
2207 "key": "TestMatchStateTime",
2208 "value": {
2209 "key": "TestMatchStateTime",
2210 "fieldSchemaKey": {
2211 "name": "TestTimestamp",
2212 "version": "0.0.1"
2213 },
2214 "optional": false
2215 }
2216 },
2217 {
2218 "key": "TestSlogan",
2219 "value": {
2220 "key": "TestSlogan",
2221 "fieldSchemaKey": {
2222 "name": "TestSlogan",
2223 "version": "0.0.1"
2224 },
2225 "optional": false
2226 }
2227 },
2228 {
2229 "key": "TestTemperature",
2230 "value": {
2231 "key": "TestTemperature",
2232 "fieldSchemaKey": {
2233 "name": "TestTemperature",
2234 "version": "0.0.1"
2235 },
2236 "optional": false
2237 }
2238 },
2239 {
2240 "key": "TestTimestamp",
2241 "value": {
2242 "key": "TestTimestamp",
2243 "fieldSchemaKey": {
2244 "name": "TestTimestamp",
2245 "version": "0.0.1"
2246 },
2247 "optional": false
2248 }
2249 }
2250 ]
2251 },
2252 "outputFields": {
2253 "entry": [
2254 {
2255 "key": "TestActCaseSelected",
2256 "value": {
2257 "key": "TestActCaseSelected",
2258 "fieldSchemaKey": {
2259 "name": "TestCase",
2260 "version": "0.0.1"
2261 },
2262 "optional": false
2263 }
2264 },
2265 {
2266 "key": "TestActStateTime",
2267 "value": {
2268 "key": "TestActStateTime",
2269 "fieldSchemaKey": {
2270 "name": "TestTimestamp",
2271 "version": "0.0.1"
2272 },
2273 "optional": false
2274 }
2275 },
2276 {
2277 "key": "TestDecideCaseSelected",
2278 "value": {
2279 "key": "TestDecideCaseSelected",
2280 "fieldSchemaKey": {
2281 "name": "TestCase",
2282 "version": "0.0.1"
2283 },
2284 "optional": false
2285 }
2286 },
2287 {
2288 "key": "TestDecideStateTime",
2289 "value": {
2290 "key": "TestDecideStateTime",
2291 "fieldSchemaKey": {
2292 "name": "TestTimestamp",
2293 "version": "0.0.1"
2294 },
2295 "optional": false
2296 }
2297 },
2298 {
2299 "key": "TestEstablishCaseSelected",
2300 "value": {
2301 "key": "TestEstablishCaseSelected",
2302 "fieldSchemaKey": {
2303 "name": "TestCase",
2304 "version": "0.0.1"
2305 },
2306 "optional": false
2307 }
2308 },
2309 {
2310 "key": "TestEstablishStateTime",
2311 "value": {
2312 "key": "TestEstablishStateTime",
2313 "fieldSchemaKey": {
2314 "name": "TestTimestamp",
2315 "version": "0.0.1"
2316 },
2317 "optional": false
2318 }
2319 },
2320 {
2321 "key": "TestMatchCase",
2322 "value": {
2323 "key": "TestMatchCase",
2324 "fieldSchemaKey": {
2325 "name": "TestCase",
2326 "version": "0.0.1"
2327 },
2328 "optional": false
2329 }
2330 },
2331 {
2332 "key": "TestMatchCaseSelected",
2333 "value": {
2334 "key": "TestMatchCaseSelected",
2335 "fieldSchemaKey": {
2336 "name": "TestCase",
2337 "version": "0.0.1"
2338 },
2339 "optional": false
2340 }
2341 },
2342 {
2343 "key": "TestMatchStateTime",
2344 "value": {
2345 "key": "TestMatchStateTime",
2346 "fieldSchemaKey": {
2347 "name": "TestTimestamp",
2348 "version": "0.0.1"
2349 },
2350 "optional": false
2351 }
2352 },
2353 {
2354 "key": "TestSlogan",
2355 "value": {
2356 "key": "TestSlogan",
2357 "fieldSchemaKey": {
2358 "name": "TestSlogan",
2359 "version": "0.0.1"
2360 },
2361 "optional": false
2362 }
2363 },
2364 {
2365 "key": "TestTemperature",
2366 "value": {
2367 "key": "TestTemperature",
2368 "fieldSchemaKey": {
2369 "name": "TestTemperature",
2370 "version": "0.0.1"
2371 },
2372 "optional": false
2373 }
2374 },
2375 {
2376 "key": "TestTimestamp",
2377 "value": {
2378 "key": "TestTimestamp",
2379 "fieldSchemaKey": {
2380 "name": "TestTimestamp",
2381 "version": "0.0.1"
2382 },
2383 "optional": false
2384 }
2385 }
2386 ]
2387 },
2388 "taskParameters": {
2389 "entry": [
2390 {
2391 "key": "Parameter0",
2392 "value": {
2393 "key": {
2394 "parentKeyName": "Task_Act0",
2395 "parentKeyVersion": "0.0.1",
2396 "parentLocalName": "NULL",
2397 "localName": "Parameter0"
2398 },
2399 "defaultValue": "DefaultValue0"
2400 }
2401 },
2402 {
2403 "key": "Parameter1",
2404 "value": {
2405 "key": {
2406 "parentKeyName": "Task_Act0",
2407 "parentKeyVersion": "0.0.1",
2408 "parentLocalName": "NULL",
2409 "localName": "Parameter1"
2410 },
2411 "defaultValue": "DefaultValue1"
2412 }
2413 },
2414 {
2415 "key": "Parameter2",
2416 "value": {
2417 "key": {
2418 "parentKeyName": "Task_Act0",
2419 "parentKeyVersion": "0.0.1",
2420 "parentLocalName": "NULL",
2421 "localName": "Parameter2"
2422 },
2423 "defaultValue": "DefaultValue2"
2424 }
2425 }
2426 ]
2427 },
2428 "contextAlbumReference": [
2429 {
2430 "name": "ExternalContextAlbum",
2431 "version": "0.0.1"
2432 },
2433 {
2434 "name": "GlobalContextAlbum",
2435 "version": "0.0.1"
2436 },
2437 {
2438 "name": "Policy0ContextAlbum",
2439 "version": "0.0.1"
2440 },
2441 {
2442 "name": "Policy1ContextAlbum",
2443 "version": "0.0.1"
2444 }
2445 ],
2446 "taskLogic": {
2447 "key": "_TaskLogic",
2448 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00002449 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00002450 }
2451 }
2452 },
2453 {
2454 "key": {
2455 "name": "Task_Act1",
2456 "version": "0.0.1"
2457 },
2458 "value": {
2459 "key": {
2460 "name": "Task_Act1",
2461 "version": "0.0.1"
2462 },
2463 "inputFields": {
2464 "entry": [
2465 {
2466 "key": "TestDecideCaseSelected",
2467 "value": {
2468 "key": "TestDecideCaseSelected",
2469 "fieldSchemaKey": {
2470 "name": "TestCase",
2471 "version": "0.0.1"
2472 },
2473 "optional": false
2474 }
2475 },
2476 {
2477 "key": "TestDecideStateTime",
2478 "value": {
2479 "key": "TestDecideStateTime",
2480 "fieldSchemaKey": {
2481 "name": "TestTimestamp",
2482 "version": "0.0.1"
2483 },
2484 "optional": false
2485 }
2486 },
2487 {
2488 "key": "TestEstablishCaseSelected",
2489 "value": {
2490 "key": "TestEstablishCaseSelected",
2491 "fieldSchemaKey": {
2492 "name": "TestCase",
2493 "version": "0.0.1"
2494 },
2495 "optional": false
2496 }
2497 },
2498 {
2499 "key": "TestEstablishStateTime",
2500 "value": {
2501 "key": "TestEstablishStateTime",
2502 "fieldSchemaKey": {
2503 "name": "TestTimestamp",
2504 "version": "0.0.1"
2505 },
2506 "optional": false
2507 }
2508 },
2509 {
2510 "key": "TestMatchCase",
2511 "value": {
2512 "key": "TestMatchCase",
2513 "fieldSchemaKey": {
2514 "name": "TestCase",
2515 "version": "0.0.1"
2516 },
2517 "optional": false
2518 }
2519 },
2520 {
2521 "key": "TestMatchCaseSelected",
2522 "value": {
2523 "key": "TestMatchCaseSelected",
2524 "fieldSchemaKey": {
2525 "name": "TestCase",
2526 "version": "0.0.1"
2527 },
2528 "optional": false
2529 }
2530 },
2531 {
2532 "key": "TestMatchStateTime",
2533 "value": {
2534 "key": "TestMatchStateTime",
2535 "fieldSchemaKey": {
2536 "name": "TestTimestamp",
2537 "version": "0.0.1"
2538 },
2539 "optional": false
2540 }
2541 },
2542 {
2543 "key": "TestSlogan",
2544 "value": {
2545 "key": "TestSlogan",
2546 "fieldSchemaKey": {
2547 "name": "TestSlogan",
2548 "version": "0.0.1"
2549 },
2550 "optional": false
2551 }
2552 },
2553 {
2554 "key": "TestTemperature",
2555 "value": {
2556 "key": "TestTemperature",
2557 "fieldSchemaKey": {
2558 "name": "TestTemperature",
2559 "version": "0.0.1"
2560 },
2561 "optional": false
2562 }
2563 },
2564 {
2565 "key": "TestTimestamp",
2566 "value": {
2567 "key": "TestTimestamp",
2568 "fieldSchemaKey": {
2569 "name": "TestTimestamp",
2570 "version": "0.0.1"
2571 },
2572 "optional": false
2573 }
2574 }
2575 ]
2576 },
2577 "outputFields": {
2578 "entry": [
2579 {
2580 "key": "TestActCaseSelected",
2581 "value": {
2582 "key": "TestActCaseSelected",
2583 "fieldSchemaKey": {
2584 "name": "TestCase",
2585 "version": "0.0.1"
2586 },
2587 "optional": false
2588 }
2589 },
2590 {
2591 "key": "TestActStateTime",
2592 "value": {
2593 "key": "TestActStateTime",
2594 "fieldSchemaKey": {
2595 "name": "TestTimestamp",
2596 "version": "0.0.1"
2597 },
2598 "optional": false
2599 }
2600 },
2601 {
2602 "key": "TestDecideCaseSelected",
2603 "value": {
2604 "key": "TestDecideCaseSelected",
2605 "fieldSchemaKey": {
2606 "name": "TestCase",
2607 "version": "0.0.1"
2608 },
2609 "optional": false
2610 }
2611 },
2612 {
2613 "key": "TestDecideStateTime",
2614 "value": {
2615 "key": "TestDecideStateTime",
2616 "fieldSchemaKey": {
2617 "name": "TestTimestamp",
2618 "version": "0.0.1"
2619 },
2620 "optional": false
2621 }
2622 },
2623 {
2624 "key": "TestEstablishCaseSelected",
2625 "value": {
2626 "key": "TestEstablishCaseSelected",
2627 "fieldSchemaKey": {
2628 "name": "TestCase",
2629 "version": "0.0.1"
2630 },
2631 "optional": false
2632 }
2633 },
2634 {
2635 "key": "TestEstablishStateTime",
2636 "value": {
2637 "key": "TestEstablishStateTime",
2638 "fieldSchemaKey": {
2639 "name": "TestTimestamp",
2640 "version": "0.0.1"
2641 },
2642 "optional": false
2643 }
2644 },
2645 {
2646 "key": "TestMatchCase",
2647 "value": {
2648 "key": "TestMatchCase",
2649 "fieldSchemaKey": {
2650 "name": "TestCase",
2651 "version": "0.0.1"
2652 },
2653 "optional": false
2654 }
2655 },
2656 {
2657 "key": "TestMatchCaseSelected",
2658 "value": {
2659 "key": "TestMatchCaseSelected",
2660 "fieldSchemaKey": {
2661 "name": "TestCase",
2662 "version": "0.0.1"
2663 },
2664 "optional": false
2665 }
2666 },
2667 {
2668 "key": "TestMatchStateTime",
2669 "value": {
2670 "key": "TestMatchStateTime",
2671 "fieldSchemaKey": {
2672 "name": "TestTimestamp",
2673 "version": "0.0.1"
2674 },
2675 "optional": false
2676 }
2677 },
2678 {
2679 "key": "TestSlogan",
2680 "value": {
2681 "key": "TestSlogan",
2682 "fieldSchemaKey": {
2683 "name": "TestSlogan",
2684 "version": "0.0.1"
2685 },
2686 "optional": false
2687 }
2688 },
2689 {
2690 "key": "TestTemperature",
2691 "value": {
2692 "key": "TestTemperature",
2693 "fieldSchemaKey": {
2694 "name": "TestTemperature",
2695 "version": "0.0.1"
2696 },
2697 "optional": false
2698 }
2699 },
2700 {
2701 "key": "TestTimestamp",
2702 "value": {
2703 "key": "TestTimestamp",
2704 "fieldSchemaKey": {
2705 "name": "TestTimestamp",
2706 "version": "0.0.1"
2707 },
2708 "optional": false
2709 }
2710 }
2711 ]
2712 },
2713 "taskParameters": {
2714 "entry": [
2715 {
2716 "key": "Parameter0",
2717 "value": {
2718 "key": {
2719 "parentKeyName": "Task_Act1",
2720 "parentKeyVersion": "0.0.1",
2721 "parentLocalName": "NULL",
2722 "localName": "Parameter0"
2723 },
2724 "defaultValue": "DefaultValue0"
2725 }
2726 },
2727 {
2728 "key": "Parameter1",
2729 "value": {
2730 "key": {
2731 "parentKeyName": "Task_Act1",
2732 "parentKeyVersion": "0.0.1",
2733 "parentLocalName": "NULL",
2734 "localName": "Parameter1"
2735 },
2736 "defaultValue": "DefaultValue1"
2737 }
2738 }
2739 ]
2740 },
2741 "contextAlbumReference": [
2742 {
2743 "name": "GlobalContextAlbum",
2744 "version": "0.0.1"
2745 },
2746 {
2747 "name": "Policy0ContextAlbum",
2748 "version": "0.0.1"
2749 }
2750 ],
2751 "taskLogic": {
2752 "key": "_TaskLogic",
2753 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00002754 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00002755 }
2756 }
2757 },
2758 {
2759 "key": {
2760 "name": "Task_Act2",
2761 "version": "0.0.1"
2762 },
2763 "value": {
2764 "key": {
2765 "name": "Task_Act2",
2766 "version": "0.0.1"
2767 },
2768 "inputFields": {
2769 "entry": [
2770 {
2771 "key": "TestDecideCaseSelected",
2772 "value": {
2773 "key": "TestDecideCaseSelected",
2774 "fieldSchemaKey": {
2775 "name": "TestCase",
2776 "version": "0.0.1"
2777 },
2778 "optional": false
2779 }
2780 },
2781 {
2782 "key": "TestDecideStateTime",
2783 "value": {
2784 "key": "TestDecideStateTime",
2785 "fieldSchemaKey": {
2786 "name": "TestTimestamp",
2787 "version": "0.0.1"
2788 },
2789 "optional": false
2790 }
2791 },
2792 {
2793 "key": "TestEstablishCaseSelected",
2794 "value": {
2795 "key": "TestEstablishCaseSelected",
2796 "fieldSchemaKey": {
2797 "name": "TestCase",
2798 "version": "0.0.1"
2799 },
2800 "optional": false
2801 }
2802 },
2803 {
2804 "key": "TestEstablishStateTime",
2805 "value": {
2806 "key": "TestEstablishStateTime",
2807 "fieldSchemaKey": {
2808 "name": "TestTimestamp",
2809 "version": "0.0.1"
2810 },
2811 "optional": false
2812 }
2813 },
2814 {
2815 "key": "TestMatchCase",
2816 "value": {
2817 "key": "TestMatchCase",
2818 "fieldSchemaKey": {
2819 "name": "TestCase",
2820 "version": "0.0.1"
2821 },
2822 "optional": false
2823 }
2824 },
2825 {
2826 "key": "TestMatchCaseSelected",
2827 "value": {
2828 "key": "TestMatchCaseSelected",
2829 "fieldSchemaKey": {
2830 "name": "TestCase",
2831 "version": "0.0.1"
2832 },
2833 "optional": false
2834 }
2835 },
2836 {
2837 "key": "TestMatchStateTime",
2838 "value": {
2839 "key": "TestMatchStateTime",
2840 "fieldSchemaKey": {
2841 "name": "TestTimestamp",
2842 "version": "0.0.1"
2843 },
2844 "optional": false
2845 }
2846 },
2847 {
2848 "key": "TestSlogan",
2849 "value": {
2850 "key": "TestSlogan",
2851 "fieldSchemaKey": {
2852 "name": "TestSlogan",
2853 "version": "0.0.1"
2854 },
2855 "optional": false
2856 }
2857 },
2858 {
2859 "key": "TestTemperature",
2860 "value": {
2861 "key": "TestTemperature",
2862 "fieldSchemaKey": {
2863 "name": "TestTemperature",
2864 "version": "0.0.1"
2865 },
2866 "optional": false
2867 }
2868 },
2869 {
2870 "key": "TestTimestamp",
2871 "value": {
2872 "key": "TestTimestamp",
2873 "fieldSchemaKey": {
2874 "name": "TestTimestamp",
2875 "version": "0.0.1"
2876 },
2877 "optional": false
2878 }
2879 }
2880 ]
2881 },
2882 "outputFields": {
2883 "entry": [
2884 {
2885 "key": "TestActCaseSelected",
2886 "value": {
2887 "key": "TestActCaseSelected",
2888 "fieldSchemaKey": {
2889 "name": "TestCase",
2890 "version": "0.0.1"
2891 },
2892 "optional": false
2893 }
2894 },
2895 {
2896 "key": "TestActStateTime",
2897 "value": {
2898 "key": "TestActStateTime",
2899 "fieldSchemaKey": {
2900 "name": "TestTimestamp",
2901 "version": "0.0.1"
2902 },
2903 "optional": false
2904 }
2905 },
2906 {
2907 "key": "TestDecideCaseSelected",
2908 "value": {
2909 "key": "TestDecideCaseSelected",
2910 "fieldSchemaKey": {
2911 "name": "TestCase",
2912 "version": "0.0.1"
2913 },
2914 "optional": false
2915 }
2916 },
2917 {
2918 "key": "TestDecideStateTime",
2919 "value": {
2920 "key": "TestDecideStateTime",
2921 "fieldSchemaKey": {
2922 "name": "TestTimestamp",
2923 "version": "0.0.1"
2924 },
2925 "optional": false
2926 }
2927 },
2928 {
2929 "key": "TestEstablishCaseSelected",
2930 "value": {
2931 "key": "TestEstablishCaseSelected",
2932 "fieldSchemaKey": {
2933 "name": "TestCase",
2934 "version": "0.0.1"
2935 },
2936 "optional": false
2937 }
2938 },
2939 {
2940 "key": "TestEstablishStateTime",
2941 "value": {
2942 "key": "TestEstablishStateTime",
2943 "fieldSchemaKey": {
2944 "name": "TestTimestamp",
2945 "version": "0.0.1"
2946 },
2947 "optional": false
2948 }
2949 },
2950 {
2951 "key": "TestMatchCase",
2952 "value": {
2953 "key": "TestMatchCase",
2954 "fieldSchemaKey": {
2955 "name": "TestCase",
2956 "version": "0.0.1"
2957 },
2958 "optional": false
2959 }
2960 },
2961 {
2962 "key": "TestMatchCaseSelected",
2963 "value": {
2964 "key": "TestMatchCaseSelected",
2965 "fieldSchemaKey": {
2966 "name": "TestCase",
2967 "version": "0.0.1"
2968 },
2969 "optional": false
2970 }
2971 },
2972 {
2973 "key": "TestMatchStateTime",
2974 "value": {
2975 "key": "TestMatchStateTime",
2976 "fieldSchemaKey": {
2977 "name": "TestTimestamp",
2978 "version": "0.0.1"
2979 },
2980 "optional": false
2981 }
2982 },
2983 {
2984 "key": "TestSlogan",
2985 "value": {
2986 "key": "TestSlogan",
2987 "fieldSchemaKey": {
2988 "name": "TestSlogan",
2989 "version": "0.0.1"
2990 },
2991 "optional": false
2992 }
2993 },
2994 {
2995 "key": "TestTemperature",
2996 "value": {
2997 "key": "TestTemperature",
2998 "fieldSchemaKey": {
2999 "name": "TestTemperature",
3000 "version": "0.0.1"
3001 },
3002 "optional": false
3003 }
3004 },
3005 {
3006 "key": "TestTimestamp",
3007 "value": {
3008 "key": "TestTimestamp",
3009 "fieldSchemaKey": {
3010 "name": "TestTimestamp",
3011 "version": "0.0.1"
3012 },
3013 "optional": false
3014 }
3015 }
3016 ]
3017 },
3018 "taskParameters": {
3019 "entry": [
3020 {
3021 "key": "Parameter0",
3022 "value": {
3023 "key": {
3024 "parentKeyName": "Task_Act2",
3025 "parentKeyVersion": "0.0.1",
3026 "parentLocalName": "NULL",
3027 "localName": "Parameter0"
3028 },
3029 "defaultValue": "DefaultValue0"
3030 }
3031 }
3032 ]
3033 },
3034 "contextAlbumReference": [
3035 {
3036 "name": "GlobalContextAlbum",
3037 "version": "0.0.1"
3038 },
3039 {
3040 "name": "Policy1ContextAlbum",
3041 "version": "0.0.1"
3042 }
3043 ],
3044 "taskLogic": {
3045 "key": "_TaskLogic",
3046 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00003047 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00003048 }
3049 }
3050 },
3051 {
3052 "key": {
3053 "name": "Task_Act3",
3054 "version": "0.0.1"
3055 },
3056 "value": {
3057 "key": {
3058 "name": "Task_Act3",
3059 "version": "0.0.1"
3060 },
3061 "inputFields": {
3062 "entry": [
3063 {
3064 "key": "TestDecideCaseSelected",
3065 "value": {
3066 "key": "TestDecideCaseSelected",
3067 "fieldSchemaKey": {
3068 "name": "TestCase",
3069 "version": "0.0.1"
3070 },
3071 "optional": false
3072 }
3073 },
3074 {
3075 "key": "TestDecideStateTime",
3076 "value": {
3077 "key": "TestDecideStateTime",
3078 "fieldSchemaKey": {
3079 "name": "TestTimestamp",
3080 "version": "0.0.1"
3081 },
3082 "optional": false
3083 }
3084 },
3085 {
3086 "key": "TestEstablishCaseSelected",
3087 "value": {
3088 "key": "TestEstablishCaseSelected",
3089 "fieldSchemaKey": {
3090 "name": "TestCase",
3091 "version": "0.0.1"
3092 },
3093 "optional": false
3094 }
3095 },
3096 {
3097 "key": "TestEstablishStateTime",
3098 "value": {
3099 "key": "TestEstablishStateTime",
3100 "fieldSchemaKey": {
3101 "name": "TestTimestamp",
3102 "version": "0.0.1"
3103 },
3104 "optional": false
3105 }
3106 },
3107 {
3108 "key": "TestMatchCase",
3109 "value": {
3110 "key": "TestMatchCase",
3111 "fieldSchemaKey": {
3112 "name": "TestCase",
3113 "version": "0.0.1"
3114 },
3115 "optional": false
3116 }
3117 },
3118 {
3119 "key": "TestMatchCaseSelected",
3120 "value": {
3121 "key": "TestMatchCaseSelected",
3122 "fieldSchemaKey": {
3123 "name": "TestCase",
3124 "version": "0.0.1"
3125 },
3126 "optional": false
3127 }
3128 },
3129 {
3130 "key": "TestMatchStateTime",
3131 "value": {
3132 "key": "TestMatchStateTime",
3133 "fieldSchemaKey": {
3134 "name": "TestTimestamp",
3135 "version": "0.0.1"
3136 },
3137 "optional": false
3138 }
3139 },
3140 {
3141 "key": "TestSlogan",
3142 "value": {
3143 "key": "TestSlogan",
3144 "fieldSchemaKey": {
3145 "name": "TestSlogan",
3146 "version": "0.0.1"
3147 },
3148 "optional": false
3149 }
3150 },
3151 {
3152 "key": "TestTemperature",
3153 "value": {
3154 "key": "TestTemperature",
3155 "fieldSchemaKey": {
3156 "name": "TestTemperature",
3157 "version": "0.0.1"
3158 },
3159 "optional": false
3160 }
3161 },
3162 {
3163 "key": "TestTimestamp",
3164 "value": {
3165 "key": "TestTimestamp",
3166 "fieldSchemaKey": {
3167 "name": "TestTimestamp",
3168 "version": "0.0.1"
3169 },
3170 "optional": false
3171 }
3172 }
3173 ]
3174 },
3175 "outputFields": {
3176 "entry": [
3177 {
3178 "key": "TestActCaseSelected",
3179 "value": {
3180 "key": "TestActCaseSelected",
3181 "fieldSchemaKey": {
3182 "name": "TestCase",
3183 "version": "0.0.1"
3184 },
3185 "optional": false
3186 }
3187 },
3188 {
3189 "key": "TestActStateTime",
3190 "value": {
3191 "key": "TestActStateTime",
3192 "fieldSchemaKey": {
3193 "name": "TestTimestamp",
3194 "version": "0.0.1"
3195 },
3196 "optional": false
3197 }
3198 },
3199 {
3200 "key": "TestDecideCaseSelected",
3201 "value": {
3202 "key": "TestDecideCaseSelected",
3203 "fieldSchemaKey": {
3204 "name": "TestCase",
3205 "version": "0.0.1"
3206 },
3207 "optional": false
3208 }
3209 },
3210 {
3211 "key": "TestDecideStateTime",
3212 "value": {
3213 "key": "TestDecideStateTime",
3214 "fieldSchemaKey": {
3215 "name": "TestTimestamp",
3216 "version": "0.0.1"
3217 },
3218 "optional": false
3219 }
3220 },
3221 {
3222 "key": "TestEstablishCaseSelected",
3223 "value": {
3224 "key": "TestEstablishCaseSelected",
3225 "fieldSchemaKey": {
3226 "name": "TestCase",
3227 "version": "0.0.1"
3228 },
3229 "optional": false
3230 }
3231 },
3232 {
3233 "key": "TestEstablishStateTime",
3234 "value": {
3235 "key": "TestEstablishStateTime",
3236 "fieldSchemaKey": {
3237 "name": "TestTimestamp",
3238 "version": "0.0.1"
3239 },
3240 "optional": false
3241 }
3242 },
3243 {
3244 "key": "TestMatchCase",
3245 "value": {
3246 "key": "TestMatchCase",
3247 "fieldSchemaKey": {
3248 "name": "TestCase",
3249 "version": "0.0.1"
3250 },
3251 "optional": false
3252 }
3253 },
3254 {
3255 "key": "TestMatchCaseSelected",
3256 "value": {
3257 "key": "TestMatchCaseSelected",
3258 "fieldSchemaKey": {
3259 "name": "TestCase",
3260 "version": "0.0.1"
3261 },
3262 "optional": false
3263 }
3264 },
3265 {
3266 "key": "TestMatchStateTime",
3267 "value": {
3268 "key": "TestMatchStateTime",
3269 "fieldSchemaKey": {
3270 "name": "TestTimestamp",
3271 "version": "0.0.1"
3272 },
3273 "optional": false
3274 }
3275 },
3276 {
3277 "key": "TestSlogan",
3278 "value": {
3279 "key": "TestSlogan",
3280 "fieldSchemaKey": {
3281 "name": "TestSlogan",
3282 "version": "0.0.1"
3283 },
3284 "optional": false
3285 }
3286 },
3287 {
3288 "key": "TestTemperature",
3289 "value": {
3290 "key": "TestTemperature",
3291 "fieldSchemaKey": {
3292 "name": "TestTemperature",
3293 "version": "0.0.1"
3294 },
3295 "optional": false
3296 }
3297 },
3298 {
3299 "key": "TestTimestamp",
3300 "value": {
3301 "key": "TestTimestamp",
3302 "fieldSchemaKey": {
3303 "name": "TestTimestamp",
3304 "version": "0.0.1"
3305 },
3306 "optional": false
3307 }
3308 }
3309 ]
3310 },
3311 "taskParameters": {
3312 "entry": [
3313 {
3314 "key": "Parameter0",
3315 "value": {
3316 "key": {
3317 "parentKeyName": "Task_Act3",
3318 "parentKeyVersion": "0.0.1",
3319 "parentLocalName": "NULL",
3320 "localName": "Parameter0"
3321 },
3322 "defaultValue": "DefaultValue0"
3323 }
3324 }
3325 ]
3326 },
3327 "contextAlbumReference": [
3328 {
3329 "name": "ExternalContextAlbum",
3330 "version": "0.0.1"
3331 },
3332 {
3333 "name": "GlobalContextAlbum",
3334 "version": "0.0.1"
3335 }
3336 ],
3337 "taskLogic": {
3338 "key": "_TaskLogic",
3339 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00003340 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00003341 }
3342 }
3343 },
3344 {
3345 "key": {
3346 "name": "Task_Decide0",
3347 "version": "0.0.1"
3348 },
3349 "value": {
3350 "key": {
3351 "name": "Task_Decide0",
3352 "version": "0.0.1"
3353 },
3354 "inputFields": {
3355 "entry": [
3356 {
3357 "key": "TestEstablishCaseSelected",
3358 "value": {
3359 "key": "TestEstablishCaseSelected",
3360 "fieldSchemaKey": {
3361 "name": "TestCase",
3362 "version": "0.0.1"
3363 },
3364 "optional": false
3365 }
3366 },
3367 {
3368 "key": "TestEstablishStateTime",
3369 "value": {
3370 "key": "TestEstablishStateTime",
3371 "fieldSchemaKey": {
3372 "name": "TestTimestamp",
3373 "version": "0.0.1"
3374 },
3375 "optional": false
3376 }
3377 },
3378 {
3379 "key": "TestMatchCase",
3380 "value": {
3381 "key": "TestMatchCase",
3382 "fieldSchemaKey": {
3383 "name": "TestCase",
3384 "version": "0.0.1"
3385 },
3386 "optional": false
3387 }
3388 },
3389 {
3390 "key": "TestMatchCaseSelected",
3391 "value": {
3392 "key": "TestMatchCaseSelected",
3393 "fieldSchemaKey": {
3394 "name": "TestCase",
3395 "version": "0.0.1"
3396 },
3397 "optional": false
3398 }
3399 },
3400 {
3401 "key": "TestMatchStateTime",
3402 "value": {
3403 "key": "TestMatchStateTime",
3404 "fieldSchemaKey": {
3405 "name": "TestTimestamp",
3406 "version": "0.0.1"
3407 },
3408 "optional": false
3409 }
3410 },
3411 {
3412 "key": "TestSlogan",
3413 "value": {
3414 "key": "TestSlogan",
3415 "fieldSchemaKey": {
3416 "name": "TestSlogan",
3417 "version": "0.0.1"
3418 },
3419 "optional": false
3420 }
3421 },
3422 {
3423 "key": "TestTemperature",
3424 "value": {
3425 "key": "TestTemperature",
3426 "fieldSchemaKey": {
3427 "name": "TestTemperature",
3428 "version": "0.0.1"
3429 },
3430 "optional": false
3431 }
3432 },
3433 {
3434 "key": "TestTimestamp",
3435 "value": {
3436 "key": "TestTimestamp",
3437 "fieldSchemaKey": {
3438 "name": "TestTimestamp",
3439 "version": "0.0.1"
3440 },
3441 "optional": false
3442 }
3443 }
3444 ]
3445 },
3446 "outputFields": {
3447 "entry": [
3448 {
3449 "key": "TestDecideCaseSelected",
3450 "value": {
3451 "key": "TestDecideCaseSelected",
3452 "fieldSchemaKey": {
3453 "name": "TestCase",
3454 "version": "0.0.1"
3455 },
3456 "optional": false
3457 }
3458 },
3459 {
3460 "key": "TestDecideStateTime",
3461 "value": {
3462 "key": "TestDecideStateTime",
3463 "fieldSchemaKey": {
3464 "name": "TestTimestamp",
3465 "version": "0.0.1"
3466 },
3467 "optional": false
3468 }
3469 },
3470 {
3471 "key": "TestEstablishCaseSelected",
3472 "value": {
3473 "key": "TestEstablishCaseSelected",
3474 "fieldSchemaKey": {
3475 "name": "TestCase",
3476 "version": "0.0.1"
3477 },
3478 "optional": false
3479 }
3480 },
3481 {
3482 "key": "TestEstablishStateTime",
3483 "value": {
3484 "key": "TestEstablishStateTime",
3485 "fieldSchemaKey": {
3486 "name": "TestTimestamp",
3487 "version": "0.0.1"
3488 },
3489 "optional": false
3490 }
3491 },
3492 {
3493 "key": "TestMatchCase",
3494 "value": {
3495 "key": "TestMatchCase",
3496 "fieldSchemaKey": {
3497 "name": "TestCase",
3498 "version": "0.0.1"
3499 },
3500 "optional": false
3501 }
3502 },
3503 {
3504 "key": "TestMatchCaseSelected",
3505 "value": {
3506 "key": "TestMatchCaseSelected",
3507 "fieldSchemaKey": {
3508 "name": "TestCase",
3509 "version": "0.0.1"
3510 },
3511 "optional": false
3512 }
3513 },
3514 {
3515 "key": "TestMatchStateTime",
3516 "value": {
3517 "key": "TestMatchStateTime",
3518 "fieldSchemaKey": {
3519 "name": "TestTimestamp",
3520 "version": "0.0.1"
3521 },
3522 "optional": false
3523 }
3524 },
3525 {
3526 "key": "TestSlogan",
3527 "value": {
3528 "key": "TestSlogan",
3529 "fieldSchemaKey": {
3530 "name": "TestSlogan",
3531 "version": "0.0.1"
3532 },
3533 "optional": false
3534 }
3535 },
3536 {
3537 "key": "TestTemperature",
3538 "value": {
3539 "key": "TestTemperature",
3540 "fieldSchemaKey": {
3541 "name": "TestTemperature",
3542 "version": "0.0.1"
3543 },
3544 "optional": false
3545 }
3546 },
3547 {
3548 "key": "TestTimestamp",
3549 "value": {
3550 "key": "TestTimestamp",
3551 "fieldSchemaKey": {
3552 "name": "TestTimestamp",
3553 "version": "0.0.1"
3554 },
3555 "optional": false
3556 }
3557 }
3558 ]
3559 },
3560 "taskParameters": {
3561 "entry": [
3562 {
3563 "key": "Parameter0",
3564 "value": {
3565 "key": {
3566 "parentKeyName": "Task_Decide0",
3567 "parentKeyVersion": "0.0.1",
3568 "parentLocalName": "NULL",
3569 "localName": "Parameter0"
3570 },
3571 "defaultValue": "DefaultValue0"
3572 }
3573 },
3574 {
3575 "key": "Parameter1",
3576 "value": {
3577 "key": {
3578 "parentKeyName": "Task_Decide0",
3579 "parentKeyVersion": "0.0.1",
3580 "parentLocalName": "NULL",
3581 "localName": "Parameter1"
3582 },
3583 "defaultValue": "DefaultValue1"
3584 }
3585 },
3586 {
3587 "key": "Parameter2",
3588 "value": {
3589 "key": {
3590 "parentKeyName": "Task_Decide0",
3591 "parentKeyVersion": "0.0.1",
3592 "parentLocalName": "NULL",
3593 "localName": "Parameter2"
3594 },
3595 "defaultValue": "DefaultValue2"
3596 }
3597 }
3598 ]
3599 },
3600 "contextAlbumReference": [
3601 {
3602 "name": "ExternalContextAlbum",
3603 "version": "0.0.1"
3604 },
3605 {
3606 "name": "GlobalContextAlbum",
3607 "version": "0.0.1"
3608 },
3609 {
3610 "name": "Policy0ContextAlbum",
3611 "version": "0.0.1"
3612 },
3613 {
3614 "name": "Policy1ContextAlbum",
3615 "version": "0.0.1"
3616 }
3617 ],
3618 "taskLogic": {
3619 "key": "_TaskLogic",
3620 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00003621 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00003622 }
3623 }
3624 },
3625 {
3626 "key": {
3627 "name": "Task_Decide1",
3628 "version": "0.0.1"
3629 },
3630 "value": {
3631 "key": {
3632 "name": "Task_Decide1",
3633 "version": "0.0.1"
3634 },
3635 "inputFields": {
3636 "entry": [
3637 {
3638 "key": "TestEstablishCaseSelected",
3639 "value": {
3640 "key": "TestEstablishCaseSelected",
3641 "fieldSchemaKey": {
3642 "name": "TestCase",
3643 "version": "0.0.1"
3644 },
3645 "optional": false
3646 }
3647 },
3648 {
3649 "key": "TestEstablishStateTime",
3650 "value": {
3651 "key": "TestEstablishStateTime",
3652 "fieldSchemaKey": {
3653 "name": "TestTimestamp",
3654 "version": "0.0.1"
3655 },
3656 "optional": false
3657 }
3658 },
3659 {
3660 "key": "TestMatchCase",
3661 "value": {
3662 "key": "TestMatchCase",
3663 "fieldSchemaKey": {
3664 "name": "TestCase",
3665 "version": "0.0.1"
3666 },
3667 "optional": false
3668 }
3669 },
3670 {
3671 "key": "TestMatchCaseSelected",
3672 "value": {
3673 "key": "TestMatchCaseSelected",
3674 "fieldSchemaKey": {
3675 "name": "TestCase",
3676 "version": "0.0.1"
3677 },
3678 "optional": false
3679 }
3680 },
3681 {
3682 "key": "TestMatchStateTime",
3683 "value": {
3684 "key": "TestMatchStateTime",
3685 "fieldSchemaKey": {
3686 "name": "TestTimestamp",
3687 "version": "0.0.1"
3688 },
3689 "optional": false
3690 }
3691 },
3692 {
3693 "key": "TestSlogan",
3694 "value": {
3695 "key": "TestSlogan",
3696 "fieldSchemaKey": {
3697 "name": "TestSlogan",
3698 "version": "0.0.1"
3699 },
3700 "optional": false
3701 }
3702 },
3703 {
3704 "key": "TestTemperature",
3705 "value": {
3706 "key": "TestTemperature",
3707 "fieldSchemaKey": {
3708 "name": "TestTemperature",
3709 "version": "0.0.1"
3710 },
3711 "optional": false
3712 }
3713 },
3714 {
3715 "key": "TestTimestamp",
3716 "value": {
3717 "key": "TestTimestamp",
3718 "fieldSchemaKey": {
3719 "name": "TestTimestamp",
3720 "version": "0.0.1"
3721 },
3722 "optional": false
3723 }
3724 }
3725 ]
3726 },
3727 "outputFields": {
3728 "entry": [
3729 {
3730 "key": "TestDecideCaseSelected",
3731 "value": {
3732 "key": "TestDecideCaseSelected",
3733 "fieldSchemaKey": {
3734 "name": "TestCase",
3735 "version": "0.0.1"
3736 },
3737 "optional": false
3738 }
3739 },
3740 {
3741 "key": "TestDecideStateTime",
3742 "value": {
3743 "key": "TestDecideStateTime",
3744 "fieldSchemaKey": {
3745 "name": "TestTimestamp",
3746 "version": "0.0.1"
3747 },
3748 "optional": false
3749 }
3750 },
3751 {
3752 "key": "TestEstablishCaseSelected",
3753 "value": {
3754 "key": "TestEstablishCaseSelected",
3755 "fieldSchemaKey": {
3756 "name": "TestCase",
3757 "version": "0.0.1"
3758 },
3759 "optional": false
3760 }
3761 },
3762 {
3763 "key": "TestEstablishStateTime",
3764 "value": {
3765 "key": "TestEstablishStateTime",
3766 "fieldSchemaKey": {
3767 "name": "TestTimestamp",
3768 "version": "0.0.1"
3769 },
3770 "optional": false
3771 }
3772 },
3773 {
3774 "key": "TestMatchCase",
3775 "value": {
3776 "key": "TestMatchCase",
3777 "fieldSchemaKey": {
3778 "name": "TestCase",
3779 "version": "0.0.1"
3780 },
3781 "optional": false
3782 }
3783 },
3784 {
3785 "key": "TestMatchCaseSelected",
3786 "value": {
3787 "key": "TestMatchCaseSelected",
3788 "fieldSchemaKey": {
3789 "name": "TestCase",
3790 "version": "0.0.1"
3791 },
3792 "optional": false
3793 }
3794 },
3795 {
3796 "key": "TestMatchStateTime",
3797 "value": {
3798 "key": "TestMatchStateTime",
3799 "fieldSchemaKey": {
3800 "name": "TestTimestamp",
3801 "version": "0.0.1"
3802 },
3803 "optional": false
3804 }
3805 },
3806 {
3807 "key": "TestSlogan",
3808 "value": {
3809 "key": "TestSlogan",
3810 "fieldSchemaKey": {
3811 "name": "TestSlogan",
3812 "version": "0.0.1"
3813 },
3814 "optional": false
3815 }
3816 },
3817 {
3818 "key": "TestTemperature",
3819 "value": {
3820 "key": "TestTemperature",
3821 "fieldSchemaKey": {
3822 "name": "TestTemperature",
3823 "version": "0.0.1"
3824 },
3825 "optional": false
3826 }
3827 },
3828 {
3829 "key": "TestTimestamp",
3830 "value": {
3831 "key": "TestTimestamp",
3832 "fieldSchemaKey": {
3833 "name": "TestTimestamp",
3834 "version": "0.0.1"
3835 },
3836 "optional": false
3837 }
3838 }
3839 ]
3840 },
3841 "taskParameters": {
3842 "entry": [
3843 {
3844 "key": "Parameter0",
3845 "value": {
3846 "key": {
3847 "parentKeyName": "Task_Decide1",
3848 "parentKeyVersion": "0.0.1",
3849 "parentLocalName": "NULL",
3850 "localName": "Parameter0"
3851 },
3852 "defaultValue": "DefaultValue0"
3853 }
3854 },
3855 {
3856 "key": "Parameter1",
3857 "value": {
3858 "key": {
3859 "parentKeyName": "Task_Decide1",
3860 "parentKeyVersion": "0.0.1",
3861 "parentLocalName": "NULL",
3862 "localName": "Parameter1"
3863 },
3864 "defaultValue": "DefaultValue1"
3865 }
3866 }
3867 ]
3868 },
3869 "contextAlbumReference": [
3870 {
3871 "name": "GlobalContextAlbum",
3872 "version": "0.0.1"
3873 },
3874 {
3875 "name": "Policy0ContextAlbum",
3876 "version": "0.0.1"
3877 }
3878 ],
3879 "taskLogic": {
3880 "key": "_TaskLogic",
3881 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00003882 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00003883 }
3884 }
3885 },
3886 {
3887 "key": {
3888 "name": "Task_Decide2",
3889 "version": "0.0.1"
3890 },
3891 "value": {
3892 "key": {
3893 "name": "Task_Decide2",
3894 "version": "0.0.1"
3895 },
3896 "inputFields": {
3897 "entry": [
3898 {
3899 "key": "TestEstablishCaseSelected",
3900 "value": {
3901 "key": "TestEstablishCaseSelected",
3902 "fieldSchemaKey": {
3903 "name": "TestCase",
3904 "version": "0.0.1"
3905 },
3906 "optional": false
3907 }
3908 },
3909 {
3910 "key": "TestEstablishStateTime",
3911 "value": {
3912 "key": "TestEstablishStateTime",
3913 "fieldSchemaKey": {
3914 "name": "TestTimestamp",
3915 "version": "0.0.1"
3916 },
3917 "optional": false
3918 }
3919 },
3920 {
3921 "key": "TestMatchCase",
3922 "value": {
3923 "key": "TestMatchCase",
3924 "fieldSchemaKey": {
3925 "name": "TestCase",
3926 "version": "0.0.1"
3927 },
3928 "optional": false
3929 }
3930 },
3931 {
3932 "key": "TestMatchCaseSelected",
3933 "value": {
3934 "key": "TestMatchCaseSelected",
3935 "fieldSchemaKey": {
3936 "name": "TestCase",
3937 "version": "0.0.1"
3938 },
3939 "optional": false
3940 }
3941 },
3942 {
3943 "key": "TestMatchStateTime",
3944 "value": {
3945 "key": "TestMatchStateTime",
3946 "fieldSchemaKey": {
3947 "name": "TestTimestamp",
3948 "version": "0.0.1"
3949 },
3950 "optional": false
3951 }
3952 },
3953 {
3954 "key": "TestSlogan",
3955 "value": {
3956 "key": "TestSlogan",
3957 "fieldSchemaKey": {
3958 "name": "TestSlogan",
3959 "version": "0.0.1"
3960 },
3961 "optional": false
3962 }
3963 },
3964 {
3965 "key": "TestTemperature",
3966 "value": {
3967 "key": "TestTemperature",
3968 "fieldSchemaKey": {
3969 "name": "TestTemperature",
3970 "version": "0.0.1"
3971 },
3972 "optional": false
3973 }
3974 },
3975 {
3976 "key": "TestTimestamp",
3977 "value": {
3978 "key": "TestTimestamp",
3979 "fieldSchemaKey": {
3980 "name": "TestTimestamp",
3981 "version": "0.0.1"
3982 },
3983 "optional": false
3984 }
3985 }
3986 ]
3987 },
3988 "outputFields": {
3989 "entry": [
3990 {
3991 "key": "TestDecideCaseSelected",
3992 "value": {
3993 "key": "TestDecideCaseSelected",
3994 "fieldSchemaKey": {
3995 "name": "TestCase",
3996 "version": "0.0.1"
3997 },
3998 "optional": false
3999 }
4000 },
4001 {
4002 "key": "TestDecideStateTime",
4003 "value": {
4004 "key": "TestDecideStateTime",
4005 "fieldSchemaKey": {
4006 "name": "TestTimestamp",
4007 "version": "0.0.1"
4008 },
4009 "optional": false
4010 }
4011 },
4012 {
4013 "key": "TestEstablishCaseSelected",
4014 "value": {
4015 "key": "TestEstablishCaseSelected",
4016 "fieldSchemaKey": {
4017 "name": "TestCase",
4018 "version": "0.0.1"
4019 },
4020 "optional": false
4021 }
4022 },
4023 {
4024 "key": "TestEstablishStateTime",
4025 "value": {
4026 "key": "TestEstablishStateTime",
4027 "fieldSchemaKey": {
4028 "name": "TestTimestamp",
4029 "version": "0.0.1"
4030 },
4031 "optional": false
4032 }
4033 },
4034 {
4035 "key": "TestMatchCase",
4036 "value": {
4037 "key": "TestMatchCase",
4038 "fieldSchemaKey": {
4039 "name": "TestCase",
4040 "version": "0.0.1"
4041 },
4042 "optional": false
4043 }
4044 },
4045 {
4046 "key": "TestMatchCaseSelected",
4047 "value": {
4048 "key": "TestMatchCaseSelected",
4049 "fieldSchemaKey": {
4050 "name": "TestCase",
4051 "version": "0.0.1"
4052 },
4053 "optional": false
4054 }
4055 },
4056 {
4057 "key": "TestMatchStateTime",
4058 "value": {
4059 "key": "TestMatchStateTime",
4060 "fieldSchemaKey": {
4061 "name": "TestTimestamp",
4062 "version": "0.0.1"
4063 },
4064 "optional": false
4065 }
4066 },
4067 {
4068 "key": "TestSlogan",
4069 "value": {
4070 "key": "TestSlogan",
4071 "fieldSchemaKey": {
4072 "name": "TestSlogan",
4073 "version": "0.0.1"
4074 },
4075 "optional": false
4076 }
4077 },
4078 {
4079 "key": "TestTemperature",
4080 "value": {
4081 "key": "TestTemperature",
4082 "fieldSchemaKey": {
4083 "name": "TestTemperature",
4084 "version": "0.0.1"
4085 },
4086 "optional": false
4087 }
4088 },
4089 {
4090 "key": "TestTimestamp",
4091 "value": {
4092 "key": "TestTimestamp",
4093 "fieldSchemaKey": {
4094 "name": "TestTimestamp",
4095 "version": "0.0.1"
4096 },
4097 "optional": false
4098 }
4099 }
4100 ]
4101 },
4102 "taskParameters": {
4103 "entry": [
4104 {
4105 "key": "Parameter0",
4106 "value": {
4107 "key": {
4108 "parentKeyName": "Task_Decide2",
4109 "parentKeyVersion": "0.0.1",
4110 "parentLocalName": "NULL",
4111 "localName": "Parameter0"
4112 },
4113 "defaultValue": "DefaultValue0"
4114 }
4115 }
4116 ]
4117 },
4118 "contextAlbumReference": [
4119 {
4120 "name": "GlobalContextAlbum",
4121 "version": "0.0.1"
4122 },
4123 {
4124 "name": "Policy1ContextAlbum",
4125 "version": "0.0.1"
4126 }
4127 ],
4128 "taskLogic": {
4129 "key": "_TaskLogic",
4130 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00004131 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00004132 }
4133 }
4134 },
4135 {
4136 "key": {
4137 "name": "Task_Decide3",
4138 "version": "0.0.1"
4139 },
4140 "value": {
4141 "key": {
4142 "name": "Task_Decide3",
4143 "version": "0.0.1"
4144 },
4145 "inputFields": {
4146 "entry": [
4147 {
4148 "key": "TestEstablishCaseSelected",
4149 "value": {
4150 "key": "TestEstablishCaseSelected",
4151 "fieldSchemaKey": {
4152 "name": "TestCase",
4153 "version": "0.0.1"
4154 },
4155 "optional": false
4156 }
4157 },
4158 {
4159 "key": "TestEstablishStateTime",
4160 "value": {
4161 "key": "TestEstablishStateTime",
4162 "fieldSchemaKey": {
4163 "name": "TestTimestamp",
4164 "version": "0.0.1"
4165 },
4166 "optional": false
4167 }
4168 },
4169 {
4170 "key": "TestMatchCase",
4171 "value": {
4172 "key": "TestMatchCase",
4173 "fieldSchemaKey": {
4174 "name": "TestCase",
4175 "version": "0.0.1"
4176 },
4177 "optional": false
4178 }
4179 },
4180 {
4181 "key": "TestMatchCaseSelected",
4182 "value": {
4183 "key": "TestMatchCaseSelected",
4184 "fieldSchemaKey": {
4185 "name": "TestCase",
4186 "version": "0.0.1"
4187 },
4188 "optional": false
4189 }
4190 },
4191 {
4192 "key": "TestMatchStateTime",
4193 "value": {
4194 "key": "TestMatchStateTime",
4195 "fieldSchemaKey": {
4196 "name": "TestTimestamp",
4197 "version": "0.0.1"
4198 },
4199 "optional": false
4200 }
4201 },
4202 {
4203 "key": "TestSlogan",
4204 "value": {
4205 "key": "TestSlogan",
4206 "fieldSchemaKey": {
4207 "name": "TestSlogan",
4208 "version": "0.0.1"
4209 },
4210 "optional": false
4211 }
4212 },
4213 {
4214 "key": "TestTemperature",
4215 "value": {
4216 "key": "TestTemperature",
4217 "fieldSchemaKey": {
4218 "name": "TestTemperature",
4219 "version": "0.0.1"
4220 },
4221 "optional": false
4222 }
4223 },
4224 {
4225 "key": "TestTimestamp",
4226 "value": {
4227 "key": "TestTimestamp",
4228 "fieldSchemaKey": {
4229 "name": "TestTimestamp",
4230 "version": "0.0.1"
4231 },
4232 "optional": false
4233 }
4234 }
4235 ]
4236 },
4237 "outputFields": {
4238 "entry": [
4239 {
4240 "key": "TestDecideCaseSelected",
4241 "value": {
4242 "key": "TestDecideCaseSelected",
4243 "fieldSchemaKey": {
4244 "name": "TestCase",
4245 "version": "0.0.1"
4246 },
4247 "optional": false
4248 }
4249 },
4250 {
4251 "key": "TestDecideStateTime",
4252 "value": {
4253 "key": "TestDecideStateTime",
4254 "fieldSchemaKey": {
4255 "name": "TestTimestamp",
4256 "version": "0.0.1"
4257 },
4258 "optional": false
4259 }
4260 },
4261 {
4262 "key": "TestEstablishCaseSelected",
4263 "value": {
4264 "key": "TestEstablishCaseSelected",
4265 "fieldSchemaKey": {
4266 "name": "TestCase",
4267 "version": "0.0.1"
4268 },
4269 "optional": false
4270 }
4271 },
4272 {
4273 "key": "TestEstablishStateTime",
4274 "value": {
4275 "key": "TestEstablishStateTime",
4276 "fieldSchemaKey": {
4277 "name": "TestTimestamp",
4278 "version": "0.0.1"
4279 },
4280 "optional": false
4281 }
4282 },
4283 {
4284 "key": "TestMatchCase",
4285 "value": {
4286 "key": "TestMatchCase",
4287 "fieldSchemaKey": {
4288 "name": "TestCase",
4289 "version": "0.0.1"
4290 },
4291 "optional": false
4292 }
4293 },
4294 {
4295 "key": "TestMatchCaseSelected",
4296 "value": {
4297 "key": "TestMatchCaseSelected",
4298 "fieldSchemaKey": {
4299 "name": "TestCase",
4300 "version": "0.0.1"
4301 },
4302 "optional": false
4303 }
4304 },
4305 {
4306 "key": "TestMatchStateTime",
4307 "value": {
4308 "key": "TestMatchStateTime",
4309 "fieldSchemaKey": {
4310 "name": "TestTimestamp",
4311 "version": "0.0.1"
4312 },
4313 "optional": false
4314 }
4315 },
4316 {
4317 "key": "TestSlogan",
4318 "value": {
4319 "key": "TestSlogan",
4320 "fieldSchemaKey": {
4321 "name": "TestSlogan",
4322 "version": "0.0.1"
4323 },
4324 "optional": false
4325 }
4326 },
4327 {
4328 "key": "TestTemperature",
4329 "value": {
4330 "key": "TestTemperature",
4331 "fieldSchemaKey": {
4332 "name": "TestTemperature",
4333 "version": "0.0.1"
4334 },
4335 "optional": false
4336 }
4337 },
4338 {
4339 "key": "TestTimestamp",
4340 "value": {
4341 "key": "TestTimestamp",
4342 "fieldSchemaKey": {
4343 "name": "TestTimestamp",
4344 "version": "0.0.1"
4345 },
4346 "optional": false
4347 }
4348 }
4349 ]
4350 },
4351 "taskParameters": {
4352 "entry": [
4353 {
4354 "key": "Parameter0",
4355 "value": {
4356 "key": {
4357 "parentKeyName": "Task_Decide3",
4358 "parentKeyVersion": "0.0.1",
4359 "parentLocalName": "NULL",
4360 "localName": "Parameter0"
4361 },
4362 "defaultValue": "DefaultValue0"
4363 }
4364 }
4365 ]
4366 },
4367 "contextAlbumReference": [
4368 {
4369 "name": "ExternalContextAlbum",
4370 "version": "0.0.1"
4371 },
4372 {
4373 "name": "GlobalContextAlbum",
4374 "version": "0.0.1"
4375 }
4376 ],
4377 "taskLogic": {
4378 "key": "_TaskLogic",
4379 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00004380 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00004381 }
4382 }
4383 },
4384 {
4385 "key": {
4386 "name": "Task_Establish0",
4387 "version": "0.0.1"
4388 },
4389 "value": {
4390 "key": {
4391 "name": "Task_Establish0",
4392 "version": "0.0.1"
4393 },
4394 "inputFields": {
4395 "entry": [
4396 {
4397 "key": "TestMatchCase",
4398 "value": {
4399 "key": "TestMatchCase",
4400 "fieldSchemaKey": {
4401 "name": "TestCase",
4402 "version": "0.0.1"
4403 },
4404 "optional": false
4405 }
4406 },
4407 {
4408 "key": "TestMatchCaseSelected",
4409 "value": {
4410 "key": "TestMatchCaseSelected",
4411 "fieldSchemaKey": {
4412 "name": "TestCase",
4413 "version": "0.0.1"
4414 },
4415 "optional": false
4416 }
4417 },
4418 {
4419 "key": "TestMatchStateTime",
4420 "value": {
4421 "key": "TestMatchStateTime",
4422 "fieldSchemaKey": {
4423 "name": "TestTimestamp",
4424 "version": "0.0.1"
4425 },
4426 "optional": false
4427 }
4428 },
4429 {
4430 "key": "TestSlogan",
4431 "value": {
4432 "key": "TestSlogan",
4433 "fieldSchemaKey": {
4434 "name": "TestSlogan",
4435 "version": "0.0.1"
4436 },
4437 "optional": false
4438 }
4439 },
4440 {
4441 "key": "TestTemperature",
4442 "value": {
4443 "key": "TestTemperature",
4444 "fieldSchemaKey": {
4445 "name": "TestTemperature",
4446 "version": "0.0.1"
4447 },
4448 "optional": false
4449 }
4450 },
4451 {
4452 "key": "TestTimestamp",
4453 "value": {
4454 "key": "TestTimestamp",
4455 "fieldSchemaKey": {
4456 "name": "TestTimestamp",
4457 "version": "0.0.1"
4458 },
4459 "optional": false
4460 }
4461 }
4462 ]
4463 },
4464 "outputFields": {
4465 "entry": [
4466 {
4467 "key": "TestEstablishCaseSelected",
4468 "value": {
4469 "key": "TestEstablishCaseSelected",
4470 "fieldSchemaKey": {
4471 "name": "TestCase",
4472 "version": "0.0.1"
4473 },
4474 "optional": false
4475 }
4476 },
4477 {
4478 "key": "TestEstablishStateTime",
4479 "value": {
4480 "key": "TestEstablishStateTime",
4481 "fieldSchemaKey": {
4482 "name": "TestTimestamp",
4483 "version": "0.0.1"
4484 },
4485 "optional": false
4486 }
4487 },
4488 {
4489 "key": "TestMatchCase",
4490 "value": {
4491 "key": "TestMatchCase",
4492 "fieldSchemaKey": {
4493 "name": "TestCase",
4494 "version": "0.0.1"
4495 },
4496 "optional": false
4497 }
4498 },
4499 {
4500 "key": "TestMatchCaseSelected",
4501 "value": {
4502 "key": "TestMatchCaseSelected",
4503 "fieldSchemaKey": {
4504 "name": "TestCase",
4505 "version": "0.0.1"
4506 },
4507 "optional": false
4508 }
4509 },
4510 {
4511 "key": "TestMatchStateTime",
4512 "value": {
4513 "key": "TestMatchStateTime",
4514 "fieldSchemaKey": {
4515 "name": "TestTimestamp",
4516 "version": "0.0.1"
4517 },
4518 "optional": false
4519 }
4520 },
4521 {
4522 "key": "TestSlogan",
4523 "value": {
4524 "key": "TestSlogan",
4525 "fieldSchemaKey": {
4526 "name": "TestSlogan",
4527 "version": "0.0.1"
4528 },
4529 "optional": false
4530 }
4531 },
4532 {
4533 "key": "TestTemperature",
4534 "value": {
4535 "key": "TestTemperature",
4536 "fieldSchemaKey": {
4537 "name": "TestTemperature",
4538 "version": "0.0.1"
4539 },
4540 "optional": false
4541 }
4542 },
4543 {
4544 "key": "TestTimestamp",
4545 "value": {
4546 "key": "TestTimestamp",
4547 "fieldSchemaKey": {
4548 "name": "TestTimestamp",
4549 "version": "0.0.1"
4550 },
4551 "optional": false
4552 }
4553 }
4554 ]
4555 },
4556 "taskParameters": {
4557 "entry": [
4558 {
4559 "key": "Parameter0",
4560 "value": {
4561 "key": {
4562 "parentKeyName": "Task_Establish0",
4563 "parentKeyVersion": "0.0.1",
4564 "parentLocalName": "NULL",
4565 "localName": "Parameter0"
4566 },
4567 "defaultValue": "DefaultValue0"
4568 }
4569 },
4570 {
4571 "key": "Parameter1",
4572 "value": {
4573 "key": {
4574 "parentKeyName": "Task_Establish0",
4575 "parentKeyVersion": "0.0.1",
4576 "parentLocalName": "NULL",
4577 "localName": "Parameter1"
4578 },
4579 "defaultValue": "DefaultValue1"
4580 }
4581 },
4582 {
4583 "key": "Parameter2",
4584 "value": {
4585 "key": {
4586 "parentKeyName": "Task_Establish0",
4587 "parentKeyVersion": "0.0.1",
4588 "parentLocalName": "NULL",
4589 "localName": "Parameter2"
4590 },
4591 "defaultValue": "DefaultValue2"
4592 }
4593 }
4594 ]
4595 },
4596 "contextAlbumReference": [
4597 {
4598 "name": "ExternalContextAlbum",
4599 "version": "0.0.1"
4600 },
4601 {
4602 "name": "GlobalContextAlbum",
4603 "version": "0.0.1"
4604 },
4605 {
4606 "name": "Policy0ContextAlbum",
4607 "version": "0.0.1"
4608 },
4609 {
4610 "name": "Policy1ContextAlbum",
4611 "version": "0.0.1"
4612 }
4613 ],
4614 "taskLogic": {
4615 "key": "_TaskLogic",
4616 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00004617 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00004618 }
4619 }
4620 },
4621 {
4622 "key": {
4623 "name": "Task_Establish1",
4624 "version": "0.0.1"
4625 },
4626 "value": {
4627 "key": {
4628 "name": "Task_Establish1",
4629 "version": "0.0.1"
4630 },
4631 "inputFields": {
4632 "entry": [
4633 {
4634 "key": "TestMatchCase",
4635 "value": {
4636 "key": "TestMatchCase",
4637 "fieldSchemaKey": {
4638 "name": "TestCase",
4639 "version": "0.0.1"
4640 },
4641 "optional": false
4642 }
4643 },
4644 {
4645 "key": "TestMatchCaseSelected",
4646 "value": {
4647 "key": "TestMatchCaseSelected",
4648 "fieldSchemaKey": {
4649 "name": "TestCase",
4650 "version": "0.0.1"
4651 },
4652 "optional": false
4653 }
4654 },
4655 {
4656 "key": "TestMatchStateTime",
4657 "value": {
4658 "key": "TestMatchStateTime",
4659 "fieldSchemaKey": {
4660 "name": "TestTimestamp",
4661 "version": "0.0.1"
4662 },
4663 "optional": false
4664 }
4665 },
4666 {
4667 "key": "TestSlogan",
4668 "value": {
4669 "key": "TestSlogan",
4670 "fieldSchemaKey": {
4671 "name": "TestSlogan",
4672 "version": "0.0.1"
4673 },
4674 "optional": false
4675 }
4676 },
4677 {
4678 "key": "TestTemperature",
4679 "value": {
4680 "key": "TestTemperature",
4681 "fieldSchemaKey": {
4682 "name": "TestTemperature",
4683 "version": "0.0.1"
4684 },
4685 "optional": false
4686 }
4687 },
4688 {
4689 "key": "TestTimestamp",
4690 "value": {
4691 "key": "TestTimestamp",
4692 "fieldSchemaKey": {
4693 "name": "TestTimestamp",
4694 "version": "0.0.1"
4695 },
4696 "optional": false
4697 }
4698 }
4699 ]
4700 },
4701 "outputFields": {
4702 "entry": [
4703 {
4704 "key": "TestEstablishCaseSelected",
4705 "value": {
4706 "key": "TestEstablishCaseSelected",
4707 "fieldSchemaKey": {
4708 "name": "TestCase",
4709 "version": "0.0.1"
4710 },
4711 "optional": false
4712 }
4713 },
4714 {
4715 "key": "TestEstablishStateTime",
4716 "value": {
4717 "key": "TestEstablishStateTime",
4718 "fieldSchemaKey": {
4719 "name": "TestTimestamp",
4720 "version": "0.0.1"
4721 },
4722 "optional": false
4723 }
4724 },
4725 {
4726 "key": "TestMatchCase",
4727 "value": {
4728 "key": "TestMatchCase",
4729 "fieldSchemaKey": {
4730 "name": "TestCase",
4731 "version": "0.0.1"
4732 },
4733 "optional": false
4734 }
4735 },
4736 {
4737 "key": "TestMatchCaseSelected",
4738 "value": {
4739 "key": "TestMatchCaseSelected",
4740 "fieldSchemaKey": {
4741 "name": "TestCase",
4742 "version": "0.0.1"
4743 },
4744 "optional": false
4745 }
4746 },
4747 {
4748 "key": "TestMatchStateTime",
4749 "value": {
4750 "key": "TestMatchStateTime",
4751 "fieldSchemaKey": {
4752 "name": "TestTimestamp",
4753 "version": "0.0.1"
4754 },
4755 "optional": false
4756 }
4757 },
4758 {
4759 "key": "TestSlogan",
4760 "value": {
4761 "key": "TestSlogan",
4762 "fieldSchemaKey": {
4763 "name": "TestSlogan",
4764 "version": "0.0.1"
4765 },
4766 "optional": false
4767 }
4768 },
4769 {
4770 "key": "TestTemperature",
4771 "value": {
4772 "key": "TestTemperature",
4773 "fieldSchemaKey": {
4774 "name": "TestTemperature",
4775 "version": "0.0.1"
4776 },
4777 "optional": false
4778 }
4779 },
4780 {
4781 "key": "TestTimestamp",
4782 "value": {
4783 "key": "TestTimestamp",
4784 "fieldSchemaKey": {
4785 "name": "TestTimestamp",
4786 "version": "0.0.1"
4787 },
4788 "optional": false
4789 }
4790 }
4791 ]
4792 },
4793 "taskParameters": {
4794 "entry": [
4795 {
4796 "key": "Parameter0",
4797 "value": {
4798 "key": {
4799 "parentKeyName": "Task_Establish1",
4800 "parentKeyVersion": "0.0.1",
4801 "parentLocalName": "NULL",
4802 "localName": "Parameter0"
4803 },
4804 "defaultValue": "DefaultValue0"
4805 }
4806 },
4807 {
4808 "key": "Parameter1",
4809 "value": {
4810 "key": {
4811 "parentKeyName": "Task_Establish1",
4812 "parentKeyVersion": "0.0.1",
4813 "parentLocalName": "NULL",
4814 "localName": "Parameter1"
4815 },
4816 "defaultValue": "DefaultValue1"
4817 }
4818 }
4819 ]
4820 },
4821 "contextAlbumReference": [
4822 {
4823 "name": "GlobalContextAlbum",
4824 "version": "0.0.1"
4825 },
4826 {
4827 "name": "Policy0ContextAlbum",
4828 "version": "0.0.1"
4829 }
4830 ],
4831 "taskLogic": {
4832 "key": "_TaskLogic",
4833 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00004834 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00004835 }
4836 }
4837 },
4838 {
4839 "key": {
4840 "name": "Task_Establish2",
4841 "version": "0.0.1"
4842 },
4843 "value": {
4844 "key": {
4845 "name": "Task_Establish2",
4846 "version": "0.0.1"
4847 },
4848 "inputFields": {
4849 "entry": [
4850 {
4851 "key": "TestMatchCase",
4852 "value": {
4853 "key": "TestMatchCase",
4854 "fieldSchemaKey": {
4855 "name": "TestCase",
4856 "version": "0.0.1"
4857 },
4858 "optional": false
4859 }
4860 },
4861 {
4862 "key": "TestMatchCaseSelected",
4863 "value": {
4864 "key": "TestMatchCaseSelected",
4865 "fieldSchemaKey": {
4866 "name": "TestCase",
4867 "version": "0.0.1"
4868 },
4869 "optional": false
4870 }
4871 },
4872 {
4873 "key": "TestMatchStateTime",
4874 "value": {
4875 "key": "TestMatchStateTime",
4876 "fieldSchemaKey": {
4877 "name": "TestTimestamp",
4878 "version": "0.0.1"
4879 },
4880 "optional": false
4881 }
4882 },
4883 {
4884 "key": "TestSlogan",
4885 "value": {
4886 "key": "TestSlogan",
4887 "fieldSchemaKey": {
4888 "name": "TestSlogan",
4889 "version": "0.0.1"
4890 },
4891 "optional": false
4892 }
4893 },
4894 {
4895 "key": "TestTemperature",
4896 "value": {
4897 "key": "TestTemperature",
4898 "fieldSchemaKey": {
4899 "name": "TestTemperature",
4900 "version": "0.0.1"
4901 },
4902 "optional": false
4903 }
4904 },
4905 {
4906 "key": "TestTimestamp",
4907 "value": {
4908 "key": "TestTimestamp",
4909 "fieldSchemaKey": {
4910 "name": "TestTimestamp",
4911 "version": "0.0.1"
4912 },
4913 "optional": false
4914 }
4915 }
4916 ]
4917 },
4918 "outputFields": {
4919 "entry": [
4920 {
4921 "key": "TestEstablishCaseSelected",
4922 "value": {
4923 "key": "TestEstablishCaseSelected",
4924 "fieldSchemaKey": {
4925 "name": "TestCase",
4926 "version": "0.0.1"
4927 },
4928 "optional": false
4929 }
4930 },
4931 {
4932 "key": "TestEstablishStateTime",
4933 "value": {
4934 "key": "TestEstablishStateTime",
4935 "fieldSchemaKey": {
4936 "name": "TestTimestamp",
4937 "version": "0.0.1"
4938 },
4939 "optional": false
4940 }
4941 },
4942 {
4943 "key": "TestMatchCase",
4944 "value": {
4945 "key": "TestMatchCase",
4946 "fieldSchemaKey": {
4947 "name": "TestCase",
4948 "version": "0.0.1"
4949 },
4950 "optional": false
4951 }
4952 },
4953 {
4954 "key": "TestMatchCaseSelected",
4955 "value": {
4956 "key": "TestMatchCaseSelected",
4957 "fieldSchemaKey": {
4958 "name": "TestCase",
4959 "version": "0.0.1"
4960 },
4961 "optional": false
4962 }
4963 },
4964 {
4965 "key": "TestMatchStateTime",
4966 "value": {
4967 "key": "TestMatchStateTime",
4968 "fieldSchemaKey": {
4969 "name": "TestTimestamp",
4970 "version": "0.0.1"
4971 },
4972 "optional": false
4973 }
4974 },
4975 {
4976 "key": "TestSlogan",
4977 "value": {
4978 "key": "TestSlogan",
4979 "fieldSchemaKey": {
4980 "name": "TestSlogan",
4981 "version": "0.0.1"
4982 },
4983 "optional": false
4984 }
4985 },
4986 {
4987 "key": "TestTemperature",
4988 "value": {
4989 "key": "TestTemperature",
4990 "fieldSchemaKey": {
4991 "name": "TestTemperature",
4992 "version": "0.0.1"
4993 },
4994 "optional": false
4995 }
4996 },
4997 {
4998 "key": "TestTimestamp",
4999 "value": {
5000 "key": "TestTimestamp",
5001 "fieldSchemaKey": {
5002 "name": "TestTimestamp",
5003 "version": "0.0.1"
5004 },
5005 "optional": false
5006 }
5007 }
5008 ]
5009 },
5010 "taskParameters": {
5011 "entry": [
5012 {
5013 "key": "Parameter0",
5014 "value": {
5015 "key": {
5016 "parentKeyName": "Task_Establish2",
5017 "parentKeyVersion": "0.0.1",
5018 "parentLocalName": "NULL",
5019 "localName": "Parameter0"
5020 },
5021 "defaultValue": "DefaultValue0"
5022 }
5023 }
5024 ]
5025 },
5026 "contextAlbumReference": [
5027 {
5028 "name": "GlobalContextAlbum",
5029 "version": "0.0.1"
5030 },
5031 {
5032 "name": "Policy1ContextAlbum",
5033 "version": "0.0.1"
5034 }
5035 ],
5036 "taskLogic": {
5037 "key": "_TaskLogic",
5038 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00005039 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00005040 }
5041 }
5042 },
5043 {
5044 "key": {
5045 "name": "Task_Establish3",
5046 "version": "0.0.1"
5047 },
5048 "value": {
5049 "key": {
5050 "name": "Task_Establish3",
5051 "version": "0.0.1"
5052 },
5053 "inputFields": {
5054 "entry": [
5055 {
5056 "key": "TestMatchCase",
5057 "value": {
5058 "key": "TestMatchCase",
5059 "fieldSchemaKey": {
5060 "name": "TestCase",
5061 "version": "0.0.1"
5062 },
5063 "optional": false
5064 }
5065 },
5066 {
5067 "key": "TestMatchCaseSelected",
5068 "value": {
5069 "key": "TestMatchCaseSelected",
5070 "fieldSchemaKey": {
5071 "name": "TestCase",
5072 "version": "0.0.1"
5073 },
5074 "optional": false
5075 }
5076 },
5077 {
5078 "key": "TestMatchStateTime",
5079 "value": {
5080 "key": "TestMatchStateTime",
5081 "fieldSchemaKey": {
5082 "name": "TestTimestamp",
5083 "version": "0.0.1"
5084 },
5085 "optional": false
5086 }
5087 },
5088 {
5089 "key": "TestSlogan",
5090 "value": {
5091 "key": "TestSlogan",
5092 "fieldSchemaKey": {
5093 "name": "TestSlogan",
5094 "version": "0.0.1"
5095 },
5096 "optional": false
5097 }
5098 },
5099 {
5100 "key": "TestTemperature",
5101 "value": {
5102 "key": "TestTemperature",
5103 "fieldSchemaKey": {
5104 "name": "TestTemperature",
5105 "version": "0.0.1"
5106 },
5107 "optional": false
5108 }
5109 },
5110 {
5111 "key": "TestTimestamp",
5112 "value": {
5113 "key": "TestTimestamp",
5114 "fieldSchemaKey": {
5115 "name": "TestTimestamp",
5116 "version": "0.0.1"
5117 },
5118 "optional": false
5119 }
5120 }
5121 ]
5122 },
5123 "outputFields": {
5124 "entry": [
5125 {
5126 "key": "TestEstablishCaseSelected",
5127 "value": {
5128 "key": "TestEstablishCaseSelected",
5129 "fieldSchemaKey": {
5130 "name": "TestCase",
5131 "version": "0.0.1"
5132 },
5133 "optional": false
5134 }
5135 },
5136 {
5137 "key": "TestEstablishStateTime",
5138 "value": {
5139 "key": "TestEstablishStateTime",
5140 "fieldSchemaKey": {
5141 "name": "TestTimestamp",
5142 "version": "0.0.1"
5143 },
5144 "optional": false
5145 }
5146 },
5147 {
5148 "key": "TestMatchCase",
5149 "value": {
5150 "key": "TestMatchCase",
5151 "fieldSchemaKey": {
5152 "name": "TestCase",
5153 "version": "0.0.1"
5154 },
5155 "optional": false
5156 }
5157 },
5158 {
5159 "key": "TestMatchCaseSelected",
5160 "value": {
5161 "key": "TestMatchCaseSelected",
5162 "fieldSchemaKey": {
5163 "name": "TestCase",
5164 "version": "0.0.1"
5165 },
5166 "optional": false
5167 }
5168 },
5169 {
5170 "key": "TestMatchStateTime",
5171 "value": {
5172 "key": "TestMatchStateTime",
5173 "fieldSchemaKey": {
5174 "name": "TestTimestamp",
5175 "version": "0.0.1"
5176 },
5177 "optional": false
5178 }
5179 },
5180 {
5181 "key": "TestSlogan",
5182 "value": {
5183 "key": "TestSlogan",
5184 "fieldSchemaKey": {
5185 "name": "TestSlogan",
5186 "version": "0.0.1"
5187 },
5188 "optional": false
5189 }
5190 },
5191 {
5192 "key": "TestTemperature",
5193 "value": {
5194 "key": "TestTemperature",
5195 "fieldSchemaKey": {
5196 "name": "TestTemperature",
5197 "version": "0.0.1"
5198 },
5199 "optional": false
5200 }
5201 },
5202 {
5203 "key": "TestTimestamp",
5204 "value": {
5205 "key": "TestTimestamp",
5206 "fieldSchemaKey": {
5207 "name": "TestTimestamp",
5208 "version": "0.0.1"
5209 },
5210 "optional": false
5211 }
5212 }
5213 ]
5214 },
5215 "taskParameters": {
5216 "entry": [
5217 {
5218 "key": "Parameter0",
5219 "value": {
5220 "key": {
5221 "parentKeyName": "Task_Establish3",
5222 "parentKeyVersion": "0.0.1",
5223 "parentLocalName": "NULL",
5224 "localName": "Parameter0"
5225 },
5226 "defaultValue": "DefaultValue0"
5227 }
5228 }
5229 ]
5230 },
5231 "contextAlbumReference": [
5232 {
5233 "name": "ExternalContextAlbum",
5234 "version": "0.0.1"
5235 },
5236 {
5237 "name": "GlobalContextAlbum",
5238 "version": "0.0.1"
5239 }
5240 ],
5241 "taskLogic": {
5242 "key": "_TaskLogic",
5243 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00005244 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00005245 }
5246 }
5247 },
5248 {
5249 "key": {
5250 "name": "Task_Match0",
5251 "version": "0.0.1"
5252 },
5253 "value": {
5254 "key": {
5255 "name": "Task_Match0",
5256 "version": "0.0.1"
5257 },
5258 "inputFields": {
5259 "entry": [
5260 {
5261 "key": "TestMatchCase",
5262 "value": {
5263 "key": "TestMatchCase",
5264 "fieldSchemaKey": {
5265 "name": "TestCase",
5266 "version": "0.0.1"
5267 },
5268 "optional": false
5269 }
5270 },
5271 {
5272 "key": "TestSlogan",
5273 "value": {
5274 "key": "TestSlogan",
5275 "fieldSchemaKey": {
5276 "name": "TestSlogan",
5277 "version": "0.0.1"
5278 },
5279 "optional": false
5280 }
5281 },
5282 {
5283 "key": "TestTemperature",
5284 "value": {
5285 "key": "TestTemperature",
5286 "fieldSchemaKey": {
5287 "name": "TestTemperature",
5288 "version": "0.0.1"
5289 },
5290 "optional": false
5291 }
5292 },
5293 {
5294 "key": "TestTimestamp",
5295 "value": {
5296 "key": "TestTimestamp",
5297 "fieldSchemaKey": {
5298 "name": "TestTimestamp",
5299 "version": "0.0.1"
5300 },
5301 "optional": false
5302 }
5303 }
5304 ]
5305 },
5306 "outputFields": {
5307 "entry": [
5308 {
5309 "key": "TestMatchCase",
5310 "value": {
5311 "key": "TestMatchCase",
5312 "fieldSchemaKey": {
5313 "name": "TestCase",
5314 "version": "0.0.1"
5315 },
5316 "optional": false
5317 }
5318 },
5319 {
5320 "key": "TestMatchCaseSelected",
5321 "value": {
5322 "key": "TestMatchCaseSelected",
5323 "fieldSchemaKey": {
5324 "name": "TestCase",
5325 "version": "0.0.1"
5326 },
5327 "optional": false
5328 }
5329 },
5330 {
5331 "key": "TestMatchStateTime",
5332 "value": {
5333 "key": "TestMatchStateTime",
5334 "fieldSchemaKey": {
5335 "name": "TestTimestamp",
5336 "version": "0.0.1"
5337 },
5338 "optional": false
5339 }
5340 },
5341 {
5342 "key": "TestSlogan",
5343 "value": {
5344 "key": "TestSlogan",
5345 "fieldSchemaKey": {
5346 "name": "TestSlogan",
5347 "version": "0.0.1"
5348 },
5349 "optional": false
5350 }
5351 },
5352 {
5353 "key": "TestTemperature",
5354 "value": {
5355 "key": "TestTemperature",
5356 "fieldSchemaKey": {
5357 "name": "TestTemperature",
5358 "version": "0.0.1"
5359 },
5360 "optional": false
5361 }
5362 },
5363 {
5364 "key": "TestTimestamp",
5365 "value": {
5366 "key": "TestTimestamp",
5367 "fieldSchemaKey": {
5368 "name": "TestTimestamp",
5369 "version": "0.0.1"
5370 },
5371 "optional": false
5372 }
5373 }
5374 ]
5375 },
5376 "taskParameters": {
5377 "entry": [
5378 {
5379 "key": "Parameter0",
5380 "value": {
5381 "key": {
5382 "parentKeyName": "Task_Match0",
5383 "parentKeyVersion": "0.0.1",
5384 "parentLocalName": "NULL",
5385 "localName": "Parameter0"
5386 },
5387 "defaultValue": "DefaultValue0"
5388 }
5389 },
5390 {
5391 "key": "Parameter1",
5392 "value": {
5393 "key": {
5394 "parentKeyName": "Task_Match0",
5395 "parentKeyVersion": "0.0.1",
5396 "parentLocalName": "NULL",
5397 "localName": "Parameter1"
5398 },
5399 "defaultValue": "DefaultValue1"
5400 }
5401 },
5402 {
5403 "key": "Parameter2",
5404 "value": {
5405 "key": {
5406 "parentKeyName": "Task_Match0",
5407 "parentKeyVersion": "0.0.1",
5408 "parentLocalName": "NULL",
5409 "localName": "Parameter2"
5410 },
5411 "defaultValue": "DefaultValue2"
5412 }
5413 }
5414 ]
5415 },
5416 "contextAlbumReference": [
5417 {
5418 "name": "ExternalContextAlbum",
5419 "version": "0.0.1"
5420 },
5421 {
5422 "name": "GlobalContextAlbum",
5423 "version": "0.0.1"
5424 },
5425 {
5426 "name": "Policy0ContextAlbum",
5427 "version": "0.0.1"
5428 },
5429 {
5430 "name": "Policy1ContextAlbum",
5431 "version": "0.0.1"
5432 }
5433 ],
5434 "taskLogic": {
5435 "key": "_TaskLogic",
5436 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00005437 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00005438 }
5439 }
5440 },
5441 {
5442 "key": {
5443 "name": "Task_Match1",
5444 "version": "0.0.1"
5445 },
5446 "value": {
5447 "key": {
5448 "name": "Task_Match1",
5449 "version": "0.0.1"
5450 },
5451 "inputFields": {
5452 "entry": [
5453 {
5454 "key": "TestMatchCase",
5455 "value": {
5456 "key": "TestMatchCase",
5457 "fieldSchemaKey": {
5458 "name": "TestCase",
5459 "version": "0.0.1"
5460 },
5461 "optional": false
5462 }
5463 },
5464 {
5465 "key": "TestSlogan",
5466 "value": {
5467 "key": "TestSlogan",
5468 "fieldSchemaKey": {
5469 "name": "TestSlogan",
5470 "version": "0.0.1"
5471 },
5472 "optional": false
5473 }
5474 },
5475 {
5476 "key": "TestTemperature",
5477 "value": {
5478 "key": "TestTemperature",
5479 "fieldSchemaKey": {
5480 "name": "TestTemperature",
5481 "version": "0.0.1"
5482 },
5483 "optional": false
5484 }
5485 },
5486 {
5487 "key": "TestTimestamp",
5488 "value": {
5489 "key": "TestTimestamp",
5490 "fieldSchemaKey": {
5491 "name": "TestTimestamp",
5492 "version": "0.0.1"
5493 },
5494 "optional": false
5495 }
5496 }
5497 ]
5498 },
5499 "outputFields": {
5500 "entry": [
5501 {
5502 "key": "TestMatchCase",
5503 "value": {
5504 "key": "TestMatchCase",
5505 "fieldSchemaKey": {
5506 "name": "TestCase",
5507 "version": "0.0.1"
5508 },
5509 "optional": false
5510 }
5511 },
5512 {
5513 "key": "TestMatchCaseSelected",
5514 "value": {
5515 "key": "TestMatchCaseSelected",
5516 "fieldSchemaKey": {
5517 "name": "TestCase",
5518 "version": "0.0.1"
5519 },
5520 "optional": false
5521 }
5522 },
5523 {
5524 "key": "TestMatchStateTime",
5525 "value": {
5526 "key": "TestMatchStateTime",
5527 "fieldSchemaKey": {
5528 "name": "TestTimestamp",
5529 "version": "0.0.1"
5530 },
5531 "optional": false
5532 }
5533 },
5534 {
5535 "key": "TestSlogan",
5536 "value": {
5537 "key": "TestSlogan",
5538 "fieldSchemaKey": {
5539 "name": "TestSlogan",
5540 "version": "0.0.1"
5541 },
5542 "optional": false
5543 }
5544 },
5545 {
5546 "key": "TestTemperature",
5547 "value": {
5548 "key": "TestTemperature",
5549 "fieldSchemaKey": {
5550 "name": "TestTemperature",
5551 "version": "0.0.1"
5552 },
5553 "optional": false
5554 }
5555 },
5556 {
5557 "key": "TestTimestamp",
5558 "value": {
5559 "key": "TestTimestamp",
5560 "fieldSchemaKey": {
5561 "name": "TestTimestamp",
5562 "version": "0.0.1"
5563 },
5564 "optional": false
5565 }
5566 }
5567 ]
5568 },
5569 "taskParameters": {
5570 "entry": [
5571 {
5572 "key": "Parameter0",
5573 "value": {
5574 "key": {
5575 "parentKeyName": "Task_Match1",
5576 "parentKeyVersion": "0.0.1",
5577 "parentLocalName": "NULL",
5578 "localName": "Parameter0"
5579 },
5580 "defaultValue": "DefaultValue0"
5581 }
5582 },
5583 {
5584 "key": "Parameter1",
5585 "value": {
5586 "key": {
5587 "parentKeyName": "Task_Match1",
5588 "parentKeyVersion": "0.0.1",
5589 "parentLocalName": "NULL",
5590 "localName": "Parameter1"
5591 },
5592 "defaultValue": "DefaultValue1"
5593 }
5594 }
5595 ]
5596 },
5597 "contextAlbumReference": [
5598 {
5599 "name": "GlobalContextAlbum",
5600 "version": "0.0.1"
5601 },
5602 {
5603 "name": "Policy0ContextAlbum",
5604 "version": "0.0.1"
5605 }
5606 ],
5607 "taskLogic": {
5608 "key": "_TaskLogic",
5609 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00005610 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00005611 }
5612 }
5613 },
5614 {
5615 "key": {
5616 "name": "Task_Match2",
5617 "version": "0.0.1"
5618 },
5619 "value": {
5620 "key": {
5621 "name": "Task_Match2",
5622 "version": "0.0.1"
5623 },
5624 "inputFields": {
5625 "entry": [
5626 {
5627 "key": "TestMatchCase",
5628 "value": {
5629 "key": "TestMatchCase",
5630 "fieldSchemaKey": {
5631 "name": "TestCase",
5632 "version": "0.0.1"
5633 },
5634 "optional": false
5635 }
5636 },
5637 {
5638 "key": "TestSlogan",
5639 "value": {
5640 "key": "TestSlogan",
5641 "fieldSchemaKey": {
5642 "name": "TestSlogan",
5643 "version": "0.0.1"
5644 },
5645 "optional": false
5646 }
5647 },
5648 {
5649 "key": "TestTemperature",
5650 "value": {
5651 "key": "TestTemperature",
5652 "fieldSchemaKey": {
5653 "name": "TestTemperature",
5654 "version": "0.0.1"
5655 },
5656 "optional": false
5657 }
5658 },
5659 {
5660 "key": "TestTimestamp",
5661 "value": {
5662 "key": "TestTimestamp",
5663 "fieldSchemaKey": {
5664 "name": "TestTimestamp",
5665 "version": "0.0.1"
5666 },
5667 "optional": false
5668 }
5669 }
5670 ]
5671 },
5672 "outputFields": {
5673 "entry": [
5674 {
5675 "key": "TestMatchCase",
5676 "value": {
5677 "key": "TestMatchCase",
5678 "fieldSchemaKey": {
5679 "name": "TestCase",
5680 "version": "0.0.1"
5681 },
5682 "optional": false
5683 }
5684 },
5685 {
5686 "key": "TestMatchCaseSelected",
5687 "value": {
5688 "key": "TestMatchCaseSelected",
5689 "fieldSchemaKey": {
5690 "name": "TestCase",
5691 "version": "0.0.1"
5692 },
5693 "optional": false
5694 }
5695 },
5696 {
5697 "key": "TestMatchStateTime",
5698 "value": {
5699 "key": "TestMatchStateTime",
5700 "fieldSchemaKey": {
5701 "name": "TestTimestamp",
5702 "version": "0.0.1"
5703 },
5704 "optional": false
5705 }
5706 },
5707 {
5708 "key": "TestSlogan",
5709 "value": {
5710 "key": "TestSlogan",
5711 "fieldSchemaKey": {
5712 "name": "TestSlogan",
5713 "version": "0.0.1"
5714 },
5715 "optional": false
5716 }
5717 },
5718 {
5719 "key": "TestTemperature",
5720 "value": {
5721 "key": "TestTemperature",
5722 "fieldSchemaKey": {
5723 "name": "TestTemperature",
5724 "version": "0.0.1"
5725 },
5726 "optional": false
5727 }
5728 },
5729 {
5730 "key": "TestTimestamp",
5731 "value": {
5732 "key": "TestTimestamp",
5733 "fieldSchemaKey": {
5734 "name": "TestTimestamp",
5735 "version": "0.0.1"
5736 },
5737 "optional": false
5738 }
5739 }
5740 ]
5741 },
5742 "taskParameters": {
5743 "entry": [
5744 {
5745 "key": "Parameter0",
5746 "value": {
5747 "key": {
5748 "parentKeyName": "Task_Match2",
5749 "parentKeyVersion": "0.0.1",
5750 "parentLocalName": "NULL",
5751 "localName": "Parameter0"
5752 },
5753 "defaultValue": "DefaultValue0"
5754 }
5755 }
5756 ]
5757 },
5758 "contextAlbumReference": [
5759 {
5760 "name": "GlobalContextAlbum",
5761 "version": "0.0.1"
5762 },
5763 {
5764 "name": "Policy1ContextAlbum",
5765 "version": "0.0.1"
5766 }
5767 ],
5768 "taskLogic": {
5769 "key": "_TaskLogic",
5770 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00005771 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00005772 }
5773 }
5774 },
5775 {
5776 "key": {
5777 "name": "Task_Match3",
5778 "version": "0.0.1"
5779 },
5780 "value": {
5781 "key": {
5782 "name": "Task_Match3",
5783 "version": "0.0.1"
5784 },
5785 "inputFields": {
5786 "entry": [
5787 {
5788 "key": "TestMatchCase",
5789 "value": {
5790 "key": "TestMatchCase",
5791 "fieldSchemaKey": {
5792 "name": "TestCase",
5793 "version": "0.0.1"
5794 },
5795 "optional": false
5796 }
5797 },
5798 {
5799 "key": "TestSlogan",
5800 "value": {
5801 "key": "TestSlogan",
5802 "fieldSchemaKey": {
5803 "name": "TestSlogan",
5804 "version": "0.0.1"
5805 },
5806 "optional": false
5807 }
5808 },
5809 {
5810 "key": "TestTemperature",
5811 "value": {
5812 "key": "TestTemperature",
5813 "fieldSchemaKey": {
5814 "name": "TestTemperature",
5815 "version": "0.0.1"
5816 },
5817 "optional": false
5818 }
5819 },
5820 {
5821 "key": "TestTimestamp",
5822 "value": {
5823 "key": "TestTimestamp",
5824 "fieldSchemaKey": {
5825 "name": "TestTimestamp",
5826 "version": "0.0.1"
5827 },
5828 "optional": false
5829 }
5830 }
5831 ]
5832 },
5833 "outputFields": {
5834 "entry": [
5835 {
5836 "key": "TestMatchCase",
5837 "value": {
5838 "key": "TestMatchCase",
5839 "fieldSchemaKey": {
5840 "name": "TestCase",
5841 "version": "0.0.1"
5842 },
5843 "optional": false
5844 }
5845 },
5846 {
5847 "key": "TestMatchCaseSelected",
5848 "value": {
5849 "key": "TestMatchCaseSelected",
5850 "fieldSchemaKey": {
5851 "name": "TestCase",
5852 "version": "0.0.1"
5853 },
5854 "optional": false
5855 }
5856 },
5857 {
5858 "key": "TestMatchStateTime",
5859 "value": {
5860 "key": "TestMatchStateTime",
5861 "fieldSchemaKey": {
5862 "name": "TestTimestamp",
5863 "version": "0.0.1"
5864 },
5865 "optional": false
5866 }
5867 },
5868 {
5869 "key": "TestSlogan",
5870 "value": {
5871 "key": "TestSlogan",
5872 "fieldSchemaKey": {
5873 "name": "TestSlogan",
5874 "version": "0.0.1"
5875 },
5876 "optional": false
5877 }
5878 },
5879 {
5880 "key": "TestTemperature",
5881 "value": {
5882 "key": "TestTemperature",
5883 "fieldSchemaKey": {
5884 "name": "TestTemperature",
5885 "version": "0.0.1"
5886 },
5887 "optional": false
5888 }
5889 },
5890 {
5891 "key": "TestTimestamp",
5892 "value": {
5893 "key": "TestTimestamp",
5894 "fieldSchemaKey": {
5895 "name": "TestTimestamp",
5896 "version": "0.0.1"
5897 },
5898 "optional": false
5899 }
5900 }
5901 ]
5902 },
5903 "taskParameters": {
5904 "entry": [
5905 {
5906 "key": "Parameter0",
5907 "value": {
5908 "key": {
5909 "parentKeyName": "Task_Match3",
5910 "parentKeyVersion": "0.0.1",
5911 "parentLocalName": "NULL",
5912 "localName": "Parameter0"
5913 },
5914 "defaultValue": "DefaultValue0"
5915 }
5916 }
5917 ]
5918 },
5919 "contextAlbumReference": [
5920 {
5921 "name": "ExternalContextAlbum",
5922 "version": "0.0.1"
5923 },
5924 {
5925 "name": "GlobalContextAlbum",
5926 "version": "0.0.1"
5927 }
5928 ],
5929 "taskLogic": {
5930 "key": "_TaskLogic",
5931 "logicFlavour": "JAVASCRIPT",
a.sreekumar29fc8352020-03-11 16:28:57 +00005932 "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;"
a.sreekumar61318ad2020-01-29 10:17:35 +00005933 }
5934 }
5935 }
5936 ]
5937 }
5938 },
5939 "events": {
5940 "key": {
5941 "name": "Events",
5942 "version": "0.0.1"
5943 },
5944 "eventMap": {
5945 "entry": [
5946 {
5947 "key": {
5948 "name": "Event0000",
5949 "version": "0.0.1"
5950 },
5951 "value": {
5952 "key": {
5953 "name": "Event0000",
5954 "version": "0.0.1"
5955 },
5956 "nameSpace": "org.onap.policy.apex.sample.events",
5957 "source": "Outside",
5958 "target": "Match",
5959 "parameter": {
5960 "entry": [
5961 {
5962 "key": "TestMatchCase",
5963 "value": {
5964 "key": "TestMatchCase",
5965 "fieldSchemaKey": {
5966 "name": "TestCase",
5967 "version": "0.0.1"
5968 },
5969 "optional": false
5970 }
5971 },
5972 {
5973 "key": "TestSlogan",
5974 "value": {
5975 "key": "TestSlogan",
5976 "fieldSchemaKey": {
5977 "name": "TestSlogan",
5978 "version": "0.0.1"
5979 },
5980 "optional": false
5981 }
5982 },
5983 {
5984 "key": "TestTemperature",
5985 "value": {
5986 "key": "TestTemperature",
5987 "fieldSchemaKey": {
5988 "name": "TestTemperature",
5989 "version": "0.0.1"
5990 },
5991 "optional": false
5992 }
5993 },
5994 {
5995 "key": "TestTimestamp",
5996 "value": {
5997 "key": "TestTimestamp",
5998 "fieldSchemaKey": {
5999 "name": "TestTimestamp",
6000 "version": "0.0.1"
6001 },
6002 "optional": false
6003 }
6004 }
6005 ]
6006 }
6007 }
6008 },
6009 {
6010 "key": {
6011 "name": "Event0001",
6012 "version": "0.0.1"
6013 },
6014 "value": {
6015 "key": {
6016 "name": "Event0001",
6017 "version": "0.0.1"
6018 },
6019 "nameSpace": "org.onap.policy.apex.sample.events",
6020 "source": "Match",
6021 "target": "Establish",
6022 "parameter": {
6023 "entry": [
6024 {
6025 "key": "TestMatchCase",
6026 "value": {
6027 "key": "TestMatchCase",
6028 "fieldSchemaKey": {
6029 "name": "TestCase",
6030 "version": "0.0.1"
6031 },
6032 "optional": false
6033 }
6034 },
6035 {
6036 "key": "TestMatchCaseSelected",
6037 "value": {
6038 "key": "TestMatchCaseSelected",
6039 "fieldSchemaKey": {
6040 "name": "TestCase",
6041 "version": "0.0.1"
6042 },
6043 "optional": false
6044 }
6045 },
6046 {
6047 "key": "TestMatchStateTime",
6048 "value": {
6049 "key": "TestMatchStateTime",
6050 "fieldSchemaKey": {
6051 "name": "TestTimestamp",
6052 "version": "0.0.1"
6053 },
6054 "optional": false
6055 }
6056 },
6057 {
6058 "key": "TestSlogan",
6059 "value": {
6060 "key": "TestSlogan",
6061 "fieldSchemaKey": {
6062 "name": "TestSlogan",
6063 "version": "0.0.1"
6064 },
6065 "optional": false
6066 }
6067 },
6068 {
6069 "key": "TestTemperature",
6070 "value": {
6071 "key": "TestTemperature",
6072 "fieldSchemaKey": {
6073 "name": "TestTemperature",
6074 "version": "0.0.1"
6075 },
6076 "optional": false
6077 }
6078 },
6079 {
6080 "key": "TestTimestamp",
6081 "value": {
6082 "key": "TestTimestamp",
6083 "fieldSchemaKey": {
6084 "name": "TestTimestamp",
6085 "version": "0.0.1"
6086 },
6087 "optional": false
6088 }
6089 }
6090 ]
6091 }
6092 }
6093 },
6094 {
6095 "key": {
6096 "name": "Event0002",
6097 "version": "0.0.1"
6098 },
6099 "value": {
6100 "key": {
6101 "name": "Event0002",
6102 "version": "0.0.1"
6103 },
6104 "nameSpace": "org.onap.policy.apex.sample.events",
6105 "source": "Establish",
6106 "target": "Decide",
6107 "parameter": {
6108 "entry": [
6109 {
6110 "key": "TestEstablishCaseSelected",
6111 "value": {
6112 "key": "TestEstablishCaseSelected",
6113 "fieldSchemaKey": {
6114 "name": "TestCase",
6115 "version": "0.0.1"
6116 },
6117 "optional": false
6118 }
6119 },
6120 {
6121 "key": "TestEstablishStateTime",
6122 "value": {
6123 "key": "TestEstablishStateTime",
6124 "fieldSchemaKey": {
6125 "name": "TestTimestamp",
6126 "version": "0.0.1"
6127 },
6128 "optional": false
6129 }
6130 },
6131 {
6132 "key": "TestMatchCase",
6133 "value": {
6134 "key": "TestMatchCase",
6135 "fieldSchemaKey": {
6136 "name": "TestCase",
6137 "version": "0.0.1"
6138 },
6139 "optional": false
6140 }
6141 },
6142 {
6143 "key": "TestMatchCaseSelected",
6144 "value": {
6145 "key": "TestMatchCaseSelected",
6146 "fieldSchemaKey": {
6147 "name": "TestCase",
6148 "version": "0.0.1"
6149 },
6150 "optional": false
6151 }
6152 },
6153 {
6154 "key": "TestMatchStateTime",
6155 "value": {
6156 "key": "TestMatchStateTime",
6157 "fieldSchemaKey": {
6158 "name": "TestTimestamp",
6159 "version": "0.0.1"
6160 },
6161 "optional": false
6162 }
6163 },
6164 {
6165 "key": "TestSlogan",
6166 "value": {
6167 "key": "TestSlogan",
6168 "fieldSchemaKey": {
6169 "name": "TestSlogan",
6170 "version": "0.0.1"
6171 },
6172 "optional": false
6173 }
6174 },
6175 {
6176 "key": "TestTemperature",
6177 "value": {
6178 "key": "TestTemperature",
6179 "fieldSchemaKey": {
6180 "name": "TestTemperature",
6181 "version": "0.0.1"
6182 },
6183 "optional": false
6184 }
6185 },
6186 {
6187 "key": "TestTimestamp",
6188 "value": {
6189 "key": "TestTimestamp",
6190 "fieldSchemaKey": {
6191 "name": "TestTimestamp",
6192 "version": "0.0.1"
6193 },
6194 "optional": false
6195 }
6196 }
6197 ]
6198 }
6199 }
6200 },
6201 {
6202 "key": {
6203 "name": "Event0003",
6204 "version": "0.0.1"
6205 },
6206 "value": {
6207 "key": {
6208 "name": "Event0003",
6209 "version": "0.0.1"
6210 },
6211 "nameSpace": "org.onap.policy.apex.sample.events",
6212 "source": "Decide",
6213 "target": "Act",
6214 "parameter": {
6215 "entry": [
6216 {
6217 "key": "TestDecideCaseSelected",
6218 "value": {
6219 "key": "TestDecideCaseSelected",
6220 "fieldSchemaKey": {
6221 "name": "TestCase",
6222 "version": "0.0.1"
6223 },
6224 "optional": false
6225 }
6226 },
6227 {
6228 "key": "TestDecideStateTime",
6229 "value": {
6230 "key": "TestDecideStateTime",
6231 "fieldSchemaKey": {
6232 "name": "TestTimestamp",
6233 "version": "0.0.1"
6234 },
6235 "optional": false
6236 }
6237 },
6238 {
6239 "key": "TestEstablishCaseSelected",
6240 "value": {
6241 "key": "TestEstablishCaseSelected",
6242 "fieldSchemaKey": {
6243 "name": "TestCase",
6244 "version": "0.0.1"
6245 },
6246 "optional": false
6247 }
6248 },
6249 {
6250 "key": "TestEstablishStateTime",
6251 "value": {
6252 "key": "TestEstablishStateTime",
6253 "fieldSchemaKey": {
6254 "name": "TestTimestamp",
6255 "version": "0.0.1"
6256 },
6257 "optional": false
6258 }
6259 },
6260 {
6261 "key": "TestMatchCase",
6262 "value": {
6263 "key": "TestMatchCase",
6264 "fieldSchemaKey": {
6265 "name": "TestCase",
6266 "version": "0.0.1"
6267 },
6268 "optional": false
6269 }
6270 },
6271 {
6272 "key": "TestMatchCaseSelected",
6273 "value": {
6274 "key": "TestMatchCaseSelected",
6275 "fieldSchemaKey": {
6276 "name": "TestCase",
6277 "version": "0.0.1"
6278 },
6279 "optional": false
6280 }
6281 },
6282 {
6283 "key": "TestMatchStateTime",
6284 "value": {
6285 "key": "TestMatchStateTime",
6286 "fieldSchemaKey": {
6287 "name": "TestTimestamp",
6288 "version": "0.0.1"
6289 },
6290 "optional": false
6291 }
6292 },
6293 {
6294 "key": "TestSlogan",
6295 "value": {
6296 "key": "TestSlogan",
6297 "fieldSchemaKey": {
6298 "name": "TestSlogan",
6299 "version": "0.0.1"
6300 },
6301 "optional": false
6302 }
6303 },
6304 {
6305 "key": "TestTemperature",
6306 "value": {
6307 "key": "TestTemperature",
6308 "fieldSchemaKey": {
6309 "name": "TestTemperature",
6310 "version": "0.0.1"
6311 },
6312 "optional": false
6313 }
6314 },
6315 {
6316 "key": "TestTimestamp",
6317 "value": {
6318 "key": "TestTimestamp",
6319 "fieldSchemaKey": {
6320 "name": "TestTimestamp",
6321 "version": "0.0.1"
6322 },
6323 "optional": false
6324 }
6325 }
6326 ]
6327 }
6328 }
6329 },
6330 {
6331 "key": {
6332 "name": "Event0004",
6333 "version": "0.0.1"
6334 },
6335 "value": {
6336 "key": {
6337 "name": "Event0004",
6338 "version": "0.0.1"
6339 },
6340 "nameSpace": "org.onap.policy.apex.sample.events",
6341 "source": "Act",
6342 "target": "Outside",
6343 "parameter": {
6344 "entry": [
6345 {
6346 "key": "TestActCaseSelected",
6347 "value": {
6348 "key": "TestActCaseSelected",
6349 "fieldSchemaKey": {
6350 "name": "TestCase",
6351 "version": "0.0.1"
6352 },
6353 "optional": false
6354 }
6355 },
6356 {
6357 "key": "TestActStateTime",
6358 "value": {
6359 "key": "TestActStateTime",
6360 "fieldSchemaKey": {
6361 "name": "TestTimestamp",
6362 "version": "0.0.1"
6363 },
6364 "optional": false
6365 }
6366 },
6367 {
6368 "key": "TestDecideCaseSelected",
6369 "value": {
6370 "key": "TestDecideCaseSelected",
6371 "fieldSchemaKey": {
6372 "name": "TestCase",
6373 "version": "0.0.1"
6374 },
6375 "optional": false
6376 }
6377 },
6378 {
6379 "key": "TestDecideStateTime",
6380 "value": {
6381 "key": "TestDecideStateTime",
6382 "fieldSchemaKey": {
6383 "name": "TestTimestamp",
6384 "version": "0.0.1"
6385 },
6386 "optional": false
6387 }
6388 },
6389 {
6390 "key": "TestEstablishCaseSelected",
6391 "value": {
6392 "key": "TestEstablishCaseSelected",
6393 "fieldSchemaKey": {
6394 "name": "TestCase",
6395 "version": "0.0.1"
6396 },
6397 "optional": false
6398 }
6399 },
6400 {
6401 "key": "TestEstablishStateTime",
6402 "value": {
6403 "key": "TestEstablishStateTime",
6404 "fieldSchemaKey": {
6405 "name": "TestTimestamp",
6406 "version": "0.0.1"
6407 },
6408 "optional": false
6409 }
6410 },
6411 {
6412 "key": "TestMatchCase",
6413 "value": {
6414 "key": "TestMatchCase",
6415 "fieldSchemaKey": {
6416 "name": "TestCase",
6417 "version": "0.0.1"
6418 },
6419 "optional": false
6420 }
6421 },
6422 {
6423 "key": "TestMatchCaseSelected",
6424 "value": {
6425 "key": "TestMatchCaseSelected",
6426 "fieldSchemaKey": {
6427 "name": "TestCase",
6428 "version": "0.0.1"
6429 },
6430 "optional": false
6431 }
6432 },
6433 {
6434 "key": "TestMatchStateTime",
6435 "value": {
6436 "key": "TestMatchStateTime",
6437 "fieldSchemaKey": {
6438 "name": "TestTimestamp",
6439 "version": "0.0.1"
6440 },
6441 "optional": false
6442 }
6443 },
6444 {
6445 "key": "TestSlogan",
6446 "value": {
6447 "key": "TestSlogan",
6448 "fieldSchemaKey": {
6449 "name": "TestSlogan",
6450 "version": "0.0.1"
6451 },
6452 "optional": false
6453 }
6454 },
6455 {
6456 "key": "TestTemperature",
6457 "value": {
6458 "key": "TestTemperature",
6459 "fieldSchemaKey": {
6460 "name": "TestTemperature",
6461 "version": "0.0.1"
6462 },
6463 "optional": false
6464 }
6465 },
6466 {
6467 "key": "TestTimestamp",
6468 "value": {
6469 "key": "TestTimestamp",
6470 "fieldSchemaKey": {
6471 "name": "TestTimestamp",
6472 "version": "0.0.1"
6473 },
6474 "optional": false
6475 }
6476 }
6477 ]
6478 }
6479 }
6480 },
6481 {
6482 "key": {
6483 "name": "Event0100",
6484 "version": "0.0.1"
6485 },
6486 "value": {
6487 "key": {
6488 "name": "Event0100",
6489 "version": "0.0.1"
6490 },
6491 "nameSpace": "org.onap.policy.apex.sample.events",
6492 "source": "Outside",
6493 "target": "Match",
6494 "parameter": {
6495 "entry": [
6496 {
6497 "key": "TestMatchCase",
6498 "value": {
6499 "key": "TestMatchCase",
6500 "fieldSchemaKey": {
6501 "name": "TestCase",
6502 "version": "0.0.1"
6503 },
6504 "optional": false
6505 }
6506 },
6507 {
6508 "key": "TestSlogan",
6509 "value": {
6510 "key": "TestSlogan",
6511 "fieldSchemaKey": {
6512 "name": "TestSlogan",
6513 "version": "0.0.1"
6514 },
6515 "optional": false
6516 }
6517 },
6518 {
6519 "key": "TestTemperature",
6520 "value": {
6521 "key": "TestTemperature",
6522 "fieldSchemaKey": {
6523 "name": "TestTemperature",
6524 "version": "0.0.1"
6525 },
6526 "optional": false
6527 }
6528 },
6529 {
6530 "key": "TestTimestamp",
6531 "value": {
6532 "key": "TestTimestamp",
6533 "fieldSchemaKey": {
6534 "name": "TestTimestamp",
6535 "version": "0.0.1"
6536 },
6537 "optional": false
6538 }
6539 }
6540 ]
6541 }
6542 }
6543 },
6544 {
6545 "key": {
6546 "name": "Event0101",
6547 "version": "0.0.1"
6548 },
6549 "value": {
6550 "key": {
6551 "name": "Event0101",
6552 "version": "0.0.1"
6553 },
6554 "nameSpace": "org.onap.policy.apex.sample.events",
6555 "source": "Match",
6556 "target": "Establish",
6557 "parameter": {
6558 "entry": [
6559 {
6560 "key": "TestMatchCase",
6561 "value": {
6562 "key": "TestMatchCase",
6563 "fieldSchemaKey": {
6564 "name": "TestCase",
6565 "version": "0.0.1"
6566 },
6567 "optional": false
6568 }
6569 },
6570 {
6571 "key": "TestMatchCaseSelected",
6572 "value": {
6573 "key": "TestMatchCaseSelected",
6574 "fieldSchemaKey": {
6575 "name": "TestCase",
6576 "version": "0.0.1"
6577 },
6578 "optional": false
6579 }
6580 },
6581 {
6582 "key": "TestMatchStateTime",
6583 "value": {
6584 "key": "TestMatchStateTime",
6585 "fieldSchemaKey": {
6586 "name": "TestTimestamp",
6587 "version": "0.0.1"
6588 },
6589 "optional": false
6590 }
6591 },
6592 {
6593 "key": "TestSlogan",
6594 "value": {
6595 "key": "TestSlogan",
6596 "fieldSchemaKey": {
6597 "name": "TestSlogan",
6598 "version": "0.0.1"
6599 },
6600 "optional": false
6601 }
6602 },
6603 {
6604 "key": "TestTemperature",
6605 "value": {
6606 "key": "TestTemperature",
6607 "fieldSchemaKey": {
6608 "name": "TestTemperature",
6609 "version": "0.0.1"
6610 },
6611 "optional": false
6612 }
6613 },
6614 {
6615 "key": "TestTimestamp",
6616 "value": {
6617 "key": "TestTimestamp",
6618 "fieldSchemaKey": {
6619 "name": "TestTimestamp",
6620 "version": "0.0.1"
6621 },
6622 "optional": false
6623 }
6624 }
6625 ]
6626 }
6627 }
6628 },
6629 {
6630 "key": {
6631 "name": "Event0102",
6632 "version": "0.0.1"
6633 },
6634 "value": {
6635 "key": {
6636 "name": "Event0102",
6637 "version": "0.0.1"
6638 },
6639 "nameSpace": "org.onap.policy.apex.sample.events",
6640 "source": "Establish",
6641 "target": "Decide",
6642 "parameter": {
6643 "entry": [
6644 {
6645 "key": "TestEstablishCaseSelected",
6646 "value": {
6647 "key": "TestEstablishCaseSelected",
6648 "fieldSchemaKey": {
6649 "name": "TestCase",
6650 "version": "0.0.1"
6651 },
6652 "optional": false
6653 }
6654 },
6655 {
6656 "key": "TestEstablishStateTime",
6657 "value": {
6658 "key": "TestEstablishStateTime",
6659 "fieldSchemaKey": {
6660 "name": "TestTimestamp",
6661 "version": "0.0.1"
6662 },
6663 "optional": false
6664 }
6665 },
6666 {
6667 "key": "TestMatchCase",
6668 "value": {
6669 "key": "TestMatchCase",
6670 "fieldSchemaKey": {
6671 "name": "TestCase",
6672 "version": "0.0.1"
6673 },
6674 "optional": false
6675 }
6676 },
6677 {
6678 "key": "TestMatchCaseSelected",
6679 "value": {
6680 "key": "TestMatchCaseSelected",
6681 "fieldSchemaKey": {
6682 "name": "TestCase",
6683 "version": "0.0.1"
6684 },
6685 "optional": false
6686 }
6687 },
6688 {
6689 "key": "TestMatchStateTime",
6690 "value": {
6691 "key": "TestMatchStateTime",
6692 "fieldSchemaKey": {
6693 "name": "TestTimestamp",
6694 "version": "0.0.1"
6695 },
6696 "optional": false
6697 }
6698 },
6699 {
6700 "key": "TestSlogan",
6701 "value": {
6702 "key": "TestSlogan",
6703 "fieldSchemaKey": {
6704 "name": "TestSlogan",
6705 "version": "0.0.1"
6706 },
6707 "optional": false
6708 }
6709 },
6710 {
6711 "key": "TestTemperature",
6712 "value": {
6713 "key": "TestTemperature",
6714 "fieldSchemaKey": {
6715 "name": "TestTemperature",
6716 "version": "0.0.1"
6717 },
6718 "optional": false
6719 }
6720 },
6721 {
6722 "key": "TestTimestamp",
6723 "value": {
6724 "key": "TestTimestamp",
6725 "fieldSchemaKey": {
6726 "name": "TestTimestamp",
6727 "version": "0.0.1"
6728 },
6729 "optional": false
6730 }
6731 }
6732 ]
6733 }
6734 }
6735 },
6736 {
6737 "key": {
6738 "name": "Event0103",
6739 "version": "0.0.1"
6740 },
6741 "value": {
6742 "key": {
6743 "name": "Event0103",
6744 "version": "0.0.1"
6745 },
6746 "nameSpace": "org.onap.policy.apex.sample.events",
6747 "source": "Decide",
6748 "target": "Act",
6749 "parameter": {
6750 "entry": [
6751 {
6752 "key": "TestDecideCaseSelected",
6753 "value": {
6754 "key": "TestDecideCaseSelected",
6755 "fieldSchemaKey": {
6756 "name": "TestCase",
6757 "version": "0.0.1"
6758 },
6759 "optional": false
6760 }
6761 },
6762 {
6763 "key": "TestDecideStateTime",
6764 "value": {
6765 "key": "TestDecideStateTime",
6766 "fieldSchemaKey": {
6767 "name": "TestTimestamp",
6768 "version": "0.0.1"
6769 },
6770 "optional": false
6771 }
6772 },
6773 {
6774 "key": "TestEstablishCaseSelected",
6775 "value": {
6776 "key": "TestEstablishCaseSelected",
6777 "fieldSchemaKey": {
6778 "name": "TestCase",
6779 "version": "0.0.1"
6780 },
6781 "optional": false
6782 }
6783 },
6784 {
6785 "key": "TestEstablishStateTime",
6786 "value": {
6787 "key": "TestEstablishStateTime",
6788 "fieldSchemaKey": {
6789 "name": "TestTimestamp",
6790 "version": "0.0.1"
6791 },
6792 "optional": false
6793 }
6794 },
6795 {
6796 "key": "TestMatchCase",
6797 "value": {
6798 "key": "TestMatchCase",
6799 "fieldSchemaKey": {
6800 "name": "TestCase",
6801 "version": "0.0.1"
6802 },
6803 "optional": false
6804 }
6805 },
6806 {
6807 "key": "TestMatchCaseSelected",
6808 "value": {
6809 "key": "TestMatchCaseSelected",
6810 "fieldSchemaKey": {
6811 "name": "TestCase",
6812 "version": "0.0.1"
6813 },
6814 "optional": false
6815 }
6816 },
6817 {
6818 "key": "TestMatchStateTime",
6819 "value": {
6820 "key": "TestMatchStateTime",
6821 "fieldSchemaKey": {
6822 "name": "TestTimestamp",
6823 "version": "0.0.1"
6824 },
6825 "optional": false
6826 }
6827 },
6828 {
6829 "key": "TestSlogan",
6830 "value": {
6831 "key": "TestSlogan",
6832 "fieldSchemaKey": {
6833 "name": "TestSlogan",
6834 "version": "0.0.1"
6835 },
6836 "optional": false
6837 }
6838 },
6839 {
6840 "key": "TestTemperature",
6841 "value": {
6842 "key": "TestTemperature",
6843 "fieldSchemaKey": {
6844 "name": "TestTemperature",
6845 "version": "0.0.1"
6846 },
6847 "optional": false
6848 }
6849 },
6850 {
6851 "key": "TestTimestamp",
6852 "value": {
6853 "key": "TestTimestamp",
6854 "fieldSchemaKey": {
6855 "name": "TestTimestamp",
6856 "version": "0.0.1"
6857 },
6858 "optional": false
6859 }
6860 }
6861 ]
6862 }
6863 }
6864 },
6865 {
6866 "key": {
6867 "name": "Event0104",
6868 "version": "0.0.1"
6869 },
6870 "value": {
6871 "key": {
6872 "name": "Event0104",
6873 "version": "0.0.1"
6874 },
6875 "nameSpace": "org.onap.policy.apex.sample.events",
6876 "source": "Act",
6877 "target": "Outside",
6878 "parameter": {
6879 "entry": [
6880 {
6881 "key": "TestActCaseSelected",
6882 "value": {
6883 "key": "TestActCaseSelected",
6884 "fieldSchemaKey": {
6885 "name": "TestCase",
6886 "version": "0.0.1"
6887 },
6888 "optional": false
6889 }
6890 },
6891 {
6892 "key": "TestActStateTime",
6893 "value": {
6894 "key": "TestActStateTime",
6895 "fieldSchemaKey": {
6896 "name": "TestTimestamp",
6897 "version": "0.0.1"
6898 },
6899 "optional": false
6900 }
6901 },
6902 {
6903 "key": "TestDecideCaseSelected",
6904 "value": {
6905 "key": "TestDecideCaseSelected",
6906 "fieldSchemaKey": {
6907 "name": "TestCase",
6908 "version": "0.0.1"
6909 },
6910 "optional": false
6911 }
6912 },
6913 {
6914 "key": "TestDecideStateTime",
6915 "value": {
6916 "key": "TestDecideStateTime",
6917 "fieldSchemaKey": {
6918 "name": "TestTimestamp",
6919 "version": "0.0.1"
6920 },
6921 "optional": false
6922 }
6923 },
6924 {
6925 "key": "TestEstablishCaseSelected",
6926 "value": {
6927 "key": "TestEstablishCaseSelected",
6928 "fieldSchemaKey": {
6929 "name": "TestCase",
6930 "version": "0.0.1"
6931 },
6932 "optional": false
6933 }
6934 },
6935 {
6936 "key": "TestEstablishStateTime",
6937 "value": {
6938 "key": "TestEstablishStateTime",
6939 "fieldSchemaKey": {
6940 "name": "TestTimestamp",
6941 "version": "0.0.1"
6942 },
6943 "optional": false
6944 }
6945 },
6946 {
6947 "key": "TestMatchCase",
6948 "value": {
6949 "key": "TestMatchCase",
6950 "fieldSchemaKey": {
6951 "name": "TestCase",
6952 "version": "0.0.1"
6953 },
6954 "optional": false
6955 }
6956 },
6957 {
6958 "key": "TestMatchCaseSelected",
6959 "value": {
6960 "key": "TestMatchCaseSelected",
6961 "fieldSchemaKey": {
6962 "name": "TestCase",
6963 "version": "0.0.1"
6964 },
6965 "optional": false
6966 }
6967 },
6968 {
6969 "key": "TestMatchStateTime",
6970 "value": {
6971 "key": "TestMatchStateTime",
6972 "fieldSchemaKey": {
6973 "name": "TestTimestamp",
6974 "version": "0.0.1"
6975 },
6976 "optional": false
6977 }
6978 },
6979 {
6980 "key": "TestSlogan",
6981 "value": {
6982 "key": "TestSlogan",
6983 "fieldSchemaKey": {
6984 "name": "TestSlogan",
6985 "version": "0.0.1"
6986 },
6987 "optional": false
6988 }
6989 },
6990 {
6991 "key": "TestTemperature",
6992 "value": {
6993 "key": "TestTemperature",
6994 "fieldSchemaKey": {
6995 "name": "TestTemperature",
6996 "version": "0.0.1"
6997 },
6998 "optional": false
6999 }
7000 },
7001 {
7002 "key": "TestTimestamp",
7003 "value": {
7004 "key": "TestTimestamp",
7005 "fieldSchemaKey": {
7006 "name": "TestTimestamp",
7007 "version": "0.0.1"
7008 },
7009 "optional": false
7010 }
7011 }
7012 ]
7013 }
7014 }
7015 }
7016 ]
7017 }
7018 },
7019 "albums": {
7020 "key": {
7021 "name": "Context",
7022 "version": "0.0.1"
7023 },
7024 "albums": {
7025 "entry": [
7026 {
7027 "key": {
7028 "name": "ExternalContextAlbum",
7029 "version": "0.0.1"
7030 },
7031 "value": {
7032 "key": {
7033 "name": "ExternalContextAlbum",
7034 "version": "0.0.1"
7035 },
7036 "scope": "EXTERNAL",
7037 "isWritable": false,
7038 "itemSchema": {
7039 "name": "TestExternalContextItem",
7040 "version": "0.0.1"
7041 }
7042 }
7043 },
7044 {
7045 "key": {
7046 "name": "GlobalContextAlbum",
7047 "version": "0.0.1"
7048 },
7049 "value": {
7050 "key": {
7051 "name": "GlobalContextAlbum",
7052 "version": "0.0.1"
7053 },
7054 "scope": "GLOBAL",
7055 "isWritable": true,
7056 "itemSchema": {
7057 "name": "TestGlobalContextItem",
7058 "version": "0.0.1"
7059 }
7060 }
7061 },
7062 {
7063 "key": {
7064 "name": "Policy0ContextAlbum",
7065 "version": "0.0.1"
7066 },
7067 "value": {
7068 "key": {
7069 "name": "Policy0ContextAlbum",
7070 "version": "0.0.1"
7071 },
7072 "scope": "APPLICATION",
7073 "isWritable": true,
7074 "itemSchema": {
7075 "name": "TestPolicyContextItem",
7076 "version": "0.0.1"
7077 }
7078 }
7079 },
7080 {
7081 "key": {
7082 "name": "Policy1ContextAlbum",
7083 "version": "0.0.1"
7084 },
7085 "value": {
7086 "key": {
7087 "name": "Policy1ContextAlbum",
7088 "version": "0.0.1"
7089 },
7090 "scope": "APPLICATION",
7091 "isWritable": true,
7092 "itemSchema": {
7093 "name": "TestPolicyContextItem",
7094 "version": "0.0.1"
7095 }
7096 }
7097 }
7098 ]
7099 }
7100 },
7101 "schemas": {
7102 "key": {
7103 "name": "TestDatatypes",
7104 "version": "0.0.1"
7105 },
7106 "schemas": {
7107 "entry": [
7108 {
7109 "key": {
7110 "name": "TestCase",
7111 "version": "0.0.1"
7112 },
7113 "value": {
7114 "key": {
7115 "name": "TestCase",
7116 "version": "0.0.1"
7117 },
7118 "schemaFlavour": "Java",
7119 "schemaDefinition": "java.lang.Byte"
7120 }
7121 },
7122 {
7123 "key": {
7124 "name": "TestContextItem000",
7125 "version": "0.0.1"
7126 },
7127 "value": {
7128 "key": {
7129 "name": "TestContextItem000",
7130 "version": "0.0.1"
7131 },
7132 "schemaFlavour": "Java",
7133 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem000"
7134 }
7135 },
7136 {
7137 "key": {
7138 "name": "TestContextItem001",
7139 "version": "0.0.1"
7140 },
7141 "value": {
7142 "key": {
7143 "name": "TestContextItem001",
7144 "version": "0.0.1"
7145 },
7146 "schemaFlavour": "Java",
7147 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem001"
7148 }
7149 },
7150 {
7151 "key": {
7152 "name": "TestContextItem002",
7153 "version": "0.0.1"
7154 },
7155 "value": {
7156 "key": {
7157 "name": "TestContextItem002",
7158 "version": "0.0.1"
7159 },
7160 "schemaFlavour": "Java",
7161 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem002"
7162 }
7163 },
7164 {
7165 "key": {
7166 "name": "TestContextItem003",
7167 "version": "0.0.1"
7168 },
7169 "value": {
7170 "key": {
7171 "name": "TestContextItem003",
7172 "version": "0.0.1"
7173 },
7174 "schemaFlavour": "Java",
7175 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem003"
7176 }
7177 },
7178 {
7179 "key": {
7180 "name": "TestContextItem004",
7181 "version": "0.0.1"
7182 },
7183 "value": {
7184 "key": {
7185 "name": "TestContextItem004",
7186 "version": "0.0.1"
7187 },
7188 "schemaFlavour": "Java",
7189 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem004"
7190 }
7191 },
7192 {
7193 "key": {
7194 "name": "TestContextItem005",
7195 "version": "0.0.1"
7196 },
7197 "value": {
7198 "key": {
7199 "name": "TestContextItem005",
7200 "version": "0.0.1"
7201 },
7202 "schemaFlavour": "Java",
7203 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem005"
7204 }
7205 },
7206 {
7207 "key": {
7208 "name": "TestContextItem006",
7209 "version": "0.0.1"
7210 },
7211 "value": {
7212 "key": {
7213 "name": "TestContextItem006",
7214 "version": "0.0.1"
7215 },
7216 "schemaFlavour": "Java",
7217 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem006"
7218 }
7219 },
7220 {
7221 "key": {
7222 "name": "TestContextItem007",
7223 "version": "0.0.1"
7224 },
7225 "value": {
7226 "key": {
7227 "name": "TestContextItem007",
7228 "version": "0.0.1"
7229 },
7230 "schemaFlavour": "Java",
7231 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem007"
7232 }
7233 },
7234 {
7235 "key": {
7236 "name": "TestContextItem008",
7237 "version": "0.0.1"
7238 },
7239 "value": {
7240 "key": {
7241 "name": "TestContextItem008",
7242 "version": "0.0.1"
7243 },
7244 "schemaFlavour": "Java",
7245 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem008"
7246 }
7247 },
7248 {
7249 "key": {
7250 "name": "TestContextItem009",
7251 "version": "0.0.1"
7252 },
7253 "value": {
7254 "key": {
7255 "name": "TestContextItem009",
7256 "version": "0.0.1"
7257 },
7258 "schemaFlavour": "Java",
7259 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem009"
7260 }
7261 },
7262 {
7263 "key": {
7264 "name": "TestContextItem00A",
7265 "version": "0.0.1"
7266 },
7267 "value": {
7268 "key": {
7269 "name": "TestContextItem00A",
7270 "version": "0.0.1"
7271 },
7272 "schemaFlavour": "Java",
7273 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00A"
7274 }
7275 },
7276 {
7277 "key": {
7278 "name": "TestContextItem00B",
7279 "version": "0.0.1"
7280 },
7281 "value": {
7282 "key": {
7283 "name": "TestContextItem00B",
7284 "version": "0.0.1"
7285 },
7286 "schemaFlavour": "Java",
7287 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00B"
7288 }
7289 },
7290 {
7291 "key": {
7292 "name": "TestContextItem00C",
7293 "version": "0.0.1"
7294 },
7295 "value": {
7296 "key": {
7297 "name": "TestContextItem00C",
7298 "version": "0.0.1"
7299 },
7300 "schemaFlavour": "Java",
7301 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00C"
7302 }
7303 },
7304 {
7305 "key": {
7306 "name": "TestExternalContextItem",
7307 "version": "0.0.1"
7308 },
7309 "value": {
7310 "key": {
7311 "name": "TestExternalContextItem",
7312 "version": "0.0.1"
7313 },
7314 "schemaFlavour": "Java",
7315 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestExternalContextItem"
7316 }
7317 },
7318 {
7319 "key": {
7320 "name": "TestGlobalContextItem",
7321 "version": "0.0.1"
7322 },
7323 "value": {
7324 "key": {
7325 "name": "TestGlobalContextItem",
7326 "version": "0.0.1"
7327 },
7328 "schemaFlavour": "Java",
7329 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"
7330 }
7331 },
7332 {
7333 "key": {
7334 "name": "TestPolicyContextItem",
7335 "version": "0.0.1"
7336 },
7337 "value": {
7338 "key": {
7339 "name": "TestPolicyContextItem",
7340 "version": "0.0.1"
7341 },
7342 "schemaFlavour": "Java",
7343 "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"
7344 }
7345 },
7346 {
7347 "key": {
7348 "name": "TestSlogan",
7349 "version": "0.0.1"
7350 },
7351 "value": {
7352 "key": {
7353 "name": "TestSlogan",
7354 "version": "0.0.1"
7355 },
7356 "schemaFlavour": "Java",
7357 "schemaDefinition": "java.lang.String"
7358 }
7359 },
7360 {
7361 "key": {
7362 "name": "TestTemperature",
7363 "version": "0.0.1"
7364 },
7365 "value": {
7366 "key": {
7367 "name": "TestTemperature",
7368 "version": "0.0.1"
7369 },
7370 "schemaFlavour": "Java",
7371 "schemaDefinition": "java.lang.Double"
7372 }
7373 },
7374 {
7375 "key": {
7376 "name": "TestTimestamp",
7377 "version": "0.0.1"
7378 },
7379 "value": {
7380 "key": {
7381 "name": "TestTimestamp",
7382 "version": "0.0.1"
7383 },
7384 "schemaFlavour": "Java",
7385 "schemaDefinition": "java.lang.Long"
7386 }
7387 }
7388 ]
a.sreekumar7d80c382019-05-07 13:36:39 +00007389 }
7390 }
7391 }
7392 },
a.sreekumar61318ad2020-01-29 10:17:35 +00007393 "engineParameters": {
7394 "executorParameters": {
7395 "JAVASCRIPT": {
7396 "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"
7397 }
a.sreekumar7d80c382019-05-07 13:36:39 +00007398 }
a.sreekumar61318ad2020-01-29 10:17:35 +00007399 }
7400 },
7401 "eventInputParameters": {
7402 "FirstConsumer": {
7403 "carrierTechnologyParameters": {
7404 "carrierTechnology": "RESTSERVER",
7405 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters",
7406 "parameters": {
7407 "standalone": true,
7408 "host": "0.0.0.0",
7409 "port": 23324
7410 }
7411 },
7412 "eventProtocolParameters": {
7413 "eventProtocol": "JSON"
7414 },
7415 "synchronousMode": true,
7416 "synchronousPeer": "FirstProducer",
7417 "synchronousTimeout": 2000
7418 }
7419 },
7420 "eventOutputParameters": {
7421 "FirstProducer": {
7422 "carrierTechnologyParameters": {
7423 "carrierTechnology": "RESTSERVER",
7424 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"
7425 },
7426 "eventProtocolParameters": {
7427 "eventProtocol": "JSON"
7428 },
7429 "synchronousMode": true,
7430 "synchronousPeer": "FirstConsumer",
7431 "synchronousTimeout": 2000
a.sreekumar7d80c382019-05-07 13:36:39 +00007432 }
7433 }
7434 }
7435 }
7436 }
7437 ]
7438 }
a.sreekumar29fc8352020-03-11 16:28:57 +00007439}