diff options
author | a.sreekumar <ajith.sreekumar@bell.ca> | 2022-04-19 14:38:43 +0100 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@bell.ca> | 2022-04-19 14:43:34 +0100 |
commit | 34d8a624988daf0606783a72f3adb65e9f651ab9 (patch) | |
tree | 42eb43398812018689a710c176f93669aa8e8f5b /testsuites/performance | |
parent | 05d0a7340c3ceb3596a58293db4a65f5702b796b (diff) |
PAP S3P jmx changes
Change-Id: I48c719276d2a53f2e4de9f4c87e54d3f373111ed
Issue-ID: POLICY-4008
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'testsuites/performance')
-rw-r--r-- | testsuites/performance/src/main/resources/testplans/performance.jmx | 15701 |
1 files changed, 363 insertions, 15338 deletions
diff --git a/testsuites/performance/src/main/resources/testplans/performance.jmx b/testsuites/performance/src/main/resources/testplans/performance.jmx index a143b892..b39732a6 100644 --- a/testsuites/performance/src/main/resources/testplans/performance.jmx +++ b/testsuites/performance/src/main/resources/testplans/performance.jmx @@ -5,7 +5,7 @@ ================================================================================ Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. Modifications Copyright (C) 2020-2021 Nordix Foundation. - Modifications Copyright (C) 2020 Bell Canada. All rights reserved. + Modifications Copyright (C) 2020,2022 Bell Canada. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -20,51 +20,36 @@ --> <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.1"> <hashTree> - <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy PAP Performance" enabled="true"> - <stringProp name="TestPlan.comments">Policy PAP Performance Tests</stringProp> + <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy PAP Stability" enabled="true"> + <stringProp name="TestPlan.comments">Policy PAP Stability Tests</stringProp> <boolProp name="TestPlan.functional_mode">false</boolProp> <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp> - <boolProp name="TestPlan.serialize_threadgroups">true</boolProp> + <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="PAP_HOST" elementType="Argument"> <stringProp name="Argument.name">PAP_HOST</stringProp> - <stringProp name="Argument.value">${__P(PAP_HOST,172.16.1.230)}</stringProp> + <stringProp name="Argument.value">172.16.1.204</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="PAP_PORT" elementType="Argument"> <stringProp name="Argument.name">PAP_PORT</stringProp> - <stringProp name="Argument.value">${__P(PAP_PORT,31937)}</stringProp> + <stringProp name="Argument.value">32352</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="API_HOST" elementType="Argument"> <stringProp name="Argument.name">API_HOST</stringProp> - <stringProp name="Argument.value">${__P(API_HOST,172.16.1.230)}</stringProp> + <stringProp name="Argument.value">172.16.1.204</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="API_PORT" elementType="Argument"> <stringProp name="Argument.name">API_PORT</stringProp> - <stringProp name="Argument.value">${__P(API_PORT,31339)}</stringProp> - <stringProp name="Argument.metadata">=</stringProp> - </elementProp> - <elementProp name="HOME_PATH" elementType="Argument"> - <stringProp name="Argument.name">HOME_PATH</stringProp> - <stringProp name="Argument.value">${__P(HOME,/home/wayne/paps3p)}</stringProp> - <stringProp name="Argument.metadata">=</stringProp> - </elementProp> - <elementProp name="LOGS_PATH" elementType="Argument"> - <stringProp name="Argument.name">LOGS_PATH</stringProp> - <stringProp name="Argument.value">${HOME_PATH}/pap_perf/</stringProp> - <stringProp name="Argument.metadata">=</stringProp> - </elementProp> - <elementProp name="DURATION" elementType="Argument"> - <stringProp name="Argument.name">DURATION</stringProp> - <stringProp name="Argument.value">${__P(DURATION,14400)}</stringProp> + <stringProp name="Argument.value">30263</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="USERS" elementType="Argument"> <stringProp name="Argument.name">USERS</stringProp> - <stringProp name="Argument.value">${__P(USERS,5)}</stringProp> + <stringProp name="Argument.value">10</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> @@ -75,15 +60,22 @@ <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> <collectionProp name="AuthManager.auth_list"> <elementProp name="" elementType="Authorization"> - <stringProp name="Authorization.url">http://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp> - <stringProp name="Authorization.username">healthcheck</stringProp> + <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp> + <stringProp name="Authorization.username">policyadmin</stringProp> + <stringProp name="Authorization.password">zb!XztG34</stringProp> + <stringProp name="Authorization.domain"></stringProp> + <stringProp name="Authorization.realm"></stringProp> + </elementProp> + <elementProp name="" elementType="Authorization"> + <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp> + <stringProp name="Authorization.username">policyadmin</stringProp> <stringProp name="Authorization.password">zb!XztG34</stringProp> <stringProp name="Authorization.domain"></stringProp> <stringProp name="Authorization.realm"></stringProp> </elementProp> <elementProp name="" elementType="Authorization"> - <stringProp name="Authorization.url">http://${API_HOST}:${API_PORT}/policy/api/v1</stringProp> - <stringProp name="Authorization.username">healthcheck</stringProp> + <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/metrics</stringProp> + <stringProp name="Authorization.username">policyadmin</stringProp> <stringProp name="Authorization.password">zb!XztG34</stringProp> <stringProp name="Authorization.domain"></stringProp> <stringProp name="Authorization.realm"></stringProp> @@ -96,10 +88,6 @@ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true"> <collectionProp name="HeaderManager.headers"> <elementProp name="" elementType="Header"> - <stringProp name="Header.name">Accept</stringProp> - <stringProp name="Header.value">application/json</stringProp> - </elementProp> - <elementProp name="" elementType="Header"> <stringProp name="Header.name">Content-Type</stringProp> <stringProp name="Header.value">application/json</stringProp> </elementProp> @@ -112,14 +100,23 @@ <boolProp name="LoopController.continue_forever">false</boolProp> <stringProp name="LoopController.loops">1</stringProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">1</stringProp> + <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> <stringProp name="ThreadGroup.ramp_time">1</stringProp> <boolProp name="ThreadGroup.scheduler">false</boolProp> - <stringProp name="ThreadGroup.duration">260000</stringProp> + <stringProp name="ThreadGroup.duration"></stringProp> <stringProp name="ThreadGroup.delay"></stringProp> <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> </SetupThreadGroup> <hashTree> + <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true"> + <stringProp name="CounterConfig.start">1</stringProp> + <stringProp name="CounterConfig.end"></stringProp> + <stringProp name="CounterConfig.incr">1</stringProp> + <stringProp name="CounterConfig.name">threadCount</stringProp> + <stringProp name="CounterConfig.format"></stringProp> + <boolProp name="CounterConfig.per_user">false</boolProp> + </CounterConfig> + <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> @@ -127,7454 +124,67 @@ <elementProp name="" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value">{
 - "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
 - "topology_template": {
 - "policies": [
 - {
 - "operational.apex.stabilityTestDefaultDomain": {
 - "type": "onap.policies.controlloop.operational.common.Apex",
 - "type_version": "1.0.0",
 - "version": "1.0.0",
 - "metadata": {
 - "policy-id": "operational.apex.defaultDomain",
 - "policy-version": 1
 - },
 - "properties": {
 - "engineServiceParameters": {
 - "name": "MyApexEngine",
 - "version": "0.0.1",
 - "id": 45,
 - "instanceCount": 4,
 - "deploymentPort": 12561,
 - "policy_type_impl": {
 - "apexPolicyModel": {
 - "key": {
 - "name": "SamplePolicyModelJAVASCRIPT",
 - "version": "0.0.1"
 - },
 - "keyInformation": {
 - "key": {
 - "name": "KeyInformation",
 - "version": "0.0.1"
 + "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
 + "topology_template": {
 + "policies": [
 + {
 + "operational.modifyconfig${threadCount}": {
 + "type": "onap.policies.controlloop.operational.common.Drools",
 + "type_version": "1.0.0",
 + "version": "1.0.0",
 + "metadata": {
 + "policy-id": "operational.modifyconfig${threadCount}"
 },
 - "keyInfoMap": {
 - "entry": [
 - {
 - "key": {
 - "name": "Context",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Context",
 - "version": "0.0.1"
 - },
 - "UUID": "ca36bfd8-6042-3633-8c85-89c66507c3bf",
 - "description": "Generated description for concept referred to by key \"Context:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0000",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0000",
 - "version": "0.0.1"
 - },
 - "UUID": "465a81cc-885f-3a4d-bc4e-1508da92b236",
 - "description": "Generated description for concept referred to by key \"Event0000:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "UUID": "36b2d570-fff7-3a4b-bab2-6bf492f5129a",
 - "description": "Generated description for concept referred to by key \"Event0001:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "UUID": "ff6160a7-fb5e-379c-a6d2-2cd28053eacf",
 - "description": "Generated description for concept referred to by key \"Event0002:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "UUID": "5899e216-2abf-3781-abc4-2c257b92721e",
 - "description": "Generated description for concept referred to by key \"Event0003:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0004",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0004",
 - "version": "0.0.1"
 - },
 - "UUID": "7c2692a7-4587-3d09-abf9-d96b339a316f",
 - "description": "Generated description for concept referred to by key \"Event0004:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0100",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0100",
 - "version": "0.0.1"
 - },
 - "UUID": "b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7",
 - "description": "Generated description for concept referred to by key \"Event0100:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "UUID": "edbfa868-2ab2-30fd-8078-4c7f67ca6122",
 - "description": "Generated description for concept referred to by key \"Event0101:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "UUID": "6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4",
 - "description": "Generated description for concept referred to by key \"Event0102:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "UUID": "c2550912-10d9-3000-8826-377288cd6cb1",
 - "description": "Generated description for concept referred to by key \"Event0103:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0104",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0104",
 - "version": "0.0.1"
 - },
 - "UUID": "f6d75b71-c8a7-3337-a121-88d68c389f5a",
 - "description": "Generated description for concept referred to by key \"Event0104:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Events",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Events",
 - "version": "0.0.1"
 - },
 - "UUID": "0215644c-4531-375c-8335-d558b4de8c03",
 - "description": "Generated description for concept referred to by key \"Events:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - "UUID": "976a79e7-5c80-3c03-9503-da3f41fec395",
 - "description": "Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - "UUID": "c95e9e5f-d2c7-3ac7-a205-ea3574530cb7",
 - "description": "Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "KeyInformation",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "KeyInformation",
 - "version": "0.0.1"
 - },
 - "UUID": "1ff2f905-685c-3caf-95bc-0bbc90345888",
 - "description": "Generated description for concept referred to by key \"KeyInformation:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Policies",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policies",
 - "version": "0.0.1"
 - },
 - "UUID": "f54c3b2b-be76-31c4-adfc-87c494c06808",
 - "description": "Generated description for concept referred to by key \"Policies:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Policy0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy0",
 - "version": "0.0.1"
 - },
 - "UUID": "3410e939-30ca-32c4-a2d8-c30b6fee6eec",
 - "description": "Generated description for concept referred to by key \"Policy0:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - "UUID": "e27564c4-3cbf-3db2-9bf3-83ae80a2f907",
 - "description": "Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Policy1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy1",
 - "version": "0.0.1"
 - },
 - "UUID": "d0b2b585-f344-33b8-af9e-250e7f4cfbce",
 - "description": "Generated description for concept referred to by key \"Policy1:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - },
 - "UUID": "815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0",
 - "description": "Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "SamplePolicyModelJAVASCRIPT",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "SamplePolicyModelJAVASCRIPT",
 - "version": "0.0.1"
 - },
 - "UUID": "bc8ee312-81ce-3c4a-92d5-4a73b8077148",
 - "description": "Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "UUID": "0589ff20-adcc-3ce5-95fe-8d7978ed54ed",
 - "description": "Generated description for concept referred to by key \"Task_Act0:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "UUID": "095b126d-ca8b-32c9-ad52-d744e817a79c",
 - "description": "Generated description for concept referred to by key \"Task_Act1:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "UUID": "3d786b4c-d9ee-3367-ab71-c67271a4ea2f",
 - "description": "Generated description for concept referred to by key \"Task_Act2:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "UUID": "9231753e-20c5-3436-982f-9100340cc570",
 - "description": "Generated description for concept referred to by key \"Task_Act3:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "UUID": "502383d3-483f-3a56-a426-2f0406674c8d",
 - "description": "Generated description for concept referred to by key \"Task_Decide0:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "UUID": "16598106-41c8-3b5a-99c6-5fcf6d1a5ddf",
 - "description": "Generated description for concept referred to by key \"Task_Decide1:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "UUID": "ad3a89f5-e369-3c66-b22c-669f7b3653b8",
 - "description": "Generated description for concept referred to by key \"Task_Decide2:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "UUID": "56815939-1164-3867-9ed1-0a27ff8aafb3",
 - "description": "Generated description for concept referred to by key \"Task_Decide3:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "UUID": "0db0c566-ecd7-3e27-9865-4b82c893abdb",
 - "description": "Generated description for concept referred to by key \"Task_Establish0:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "UUID": "6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0",
 - "description": "Generated description for concept referred to by key \"Task_Establish1:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "UUID": "0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a",
 - "description": "Generated description for concept referred to by key \"Task_Establish2:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "UUID": "c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66",
 - "description": "Generated description for concept referred to by key \"Task_Establish3:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "UUID": "051bcfd5-cf73-3c89-8ee7-ea6e005ec059",
 - "description": "Generated description for concept referred to by key \"Task_Match0:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "UUID": "3754fe19-98f2-34a1-9f45-db31052208d8",
 - "description": "Generated description for concept referred to by key \"Task_Match1:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "UUID": "8c200709-a180-3c8b-916f-275ff49ce194",
 - "description": "Generated description for concept referred to by key \"Task_Match2:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "UUID": "a1a879c6-4510-33b0-bbd0-ad6256189a37",
 - "description": "Generated description for concept referred to by key \"Task_Match3:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Tasks",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Tasks",
 - "version": "0.0.1"
 - },
 - "UUID": "a7fab96b-ce1c-37ce-bbb2-556b6db524a5",
 - "description": "Generated description for concept referred to by key \"Tasks:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "UUID": "0a652886-c88d-3f8c-8994-ae9161e7c963",
 - "description": "Generated description for concept referred to by key \"TestCase:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem000",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem000",
 - "version": "0.0.1"
 - },
 - "UUID": "8efba9fa-371e-33df-a7d6-88b0284e7fd0",
 - "description": "Generated description for concept referred to by key \"TestContextItem000:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem001",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem001",
 - "version": "0.0.1"
 - },
 - "UUID": "3740077c-a2b3-356b-81dc-5ded2118a951",
 - "description": "Generated description for concept referred to by key \"TestContextItem001:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem002",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem002",
 - "version": "0.0.1"
 - },
 - "UUID": "b5c7df95-9af5-322f-9ea8-eb440a2bf926",
 - "description": "Generated description for concept referred to by key \"TestContextItem002:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem003",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem003",
 - "version": "0.0.1"
 - },
 - "UUID": "b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b",
 - "description": "Generated description for concept referred to by key \"TestContextItem003:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem004",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem004",
 - "version": "0.0.1"
 - },
 - "UUID": "093cda11-eaeb-3a46-a5b6-d5e30c00935b",
 - "description": "Generated description for concept referred to by key \"TestContextItem004:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem005",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem005",
 - "version": "0.0.1"
 - },
 - "UUID": "569a758d-ba40-37c0-aebb-7ad138df25ac",
 - "description": "Generated description for concept referred to by key \"TestContextItem005:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem006",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem006",
 - "version": "0.0.1"
 - },
 - "UUID": "252818d9-b61f-3962-a905-8865fb00fb04",
 - "description": "Generated description for concept referred to by key \"TestContextItem006:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem007",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem007",
 - "version": "0.0.1"
 - },
 - "UUID": "fe1a5f7c-c083-377b-a797-752b01fc6c73",
 - "description": "Generated description for concept referred to by key \"TestContextItem007:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem008",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem008",
 - "version": "0.0.1"
 - },
 - "UUID": "aa87d007-d07e-3f67-8c6d-0ebc3d85479d",
 - "description": "Generated description for concept referred to by key \"TestContextItem008:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem009",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem009",
 - "version": "0.0.1"
 - },
 - "UUID": "126e7a3a-11b6-3f88-9397-c21d8819f859",
 - "description": "Generated description for concept referred to by key \"TestContextItem009:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00A",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00A",
 - "version": "0.0.1"
 - },
 - "UUID": "0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc",
 - "description": "Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00B",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00B",
 - "version": "0.0.1"
 - },
 - "UUID": "dbdc98df-3ff4-360c-b8d3-a7a836ac3de6",
 - "description": "Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00C",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00C",
 - "version": "0.0.1"
 - },
 - "UUID": "32a2f355-77f3-3b25-ace6-7a9c5763a5ad",
 - "description": "Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestDatatypes",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestDatatypes",
 - "version": "0.0.1"
 - },
 - "UUID": "3f95472c-973e-30e2-95f1-bf00cbef909a",
 - "description": "Generated description for concept referred to by key \"TestDatatypes:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestExternalContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestExternalContextItem",
 - "version": "0.0.1"
 - },
 - "UUID": "610dbbd4-9149-3b3c-9af4-819056f0e169",
 - "description": "Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestGlobalContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestGlobalContextItem",
 - "version": "0.0.1"
 - },
 - "UUID": "07fa8f68-55f1-3fd0-81c1-749a379753a7",
 - "description": "Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - },
 - "UUID": "d9c93cd1-539e-35c5-aaec-bb711ceb1251",
 - "description": "Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "UUID": "683fe492-7eae-3ac7-9924-bb7850208d05",
 - "description": "Generated description for concept referred to by key \"TestSlogan:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "UUID": "bba25b6f-e3cd-3060-9022-4ef3a79f8eb0",
 - "description": "Generated description for concept referred to by key \"TestTemperature:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "UUID": "97b73937-c344-33c0-924c-4d26b6449564",
 - "description": "Generated description for concept referred to by key \"TestTimestamp:0.0.1\""
 - }
 - }
 - ]
 - }
 - },
 - "policies": {
 - "key": {
 - "name": "Policies",
 - "version": "0.0.1"
 - },
 - "policyMap": {
 - "entry": [
 - {
 - "key": {
 - "name": "Policy0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "policyKey": {
 - "name": "Policy0",
 - "version": "0.0.1"
 - },
 - "template": "MEDA",
 - "state": {
 - "entry": [
 - {
 - "key": "Act",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Act"
 - },
 - "trigger": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Act_NULL",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - },
 - "outgoingEvent": {
 - "name": "Event0004",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "NULL",
 - "parentKeyVersion": "0.0.0",
 - "parentLocalName": "NULL",
 - "localName": "NULL"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act0_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act1_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act2_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act3_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Decide",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Decide"
 - },
 - "trigger": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Decide_Act",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - },
 - "outgoingEvent": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Act"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide0_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide1_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide2_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide3_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Establish",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Establish"
 - },
 - "trigger": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Establish_Decide",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - },
 - "outgoingEvent": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Decide"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish0_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish1_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish2_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish3_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Match",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Match"
 - },
 - "trigger": {
 - "name": "Event0000",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Match_Establish",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - },
 - "outgoingEvent": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Establish"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match0_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match1_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match2_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match3_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - }
 - ]
 - }
 - }
 - }
 - ]
 - },
 - "firstState": "Match"
 - }
 - },
 - {
 - "key": {
 - "name": "Policy1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "policyKey": {
 - "name": "Policy1",
 - "version": "0.0.1"
 - },
 - "template": "MEDA",
 - "state": {
 - "entry": [
 - {
 - "key": "Act",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Act"
 - },
 - "trigger": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Act_NULL",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - },
 - "outgoingEvent": {
 - "name": "Event0104",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "NULL",
 - "parentKeyVersion": "0.0.0",
 - "parentLocalName": "NULL",
 - "localName": "NULL"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act0_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act1_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act2_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act3_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Decide",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Decide"
 - },
 - "trigger": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Decide_Act",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - },
 - "outgoingEvent": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Act"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide0_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide1_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide2_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide3_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Establish",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Establish"
 - },
 - "trigger": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Establish_Decide",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - },
 - "outgoingEvent": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Decide"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish0_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish1_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish2_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish3_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Match",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Match"
 - },
 - "trigger": {
 - "name": "Event0100",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Match_Establish",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - },
 - "outgoingEvent": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Establish"
 - }
 - }
 + "properties": {
 + "id": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a",
 + "timeout": 1200,
 + "abatement": false,
 + "trigger": "unique-policy-id-1-modifyConfig",
 + "operations": [
 + {
 + "id": "unique-policy-id-1-modifyConfig",
 + "description": "Modify the packet generator",
 + "operation": {
 + "actor": "CDS",
 + "operation": "modify-config",
 + "target": {
 + "targetType": "VNF",
 + "entityIds": {
 + "resourceID": "37b008b9-b367-4359-93fd-74d3ce0ee1a0"
 }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match0_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match1_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match2_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match3_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - }
 - ]
 + "payload":{
 + "artifact_name": "vFW-CDS",
 + "artifact_version": "1.0.0",
 + "data": "{\"active-streams\": \"7\"}"
 }
 - }
 - }
 - ]
 - },
 - "firstState": "Match"
 - }
 - }
 - ]
 - }
 - },
 - "tasks": {
 - "key": {
 - "name": "Tasks",
 - "version": "0.0.1"
 - },
 - "taskMap": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - },
 - {
 - "key": "Parameter2",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter2"
 - },
 - "defaultValue": "DefaultValue2"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act2",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act3",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - },
 - {
 - "key": "Parameter2",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter2"
 - },
 - "defaultValue": "DefaultValue2"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide2",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 + "timeout": 300,
 + "retries": 0,
 + "success": "final_success",
 + "failure": "final_failure",
 + "failure_timeout": "final_failure_timeout",
 + "failure_retries": "final_failure_retries",
 + "failure_exception": "final_failure_exception",
 + "failure_guard": "final_failure_guard"
 }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide3",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - },
 - {
 - "key": "Parameter2",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter2"
 - },
 - "defaultValue": "DefaultValue2"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish2",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish3",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - },
 - {
 - "key": "Parameter2",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter2"
 - },
 - "defaultValue": "DefaultValue2"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match2",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match3",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - }
 - ]
 + ],
 + "controllerName": "usecases"
 }
 - },
 - "events": {
 - "key": {
 - "name": "Events",
 - "version": "0.0.1"
 - },
 - "eventMap": {
 - "entry": [
 - {
 - "key": {
 - "name": "Event0000",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0000",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Outside",
 - "target": "Match",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Match",
 - "target": "Establish",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Establish",
 - "target": "Decide",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Decide",
 - "target": "Act",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0004",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0004",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Act",
 - "target": "Outside",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0100",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0100",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Outside",
 - "target": "Match",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Match",
 - "target": "Establish",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Establish",
 - "target": "Decide",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Decide",
 - "target": "Act",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0104",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0104",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Act",
 - "target": "Outside",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - }
 - ]
 - }
 - },
 - "albums": {
 - "key": {
 - "name": "Context",
 - "version": "0.0.1"
 - },
 - "albums": {
 - "entry": [
 - {
 - "key": {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - "scope": "EXTERNAL",
 - "isWritable": false,
 - "itemSchema": {
 - "name": "TestExternalContextItem",
 - "version": "0.0.1"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - "scope": "GLOBAL",
 - "isWritable": true,
 - "itemSchema": {
 - "name": "TestGlobalContextItem",
 - "version": "0.0.1"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - "scope": "APPLICATION",
 - "isWritable": true,
 - "itemSchema": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - },
 - "scope": "APPLICATION",
 - "isWritable": true,
 - "itemSchema": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - }
 - }
 - }
 - ]
 - }
 - },
 - "schemas": {
 - "key": {
 - "name": "TestDatatypes",
 - "version": "0.0.1"
 - },
 - "schemas": {
 - "entry": [
 - {
 - "key": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "java.lang.Byte"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem000",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem000",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem000"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem001",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem001",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem001"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem002",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem002",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem002"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem003",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem003",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem003"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem004",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem004",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem004"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem005",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem005",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem005"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem006",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem006",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem006"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem007",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem007",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem007"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem008",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem008",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem008"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem009",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem009",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem009"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00A",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00A",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00A"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00B",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00B",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00B"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00C",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00C",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00C"
 - }
 - },
 - {
 - "key": {
 - "name": "TestExternalContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestExternalContextItem",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestExternalContextItem"
 - }
 - },
 - {
 - "key": {
 - "name": "TestGlobalContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestGlobalContextItem",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"
 - }
 - },
 - {
 - "key": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"
 - }
 - },
 - {
 - "key": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "java.lang.String"
 - }
 - },
 - {
 - "key": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "java.lang.Double"
 - }
 - },
 - {
 - "key": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "java.lang.Long"
 - }
 - }
 - ]
 - }
 - }
 - }
 - },
 - "engineParameters": {
 - "executorParameters": {
 - "JAVASCRIPT": {
 - "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"
 - }
 }
 - }
 - },
 - "eventInputParameters": {
 - "FirstConsumer": {
 - "carrierTechnologyParameters": {
 - "carrierTechnology": "RESTSERVER",
 - "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters",
 - "parameters": {
 - "standalone": true,
 - "host": "0.0.0.0",
 - "port": 23324
 - }
 - },
 - "eventProtocolParameters": {
 - "eventProtocol": "JSON"
 - },
 - "synchronousMode": true,
 - "synchronousPeer": "FirstProducer",
 - "synchronousTimeout": 2000
 - }
 - },
 - "eventOutputParameters": {
 - "FirstProducer": {
 - "carrierTechnologyParameters": {
 - "carrierTechnology": "RESTSERVER",
 - "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"
 - },
 - "eventProtocolParameters": {
 - "eventProtocol": "JSON"
 - },
 - "synchronousMode": true,
 - "synchronousPeer": "FirstConsumer",
 - "synchronousTimeout": 2000
 - }
 }
 - }
 - }
 - }
 - ]
 - }
 -}
 -</stringProp> + ]
 + }
 +}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0/policies</stringProp> + <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp> <stringProp name="HTTPSampler.method">POST</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> @@ -7596,7462 +206,16 @@ </ResponseAssertion> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy sampleDomain" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> - <collectionProp name="Arguments.arguments"> - <elementProp name="" elementType="HTTPArgument"> - <boolProp name="HTTPArgument.always_encode">false</boolProp> - <stringProp name="Argument.value">{
 - "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
 - "topology_template": {
 - "policies": [
 - {
 - "operational.apex.stabilityTestSampleDomain": {
 - "type": "onap.policies.native.Apex",
 - "type_version": "1.0.0",
 - "version": "1.0.0",
 - "metadata": {
 - "policy-id": "operational.apex.stabilityTestSampleDomain",
 - "policy-version": 1
 - },
 - "properties": {
 - "engineServiceParameters": {
 - "name": "MyApexEngine",
 - "version": "0.0.1",
 - "id": 45,
 - "instanceCount": 4,
 - "deploymentPort": 12561,
 - "policy_type_impl": {
 - "apexPolicyModel": {
 - "key": {
 - "name": "SamplePolicyModelJAVASCRIPT",
 - "version": "0.0.1"
 - },
 - "keyInformation": {
 - "key": {
 - "name": "KeyInformation",
 - "version": "0.0.1"
 - },
 - "keyInfoMap": {
 - "entry": [
 - {
 - "key": {
 - "name": "Context",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Context",
 - "version": "0.0.1"
 - },
 - "UUID": "ca36bfd8-6042-3633-8c85-89c66507c3bf",
 - "description": "Generated description for concept referred to by key \"Context:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0000",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0000",
 - "version": "0.0.1"
 - },
 - "UUID": "465a81cc-885f-3a4d-bc4e-1508da92b236",
 - "description": "Generated description for concept referred to by key \"Event0000:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "UUID": "36b2d570-fff7-3a4b-bab2-6bf492f5129a",
 - "description": "Generated description for concept referred to by key \"Event0001:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "UUID": "ff6160a7-fb5e-379c-a6d2-2cd28053eacf",
 - "description": "Generated description for concept referred to by key \"Event0002:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "UUID": "5899e216-2abf-3781-abc4-2c257b92721e",
 - "description": "Generated description for concept referred to by key \"Event0003:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0004",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0004",
 - "version": "0.0.1"
 - },
 - "UUID": "7c2692a7-4587-3d09-abf9-d96b339a316f",
 - "description": "Generated description for concept referred to by key \"Event0004:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0100",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0100",
 - "version": "0.0.1"
 - },
 - "UUID": "b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7",
 - "description": "Generated description for concept referred to by key \"Event0100:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "UUID": "edbfa868-2ab2-30fd-8078-4c7f67ca6122",
 - "description": "Generated description for concept referred to by key \"Event0101:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "UUID": "6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4",
 - "description": "Generated description for concept referred to by key \"Event0102:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "UUID": "c2550912-10d9-3000-8826-377288cd6cb1",
 - "description": "Generated description for concept referred to by key \"Event0103:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Event0104",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0104",
 - "version": "0.0.1"
 - },
 - "UUID": "f6d75b71-c8a7-3337-a121-88d68c389f5a",
 - "description": "Generated description for concept referred to by key \"Event0104:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Events",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Events",
 - "version": "0.0.1"
 - },
 - "UUID": "0215644c-4531-375c-8335-d558b4de8c03",
 - "description": "Generated description for concept referred to by key \"Events:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - "UUID": "976a79e7-5c80-3c03-9503-da3f41fec395",
 - "description": "Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - "UUID": "c95e9e5f-d2c7-3ac7-a205-ea3574530cb7",
 - "description": "Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "KeyInformation",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "KeyInformation",
 - "version": "0.0.1"
 - },
 - "UUID": "1ff2f905-685c-3caf-95bc-0bbc90345888",
 - "description": "Generated description for concept referred to by key \"KeyInformation:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Policies",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policies",
 - "version": "0.0.1"
 - },
 - "UUID": "f54c3b2b-be76-31c4-adfc-87c494c06808",
 - "description": "Generated description for concept referred to by key \"Policies:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Policy0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy0",
 - "version": "0.0.1"
 - },
 - "UUID": "3410e939-30ca-32c4-a2d8-c30b6fee6eec",
 - "description": "Generated description for concept referred to by key \"Policy0:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - "UUID": "e27564c4-3cbf-3db2-9bf3-83ae80a2f907",
 - "description": "Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Policy1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy1",
 - "version": "0.0.1"
 - },
 - "UUID": "d0b2b585-f344-33b8-af9e-250e7f4cfbce",
 - "description": "Generated description for concept referred to by key \"Policy1:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - },
 - "UUID": "815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0",
 - "description": "Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "SamplePolicyModelJAVASCRIPT",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "SamplePolicyModelJAVASCRIPT",
 - "version": "0.0.1"
 - },
 - "UUID": "bc8ee312-81ce-3c4a-92d5-4a73b8077148",
 - "description": "Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "UUID": "0589ff20-adcc-3ce5-95fe-8d7978ed54ed",
 - "description": "Generated description for concept referred to by key \"Task_Act0:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "UUID": "095b126d-ca8b-32c9-ad52-d744e817a79c",
 - "description": "Generated description for concept referred to by key \"Task_Act1:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "UUID": "3d786b4c-d9ee-3367-ab71-c67271a4ea2f",
 - "description": "Generated description for concept referred to by key \"Task_Act2:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "UUID": "9231753e-20c5-3436-982f-9100340cc570",
 - "description": "Generated description for concept referred to by key \"Task_Act3:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "UUID": "502383d3-483f-3a56-a426-2f0406674c8d",
 - "description": "Generated description for concept referred to by key \"Task_Decide0:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "UUID": "16598106-41c8-3b5a-99c6-5fcf6d1a5ddf",
 - "description": "Generated description for concept referred to by key \"Task_Decide1:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "UUID": "ad3a89f5-e369-3c66-b22c-669f7b3653b8",
 - "description": "Generated description for concept referred to by key \"Task_Decide2:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "UUID": "56815939-1164-3867-9ed1-0a27ff8aafb3",
 - "description": "Generated description for concept referred to by key \"Task_Decide3:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "UUID": "0db0c566-ecd7-3e27-9865-4b82c893abdb",
 - "description": "Generated description for concept referred to by key \"Task_Establish0:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "UUID": "6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0",
 - "description": "Generated description for concept referred to by key \"Task_Establish1:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "UUID": "0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a",
 - "description": "Generated description for concept referred to by key \"Task_Establish2:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "UUID": "c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66",
 - "description": "Generated description for concept referred to by key \"Task_Establish3:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "UUID": "051bcfd5-cf73-3c89-8ee7-ea6e005ec059",
 - "description": "Generated description for concept referred to by key \"Task_Match0:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "UUID": "3754fe19-98f2-34a1-9f45-db31052208d8",
 - "description": "Generated description for concept referred to by key \"Task_Match1:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "UUID": "8c200709-a180-3c8b-916f-275ff49ce194",
 - "description": "Generated description for concept referred to by key \"Task_Match2:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "UUID": "a1a879c6-4510-33b0-bbd0-ad6256189a37",
 - "description": "Generated description for concept referred to by key \"Task_Match3:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "Tasks",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Tasks",
 - "version": "0.0.1"
 - },
 - "UUID": "a7fab96b-ce1c-37ce-bbb2-556b6db524a5",
 - "description": "Generated description for concept referred to by key \"Tasks:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "UUID": "0a652886-c88d-3f8c-8994-ae9161e7c963",
 - "description": "Generated description for concept referred to by key \"TestCase:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem000",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem000",
 - "version": "0.0.1"
 - },
 - "UUID": "8efba9fa-371e-33df-a7d6-88b0284e7fd0",
 - "description": "Generated description for concept referred to by key \"TestContextItem000:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem001",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem001",
 - "version": "0.0.1"
 - },
 - "UUID": "3740077c-a2b3-356b-81dc-5ded2118a951",
 - "description": "Generated description for concept referred to by key \"TestContextItem001:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem002",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem002",
 - "version": "0.0.1"
 - },
 - "UUID": "b5c7df95-9af5-322f-9ea8-eb440a2bf926",
 - "description": "Generated description for concept referred to by key \"TestContextItem002:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem003",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem003",
 - "version": "0.0.1"
 - },
 - "UUID": "b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b",
 - "description": "Generated description for concept referred to by key \"TestContextItem003:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem004",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem004",
 - "version": "0.0.1"
 - },
 - "UUID": "093cda11-eaeb-3a46-a5b6-d5e30c00935b",
 - "description": "Generated description for concept referred to by key \"TestContextItem004:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem005",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem005",
 - "version": "0.0.1"
 - },
 - "UUID": "569a758d-ba40-37c0-aebb-7ad138df25ac",
 - "description": "Generated description for concept referred to by key \"TestContextItem005:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem006",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem006",
 - "version": "0.0.1"
 - },
 - "UUID": "252818d9-b61f-3962-a905-8865fb00fb04",
 - "description": "Generated description for concept referred to by key \"TestContextItem006:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem007",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem007",
 - "version": "0.0.1"
 - },
 - "UUID": "fe1a5f7c-c083-377b-a797-752b01fc6c73",
 - "description": "Generated description for concept referred to by key \"TestContextItem007:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem008",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem008",
 - "version": "0.0.1"
 - },
 - "UUID": "aa87d007-d07e-3f67-8c6d-0ebc3d85479d",
 - "description": "Generated description for concept referred to by key \"TestContextItem008:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem009",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem009",
 - "version": "0.0.1"
 - },
 - "UUID": "126e7a3a-11b6-3f88-9397-c21d8819f859",
 - "description": "Generated description for concept referred to by key \"TestContextItem009:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00A",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00A",
 - "version": "0.0.1"
 - },
 - "UUID": "0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc",
 - "description": "Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00B",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00B",
 - "version": "0.0.1"
 - },
 - "UUID": "dbdc98df-3ff4-360c-b8d3-a7a836ac3de6",
 - "description": "Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00C",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00C",
 - "version": "0.0.1"
 - },
 - "UUID": "32a2f355-77f3-3b25-ace6-7a9c5763a5ad",
 - "description": "Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestDatatypes",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestDatatypes",
 - "version": "0.0.1"
 - },
 - "UUID": "3f95472c-973e-30e2-95f1-bf00cbef909a",
 - "description": "Generated description for concept referred to by key \"TestDatatypes:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestExternalContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestExternalContextItem",
 - "version": "0.0.1"
 - },
 - "UUID": "610dbbd4-9149-3b3c-9af4-819056f0e169",
 - "description": "Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestGlobalContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestGlobalContextItem",
 - "version": "0.0.1"
 - },
 - "UUID": "07fa8f68-55f1-3fd0-81c1-749a379753a7",
 - "description": "Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - },
 - "UUID": "d9c93cd1-539e-35c5-aaec-bb711ceb1251",
 - "description": "Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "UUID": "683fe492-7eae-3ac7-9924-bb7850208d05",
 - "description": "Generated description for concept referred to by key \"TestSlogan:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "UUID": "bba25b6f-e3cd-3060-9022-4ef3a79f8eb0",
 - "description": "Generated description for concept referred to by key \"TestTemperature:0.0.1\""
 - }
 - },
 - {
 - "key": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "UUID": "97b73937-c344-33c0-924c-4d26b6449564",
 - "description": "Generated description for concept referred to by key \"TestTimestamp:0.0.1\""
 - }
 - }
 - ]
 - }
 - },
 - "policies": {
 - "key": {
 - "name": "Policies",
 - "version": "0.0.1"
 - },
 - "policyMap": {
 - "entry": [
 - {
 - "key": {
 - "name": "Policy0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "policyKey": {
 - "name": "Policy0",
 - "version": "0.0.1"
 - },
 - "template": "MEDA",
 - "state": {
 - "entry": [
 - {
 - "key": "Act",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Act"
 - },
 - "trigger": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Act_NULL",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - },
 - "outgoingEvent": {
 - "name": "Event0004",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "NULL",
 - "parentKeyVersion": "0.0.0",
 - "parentLocalName": "NULL",
 - "localName": "NULL"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act0_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act1_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act2_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act3_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Decide",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Decide"
 - },
 - "trigger": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Decide_Act",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - },
 - "outgoingEvent": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Act"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide0_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide1_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide2_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide3_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Establish",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Establish"
 - },
 - "trigger": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Establish_Decide",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - },
 - "outgoingEvent": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Decide"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish0_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish1_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish2_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish3_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Match",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Match"
 - },
 - "trigger": {
 - "name": "Event0000",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Match_Establish",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - },
 - "outgoingEvent": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Establish"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match0_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match1_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match2_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match3_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - }
 - ]
 - }
 - }
 - }
 - ]
 - },
 - "firstState": "Match"
 - }
 - },
 - {
 - "key": {
 - "name": "Policy1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "policyKey": {
 - "name": "Policy1",
 - "version": "0.0.1"
 - },
 - "template": "MEDA",
 - "state": {
 - "entry": [
 - {
 - "key": "Act",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Act"
 - },
 - "trigger": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Act_NULL",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - },
 - "outgoingEvent": {
 - "name": "Event0104",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "NULL",
 - "parentKeyVersion": "0.0.0",
 - "parentLocalName": "NULL",
 - "localName": "NULL"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act0_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act1_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act2_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Task_Act3_DIRECT_Act_NULL"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Act",
 - "localName": "Act_NULL"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Decide",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Decide"
 - },
 - "trigger": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Decide_Act",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - },
 - "outgoingEvent": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Act"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide0_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide1_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide2_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Task_Decide3_DIRECT_Decide_Act"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Decide",
 - "localName": "Decide_Act"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Establish",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Establish"
 - },
 - "trigger": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Establish_Decide",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - },
 - "outgoingEvent": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Decide"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish0_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish1_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish2_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Task_Establish3_DIRECT_Establish_Decide"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Establish",
 - "localName": "Establish_Decide"
 - }
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": "Match",
 - "value": {
 - "stateKey": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Match"
 - },
 - "trigger": {
 - "name": "Event0100",
 - "version": "0.0.1"
 - },
 - "stateOutputs": {
 - "entry": [
 - {
 - "key": "Match_Establish",
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - },
 - "outgoingEvent": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "nextState": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Establish"
 - }
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskSelectionLogic": {
 - "key": "TaskSelectionLigic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - },
 - "stateFinalizerLogicMap": {
 - "entry": []
 - },
 - "defaultTask": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "taskReferences": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match0_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match1_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match2_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Task_Match3_DIRECT_Match_Establish"
 - },
 - "outputType": "DIRECT",
 - "output": {
 - "parentKeyName": "Policy1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "Match",
 - "localName": "Match_Establish"
 - }
 - }
 - }
 - ]
 - }
 - }
 - }
 - ]
 - },
 - "firstState": "Match"
 - }
 - }
 - ]
 - }
 - },
 - "tasks": {
 - "key": {
 - "name": "Tasks",
 - "version": "0.0.1"
 - },
 - "taskMap": {
 - "entry": [
 - {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act0",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - },
 - {
 - "key": "Parameter2",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter2"
 - },
 - "defaultValue": "DefaultValue2"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act1",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act2",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act2",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Act3",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Act3",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide0",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - },
 - {
 - "key": "Parameter2",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter2"
 - },
 - "defaultValue": "DefaultValue2"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide1",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide2",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide2",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Decide3",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Decide3",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish0",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - },
 - {
 - "key": "Parameter2",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter2"
 - },
 - "defaultValue": "DefaultValue2"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish1",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish2",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish2",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Establish3",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Establish3",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match0",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - },
 - {
 - "key": "Parameter2",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match0",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter2"
 - },
 - "defaultValue": "DefaultValue2"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match1",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - },
 - {
 - "key": "Parameter1",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match1",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter1"
 - },
 - "defaultValue": "DefaultValue1"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match2",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match2",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Task_Match3",
 - "version": "0.0.1"
 - },
 - "inputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "outputFields": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - },
 - "taskParameters": {
 - "entry": [
 - {
 - "key": "Parameter0",
 - "value": {
 - "key": {
 - "parentKeyName": "Task_Match3",
 - "parentKeyVersion": "0.0.1",
 - "parentLocalName": "NULL",
 - "localName": "Parameter0"
 - },
 - "defaultValue": "DefaultValue0"
 - }
 - }
 - ]
 - },
 - "contextAlbumReference": [
 - {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - }
 - ],
 - "taskLogic": {
 - "key": "_TaskLogic",
 - "logicFlavour": "JAVASCRIPT",
 - "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;"
 - }
 - }
 - }
 - ]
 - }
 - },
 - "events": {
 - "key": {
 - "name": "Events",
 - "version": "0.0.1"
 - },
 - "eventMap": {
 - "entry": [
 - {
 - "key": {
 - "name": "Event0000",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0000",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Outside",
 - "target": "Match",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0001",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Match",
 - "target": "Establish",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0002",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Establish",
 - "target": "Decide",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0003",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Decide",
 - "target": "Act",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0004",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0004",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Act",
 - "target": "Outside",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0100",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0100",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Outside",
 - "target": "Match",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0101",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Match",
 - "target": "Establish",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0102",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Establish",
 - "target": "Decide",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0103",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Decide",
 - "target": "Act",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Event0104",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Event0104",
 - "version": "0.0.1"
 - },
 - "nameSpace": "org.onap.policy.apex.sample.events",
 - "source": "Act",
 - "target": "Outside",
 - "parameter": {
 - "entry": [
 - {
 - "key": "TestActCaseSelected",
 - "value": {
 - "key": "TestActCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestActStateTime",
 - "value": {
 - "key": "TestActStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideCaseSelected",
 - "value": {
 - "key": "TestDecideCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestDecideStateTime",
 - "value": {
 - "key": "TestDecideStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishCaseSelected",
 - "value": {
 - "key": "TestEstablishCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestEstablishStateTime",
 - "value": {
 - "key": "TestEstablishStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCase",
 - "value": {
 - "key": "TestMatchCase",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchCaseSelected",
 - "value": {
 - "key": "TestMatchCaseSelected",
 - "fieldSchemaKey": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestMatchStateTime",
 - "value": {
 - "key": "TestMatchStateTime",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestSlogan",
 - "value": {
 - "key": "TestSlogan",
 - "fieldSchemaKey": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTemperature",
 - "value": {
 - "key": "TestTemperature",
 - "fieldSchemaKey": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - },
 - {
 - "key": "TestTimestamp",
 - "value": {
 - "key": "TestTimestamp",
 - "fieldSchemaKey": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "optional": false
 - }
 - }
 - ]
 - }
 - }
 - }
 - ]
 - }
 - },
 - "albums": {
 - "key": {
 - "name": "Context",
 - "version": "0.0.1"
 - },
 - "albums": {
 - "entry": [
 - {
 - "key": {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "ExternalContextAlbum",
 - "version": "0.0.1"
 - },
 - "scope": "EXTERNAL",
 - "isWritable": false,
 - "itemSchema": {
 - "name": "TestExternalContextItem",
 - "version": "0.0.1"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "GlobalContextAlbum",
 - "version": "0.0.1"
 - },
 - "scope": "GLOBAL",
 - "isWritable": true,
 - "itemSchema": {
 - "name": "TestGlobalContextItem",
 - "version": "0.0.1"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy0ContextAlbum",
 - "version": "0.0.1"
 - },
 - "scope": "APPLICATION",
 - "isWritable": true,
 - "itemSchema": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - }
 - }
 - },
 - {
 - "key": {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "Policy1ContextAlbum",
 - "version": "0.0.1"
 - },
 - "scope": "APPLICATION",
 - "isWritable": true,
 - "itemSchema": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - }
 - }
 - }
 - ]
 - }
 - },
 - "schemas": {
 - "key": {
 - "name": "TestDatatypes",
 - "version": "0.0.1"
 - },
 - "schemas": {
 - "entry": [
 - {
 - "key": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestCase",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "java.lang.Byte"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem000",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem000",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem000"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem001",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem001",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem001"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem002",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem002",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem002"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem003",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem003",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem003"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem004",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem004",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem004"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem005",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem005",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem005"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem006",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem006",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem006"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem007",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem007",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem007"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem008",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem008",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem008"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem009",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem009",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem009"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00A",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00A",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00A"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00B",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00B",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00B"
 - }
 - },
 - {
 - "key": {
 - "name": "TestContextItem00C",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestContextItem00C",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestContextItem00C"
 - }
 - },
 - {
 - "key": {
 - "name": "TestExternalContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestExternalContextItem",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestExternalContextItem"
 - }
 - },
 - {
 - "key": {
 - "name": "TestGlobalContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestGlobalContextItem",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"
 - }
 - },
 - {
 - "key": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestPolicyContextItem",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"
 - }
 - },
 - {
 - "key": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestSlogan",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "java.lang.String"
 - }
 - },
 - {
 - "key": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestTemperature",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "java.lang.Double"
 - }
 - },
 - {
 - "key": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "value": {
 - "key": {
 - "name": "TestTimestamp",
 - "version": "0.0.1"
 - },
 - "schemaFlavour": "Java",
 - "schemaDefinition": "java.lang.Long"
 - }
 - }
 - ]
 - }
 - }
 - }
 - },
 - "engineParameters": {
 - "executorParameters": {
 - "JAVASCRIPT": {
 - "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"
 - }
 - }
 - }
 - },
 - "eventInputParameters": {
 - "FirstConsumer": {
 - "carrierTechnologyParameters": {
 - "carrierTechnology": "RESTSERVER",
 - "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters",
 - "parameters": {
 - "standalone": true,
 - "host": "0.0.0.0",
 - "port": 23324
 - }
 - },
 - "eventProtocolParameters": {
 - "eventProtocol": "JSON"
 - },
 - "synchronousMode": true,
 - "synchronousPeer": "FirstProducer",
 - "synchronousTimeout": 2000
 - }
 - },
 - "eventOutputParameters": {
 - "FirstProducer": {
 - "carrierTechnologyParameters": {
 - "carrierTechnology": "RESTSERVER",
 - "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"
 - },
 - "eventProtocolParameters": {
 - "eventProtocol": "JSON"
 - },
 - "synchronousMode": true,
 - "synchronousPeer": "FirstConsumer",
 - "synchronousTimeout": 2000
 - }
 - }
 - }
 - }
 - }
 - ]
 - }
 -}
 -</stringProp> - <stringProp name="Argument.metadata">=</stringProp> - </elementProp> - </collectionProp> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change State to ACTIVE (defaultGroup)" enabled="true"> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> + <collectionProp name="Arguments.arguments"/> </elementProp> - <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/defaultGroup?state=ACTIVE</stringProp> + <stringProp name="HTTPSampler.method">PUT</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> @@ -15080,20 +244,29 @@ <intProp name="LoopController.loops">-1</intProp> </elementProp> <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> + <stringProp name="ThreadGroup.ramp_time">0</stringProp> <boolProp name="ThreadGroup.scheduler">true</boolProp> - <stringProp name="ThreadGroup.duration">${DURATION}</stringProp> + <stringProp name="ThreadGroup.duration">7200</stringProp> <stringProp name="ThreadGroup.delay"></stringProp> <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> </ThreadGroup> <hashTree> + <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true"> + <stringProp name="CounterConfig.start">1</stringProp> + <stringProp name="CounterConfig.end">${USERS}</stringProp> + <stringProp name="CounterConfig.incr">1</stringProp> + <stringProp name="CounterConfig.name">threadCount</stringProp> + <stringProp name="CounterConfig.format"></stringProp> + <boolProp name="CounterConfig.per_user">false</boolProp> + </CounterConfig> + <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Health" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">/policy/pap/v1/healthcheck</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> @@ -15139,15 +312,15 @@ if (prev.getResponseCode() == '200') { </JSR223Assertion> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Statistics" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="PAP Metrics" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/statistics</stringProp> + <stringProp name="HTTPSampler.path">/metrics</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> @@ -15156,7 +329,7 @@ if (prev.getResponseCode() == '200') { <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> - <stringProp name="TestPlan.comments">Check Statistics</stringProp> + <stringProp name="TestPlan.comments">PAP Metrics</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -15169,40 +342,71 @@ if (prev.getResponseCode() == '200') { <intProp name="Assertion.test_type">1</intProp> </ResponseAssertion> <hashTree/> - <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true"> - <stringProp name="scriptLanguage">groovy</stringProp> - <stringProp name="parameters"></stringProp> - <stringProp name="filename"></stringProp> + <JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="JSR223 PostProcessor" enabled="true"> <stringProp name="cacheKey">true</stringProp> - <stringProp name="script">import groovy.json.JsonSlurper; - -def res = []; + <stringProp name="filename"></stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="script"> if (prev.getResponseCode() == '200') { - def jsonSlurper = new JsonSlurper(); - res = jsonSlurper.parseText(prev.getResponseDataAsString()); + def res = prev.getResponseDataAsString(); - assert res instanceof Map; - assert res.code == 200; - assert res.totalPdpCount == 0; - assert res.totalPdpGroupCount==0; - assert res.totalPolicyDeployCount==0; - assert res.policyDeploySuccessCount==0; + def simpleDeployAPICount = '0'; + if (res.contains('http_server_requests_seconds_count{exception="None",method="POST",outcome="SUCCESS",status="202",uri="/policy/pap/v1/pdps/policies",} ')) { + simpleDeployAPICount = (res =~ /http_server_requests_seconds_count\{exception="None",method="POST",outcome="SUCCESS",status="202",uri="\/policy\/pap\/v1\/pdps\/policies",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1] + } -} -</stringProp> - </JSR223Assertion> + def batchDeploymentAPICount = '0'; + if (res.contains('http_server_requests_seconds_count{exception="None",method="POST",outcome="SUCCESS",status="202",uri="/policy/pap/v1/pdps/deployments/batch",} ')) { + batchDeploymentAPICount = (res =~ /http_server_requests_seconds_count\{exception="None",method="POST",outcome="SUCCESS",status="202",uri="\/policy\/pap\/v1\/pdps\/deployments\/batch",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1] + } + + vars.put("simpleDeployAPICount", simpleDeployAPICount); + vars.put("batchDeploymentAPICount", batchDeploymentAPICount); + +}</stringProp> + <stringProp name="scriptLanguage">groovy</stringProp> + </JSR223PostProcessor> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change State to ACTIVE" enabled="true"> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create/Update PDP Group" enabled="true"> + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> + <collectionProp name="Arguments.arguments"> + <elementProp name="" elementType="HTTPArgument"> + <boolProp name="HTTPArgument.always_encode">false</boolProp> + <stringProp name="Argument.value">{
 + "groups": [
 + {
 + "name": "sampleGroup${threadCount}",
 + "pdpGroupState": "ACTIVE",
 + "properties": {},
 + "pdpSubgroups": [
 + {
 + "pdpType": "apex",
 + "desiredInstanceCount": 1,
 + "properties": {},
 + "supportedPolicyTypes": [
 + {
 + "name": "onap.policies.native.Apex",
 + "version": "1.0.0"
 + }
 + ],
 + "policies": []
 + }
 + ]
 + }
 + ]
 +}</stringProp> + <stringProp name="Argument.metadata">=</stringProp> + </elementProp> + </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/defaultGroup?state=ACTIVE</stringProp> - <stringProp name="HTTPSampler.method">PUT</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/groups/batch</stringProp> + <stringProp name="HTTPSampler.method">POST</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> @@ -15210,6 +414,7 @@ if (prev.getResponseCode() == '200') { <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> + <stringProp name="TestPlan.comments">create SampleGroup </stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -15229,7 +434,7 @@ if (prev.getResponseCode() == '200') { </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> @@ -15253,198 +458,38 @@ if (prev.getResponseCode() == '200') { <intProp name="Assertion.test_type">1</intProp> </ResponseAssertion> <hashTree/> - <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true"> - <stringProp name="CounterConfig.start">1</stringProp> - <stringProp name="CounterConfig.end"></stringProp> - <stringProp name="CounterConfig.incr">1</stringProp> - <stringProp name="CounterConfig.name">threadCounter</stringProp> - <stringProp name="CounterConfig.format"></stringProp> - <boolProp name="CounterConfig.per_user">false</boolProp> - </CounterConfig> - <hashTree/> - </hashTree> - <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="false"> - <stringProp name="TestPlan.comments">Deploy defaultDomain policy</stringProp> - <stringProp name="IfController.condition">${threadCounter}%5==1</stringProp> - <boolProp name="IfController.evaluateAll">false</boolProp> - </IfController> - <hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy defaultDomain Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> - <collectionProp name="Arguments.arguments"> - <elementProp name="" elementType="HTTPArgument"> - <boolProp name="HTTPArgument.always_encode">false</boolProp> - <stringProp name="Argument.value">{
 - "policies" : [
 - {
 - "policy-id": "operational.apex.stabilityTestDefaultDomain",
 - "policy-version": "1.0.0"
 - }
 - ]
 -}</stringProp> - <stringProp name="Argument.metadata">=</stringProp> - </elementProp> - </collectionProp> - </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <stringProp name="HTTPSampler.embedded_url_re"></stringProp> - <stringProp name="HTTPSampler.connect_timeout"></stringProp> - <stringProp name="HTTPSampler.response_timeout"></stringProp> - </HTTPSamplerProxy> - <hashTree> - <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="false"> - <stringProp name="ConstantTimer.delay">800</stringProp> - </ConstantTimer> - <hashTree/> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> - <collectionProp name="Asserion.test_strings"> - <stringProp name="49588">202</stringProp> - </collectionProp> - <stringProp name="Assertion.custom_message"></stringProp> - <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> - <boolProp name="Assertion.assume_success">false</boolProp> - <intProp name="Assertion.test_type">1</intProp> - </ResponseAssertion> - <hashTree/> - </hashTree> - </hashTree> - <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="false"> - <stringProp name="TestPlan.comments">Deploy defaultDomain policy</stringProp> - <stringProp name="IfController.condition">${threadCounter}%5==1</stringProp> - <boolProp name="IfController.evaluateAll">false</boolProp> - </IfController> - <hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check status defaultGroup" enabled="true"> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status/defaultGroup/operational.apex.stabilityTestDefaultDomain/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <stringProp name="HTTPSampler.embedded_url_re"></stringProp> - <stringProp name="HTTPSampler.connect_timeout"></stringProp> - <stringProp name="HTTPSampler.response_timeout"></stringProp> - <stringProp name="TestPlan.comments">Check status defaultGroup</stringProp> - </HTTPSamplerProxy> - <hashTree> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> - <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> - </collectionProp> - <stringProp name="Assertion.custom_message"></stringProp> - <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> - <boolProp name="Assertion.assume_success">false</boolProp> - <intProp name="Assertion.test_type">1</intProp> - </ResponseAssertion> - <hashTree/> - </hashTree> - </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Audit defaultGroup" enabled="true"> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/audit/defaultGroup</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <stringProp name="HTTPSampler.embedded_url_re"></stringProp> - <stringProp name="HTTPSampler.connect_timeout"></stringProp> - <stringProp name="HTTPSampler.response_timeout"></stringProp> - <stringProp name="TestPlan.comments">Check PdpGroup Audit</stringProp> - </HTTPSamplerProxy> - <hashTree> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> - <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> - </collectionProp> - <stringProp name="Assertion.custom_message"></stringProp> - <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> - <boolProp name="Assertion.assume_success">false</boolProp> - <intProp name="Assertion.test_type">1</intProp> - </ResponseAssertion> - <hashTree/> - </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Audit Policy (defaultGroup)" enabled="true"> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/audit/defaultGroup/operational.apex.stabilityTestDefaultDomain/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <stringProp name="HTTPSampler.embedded_url_re"></stringProp> - <stringProp name="HTTPSampler.connect_timeout"></stringProp> - <stringProp name="HTTPSampler.response_timeout"></stringProp> - <stringProp name="TestPlan.comments">Check PdpGroup Audit</stringProp> - </HTTPSamplerProxy> - <hashTree> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> - <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> - </collectionProp> - <stringProp name="Assertion.custom_message"></stringProp> - <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> - <boolProp name="Assertion.assume_success">false</boolProp> - <intProp name="Assertion.test_type">1</intProp> - </ResponseAssertion> + <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true"> + <stringProp name="scriptLanguage">groovy</stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="script">import groovy.json.JsonSlurper; +def res = []; +if (prev.getResponseCode() == '200') { + def jsonSlurper = new JsonSlurper(); + res = jsonSlurper.parseText(prev.getResponseDataAsString()); + + assert res instanceof Map; + assert res.groups.size >= 2; + assert res.groups[0].pdpGroupState== 'ACTIVE'; + assert res.groups[1].pdpGroupState== 'ACTIVE'; +} +</stringProp> + </JSR223Assertion> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create/Update PDP Group" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Policy" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value">{
 - "groups": [
 - {
 - "name": "sampleGroup_${threadCounter}",
 - "pdpGroupState": "ACTIVE",
 - "properties": {},
 - "pdpSubgroups": [
 - {
 - "pdpType": "apex",
 - "desiredInstanceCount": 1,
 - "properties": {},
 - "supportedPolicyTypes": [
 - {
 - "name": "onap.policies.native.Apex",
 - "version": "1.0.0"
 - }
 - ],
 - "policies": []
 - }
 - ]
 - }
 + "policies" : [
 + {
 + "policy-id": "operational.modifyconfig${threadCount}",
 + "policy-version": "1.0.0"
 + }
 ]
 }</stringProp> <stringProp name="Argument.metadata">=</stringProp> @@ -15453,9 +498,9 @@ if (prev.getResponseCode() == '200') { </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/groups/batch</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> <stringProp name="HTTPSampler.method">POST</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> @@ -15464,12 +509,11 @@ if (prev.getResponseCode() == '200') { <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> - <stringProp name="TestPlan.comments">create SampleGroup </stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> + <stringProp name="49588">202</stringProp> </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> @@ -15477,16 +521,20 @@ if (prev.getResponseCode() == '200') { <intProp name="Assertion.test_type">1</intProp> </ResponseAssertion> <hashTree/> + <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true"> + <stringProp name="ConstantTimer.delay">5000</stringProp> + </ConstantTimer> + <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Query" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check status of policy" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status/defaultGroup/operational.modifyconfig${threadCount}/1.0.0</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> @@ -15495,28 +543,9 @@ if (prev.getResponseCode() == '200') { <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> - <stringProp name="TestPlan.comments">Check PdpGroup Query</stringProp> + <stringProp name="TestPlan.comments">Query policies status for defaultGroup</stringProp> </HTTPSamplerProxy> <hashTree> - <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="false"> - <stringProp name="scriptLanguage">groovy</stringProp> - <stringProp name="parameters"></stringProp> - <stringProp name="filename"></stringProp> - <stringProp name="cacheKey">true</stringProp> - <stringProp name="script">import groovy.json.JsonSlurper; - -def res = []; -if (prev.getResponseCode() == '200') { - def jsonSlurper = new JsonSlurper(); - res = jsonSlurper.parseText(prev.getResponseDataAsString()); - - assert res instanceof Map; - assert res.groups.size == 1; - assert res.groups[0].pdpGroupState== 'ACTIVE'; -} -</stringProp> - </JSR223Assertion> - <hashTree/> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> <collectionProp name="Asserion.test_strings"> <stringProp name="49586">200</stringProp> @@ -15528,41 +557,16 @@ if (prev.getResponseCode() == '200') { </ResponseAssertion> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deployment Update sampleDomain" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> - <collectionProp name="Arguments.arguments"> - <elementProp name="" elementType="HTTPArgument"> - <boolProp name="HTTPArgument.always_encode">false</boolProp> - <stringProp name="Argument.value">{
 - "groups": [
 - {
 - "name": "sampleGroup_${threadCounter}",
 - "deploymentSubgroups": [
 - {
 - "pdpType": "apex",
 - "action": "POST",
 - "policies": [
 - {
 - "name": "operational.apex.stabilityTestSampleDomain",
 - "version": "1.0.0"
 - }
 - ]
 - }
 - ]
 - }
 - ]
 -}</stringProp> - <stringProp name="Argument.metadata">=</stringProp> - </elementProp> - </collectionProp> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check status of PdpGroups" enabled="true"> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> + <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status</stringProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> @@ -15570,11 +574,12 @@ if (prev.getResponseCode() == '200') { <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> + <stringProp name="TestPlan.comments">Query policies status</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> <collectionProp name="Asserion.test_strings"> - <stringProp name="49588">202</stringProp> + <stringProp name="49586">200</stringProp> </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> @@ -15583,15 +588,15 @@ if (prev.getResponseCode() == '200') { </ResponseAssertion> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check status sampleGroup" enabled="false"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Audit defaultGroup" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status/sampleGroup</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/audit/defaultGroup</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> @@ -15600,7 +605,7 @@ if (prev.getResponseCode() == '200') { <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> - <stringProp name="TestPlan.comments">Check status sampleGroup</stringProp> + <stringProp name="TestPlan.comments">Check PdpGroup Audit</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -15614,15 +619,15 @@ if (prev.getResponseCode() == '200') { </ResponseAssertion> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check status PdpGroups" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Audit Policy (defaultGroup)" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/audit/defaultGroup/operational.modifyconfig${threadCount}/1.0.0</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> @@ -15631,7 +636,7 @@ if (prev.getResponseCode() == '200') { <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> - <stringProp name="TestPlan.comments">Check status PdpGroups</stringProp> + <stringProp name="TestPlan.comments">Check PdpGroup Audit</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -15651,7 +656,7 @@ if (prev.getResponseCode() == '200') { </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> @@ -15675,7 +680,7 @@ if (prev.getResponseCode() == '200') { <intProp name="Assertion.test_type">1</intProp> </ResponseAssertion> <hashTree/> - <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="false"> + <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true"> <stringProp name="scriptLanguage">groovy</stringProp> <stringProp name="parameters"></stringProp> <stringProp name="filename"></stringProp> @@ -15688,65 +693,38 @@ if (prev.getResponseCode() == '200') { res = jsonSlurper.parseText(prev.getResponseDataAsString()); assert res instanceof Map; - assert res.groups.size == 6; - for(int groupSize=0;groupSize<res.groups.size;groupSize++){ + assert res.groups.size >= 2; - for(int subGrpSize=0;subGrpSize<res.groups.pdpSubgroups.size;subGrpSize++){ + for(int groupSize=0;groupSize<res.groups.size;groupSize++){ - def pdpSubGrp=res.groups[0].pdpSubgroups; - - if (res.groups[0].name == 'defaultGroup'){ - assert pdpSubGrp[0].policies[0].name == 'operational.apex.stabilityTestDefaultDomain'; - }else if(res.groups[0].name == 'sampleGroup_${threadCounter}' ){ - assert pdpSubGrp[subGrpSize].policies[0].name == 'operational.apex.stabilityTestSampleDomain'; - } - + for(int subGrpSize=0;subGrpSize<res.groups[groupSize].pdpSubgroups.size;subGrpSize++){ + + def pdpSubGrp=res.groups[groupSize].pdpSubgroups[subGrpSize]; + if(pdpSubGrp.pdpType =='drools'){ + assert pdpSubGrp.pdpInstances.size == 1; + if (res.groups[groupSize].name == 'defaultGroup') { + assert pdpSubGrp.policies.size >= 1; + } + else if(res.groups[groupSize].name == 'sampleGroup' ){ + assert pdpSubGrp.policies.size == 0; + //assert pdpSubGrp.policies[0].name == 'operational.apex.stabilityTestDefaultDomain'; + } + } } - } + } } </stringProp> </JSR223Assertion> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Audit" enabled="true"> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/audit</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <stringProp name="HTTPSampler.embedded_url_re"></stringProp> - <stringProp name="HTTPSampler.connect_timeout"></stringProp> - <stringProp name="HTTPSampler.response_timeout"></stringProp> - <stringProp name="TestPlan.comments">Check Audit</stringProp> - </HTTPSamplerProxy> - <hashTree> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> - <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> - </collectionProp> - <stringProp name="Assertion.custom_message"></stringProp> - <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> - <boolProp name="Assertion.assume_success">false</boolProp> - <intProp name="Assertion.test_type">1</intProp> - </ResponseAssertion> - <hashTree/> - </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Consolidated Health" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">/policy/pap/v1/components/healthcheck</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> @@ -15790,13 +768,13 @@ if (prev.getResponseCode() == '200') { </JSR223Assertion> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Deployed Policies" enabled="false"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Deployed Policies" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">/policy/pap/v1/policies/deployed</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> @@ -15820,8 +798,25 @@ if (prev.getResponseCode() == '200') { <intProp name="Assertion.test_type">1</intProp> </ResponseAssertion> <hashTree/> + <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true"> + <stringProp name="scriptLanguage">groovy</stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="script">import groovy.json.JsonSlurper; + +def res = []; +if (prev.getResponseCode() == '200') { + def jsonSlurper = new JsonSlurper(); + res = jsonSlurper.parseText(prev.getResponseDataAsString()); + assert res.size >1 ; + +} +</stringProp> + </JSR223Assertion> + <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Policy sampleDomain" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Policy" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -15830,14 +825,14 @@ if (prev.getResponseCode() == '200') { <stringProp name="Argument.value">{
 "groups": [
 {
 - "name": "sampleGroup_${threadCounter}",
 + "name": "defaultGroup",
 "deploymentSubgroups": [
 {
 - "pdpType": "apex",
 + "pdpType": "drools",
 "action": "DELETE",
 "policies": [
 {
 - "name": "operational.apex.stabilityTestSampleDomain",
 + "name": "operational.modifyconfig${threadCount}",
 "version": "1.0.0"
 }
 ]
 @@ -15852,7 +847,7 @@ if (prev.getResponseCode() == '200') { </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp> <stringProp name="HTTPSampler.method">POST</stringProp> @@ -15876,51 +871,15 @@ if (prev.getResponseCode() == '200') { </ResponseAssertion> <hashTree/> </hashTree> - <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="false"> - <stringProp name="IfController.condition">${threadCounter}%5==1</stringProp> - <boolProp name="IfController.evaluateAll">false</boolProp> - </IfController> - <hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Default Policy" enabled="true"> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/operational.apex.stabilityTestDefaultDomain</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <stringProp name="HTTPSampler.embedded_url_re"></stringProp> - <stringProp name="HTTPSampler.connect_timeout"></stringProp> - <stringProp name="HTTPSampler.response_timeout"></stringProp> - </HTTPSamplerProxy> - <hashTree> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> - <collectionProp name="Asserion.test_strings"> - <stringProp name="49588">202</stringProp> - </collectionProp> - <stringProp name="Assertion.custom_message"></stringProp> - <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> - <boolProp name="Assertion.assume_success">false</boolProp> - <intProp name="Assertion.test_type">1</intProp> - </ResponseAssertion> - <hashTree/> - </hashTree> - </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change State to PASSIVE(sampleGroup)" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change sampleGroup State to PASSIVE" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/sampleGroup_${threadCounter}?state=PASSIVE</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/sampleGroup${threadCount}?state=PASSIVE</stringProp> <stringProp name="HTTPSampler.method">PUT</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> @@ -15948,9 +907,9 @@ if (prev.getResponseCode() == '200') { </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/groups/sampleGroup_${threadCounter}</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/groups/sampleGroup${threadCount}</stringProp> <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> @@ -15968,26 +927,21 @@ if (prev.getResponseCode() == '200') { </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> - <boolProp name="Assertion.assume_success">true</boolProp> + <boolProp name="Assertion.assume_success">false</boolProp> <intProp name="Assertion.test_type">1</intProp> - <stringProp name="Assertion.scope">children</stringProp> </ResponseAssertion> <hashTree/> </hashTree> - <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="false"> - <stringProp name="ConstantTimer.delay">1000</stringProp> - </ConstantTimer> - <hashTree/> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change State to PASSIVE(defaultGroup)" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check PdpGroup Query" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/defaultGroup?state=PASSIVE</stringProp> - <stringProp name="HTTPSampler.method">PUT</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> @@ -15995,8 +949,14 @@ if (prev.getResponseCode() == '200') { <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> + <stringProp name="TestPlan.comments">Check PdpGroup Query</stringProp> </HTTPSamplerProxy> <hashTree> + <SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="Synchronizing Timer" enabled="true"> + <intProp name="groupSize">0</intProp> + <longProp name="timeoutInMs">30000</longProp> + </SyncTimer> + <hashTree/> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> <collectionProp name="Asserion.test_strings"> <stringProp name="49586">200</stringProp> @@ -16007,32 +967,46 @@ if (prev.getResponseCode() == '200') { <intProp name="Assertion.test_type">1</intProp> </ResponseAssertion> <hashTree/> + <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true"> + <stringProp name="scriptLanguage">groovy</stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="script">import groovy.json.JsonSlurper; + +def res = []; +if (prev.getResponseCode() == '200') { + def jsonSlurper = new JsonSlurper(); + res = jsonSlurper.parseText(prev.getResponseDataAsString()); + + assert res instanceof Map; + assert res.groups.size == 1; + + for(int subGrpSize=0;subGrpSize<res.groups[0].pdpSubgroups.size;subGrpSize++){ + + def pdpSubGrp=res.groups[0].pdpSubgroups[subGrpSize]; + if(pdpSubGrp.pdpType =='drools'){ + assert pdpSubGrp.pdpInstances.size == 1; + assert pdpSubGrp.policies.size == 0; + } + + } + +} +</stringProp> + </JSR223Assertion> + <hashTree/> </hashTree> - </hashTree> - <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true"> - <stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> - <boolProp name="LoopController.continue_forever">false</boolProp> - <stringProp name="LoopController.loops">1</stringProp> - </elementProp> - <stringProp name="ThreadGroup.num_threads">1</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">false</boolProp> - <stringProp name="ThreadGroup.duration"></stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> - </PostThreadGroup> - <hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change State to PASSIVE" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="PAP Metrics after deployments" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/defaultGroup?state=PASSIVE</stringProp> - <stringProp name="HTTPSampler.method">PUT</stringProp> + <stringProp name="HTTPSampler.path">/metrics</stringProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> @@ -16040,6 +1014,7 @@ if (prev.getResponseCode() == '200') { <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> + <stringProp name="TestPlan.comments">PAP Metrics after deployments</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -16052,17 +1027,67 @@ if (prev.getResponseCode() == '200') { <intProp name="Assertion.test_type">1</intProp> </ResponseAssertion> <hashTree/> + <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true"> + <stringProp name="scriptLanguage">groovy</stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="script"> +if (prev.getResponseCode() == '200') { + def res = prev.getResponseDataAsString(); + assert res.contains('http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policy/pap/v1/healthcheck",}'); + + def newSimpleDeployAPICount = '0'; + if (res.contains('http_server_requests_seconds_count{exception="None",method="POST",outcome="SUCCESS",status="202",uri="/policy/pap/v1/pdps/policies",} ')) { + newSimpleDeployAPICount = (res =~ /http_server_requests_seconds_count\{exception="None",method="POST",outcome="SUCCESS",status="202",uri="\/policy\/pap\/v1\/pdps\/policies",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1] + } + + def newBatchDeploymentAPICount = '0'; + if (res.contains('http_server_requests_seconds_count{exception="None",method="POST",outcome="SUCCESS",status="202",uri="/policy/pap/v1/pdps/deployments/batch",} ')) { + newBatchDeploymentAPICount = (res =~ /http_server_requests_seconds_count\{exception="None",method="POST",outcome="SUCCESS",status="202",uri="\/policy\/pap\/v1\/pdps\/deployments\/batch",\} ([0-9]+)?([.]*[0-9]*)?/)[0][1] + } + + assert Long.valueOf(vars.get("simpleDeployAPICount")) < Long.valueOf(newSimpleDeployAPICount); + assert Long.valueOf(vars.get("batchDeploymentAPICount")) < Long.valueOf(newBatchDeploymentAPICount); + +}</stringProp> + </JSR223Assertion> + <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy defaultDomain" enabled="true"> + </hashTree> + <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true"> + <stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <boolProp name="LoopController.continue_forever">false</boolProp> + <stringProp name="LoopController.loops">1</stringProp> + </elementProp> + <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> + <stringProp name="ThreadGroup.ramp_time">1</stringProp> + <boolProp name="ThreadGroup.scheduler">false</boolProp> + <stringProp name="ThreadGroup.duration"></stringProp> + <stringProp name="ThreadGroup.delay"></stringProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> + </PostThreadGroup> + <hashTree> + <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true"> + <stringProp name="CounterConfig.start">1</stringProp> + <stringProp name="CounterConfig.end"></stringProp> + <stringProp name="CounterConfig.incr">1</stringProp> + <stringProp name="CounterConfig.name">threadCount</stringProp> + <stringProp name="CounterConfig.format"></stringProp> + <boolProp name="CounterConfig.per_user">false</boolProp> + </CounterConfig> + <hashTree/> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Change defaultGroup State to PASSIVE" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> - <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.operational.Apex/versions/1.0.0/policies/operational.apex.stabilityTestDefaultDomain/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/defaultGroup?state=PASSIVE</stringProp> + <stringProp name="HTTPSampler.method">PUT</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> @@ -16083,15 +1108,15 @@ if (prev.getResponseCode() == '200') { </ResponseAssertion> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy sampleDomain" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> - <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/operational.apex.stabilityTestSampleDomain/versions/1.0.0</stringProp> + <stringProp name="HTTPSampler.path">/policy/api/v1/policies/operational.modifyconfig${threadCount}/versions/1.0.0</stringProp> <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> @@ -16148,7 +1173,7 @@ if (prev.getResponseCode() == '200') { <connectTime>true</connectTime> </value> </objProp> - <stringProp name="filename">C:\pap_s3p_res\stability_results\testperfresult.jtl</stringProp> + <stringProp name="filename">/home/asreekumar/s3p/resultSummary.jtl</stringProp> </ResultCollector> <hashTree/> <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> @@ -16185,7 +1210,7 @@ if (prev.getResponseCode() == '200') { <connectTime>true</connectTime> </value> </objProp> - <stringProp name="filename">${LOGS_PATH}resultTree.log</stringProp> + <stringProp name="filename">/home/asreekumar/s3p/resultTree.jtl</stringProp> </ResultCollector> <hashTree/> <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true"> @@ -16222,7 +1247,7 @@ if (prev.getResponseCode() == '200') { <connectTime>true</connectTime> </value> </objProp> - <stringProp name="filename">${LOGS_PATH}resultTable.log</stringProp> + <stringProp name="filename">/home/asreekumar/s3p/resultTable.log</stringProp> </ResultCollector> <hashTree/> </hashTree> |