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