aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@est.tech>2019-05-07 13:36:39 +0000
committerBilal A <bilal@research.att.com>2019-05-31 21:19:49 +0000
commite74fd95261e37e4258d6ed325368069ba25eaa45 (patch)
tree6fc79a18f6484986159f680cf53ece1e143e22ef
parent7a86895fa2911ccdc5b827a1e1c2c2d54343d4f5 (diff)
Adding end to end CSIT test cases for PDP-A
1) Adding test case to do health check of PDP-A. 2) Adding test case for end to end testing - create policy type and policy using Policy API, deploy policy using PAP API and then execute policy in APEX engine. Change-Id: I97b208f4d7c319f993515719795d022ddfc429fa Issue-ID: POLICY-1739 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech> (cherry picked from commit 7d80c38635b4cf7ec0d517a95c63772c4c9aface)
-rw-r--r--plans/policy/apex-pdp/setup.sh77
-rw-r--r--plans/policy/apex-pdp/teardown.sh8
-rw-r--r--scripts/policy/policy-apex-pdp/config/apex-pdp/OnapPfConfig.json17
-rw-r--r--scripts/policy/policy-apex-pdp/config/apex-pdp/topic.properties23
-rw-r--r--scripts/policy/policy-apex-pdp/config/db/db.conf16
-rw-r--r--scripts/policy/policy-apex-pdp/config/db/db.sh22
-rw-r--r--scripts/policy/policy-apex-pdp/config/pap/defaultConfig.json30
-rw-r--r--scripts/policy/policy-apex-pdp/config/pap/logback.xml102
-rw-r--r--scripts/policy/policy-apex-pdp/config/pap/s3pConfig.json11
-rw-r--r--scripts/policy/policy-apex-pdp/config/pap/ssl/policy-keystorebin0 -> 4407 bytes
-rw-r--r--scripts/policy/policy-apex-pdp/config/pap/ssl/policy-truststorebin0 -> 124176 bytes
-rw-r--r--scripts/policy/policy-apex-pdp/config/pap/topic.properties23
-rw-r--r--scripts/policy/policy-apex-pdp/docker-compose-apex.yml74
-rw-r--r--tests/policy/apex-pdp/apex-pdp-test.robot63
-rw-r--r--tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.json284
-rw-r--r--tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.tosca.json68
-rw-r--r--tests/policy/apex-pdp/data/pdp_update.json117
17 files changed, 927 insertions, 8 deletions
diff --git a/plans/policy/apex-pdp/setup.sh b/plans/policy/apex-pdp/setup.sh
index c97072d4..96396462 100644
--- a/plans/policy/apex-pdp/setup.sh
+++ b/plans/policy/apex-pdp/setup.sh
@@ -1,6 +1,8 @@
#!/bin/bash
# ============LICENSE_START=======================================================
# Copyright (C) 2018 Ericsson. All rights reserved.
+#
+# Modifications copyright (c) 2019 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -17,16 +19,81 @@
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
-docker run -d --name apex -p 12561:12561 -p 23324:23324 -it nexus3.onap.org:10001/onap/policy-apex-pdp:2.0-SNAPSHOT-latest /bin/bash -c "/opt/app/policy/apex-pdp/bin/apexEngine.sh -c /opt/app/policy/apex-pdp/examples/config/SampleDomain/RESTServerJsonEvent.json"
+echo "Uninstall docker-py and reinstall docker."
+pip uninstall -y docker-py
+pip uninstall -y docker
+pip install -U docker==2.7.0
+
+# the directory of the script
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+echo ${DIR}
+
+# the temp directory used, within $DIR
+# omit the -p parameter to create a temporal directory in the default location
+WORK_DIR=`mktemp -d -p "$DIR"`
+echo ${WORK_DIR}
+
+cd ${WORK_DIR}
+
+# check if tmp dir was created
+if [[ ! "$WORK_DIR" || ! -d "$WORK_DIR" ]]; then
+ echo "Could not create temp dir"
+ exit 1
+fi
+
+# bring down maven
+mkdir maven
+cd maven
+curl -O http://apache.claz.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
+tar -xzvf apache-maven-3.3.9-bin.tar.gz
+ls -l
+export PATH=${PATH}:${WORK_DIR}/maven/apache-maven-3.3.9/bin
+${WORK_DIR}/maven/apache-maven-3.3.9/bin/mvn -v
+cd ..
+
+git clone http://gerrit.onap.org/r/oparent
+git clone --depth 1 https://gerrit.onap.org/r/policy/models -b master
+cd models/models-sim/models-sim-dmaap
+${WORK_DIR}/maven/apache-maven-3.3.9/bin/mvn clean install -DskipTests --settings ${WORK_DIR}/oparent/settings.xml
+bash ./src/main/package/docker/docker_build.sh
+cd ${WORKSPACE}
+rm -rf ${WORK_DIR}
+sleep 3
+
+# Adding this waiting container due to race condition between pap and mariadb
+docker-compose -f ${WORKSPACE}/scripts/policy/policy-apex-pdp/docker-compose-apex.yml run --rm start_dependencies
+docker-compose -f ${WORKSPACE}/scripts/policy/policy-apex-pdp/docker-compose-apex.yml up -d
+
+POLICY_API_IP=`get-instance-ip.sh policy-api`
+POLICY_PAP_IP=`get-instance-ip.sh policy-pap`
+MARIADB_IP=`get-instance-ip.sh mariadb`
+APEX_IP=`get-instance-ip.sh policy-apex-pdp`
+DMAAP_IP=`get-instance-ip.sh dmaap-simulator`
-APEX_IP=`get-instance-ip.sh apex`
+echo PAP IP IS ${POLICY_PAP_IP}
+echo MARIADB IP IS ${MARIADB_IP}
+echo API IP IS ${POLICY_API_IP}
echo APEX IP IS ${APEX_IP}
+echo DMAAP_IP IS ${DMAAP_IP}
+
# Wait for initialization
for i in {1..10}; do
- curl -sS ${APEX_IP}:23324 && break
+ curl -sS ${MARIADB_IP}:3306 && break
+ echo sleep $i
+ sleep $i
+done
+for i in {1..10}; do
+ curl -sS ${APEX_IP}:6969 && break
+ echo sleep $i
+ sleep $i
+done
+for i in {1..10}; do
+ curl -sS ${DMAAP_IP}:3904 && break
echo sleep $i
sleep $i
done
-sleep 10
+#Configure the database
+docker exec -it mariadb chmod +x /docker-entrypoint-initdb.d/db.sh
+docker exec -it mariadb /docker-entrypoint-initdb.d/db.sh
-ROBOT_VARIABLES="-v APEX_IP:${APEX_IP}"
+ROBOT_VARIABLES="-v APEX_IP:${APEX_IP} -v POLICY_API_IP:${POLICY_API_IP} -v POLICY_PAP_IP:${POLICY_PAP_IP}"
diff --git a/plans/policy/apex-pdp/teardown.sh b/plans/policy/apex-pdp/teardown.sh
index ca8e92e6..6c02aea1 100644
--- a/plans/policy/apex-pdp/teardown.sh
+++ b/plans/policy/apex-pdp/teardown.sh
@@ -1,6 +1,8 @@
#!/bin/bash
# ============LICENSE_START=======================================================
# Copyright (C) 2018 Ericsson. All rights reserved.
+#
+# Modifications copyright (c) 2019 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -17,4 +19,8 @@
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
-kill-instance.sh apex
+kill-instance.sh policy-apex-pdp
+kill-instance.sh policy-pap
+kill-instance.sh policy-api
+kill-instance.sh mariadb
+kill-instance.sh dmaap-simulator
diff --git a/scripts/policy/policy-apex-pdp/config/apex-pdp/OnapPfConfig.json b/scripts/policy/policy-apex-pdp/config/apex-pdp/OnapPfConfig.json
new file mode 100644
index 00000000..6944c9bd
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/config/apex-pdp/OnapPfConfig.json
@@ -0,0 +1,17 @@
+{
+ "name":"OnapPfParameterGroup",
+ "restServerParameters": {
+ "host": "0.0.0.0",
+ "port": 6969,
+ "userName": "healthcheck",
+ "password": "zb!XztG34",
+ "https": true,
+ "aaf": false
+ },
+ "pdpStatusParameters":{
+ "timeIntervalMs": 10000,
+ "pdpType":"apex",
+ "description":"Pdp Heartbeat",
+ "supportedPolicyTypes":[{"name":"onap.policies.controlloop.operational.Apex","version":"1.0.0"}]
+ }
+}
diff --git a/scripts/policy/policy-apex-pdp/config/apex-pdp/topic.properties b/scripts/policy/policy-apex-pdp/config/apex-pdp/topic.properties
new file mode 100644
index 00000000..b7df11a8
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/config/apex-pdp/topic.properties
@@ -0,0 +1,23 @@
+# ============LICENSE_START=======================================================
+# Copyright (C) 2019 Nordix Foundation.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
+dmaap.source.topics=POLICY-PDP-PAP
+dmaap.sink.topics=POLICY-PDP-PAP
+
+dmaap.source.topics.POLICY-PDP-PAP.servers= dmaap:3904
+dmaap.sink.topics.POLICY-PDP-PAP.servers= dmaap:3904
diff --git a/scripts/policy/policy-apex-pdp/config/db/db.conf b/scripts/policy/policy-apex-pdp/config/db/db.conf
new file mode 100644
index 00000000..4768bfc4
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/config/db/db.conf
@@ -0,0 +1,16 @@
+# Copyright (C) 2019 Nordix Foundation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+MYSQL_ROOT_PASSWORD=secret
+MYSQL_USER=policy_user
+MYSQL_PASSWORD=policy_user
diff --git a/scripts/policy/policy-apex-pdp/config/db/db.sh b/scripts/policy/policy-apex-pdp/config/db/db.sh
new file mode 100644
index 00000000..660f2c5a
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/config/db/db.sh
@@ -0,0 +1,22 @@
+#!/bin/bash -xv
+# Copyright (C) 2019 Nordix Foundation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+for db in policyadmin
+do
+ mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};"
+ mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;"
+done
+
+mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;"
diff --git a/scripts/policy/policy-apex-pdp/config/pap/defaultConfig.json b/scripts/policy/policy-apex-pdp/config/pap/defaultConfig.json
new file mode 100644
index 00000000..32b6c30f
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/config/pap/defaultConfig.json
@@ -0,0 +1,30 @@
+{
+ "name": "PapGroup",
+ "restServerParameters": {
+ "host": "0.0.0.0",
+ "port": 6969,
+ "userName": "healthcheck",
+ "password": "zb!XztG34",
+ "https": true,
+ "aaf": false
+ },
+ "pdpParameters": {
+ "updateParameters": {
+ "maxRetryCount": 1,
+ "maxWaitMs": 30000
+ },
+ "stateChangeParameters": {
+ "maxRetryCount": 1,
+ "maxWaitMs": 30000
+ }
+ },
+ "databaseProviderParameters": {
+ "name": "PolicyProviderParameterGroup",
+ "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl",
+ "databaseDriver": "org.mariadb.jdbc.Driver",
+ "databaseUrl": "jdbc:mariadb://mariadb:3306/policyadmin",
+ "databaseUser": "policy_user",
+ "databasePassword": "cG9saWN5X3VzZXI=",
+ "persistenceUnit": "PolicyMariaDb"
+ }
+}
diff --git a/scripts/policy/policy-apex-pdp/config/pap/logback.xml b/scripts/policy/policy-apex-pdp/config/pap/logback.xml
new file mode 100644
index 00000000..a34956c5
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/config/pap/logback.xml
@@ -0,0 +1,102 @@
+<!--
+ ============LICENSE_START=======================================================
+ Copyright (C) 2019 Nordix Foundation.
+ Modifications Copyright (C) 2019 AT&T Intellectual Property.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ SPDX-License-Identifier: Apache-2.0
+ ============LICENSE_END=========================================================
+-->
+
+<configuration scan="true" scanPeriod="30 seconds" debug="false">
+
+ <property name="logDir" value="${POLICY_LOGS}" />
+
+ <property name="errorLog" value="error" />
+ <property name="debugLog" value="debug" />
+ <property name="networkLog" value="network" />
+
+ <property name="debugPattern"
+ value="[%d{yyyy-MM-dd'T'HH:mm:ss.SSS+00:00, UTC}|%level|%logger{0}|%thread] %msg%n" />
+ <property name="errorPattern" value="${debugPattern}" />
+ <property name="networkPattern" value="[%d{yyyy-MM-dd'T'HH:mm:ss.SSS+00:00, UTC}|%t]%m%n" />
+
+ <appender name="ErrorOut" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDir}/${errorLog}.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
+ <fileNamePattern>${logDir}/${errorLog}.%d{yyyy-MM-dd}.%i.log.zip
+ </fileNamePattern>
+ <maxFileSize>50MB</maxFileSize>
+ <maxHistory>30</maxHistory>
+ <totalSizeCap>10GB</totalSizeCap>
+ </rollingPolicy>
+ <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+ <level>WARN</level>
+ </filter>
+ <encoder>
+ <pattern>${errorPattern}</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="AsyncErrorOut" class="ch.qos.logback.classic.AsyncAppender">
+ <appender-ref ref="ErrorOut" />
+ </appender>
+
+ <appender name="DebugOut" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDir}/${debugLog}.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
+ <fileNamePattern>${logDir}/${debugLog}.%d{yyyy-MM-dd}.%i.log.zip
+ </fileNamePattern>
+ <maxFileSize>50MB</maxFileSize>
+ <maxHistory>30</maxHistory>
+ <totalSizeCap>10GB</totalSizeCap>
+ </rollingPolicy>
+ <encoder>
+ <pattern>${debugPattern}</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="AsyncDebugOut" class="ch.qos.logback.classic.AsyncAppender">
+ <appender-ref ref="DebugOut" />
+ </appender>
+
+ <appender name="NetworkOut" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDir}/${networkLog}.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
+ <fileNamePattern>${logDir}/${networkLog}.%d{yyyy-MM-dd}.%i.log.zip
+ </fileNamePattern>
+ <maxFileSize>50MB</maxFileSize>
+ <maxHistory>30</maxHistory>
+ <totalSizeCap>10GB</totalSizeCap>
+ </rollingPolicy>
+ <encoder>
+ <pattern>${networkPattern}</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="AsyncNetworkOut" class="ch.qos.logback.classic.AsyncAppender">
+ <appender-ref ref="NetworkOut" />
+ </appender>
+
+ <logger name="network" level="INFO" additivity="false">
+ <appender-ref ref="AsyncNetworkOut" />
+ </logger>
+
+ <logger name="org.eclipse.jetty.server.RequestLog" level="info" additivity="false">
+ <appender-ref ref="AsyncNetworkOut" />
+ </logger>
+
+ <root level="INFO">
+ <appender-ref ref="AsyncDebugOut" />
+ <appender-ref ref="AsyncErrorOut" />
+ </root>
+
+</configuration>
diff --git a/scripts/policy/policy-apex-pdp/config/pap/s3pConfig.json b/scripts/policy/policy-apex-pdp/config/pap/s3pConfig.json
new file mode 100644
index 00000000..3085f45d
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/config/pap/s3pConfig.json
@@ -0,0 +1,11 @@
+{
+ "name": "PapGroup",
+ "restServerParameters": {
+ "host": "0.0.0.0",
+ "port": 6969,
+ "userName": "healthcheck",
+ "password": "zb!XztG34",
+ "https": true,
+ "aaf": false
+ }
+}
diff --git a/scripts/policy/policy-apex-pdp/config/pap/ssl/policy-keystore b/scripts/policy/policy-apex-pdp/config/pap/ssl/policy-keystore
new file mode 100644
index 00000000..bf876b8a
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/config/pap/ssl/policy-keystore
Binary files differ
diff --git a/scripts/policy/policy-apex-pdp/config/pap/ssl/policy-truststore b/scripts/policy/policy-apex-pdp/config/pap/ssl/policy-truststore
new file mode 100644
index 00000000..b7d52ad1
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/config/pap/ssl/policy-truststore
Binary files differ
diff --git a/scripts/policy/policy-apex-pdp/config/pap/topic.properties b/scripts/policy/policy-apex-pdp/config/pap/topic.properties
new file mode 100644
index 00000000..b7df11a8
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/config/pap/topic.properties
@@ -0,0 +1,23 @@
+# ============LICENSE_START=======================================================
+# Copyright (C) 2019 Nordix Foundation.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
+dmaap.source.topics=POLICY-PDP-PAP
+dmaap.sink.topics=POLICY-PDP-PAP
+
+dmaap.source.topics.POLICY-PDP-PAP.servers= dmaap:3904
+dmaap.sink.topics.POLICY-PDP-PAP.servers= dmaap:3904
diff --git a/scripts/policy/policy-apex-pdp/docker-compose-apex.yml b/scripts/policy/policy-apex-pdp/docker-compose-apex.yml
new file mode 100644
index 00000000..9039b894
--- /dev/null
+++ b/scripts/policy/policy-apex-pdp/docker-compose-apex.yml
@@ -0,0 +1,74 @@
+# Copyright (C) 2019 Nordix Foundation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+version: '2'
+networks:
+ default:
+ driver: bridge
+services:
+ mariadb:
+ image: mariadb:10.2.14
+ container_name: mariadb
+ hostname: mariadb
+ command: ['--lower-case-table-names=1', '--wait_timeout=28800']
+ env_file: config/db/db.conf
+ volumes:
+ - ./config/db:/docker-entrypoint-initdb.d
+ ports:
+ - "3306:3306"
+ dmaap:
+ image: dmaap/simulator
+ container_name: dmaap-simulator
+ hostname: dmaap-simulator
+ ports:
+ - "3904:3904"
+ pap:
+ image: nexus3.onap.org:10001/onap/policy-pap:2.0.0-SNAPSHOT-latest
+ container_name: policy-pap
+ depends_on:
+ - mariadb
+ - dmaap
+ hostname: policy-pap
+ volumes:
+ - ./config/pap/:/opt/app/policy/pap/etc/
+ api:
+ image: nexus3.onap.org:10001/onap/policy-api
+ container_name: policy-api
+ depends_on:
+ - mariadb
+ hostname: policy-api
+ apex:
+ image: nexus3.onap.org:10001/onap/policy-apex-pdp:2.1-SNAPSHOT-latest
+ container_name: policy-apex-pdp
+ depends_on:
+ - mariadb
+ - dmaap
+ - pap
+ - api
+ hostname: policy-apex-pdp
+ command: ['/opt/app/policy/apex-pdp/bin/apexOnapPf.sh', '-c', '/opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json', '-p', '/opt/app/policy/apex-pdp/etc/onappf/config/topic.properties']
+ volumes:
+ - ./config/apex-pdp/:/opt/app/policy/apex-pdp/etc/onappf/config/
+ ports:
+ - "6969:6969"
+ - "23324:23324"
+ start_dependencies:
+ image: dadarek/wait-for-dependencies
+ container_name: policy-wait
+ depends_on:
+ - mariadb
+ - dmaap
+ hostname: policy-wait
+ command:
+ - mariadb:3306
+ - dmaap:3904
diff --git a/tests/policy/apex-pdp/apex-pdp-test.robot b/tests/policy/apex-pdp/apex-pdp-test.robot
index f1dea17d..dcdf2d80 100644
--- a/tests/policy/apex-pdp/apex-pdp-test.robot
+++ b/tests/policy/apex-pdp/apex-pdp-test.robot
@@ -6,8 +6,67 @@ Library json
*** Test Cases ***
-Call Apex Policy
- Create Session apexSession http://${APEX_IP}:23324 max_retries=3
+Healthcheck
+ [Documentation] Runs Apex PDP Health check
+ ${auth}= Create List healthcheck zb!XztG34
+ Log Creating session https://${APEX_IP}:6969
+ ${session}= Create Session policy https://${APEX_IP}:6969 auth=${auth}
+ ${headers}= Create Dictionary Accept=application/json Content-Type=application/json
+ ${resp}= Get Request policy /policy/apex-pdp/v1/healthcheck headers=${headers}
+ Log Received response from policy1 ${resp.text}
+ Should Be Equal As Strings ${resp.status_code} 200
+ Should Be Equal As Strings ${resp.json()['code']} 200
+
+ExecuteApexPolicy
+ Wait Until Keyword Succeeds 2 min 5 sec CreateOperationalPolicyType
+ Wait Until Keyword Succeeds 2 min 5 sec CreateNewOperationalPolicy
+ Wait Until Keyword Succeeds 2 min 5 sec DeployOperationalPolicy
+ Wait Until Keyword Succeeds 4 min 10 sec RunEventOnApexEngine
+
+*** Keywords ***
+
+CreateOperationalPolicyType
+ [Documentation] Create Operational Policy Type
+ ${auth}= Create List healthcheck zb!XztG34
+ ${postjson}= Get file ${CURDIR}/data/onap.policies.controlloop.operational.Apex.json
+ Log Creating session https://${POLICY_API_IP}:6969
+ ${session}= Create Session policy https://${POLICY_API_IP}:6969 auth=${auth}
+ ${headers}= Create Dictionary Accept=application/json Content-Type=application/json
+ ${resp}= Post Request policy /policy/api/v1/policytypes data=${postjson} headers=${headers}
+ Log Received response from policy2 ${resp.text}
+ Should Be Equal As Strings ${resp.status_code} 200
+ ${postjsonobject} To Json ${postjson}
+ Dictionary Should Contain Key ${resp.json()} tosca_definitions_version
+ Dictionary Should Contain Key ${postjsonobject} tosca_definitions_version
+
+CreateNewOperationalPolicy
+ [Documentation] Create a new Operational Apex policy
+ ${auth}= Create List healthcheck zb!XztG34
+ ${postjson}= Get file ${CURDIR}/data/onap.policies.controlloop.operational.Apex.tosca.json
+ Log Creating session https://${POLICY_API_IP}:6969
+ ${session}= Create Session policy https://${POLICY_API_IP}:6969 auth=${auth}
+ ${headers}= Create Dictionary Accept=application/json Content-Type=application/json
+ ${resp}= Post Request policy /policy/api/v1/policytypes/onap.policies.controlloop.operational.Apex/versions/1.0.0/policies data=${postjson} headers=${headers}
+ Log Received response from policy4 ${resp.text}
+ ${postjsonobject} To Json ${postjson}
+ Should Be Equal As Strings ${resp.status_code} 200
+ Dictionary Should Contain Key ${resp.json()} tosca_definitions_version
+ Dictionary Should Contain Key ${postjsonobject} tosca_definitions_version
+
+DeployOperationalPolicy
+ [Documentation] Make the PAP to initiate a PDP_UPDATE with policies
+ ${auth}= Create List healthcheck zb!XztG34
+ ${postjson}= Get file ${CURDIR}/data/pdp_update.json
+ Log Creating session https://${POLICY_PAP_IP}:6969
+ ${session}= Create Session policy https://${POLICY_PAP_IP}:6969 auth=${auth}
+ ${headers}= Create Dictionary Accept=application/json Content-Type=application/json
+ ${resp}= Post Request policy /policy/pap/v1/pdps data=${postjson} headers=${headers}
+ Log Received response from policy5 ${resp.text}
+ ${postjsonobject} To Json ${postjson}
+ Should Be Equal As Strings ${resp.status_code} 200
+
+RunEventOnApexEngine
+ Create Session apexSession http://${APEX_IP}:23324 max_retries=1
${data}= Get Binary File ${CURDIR}${/}data${/}event.json
&{headers}= Create Dictionary Content-Type=application/json Accept=application/json
${resp}= Put Request apexSession /apex/FirstConsumer/EventIn data=${data} headers=${headers}
diff --git a/tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.json b/tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.json
new file mode 100644
index 00000000..8795b132
--- /dev/null
+++ b/tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.json
@@ -0,0 +1,284 @@
+{
+ "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
+ "policy_types": [
+ {
+ "onap.policies.controlloop.operational.Apex": {
+ "version": "1.0.0",
+ "description": "Operational Policy for Control Loops using the APEX PDP",
+ "properties": {
+ "engine_service": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.EngineService",
+ "description": "APEX Engine Service Parameters"
+ },
+ "inputs": {
+ "type": "map",
+ "description": "Inputs for handling events coming into the APEX engine",
+ "entry_schema": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.EventHandler"
+ }
+ },
+ "outputs": {
+ "type": "map",
+ "description": "Outputs for handling events going out of the APEX engine",
+ "entry_schema": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.EventHandler"
+ }
+ },
+ "environment": {
+ "type": "list",
+ "description": "Envioronmental parameters for the APEX engine",
+ "entry_schema": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.Environment"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "data_types": [
+ {
+ "onap.datatypes.policies.controlloop.operational.apex.EngineService": {
+ "derived_from": "tosca.datatypes.Root",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Specifies the engine name",
+ "required": false,
+ "default": "ApexEngineService"
+ },
+ "version": {
+ "type": "string",
+ "description": "Specifies the engine version in double dotted format",
+ "required": false,
+ "default": "1.0.0"
+ },
+ "id": {
+ "type": "int",
+ "description": "Specifies the engine id",
+ "required": true
+ },
+ "instance_count": {
+ "type": "int",
+ "description": "Specifies the number of engine threads that should be run",
+ "required": true
+ },
+ "deployment_port": {
+ "type": "int",
+ "description": "Specifies the port to connect to for engine administration",
+ "required": false,
+ "default": 1
+ },
+ "policy_model_file_name": {
+ "type": "string",
+ "description": "The name of the file from which to read the APEX policy model",
+ "required": false,
+ "default": ""
+ },
+ "policy_type_impl": {
+ "type": "string",
+ "description": "The policy type implementation from which to read the APEX policy model",
+ "required": false,
+ "default": ""
+ },
+ "periodic_event_period": {
+ "type": "string",
+ "description": "The time interval in milliseconds for the periodic scanning event, 0 means \"don't scan\"",
+ "required": false,
+ "default": 0
+ },
+ "engine": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.engineservice.Engine",
+ "description": "The parameters for all engines in the APEX engine service",
+ "required": true
+ }
+ }
+ }
+ },
+ {
+ "onap.datatypes.policies.controlloop.operational.apex.EventHandler": {
+ "derived_from": "tosca.datatypes.Root",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Specifies the event handler name, if not specified this is set to the key name",
+ "required": false
+ },
+ "carrier_technology": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.CarrierTechnology",
+ "description": "Specifies the carrier technology of the event handler (such as REST/Web Socket/Kafka)",
+ "required": true
+ },
+ "event_protocol": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.EventProtocol",
+ "description": "Specifies the event protocol of events for the event handler (such as Yaml/JSON/XML/POJO)",
+ "required": true
+ },
+ "event_name": {
+ "type": "string",
+ "description": "Specifies the event name for events on this event handler, if not specified, the event name is read from or written to the event being received or sent",
+ "required": false
+ },
+ "event_name_filter": {
+ "type": "string",
+ "description": "Specifies a filter as a regular expression, events that do not match the filter are dropped, the default is to let all events through",
+ "required": false
+ },
+ "synchronous_mode": {
+ "type": "bool",
+ "description": "Specifies the event handler is syncronous (receive event and send response)",
+ "required": false,
+ "default": false
+ },
+ "synchronous_peer": {
+ "type": "string",
+ "description": "The peer event handler (output for input or input for output) of this event handler in synchronous mode, this parameter is mandatory if the event handler is in synchronous mode",
+ "required": false,
+ "default": ""
+ },
+ "synchronous_timeout": {
+ "type": "int",
+ "description": "The timeout in milliseconds for responses to be issued by APEX torequests, this parameter is mandatory if the event handler is in synchronous mode",
+ "required": false,
+ "default": ""
+ },
+ "requestor_mode": {
+ "type": "bool",
+ "description": "Specifies the event handler is in requestor mode (send event and wait for response mode)",
+ "required": false,
+ "default": false
+ },
+ "requestor_peer": {
+ "type": "string",
+ "description": "The peer event handler (output for input or input for output) of this event handler in requestor mode, this parameter is mandatory if the event handler is in requestor mode",
+ "required": false,
+ "default": ""
+ },
+ "requestor_timeout": {
+ "type": "int",
+ "description": "The timeout in milliseconds for wait for responses to requests, this parameter is mandatory if the event handler is in requestor mode",
+ "required": false,
+ "default": ""
+ }
+ }
+ }
+ },
+ {
+ "onap.datatypes.policies.controlloop.operational.apex.CarrierTechnology": {
+ "derived_from": "tosca.datatypes.Root",
+ "properties": {
+ "label": {
+ "type": "string",
+ "description": "The label (name) of the carrier technology (such as REST, Kafka, WebSocket)",
+ "required": true
+ },
+ "plugin_parameter_class_name": {
+ "type": "string",
+ "description": "The class name of the class that overrides default handling of event input or output for this carrier technology, defaults to the supplied input or output class",
+ "required": false
+ }
+ }
+ }
+ },
+ {
+ "onap.datatypes.policies.controlloop.operational.apex.EventProtocol": {
+ "derived_from": "tosca.datatypes.Root",
+ "properties": {
+ "label": {
+ "type": "string",
+ "description": "The label (name) of the event protocol (such as Yaml, JSON, XML, or POJO)",
+ "required": true
+ },
+ "event_protocol_plugin_class": {
+ "type": "string",
+ "description": "The class name of the class that overrides default handling of the event protocol for this carrier technology, defaults to the supplied event protocol class",
+ "required": false
+ }
+ }
+ }
+ },
+ {
+ "onap.datatypes.policies.controlloop.operational.apex.Environmental": {
+ "derived_from": "tosca.datatypes.Root",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the environment variable",
+ "required": true
+ },
+ "value": {
+ "type": "string",
+ "description": "The value of the environment variable",
+ "required": true
+ }
+ }
+ }
+ },
+ {
+ "onap.datatypes.policies.controlloop.operational.apex.engineservice.Engine": {
+ "derived_from": "tosca.datatypes.Root",
+ "properties": {
+ "context": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.engineservice.engine.Context",
+ "description": "The properties for handling context in APEX engines, defaults to using Java maps for context",
+ "required": false
+ },
+ "executors": {
+ "type": "map",
+ "description": "The plugins for policy executors used in engines such as javascript, MVEL, Jython",
+ "required": true,
+ "entry_schema": {
+ "description": "The plugin class path for this policy executor",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "onap.datatypes.policies.controlloop.operational.apex.engineservice.engine.Context": {
+ "derived_from": "tosca.datatypes.Root",
+ "properties": {
+ "distributor": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.Plugin",
+ "description": "The plugin to be used for distributing context between APEX PDPs at runtime",
+ "required": false
+ },
+ "schemas": {
+ "type": "map",
+ "description": "The plugins for context schemas available in APEX PDPs such as Java and Avro",
+ "required": false,
+ "entry_schema": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.Plugin"
+ }
+ },
+ "locking": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.plugin",
+ "description": "The plugin to be used for locking context in and between APEX PDPs at runtime",
+ "required": false
+ },
+ "persistence": {
+ "type": "onap.datatypes.policies.controlloop.operational.apex.Plugin",
+ "description": "The plugin to be used for persisting context for APEX PDPs at runtime",
+ "required": false
+ }
+ }
+ }
+ },
+ {
+ "onap.datatypes.policies.controlloop.operational.apex.Plugin": {
+ "derived_from": "tosca.datatypes.Root",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the executor such as Javascript, Jython or MVEL",
+ "required": true
+ },
+ "plugin_class_name": {
+ "type": "string",
+ "description": "The class path of the plugin class for this executor"
+ }
+ }
+ }
+ }
+ ]
+} \ No newline at end of file
diff --git a/tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.tosca.json b/tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.tosca.json
new file mode 100644
index 00000000..3d096433
--- /dev/null
+++ b/tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.tosca.json
@@ -0,0 +1,68 @@
+{
+ "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
+ "topology_template": {
+ "policies": [
+ {
+ "operational.sampledomain": {
+ "type": "onap.policies.controlloop.operational.Apex",
+ "type_version": "1.0.0",
+ "derived_from": "tosca.policies.Root",
+ "name": "onap.policies.controlloop.Operational.apex.sampledomain",
+ "version": "1.0.0",
+ "properties": {
+ "content": {
+ "engineServiceParameters": {
+ "name": "MyApexEngine",
+ "version": "0.0.1",
+ "id": 45,
+ "instanceCount": 4,
+ "deploymentPort": 12561,
+ "policy_type_impl": "{\r\n \"apexPolicyModel\" : {\r\n \"key\" : {\r\n \"name\" : \"SamplePolicyModelJAVASCRIPT\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"keyInformation\" : {\r\n \"key\" : {\r\n \"name\" : \"KeyInformation\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"keyInfoMap\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Context\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Context\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"ca36bfd8-6042-3633-8c85-89c66507c3bf\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Context:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0000\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0000\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"465a81cc-885f-3a4d-bc4e-1508da92b236\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Event0000:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0001\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0001\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"36b2d570-fff7-3a4b-bab2-6bf492f5129a\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Event0001:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0002\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0002\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"ff6160a7-fb5e-379c-a6d2-2cd28053eacf\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Event0002:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0003\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0003\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"5899e216-2abf-3781-abc4-2c257b92721e\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Event0003:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0004\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0004\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"7c2692a7-4587-3d09-abf9-d96b339a316f\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Event0004:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0100\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0100\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Event0100:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0101\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0101\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"edbfa868-2ab2-30fd-8078-4c7f67ca6122\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Event0101:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0102\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0102\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Event0102:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0103\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0103\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"c2550912-10d9-3000-8826-377288cd6cb1\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Event0103:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0104\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0104\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"f6d75b71-c8a7-3337-a121-88d68c389f5a\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Event0104:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Events\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Events\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"0215644c-4531-375c-8335-d558b4de8c03\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Events:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"976a79e7-5c80-3c03-9503-da3f41fec395\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"ExternalContextAlbum:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"GlobalContextAlbum:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"KeyInformation\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"KeyInformation\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"1ff2f905-685c-3caf-95bc-0bbc90345888\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"KeyInformation:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Policies\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Policies\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"f54c3b2b-be76-31c4-adfc-87c494c06808\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Policies:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Policy0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Policy0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"3410e939-30ca-32c4-a2d8-c30b6fee6eec\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Policy0:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"e27564c4-3cbf-3db2-9bf3-83ae80a2f907\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Policy0ContextAlbum:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Policy1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Policy1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"d0b2b585-f344-33b8-af9e-250e7f4cfbce\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Policy1:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Policy1ContextAlbum:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"SamplePolicyModelJAVASCRIPT\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"SamplePolicyModelJAVASCRIPT\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"bc8ee312-81ce-3c4a-92d5-4a73b8077148\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"SamplePolicyModelJAVASCRIPT:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Act0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"0589ff20-adcc-3ce5-95fe-8d7978ed54ed\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Act0:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Act1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"095b126d-ca8b-32c9-ad52-d744e817a79c\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Act1:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Act2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"3d786b4c-d9ee-3367-ab71-c67271a4ea2f\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Act2:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Act3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"9231753e-20c5-3436-982f-9100340cc570\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Act3:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"502383d3-483f-3a56-a426-2f0406674c8d\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Decide0:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Decide1:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"ad3a89f5-e369-3c66-b22c-669f7b3653b8\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Decide2:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"56815939-1164-3867-9ed1-0a27ff8aafb3\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Decide3:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"0db0c566-ecd7-3e27-9865-4b82c893abdb\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Establish0:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Establish1:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Establish2:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Establish3:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Match0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"051bcfd5-cf73-3c89-8ee7-ea6e005ec059\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Match0:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Match1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"3754fe19-98f2-34a1-9f45-db31052208d8\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Match1:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Match2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"8c200709-a180-3c8b-916f-275ff49ce194\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Match2:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Match3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"a1a879c6-4510-33b0-bbd0-ad6256189a37\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Task_Match3:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Tasks\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Tasks\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"a7fab96b-ce1c-37ce-bbb2-556b6db524a5\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"Tasks:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"0a652886-c88d-3f8c-8994-ae9161e7c963\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestCase:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem000\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem000\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"8efba9fa-371e-33df-a7d6-88b0284e7fd0\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem000:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem001\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem001\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"3740077c-a2b3-356b-81dc-5ded2118a951\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem001:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem002\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem002\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"b5c7df95-9af5-322f-9ea8-eb440a2bf926\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem002:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem003\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem003\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem003:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem004\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem004\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"093cda11-eaeb-3a46-a5b6-d5e30c00935b\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem004:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem005\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem005\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"569a758d-ba40-37c0-aebb-7ad138df25ac\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem005:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem006\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem006\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"252818d9-b61f-3962-a905-8865fb00fb04\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem006:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem007\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem007\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"fe1a5f7c-c083-377b-a797-752b01fc6c73\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem007:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem008\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem008\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"aa87d007-d07e-3f67-8c6d-0ebc3d85479d\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem008:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem009\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem009\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"126e7a3a-11b6-3f88-9397-c21d8819f859\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem009:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00A\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00A\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem00A:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00B\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00B\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem00B:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00C\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00C\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"32a2f355-77f3-3b25-ace6-7a9c5763a5ad\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestContextItem00C:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestDatatypes\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestDatatypes\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"3f95472c-973e-30e2-95f1-bf00cbef909a\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestDatatypes:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestExternalContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestExternalContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"610dbbd4-9149-3b3c-9af4-819056f0e169\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestExternalContextItem:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestGlobalContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestGlobalContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"07fa8f68-55f1-3fd0-81c1-749a379753a7\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestGlobalContextItem:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestPolicyContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestPolicyContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"d9c93cd1-539e-35c5-aaec-bb711ceb1251\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestPolicyContextItem:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"683fe492-7eae-3ac7-9924-bb7850208d05\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestSlogan:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestTemperature:0.0.1\\\"\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"UUID\" : \"97b73937-c344-33c0-924c-4d26b6449564\",\r\n \"description\" : \"Generated description for concept referred to by key \\\"TestTimestamp:0.0.1\\\"\"\r\n }\r\n } ]\r\n }\r\n },\r\n \"policies\" : {\r\n \"key\" : {\r\n \"name\" : \"Policies\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"policyMap\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Policy0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"policyKey\" : {\r\n \"name\" : \"Policy0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"template\" : \"MEDA\",\r\n \"state\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Act\",\r\n \"value\" : {\r\n \"stateKey\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Act\"\r\n },\r\n \"trigger\" : {\r\n \"name\" : \"Event0003\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"stateOutputs\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Act_NULL\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Act_NULL\"\r\n },\r\n \"outgoingEvent\" : {\r\n \"name\" : \"Event0004\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nextState\" : {\r\n \"parentKeyName\" : \"NULL\",\r\n \"parentKeyVersion\" : \"0.0.0\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"NULL\"\r\n }\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskSelectionLogic\" : {\r\n \"key\" : \"TaskSelectionLigic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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\\nvar returnValue = executor.isTrue;\"\r\n },\r\n \"stateFinalizerLogicMap\" : {\r\n \"entry\" : [ ]\r\n },\r\n \"defaultTask\" : {\r\n \"name\" : \"Task_Act1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"taskReferences\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Task_Act0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Task_Act0_DIRECT_Act_NULL\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Act_NULL\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Task_Act1_DIRECT_Act_NULL\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Act_NULL\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Task_Act2_DIRECT_Act_NULL\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Act_NULL\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Task_Act3_DIRECT_Act_NULL\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Act_NULL\"\r\n }\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : \"Decide\",\r\n \"value\" : {\r\n \"stateKey\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Decide\"\r\n },\r\n \"trigger\" : {\r\n \"name\" : \"Event0002\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"stateOutputs\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Decide_Act\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Decide_Act\"\r\n },\r\n \"outgoingEvent\" : {\r\n \"name\" : \"Event0003\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nextState\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Act\"\r\n }\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskSelectionLogic\" : {\r\n \"key\" : \"TaskSelectionLigic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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\\nvar returnValue = executor.isTrue;\"\r\n },\r\n \"stateFinalizerLogicMap\" : {\r\n \"entry\" : [ ]\r\n },\r\n \"defaultTask\" : {\r\n \"name\" : \"Task_Decide3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"taskReferences\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Task_Decide0_DIRECT_Decide_Act\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Decide_Act\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Task_Decide1_DIRECT_Decide_Act\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Decide_Act\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Task_Decide2_DIRECT_Decide_Act\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Decide_Act\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Task_Decide3_DIRECT_Decide_Act\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Decide_Act\"\r\n }\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : \"Establish\",\r\n \"value\" : {\r\n \"stateKey\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Establish\"\r\n },\r\n \"trigger\" : {\r\n \"name\" : \"Event0001\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"stateOutputs\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Establish_Decide\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Establish_Decide\"\r\n },\r\n \"outgoingEvent\" : {\r\n \"name\" : \"Event0002\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nextState\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Decide\"\r\n }\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskSelectionLogic\" : {\r\n \"key\" : \"TaskSelectionLigic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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\\nvar returnValue = executor.isTrue;\"\r\n },\r\n \"stateFinalizerLogicMap\" : {\r\n \"entry\" : [ ]\r\n },\r\n \"defaultTask\" : {\r\n \"name\" : \"Task_Establish2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"taskReferences\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Task_Establish0_DIRECT_Establish_Decide\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Establish_Decide\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Task_Establish1_DIRECT_Establish_Decide\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Establish_Decide\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Task_Establish2_DIRECT_Establish_Decide\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Establish_Decide\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Task_Establish3_DIRECT_Establish_Decide\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Establish_Decide\"\r\n }\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : \"Match\",\r\n \"value\" : {\r\n \"stateKey\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Match\"\r\n },\r\n \"trigger\" : {\r\n \"name\" : \"Event0000\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"stateOutputs\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Match_Establish\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Match_Establish\"\r\n },\r\n \"outgoingEvent\" : {\r\n \"name\" : \"Event0001\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nextState\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Establish\"\r\n }\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskSelectionLogic\" : {\r\n \"key\" : \"TaskSelectionLigic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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\\nvar returnValue = executor.isTrue;\"\r\n },\r\n \"stateFinalizerLogicMap\" : {\r\n \"entry\" : [ ]\r\n },\r\n \"defaultTask\" : {\r\n \"name\" : \"Task_Match0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"taskReferences\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Task_Match0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Task_Match0_DIRECT_Match_Establish\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Match_Establish\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Task_Match1_DIRECT_Match_Establish\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Match_Establish\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Task_Match2_DIRECT_Match_Establish\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Match_Establish\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Task_Match3_DIRECT_Match_Establish\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Match_Establish\"\r\n }\r\n }\r\n } ]\r\n }\r\n }\r\n } ]\r\n },\r\n \"firstState\" : \"Match\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Policy1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"policyKey\" : {\r\n \"name\" : \"Policy1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"template\" : \"MEDA\",\r\n \"state\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Act\",\r\n \"value\" : {\r\n \"stateKey\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Act\"\r\n },\r\n \"trigger\" : {\r\n \"name\" : \"Event0103\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"stateOutputs\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Act_NULL\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Act_NULL\"\r\n },\r\n \"outgoingEvent\" : {\r\n \"name\" : \"Event0104\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nextState\" : {\r\n \"parentKeyName\" : \"NULL\",\r\n \"parentKeyVersion\" : \"0.0.0\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"NULL\"\r\n }\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskSelectionLogic\" : {\r\n \"key\" : \"TaskSelectionLigic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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\\nvar returnValue = executor.isTrue;\"\r\n },\r\n \"stateFinalizerLogicMap\" : {\r\n \"entry\" : [ ]\r\n },\r\n \"defaultTask\" : {\r\n \"name\" : \"Task_Act0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"taskReferences\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Task_Act0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Task_Act0_DIRECT_Act_NULL\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Act_NULL\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Task_Act1_DIRECT_Act_NULL\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Act_NULL\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Task_Act2_DIRECT_Act_NULL\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Act_NULL\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Task_Act3_DIRECT_Act_NULL\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Act\",\r\n \"localName\" : \"Act_NULL\"\r\n }\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : \"Decide\",\r\n \"value\" : {\r\n \"stateKey\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Decide\"\r\n },\r\n \"trigger\" : {\r\n \"name\" : \"Event0102\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"stateOutputs\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Decide_Act\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Decide_Act\"\r\n },\r\n \"outgoingEvent\" : {\r\n \"name\" : \"Event0103\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nextState\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Act\"\r\n }\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskSelectionLogic\" : {\r\n \"key\" : \"TaskSelectionLigic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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\\nvar returnValue = executor.isTrue;\"\r\n },\r\n \"stateFinalizerLogicMap\" : {\r\n \"entry\" : [ ]\r\n },\r\n \"defaultTask\" : {\r\n \"name\" : \"Task_Decide3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"taskReferences\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Task_Decide0_DIRECT_Decide_Act\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Decide_Act\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Task_Decide1_DIRECT_Decide_Act\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Decide_Act\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Task_Decide2_DIRECT_Decide_Act\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Decide_Act\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Task_Decide3_DIRECT_Decide_Act\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Decide\",\r\n \"localName\" : \"Decide_Act\"\r\n }\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : \"Establish\",\r\n \"value\" : {\r\n \"stateKey\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Establish\"\r\n },\r\n \"trigger\" : {\r\n \"name\" : \"Event0101\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"stateOutputs\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Establish_Decide\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Establish_Decide\"\r\n },\r\n \"outgoingEvent\" : {\r\n \"name\" : \"Event0102\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nextState\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Decide\"\r\n }\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskSelectionLogic\" : {\r\n \"key\" : \"TaskSelectionLigic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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\\nvar returnValue = executor.isTrue;\"\r\n },\r\n \"stateFinalizerLogicMap\" : {\r\n \"entry\" : [ ]\r\n },\r\n \"defaultTask\" : {\r\n \"name\" : \"Task_Establish1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"taskReferences\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Task_Establish0_DIRECT_Establish_Decide\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Establish_Decide\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Task_Establish1_DIRECT_Establish_Decide\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Establish_Decide\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Task_Establish2_DIRECT_Establish_Decide\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Establish_Decide\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Task_Establish3_DIRECT_Establish_Decide\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Establish\",\r\n \"localName\" : \"Establish_Decide\"\r\n }\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : \"Match\",\r\n \"value\" : {\r\n \"stateKey\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Match\"\r\n },\r\n \"trigger\" : {\r\n \"name\" : \"Event0100\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"stateOutputs\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Match_Establish\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Match_Establish\"\r\n },\r\n \"outgoingEvent\" : {\r\n \"name\" : \"Event0101\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nextState\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Establish\"\r\n }\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskSelectionLogic\" : {\r\n \"key\" : \"TaskSelectionLigic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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\\nvar returnValue = executor.isTrue;\"\r\n },\r\n \"stateFinalizerLogicMap\" : {\r\n \"entry\" : [ ]\r\n },\r\n \"defaultTask\" : {\r\n \"name\" : \"Task_Match3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"taskReferences\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Task_Match0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Task_Match0_DIRECT_Match_Establish\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Match_Establish\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Task_Match1_DIRECT_Match_Establish\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Match_Establish\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Task_Match2_DIRECT_Match_Establish\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Match_Establish\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Task_Match3_DIRECT_Match_Establish\"\r\n },\r\n \"outputType\" : \"DIRECT\",\r\n \"output\" : {\r\n \"parentKeyName\" : \"Policy1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"Match\",\r\n \"localName\" : \"Match_Establish\"\r\n }\r\n }\r\n } ]\r\n }\r\n }\r\n } ]\r\n },\r\n \"firstState\" : \"Match\"\r\n }\r\n } ]\r\n }\r\n },\r\n \"tasks\" : {\r\n \"key\" : {\r\n \"name\" : \"Tasks\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"taskMap\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Task_Act0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Act0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestActStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestActStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Act0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter1\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Act0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter1\"\r\n },\r\n \"defaultValue\" : \"DefaultValue1\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter2\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Act0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter2\"\r\n },\r\n \"defaultValue\" : \"DefaultValue2\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestActCaseSelected\\\", new caseSelectedType(2));\\n\\nexecutor.outFields.put(\\\"TestActStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Act1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestActStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestActStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Act1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter1\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Act1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter1\"\r\n },\r\n \"defaultValue\" : \"DefaultValue1\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestActCaseSelected\\\", new caseSelectedType(3));\\n\\nexecutor.outFields.put(\\\"TestActStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Act2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestActStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestActStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Act2\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestActCaseSelected\\\", new caseSelectedType(0));\\n\\nexecutor.outFields.put(\\\"TestActStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Act3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Act3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestActStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestActStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Act3\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestActCaseSelected\\\", new caseSelectedType(1));\\n\\nexecutor.outFields.put(\\\"TestActStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Decide0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter1\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Decide0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter1\"\r\n },\r\n \"defaultValue\" : \"DefaultValue1\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter2\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Decide0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter2\"\r\n },\r\n \"defaultValue\" : \"DefaultValue2\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestDecideCaseSelected\\\", new caseSelectedType(2));\\n\\nexecutor.outFields.put(\\\"TestDecideStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Decide1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter1\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Decide1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter1\"\r\n },\r\n \"defaultValue\" : \"DefaultValue1\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestDecideCaseSelected\\\", new caseSelectedType(3));\\n\\nexecutor.outFields.put(\\\"TestDecideStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Decide2\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestDecideCaseSelected\\\", new caseSelectedType(0));\\n\\nexecutor.outFields.put(\\\"TestDecideStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Decide3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Decide3\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestDecideCaseSelected\\\", new caseSelectedType(1));\\n\\nexecutor.outFields.put(\\\"TestDecideStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Establish0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter1\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Establish0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter1\"\r\n },\r\n \"defaultValue\" : \"DefaultValue1\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter2\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Establish0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter2\"\r\n },\r\n \"defaultValue\" : \"DefaultValue2\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestEstablishCaseSelected\\\", new caseSelectedType(2));\\n\\nexecutor.outFields.put(\\\"TestEstablishStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Establish1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter1\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Establish1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter1\"\r\n },\r\n \"defaultValue\" : \"DefaultValue1\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestEstablishCaseSelected\\\", new caseSelectedType(3));\\n\\nexecutor.outFields.put(\\\"TestEstablishStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Establish2\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestEstablishCaseSelected\\\", new caseSelectedType(0));\\n\\nexecutor.outFields.put(\\\"TestEstablishStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Establish3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Establish3\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestEstablishCaseSelected\\\", new caseSelectedType(1));\\n\\nexecutor.outFields.put(\\\"TestEstablishStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Match0\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Match0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter1\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Match0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter1\"\r\n },\r\n \"defaultValue\" : \"DefaultValue1\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter2\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Match0\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter2\"\r\n },\r\n \"defaultValue\" : \"DefaultValue2\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestMatchCaseSelected\\\", new caseSelectedType(2));\\n\\nexecutor.outFields.put(\\\"TestMatchStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Match1\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Match1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n }, {\r\n \"key\" : \"Parameter1\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Match1\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter1\"\r\n },\r\n \"defaultValue\" : \"DefaultValue1\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestMatchCaseSelected\\\", new caseSelectedType(3));\\n\\nexecutor.outFields.put(\\\"TestMatchStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Match2\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Match2\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestMatchCaseSelected\\\", new caseSelectedType(0));\\n\\nexecutor.outFields.put(\\\"TestMatchStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Task_Match3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Task_Match3\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"inputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"outputFields\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n },\r\n \"taskParameters\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"Parameter0\",\r\n \"value\" : {\r\n \"key\" : {\r\n \"parentKeyName\" : \"Task_Match3\",\r\n \"parentKeyVersion\" : \"0.0.1\",\r\n \"parentLocalName\" : \"NULL\",\r\n \"localName\" : \"Parameter0\"\r\n },\r\n \"defaultValue\" : \"DefaultValue0\"\r\n }\r\n } ]\r\n },\r\n \"contextAlbumReference\" : [ {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n }, {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n } ],\r\n \"taskLogic\" : {\r\n \"key\" : \"_TaskLogic\",\r\n \"logicFlavour\" : \"JAVASCRIPT\",\r\n \"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.type(\\\"java.lang.Byte\\\");\\nexecutor.outFields.put(\\\"TestMatchCaseSelected\\\", new caseSelectedType(1));\\n\\nexecutor.outFields.put(\\\"TestMatchStateTime\\\", java.lang.System.nanoTime());\\nexecutor.logger.debug(executor.eo);\\n\\nvar returnValue = executor.isTrue;\"\r\n }\r\n }\r\n } ]\r\n }\r\n },\r\n \"events\" : {\r\n \"key\" : {\r\n \"name\" : \"Events\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"eventMap\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"Event0000\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0000\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nameSpace\" : \"org.onap.policy.apex.sample.events\",\r\n \"source\" : \"Outside\",\r\n \"target\" : \"Match\",\r\n \"parameter\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0001\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0001\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nameSpace\" : \"org.onap.policy.apex.sample.events\",\r\n \"source\" : \"Match\",\r\n \"target\" : \"Establish\",\r\n \"parameter\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0002\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0002\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nameSpace\" : \"org.onap.policy.apex.sample.events\",\r\n \"source\" : \"Establish\",\r\n \"target\" : \"Decide\",\r\n \"parameter\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0003\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0003\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nameSpace\" : \"org.onap.policy.apex.sample.events\",\r\n \"source\" : \"Decide\",\r\n \"target\" : \"Act\",\r\n \"parameter\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0004\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0004\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nameSpace\" : \"org.onap.policy.apex.sample.events\",\r\n \"source\" : \"Act\",\r\n \"target\" : \"Outside\",\r\n \"parameter\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestActStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestActStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0100\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0100\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nameSpace\" : \"org.onap.policy.apex.sample.events\",\r\n \"source\" : \"Outside\",\r\n \"target\" : \"Match\",\r\n \"parameter\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0101\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0101\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nameSpace\" : \"org.onap.policy.apex.sample.events\",\r\n \"source\" : \"Match\",\r\n \"target\" : \"Establish\",\r\n \"parameter\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0102\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0102\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nameSpace\" : \"org.onap.policy.apex.sample.events\",\r\n \"source\" : \"Establish\",\r\n \"target\" : \"Decide\",\r\n \"parameter\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0103\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0103\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nameSpace\" : \"org.onap.policy.apex.sample.events\",\r\n \"source\" : \"Decide\",\r\n \"target\" : \"Act\",\r\n \"parameter\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Event0104\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Event0104\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"nameSpace\" : \"org.onap.policy.apex.sample.events\",\r\n \"source\" : \"Act\",\r\n \"target\" : \"Outside\",\r\n \"parameter\" : {\r\n \"entry\" : [ {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestActCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestActStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestActStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestDecideStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestEstablishStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCase\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCase\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchCaseSelected\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"value\" : {\r\n \"key\" : \"TestMatchStateTime\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestSlogan\",\r\n \"value\" : {\r\n \"key\" : \"TestSlogan\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTemperature\",\r\n \"value\" : {\r\n \"key\" : \"TestTemperature\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n }, {\r\n \"key\" : \"TestTimestamp\",\r\n \"value\" : {\r\n \"key\" : \"TestTimestamp\",\r\n \"fieldSchemaKey\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"optional\" : false\r\n }\r\n } ]\r\n }\r\n }\r\n } ]\r\n }\r\n },\r\n \"albums\" : {\r\n \"key\" : {\r\n \"name\" : \"Context\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"albums\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"ExternalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"scope\" : \"EXTERNAL\",\r\n \"isWritable\" : false,\r\n \"itemSchema\" : {\r\n \"name\" : \"TestExternalContextItem\",\r\n \"version\" : \"0.0.1\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"GlobalContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"scope\" : \"GLOBAL\",\r\n \"isWritable\" : true,\r\n \"itemSchema\" : {\r\n \"name\" : \"TestGlobalContextItem\",\r\n \"version\" : \"0.0.1\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Policy0ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"scope\" : \"APPLICATION\",\r\n \"isWritable\" : true,\r\n \"itemSchema\" : {\r\n \"name\" : \"TestPolicyContextItem\",\r\n \"version\" : \"0.0.1\"\r\n }\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"Policy1ContextAlbum\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"scope\" : \"APPLICATION\",\r\n \"isWritable\" : true,\r\n \"itemSchema\" : {\r\n \"name\" : \"TestPolicyContextItem\",\r\n \"version\" : \"0.0.1\"\r\n }\r\n }\r\n } ]\r\n }\r\n },\r\n \"schemas\" : {\r\n \"key\" : {\r\n \"name\" : \"TestDatatypes\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemas\" : {\r\n \"entry\" : [ {\r\n \"key\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestCase\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"java.lang.Byte\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem000\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem000\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem000\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem001\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem001\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem001\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem002\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem002\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem002\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem003\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem003\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem003\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem004\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem004\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem004\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem005\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem005\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem005\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem006\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem006\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem006\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem007\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem007\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem007\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem008\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem008\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem008\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem009\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem009\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem009\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00A\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00A\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem00A\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00B\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00B\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem00B\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00C\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestContextItem00C\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestContextItem00C\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestExternalContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestExternalContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestExternalContextItem\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestGlobalContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestGlobalContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestPolicyContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestPolicyContextItem\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestSlogan\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"java.lang.String\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestTemperature\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"java.lang.Double\"\r\n }\r\n }, {\r\n \"key\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"value\" : {\r\n \"key\" : {\r\n \"name\" : \"TestTimestamp\",\r\n \"version\" : \"0.0.1\"\r\n },\r\n \"schemaFlavour\" : \"Java\",\r\n \"schemaDefinition\" : \"java.lang.Long\"\r\n }\r\n } ]\r\n }\r\n }\r\n }\r\n}",
+ "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
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+}
diff --git a/tests/policy/apex-pdp/data/pdp_update.json b/tests/policy/apex-pdp/data/pdp_update.json
new file mode 100644
index 00000000..95dbf13f
--- /dev/null
+++ b/tests/policy/apex-pdp/data/pdp_update.json
@@ -0,0 +1,117 @@
+{
+ "groups": [
+ {
+ "name": "defaultGroup",
+ "description": "The default group that registers all supported policy types and pdps.",
+ "pdpGroupState": "ACTIVE",
+ "properties": {},
+ "pdpSubgroups": [
+ {
+ "pdpType": "apex",
+ "supportedPolicyTypes": [
+ {
+ "name": "onap.policies.controlloop.operational.Apex",
+ "version": "1.0.0"
+ }
+ ],
+ "policies": [{
+ "name": "onap.policies.controlloop.Operational.apex.sampledomain",
+ "version": "1.0.0"
+ }],
+ "currentInstanceCount": 1,
+ "desiredInstanceCount": 1,
+ "properties": {},
+ "pdpInstances": []
+ },
+ {
+ "pdpType": "drools",
+ "supportedPolicyTypes": [
+ {
+ "name": "onap.policies.controlloop.Operational",
+ "version": "1.0.0"
+ }
+ ],
+ "policies": [],
+ "currentInstanceCount": 0,
+ "desiredInstanceCount": 1,
+ "properties": {},
+ "pdpInstances": []
+ },
+ {
+ "pdpType": "xacml",
+ "supportedPolicyTypes": [
+ {
+ "name": "onap.policies.controlloop.guard.FrequencyLimiter",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.controlloop.guard.MinMax",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.controlloop.guard.Blacklist",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.controlloop.guard.coordination.FirstBlocksSecond",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.Monitoring",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.optimization.AffinityPolicy",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.optimization.DistancePolicy",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.optimization.HpaPolicy",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.optimization.OptimizationPolicy",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.optimization.PciPolicy",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.optimization.QueryPolicy",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.optimization.SubscriberPolicy",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.optimization.Vim_fit",
+ "version": "1.0.0"
+ },
+ {
+ "name": "onap.policies.optimization.VnfPolicy",
+ "version": "1.0.0"
+ }
+ ],
+ "policies": [],
+ "currentInstanceCount": 0,
+ "desiredInstanceCount": 1,
+ "properties": {},
+ "pdpInstances": []
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file