Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/docker/+/137365 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-9420 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-i7tM8g7vpuRD/agent.2156 SSH_AGENT_PID=2158 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp@tmp/private_key_4474521464155600277.key (/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp@tmp/private_key_4474521464155600277.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git refs/changes/65/137365/2 # timeout=30 > git rev-parse b15eda6e03133862f071a6dc0127c3bc660aad1f^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision b15eda6e03133862f071a6dc0127c3bc660aad1f (refs/changes/65/137365/2) > git config core.sparsecheckout # timeout=10 > git checkout -f b15eda6e03133862f071a6dc0127c3bc660aad1f # timeout=30 Commit message: "Add ACM regression test suite" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk fbfc234895c48282e2e92b44c8c8b49745e81745 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins12226611584902350279.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-c9m6 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-c9m6/bin to PATH Generating Requirements File ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.10.6 pip 24.0 from /tmp/venv-c9m6/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.51 botocore==1.34.51 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.4.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/sh /tmp/jenkins14623656460321315338.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/sh -xe /tmp/jenkins11758118517179887774.sh + /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/run-project-csit.sh apex-pdp + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/scripts:/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/scripts:/bin + export SCRIPTS=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts + SCRIPTS=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=apex-pdp + PROJECT=apex-pdp + cd /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp + rm -rf /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/archives/apex-pdp + mkdir -p /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/archives/apex-pdp + source_safely /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.D4Y8yQDF57 ++ echo ROBOT_VENV=/tmp/tmp.D4Y8yQDF57 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.D4Y8yQDF57 ++ source /tmp/tmp.D4Y8yQDF57/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.D4Y8yQDF57 +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/scripts:/bin +++ PATH=/tmp/tmp.D4Y8yQDF57/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.D4Y8yQDF57) ' '!=' x ']' +++ PS1='(tmp.D4Y8yQDF57) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.D4Y8yQDF57/src/onap ++ rm -rf /tmp/tmp.D4Y8yQDF57/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Installing python confluent-kafka library' Installing python confluent-kafka library ++ python3 -m pip install -qq confluent-kafka ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 confluent-kafka==2.3.0 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.D4Y8yQDF57/bin/activate + '[' -z /tmp/tmp.D4Y8yQDF57/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.D4Y8yQDF57/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/scripts:/bin ']' ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/scripts:/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/tmp.D4Y8yQDF57 ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/scripts:/bin ++ PATH=/tmp/tmp.D4Y8yQDF57/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.D4Y8yQDF57) ' ++ '[' 'x(tmp.D4Y8yQDF57) ' '!=' x ']' ++ PS1='(tmp.D4Y8yQDF57) (tmp.D4Y8yQDF57) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.SyOmmCuGnM + cd /tmp/tmp.SyOmmCuGnM + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh + '[' -f /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh ']' + echo 'Running setup script /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh' Running setup script /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh + source_safely /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh ++ source /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-pap.sh +++ source /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/node-templates.sh ++++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' +++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/.gitreview ++++ GERRIT_BRANCH=master ++++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master ++++ rm -rf /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models ++++ mkdir /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models ++++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models Cloning into '/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models'... ++++ export DATA=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies ++++ DATA=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies ++++ export NODETEMPLATES=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/nodetemplates ++++ NODETEMPLATES=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/nodetemplates ++++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ source /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose/start-compose.sh apex-pdp --grafana ++++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' ++++ COMPOSE_FOLDER=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose ++++ grafana=false ++++ gui=false ++++ [[ 2 -gt 0 ]] ++++ key=apex-pdp ++++ case $key in ++++ echo apex-pdp apex-pdp ++++ component=apex-pdp ++++ shift ++++ [[ 1 -gt 0 ]] ++++ key=--grafana ++++ case $key in ++++ grafana=true ++++ shift ++++ [[ 0 -gt 0 ]] ++++ cd /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose ++++ echo 'Configuring docker compose...' Configuring docker compose... ++++ source export-ports.sh ++++ source get-versions.sh ++++ '[' -z apex-pdp ']' ++++ '[' -n apex-pdp ']' ++++ '[' apex-pdp == logs ']' ++++ '[' true = true ']' ++++ echo 'Starting apex-pdp application with Grafana' Starting apex-pdp application with Grafana ++++ docker-compose up -d apex-pdp grafana Creating network "compose_default" with the default driver Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling simulator (nexus3.onap.org:10001/onap/policy-models-simulator:3.1.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-models-simulator Digest: sha256:5772a5c551b30d73f901debb8dc38f305559b920e248a9ccb1dba3b880278a13 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-models-simulator:3.1.2-SNAPSHOT Pulling zookeeper (confluentinc/cp-zookeeper:latest)... latest: Pulling from confluentinc/cp-zookeeper Digest: sha256:9babd1c0beaf93189982bdbb9fe4bf194a2730298b640c057817746c19838866 Status: Downloaded newer image for confluentinc/cp-zookeeper:latest Pulling kafka (confluentinc/cp-kafka:latest)... latest: Pulling from confluentinc/cp-kafka Digest: sha256:24cdd3a7fa89d2bed150560ebea81ff1943badfa61e51d66bb541a6b0d7fb047 Status: Downloaded newer image for confluentinc/cp-kafka:latest Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:59b5cc74cb5bbcb86c2e85d974415cfa4a6270c5728a7a489a5c6eece42f2b45 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:71cc3c3555fddbd324c5ddec27e24db340b82732d2f6ce50eddcfdf6715a7ab2 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT Pulling pap (nexus3.onap.org:10001/onap/policy-pap:3.1.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-pap Digest: sha256:448850bc9066413f6555e9c62d97da12eaa2c454a1304262987462aae46f4676 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-pap:3.1.2-SNAPSHOT Pulling apex-pdp (nexus3.onap.org:10001/onap/policy-apex-pdp:3.1.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-apex-pdp Digest: sha256:8670bcaff746ebc196cef9125561eb167e1e65c7e2f8d374c0d8834d57564da4 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-apex-pdp:3.1.2-SNAPSHOT Creating compose_zookeeper_1 ... Creating mariadb ... Creating prometheus ... Creating simulator ... Creating simulator ... done Creating mariadb ... done Creating policy-db-migrator ... Creating prometheus ... done Creating grafana ... Creating compose_zookeeper_1 ... done Creating kafka ... Creating grafana ... done Creating policy-db-migrator ... done Creating policy-api ... Creating kafka ... done Creating policy-api ... done Creating policy-pap ... Creating policy-pap ... done Creating policy-apex-pdp ... Creating policy-apex-pdp ... done ++++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 ++++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 ++++ cd /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp +++ sleep 10 +++ unset http_proxy https_proxy +++ bash /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/wait_for_rest.sh localhost 30003 Waiting for REST to come up on localhost port 30003... NAMES STATUS policy-apex-pdp Up 10 seconds policy-pap Up 11 seconds policy-api Up 14 seconds kafka Up 15 seconds grafana Up 17 seconds simulator Up 21 seconds mariadb Up 20 seconds prometheus Up 19 seconds compose_zookeeper_1 Up 18 seconds NAMES STATUS policy-apex-pdp Up 15 seconds policy-pap Up 16 seconds policy-api Up 19 seconds kafka Up 20 seconds grafana Up 22 seconds simulator Up 26 seconds mariadb Up 25 seconds prometheus Up 24 seconds compose_zookeeper_1 Up 23 seconds NAMES STATUS policy-apex-pdp Up 20 seconds policy-pap Up 21 seconds policy-api Up 24 seconds kafka Up 25 seconds grafana Up 27 seconds simulator Up 31 seconds mariadb Up 30 seconds prometheus Up 29 seconds compose_zookeeper_1 Up 28 seconds NAMES STATUS policy-apex-pdp Up 25 seconds policy-pap Up 26 seconds policy-api Up 29 seconds kafka Up 30 seconds grafana Up 32 seconds simulator Up 36 seconds mariadb Up 35 seconds prometheus Up 34 seconds compose_zookeeper_1 Up 33 seconds NAMES STATUS policy-apex-pdp Up 30 seconds policy-pap Up 31 seconds policy-api Up 34 seconds kafka Up 35 seconds grafana Up 37 seconds simulator Up 41 seconds mariadb Up 40 seconds prometheus Up 39 seconds compose_zookeeper_1 Up 38 seconds NAMES STATUS policy-apex-pdp Up 35 seconds policy-pap Up 36 seconds policy-api Up 39 seconds kafka Up 40 seconds grafana Up 42 seconds simulator Up 46 seconds mariadb Up 45 seconds prometheus Up 44 seconds compose_zookeeper_1 Up 43 seconds +++ export 'SUITES=pap-test.robot pap-slas.robot' +++ SUITES='pap-test.robot pap-slas.robot' +++ ROBOT_VARIABLES='-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/nodetemplates' ++ bash /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/wait_for_rest.sh localhost 30001 Waiting for REST to come up on localhost port 30001... NAMES STATUS policy-apex-pdp Up 35 seconds policy-pap Up 36 seconds policy-api Up 39 seconds kafka Up 40 seconds grafana Up 42 seconds simulator Up 46 seconds mariadb Up 45 seconds prometheus Up 44 seconds compose_zookeeper_1 Up 43 seconds ++ export KAFKA_IP=localhost:29092 ++ KAFKA_IP=localhost:29092 ++ export 'SUITES=apex-pdp-test.robot apex-slas.robot' ++ SUITES='apex-pdp-test.robot apex-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/nodetemplates -v APEX_IP:localhost:30001 -v KAFKA_IP:localhost:29092 -v APEX_EVENTS_IP:localhost:23324' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ sed 's/./& /g' ++ echo hxB + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/archives/apex-pdp/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 10:53:51 up 5 min, 0 users, load average: 3.78, 1.82, 0.75 Tasks: 202 total, 1 running, 131 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.6 us, 2.2 sy, 0.0 ni, 80.4 id, 6.7 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.9G 22G 1.3M 6.2G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-apex-pdp Up 35 seconds policy-pap Up 37 seconds policy-api Up 39 seconds kafka Up 41 seconds grafana Up 43 seconds simulator Up 47 seconds mariadb Up 46 seconds prometheus Up 45 seconds compose_zookeeper_1 Up 44 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS d1bd9509d2d5 policy-apex-pdp 12.36% 203.9MiB / 31.41GiB 0.63% 19.7kB / 24kB 0B / 0B 49 7ae6cbcb7c9b policy-pap 12.58% 552.4MiB / 31.41GiB 1.72% 40.6kB / 46.9kB 0B / 153MB 61 494568238afc policy-api 0.13% 580.1MiB / 31.41GiB 1.80% 1MB / 737kB 0B / 0B 54 f608ba52fe94 kafka 75.70% 378MiB / 31.41GiB 1.18% 134kB / 128kB 0B / 475kB 83 a3511ad1c158 grafana 0.02% 57.12MiB / 31.41GiB 0.18% 19.5kB / 3.58kB 0B / 24MB 21 4ed28112d9e7 simulator 0.07% 123MiB / 31.41GiB 0.38% 1.72kB / 0B 131kB / 0B 76 4b04e93f2ca6 mariadb 0.02% 101.8MiB / 31.41GiB 0.32% 996kB / 1.19MB 10.9MB / 46.2MB 36 b38ee208d1d8 prometheus 0.00% 19.79MiB / 31.41GiB 0.06% 28.3kB / 1.09kB 0B / 0B 12 3253ad3dcf9b compose_zookeeper_1 9.06% 102.5MiB / 31.41GiB 0.32% 87.5kB / 81.9kB 0B / 328kB 60 + echo + cd /tmp/tmp.SyOmmCuGnM + echo 'Reading the testplan:' Reading the testplan: + echo 'apex-pdp-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' apex-slas.robot' + sed 's|^|/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-pdp-test.robot /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-slas.robot ++ xargs + SUITES='/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-pdp-test.robot /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/nodetemplates -v APEX_IP:localhost:30001 -v KAFKA_IP:localhost:29092 -v APEX_EVENTS_IP:localhost:23324' ROBOT_VARIABLES=-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/nodetemplates -v APEX_IP:localhost:30001 -v KAFKA_IP:localhost:29092 -v APEX_EVENTS_IP:localhost:23324 + echo 'Starting Robot test suites /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-pdp-test.robot /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-slas.robot ...' Starting Robot test suites /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-pdp-test.robot /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N apex-pdp -v WORKSPACE:/tmp -v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/nodetemplates -v APEX_IP:localhost:30001 -v KAFKA_IP:localhost:29092 -v APEX_EVENTS_IP:localhost:23324 /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-pdp-test.robot /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-slas.robot ============================================================================== apex-pdp ============================================================================== apex-pdp.Apex-Pdp-Test ============================================================================== Healthcheck :: Runs Apex PDP Health check | PASS | ------------------------------------------------------------------------------ ExecuteApexSampleDomainPolicy | PASS | ------------------------------------------------------------------------------ ExecuteApexTestPnfPolicy | PASS | ------------------------------------------------------------------------------ ExecuteApexTestPnfPolicyWithMetadataSet | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-apex-pdp is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ apex-pdp.Apex-Pdp-Test | PASS | 5 tests, 5 passed, 0 failed ============================================================================== apex-pdp.Apex-Slas ============================================================================== Healthcheck :: Runs Apex PDP Health check | PASS | ------------------------------------------------------------------------------ ValidatePolicyExecutionAndEventRateLowComplexity :: Validate that ... | PASS | ------------------------------------------------------------------------------ ValidatePolicyExecutionAndEventRateModerateComplexity :: Validate ... | PASS | ------------------------------------------------------------------------------ ValidatePolicyExecutionAndEventRateHighComplexity :: Validate that... | PASS | ------------------------------------------------------------------------------ WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidatePolicyExecutionTimes :: Validate policy execution times us... | PASS | ------------------------------------------------------------------------------ apex-pdp.Apex-Slas | PASS | 6 tests, 6 passed, 0 failed ============================================================================== apex-pdp | PASS | 11 tests, 11 passed, 0 failed ============================================================================== Output: /tmp/tmp.SyOmmCuGnM/output.xml Log: /tmp/tmp.SyOmmCuGnM/log.html Report: /tmp/tmp.SyOmmCuGnM/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-apex-pdp Up 2 minutes policy-pap Up 2 minutes policy-api Up 2 minutes kafka Up 2 minutes grafana Up 2 minutes simulator Up 2 minutes mariadb Up 2 minutes prometheus Up 2 minutes compose_zookeeper_1 Up 2 minutes + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 10:55:57 up 7 min, 0 users, load average: 1.15, 1.52, 0.78 Tasks: 200 total, 1 running, 129 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 1.8 sy, 0.0 ni, 83.4 id, 5.2 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 3.2G 22G 1.3M 6.2G 27G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-apex-pdp Up 2 minutes policy-pap Up 2 minutes policy-api Up 2 minutes kafka Up 2 minutes grafana Up 2 minutes simulator Up 2 minutes mariadb Up 2 minutes prometheus Up 2 minutes compose_zookeeper_1 Up 2 minutes + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS d1bd9509d2d5 policy-apex-pdp 2.53% 331.7MiB / 31.41GiB 1.03% 625kB / 344kB 0B / 401kB 107 7ae6cbcb7c9b policy-pap 9.68% 603MiB / 31.41GiB 1.87% 9.01MB / 1.89MB 0B / 153MB 64 494568238afc policy-api 0.11% 629.7MiB / 31.41GiB 1.96% 7.9MB / 2.82MB 0B / 0B 57 f608ba52fe94 kafka 3.63% 400.3MiB / 31.41GiB 1.24% 953kB / 1.74MB 0B / 635kB 85 a3511ad1c158 grafana 0.04% 64.76MiB / 31.41GiB 0.20% 20.4kB / 4.53kB 0B / 24MB 21 4ed28112d9e7 simulator 0.08% 164.4MiB / 31.41GiB 0.51% 12.1kB / 14.5kB 131kB / 0B 82 4b04e93f2ca6 mariadb 0.01% 104.3MiB / 31.41GiB 0.32% 3.55MB / 14.6MB 10.9MB / 47.1MB 27 b38ee208d1d8 prometheus 0.00% 24.23MiB / 31.41GiB 0.08% 244kB / 10.2kB 0B / 0B 12 3253ad3dcf9b compose_zookeeper_1 0.09% 102.9MiB / 31.41GiB 0.32% 101kB / 93.3kB 0B / 455kB 60 + echo + source_safely /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose/stop-compose.sh + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' ++ COMPOSE_FOLDER=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose ++ cd /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-apex-pdp, policy-pap, policy-api, kafka, grafana, policy-db-migrator, simulator, mariadb, prometheus, compose_zookeeper_1 grafana | logger=settings t=2024-02-28T10:53:08.735736625Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-28T10:53:08Z grafana | logger=settings t=2024-02-28T10:53:08.736172452Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-28T10:53:08.736191082Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-28T10:53:08.736195913Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-28T10:53:08.736200553Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-28T10:53:08.736206273Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-28T10:53:08.736210113Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-28T10:53:08.736215853Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-28T10:53:08.736220633Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-28T10:53:08.736225163Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-28T10:53:08.736231033Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-28T10:53:08.736235663Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-28T10:53:08.736240543Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-28T10:53:08.736252073Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-28T10:53:08.736255394Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-28T10:53:08.736258514Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-28T10:53:08.736268804Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-28T10:53:08.736272254Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-28T10:53:08.736275464Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-28T10:53:08.73662281Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-28T10:53:08.73664512Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-28T10:53:08.737311642Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-28T10:53:08.738208498Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-28T10:53:08.738958491Z level=info msg="Migration successfully executed" id="create migration_log table" duration=749.703µs grafana | logger=migrator t=2024-02-28T10:53:08.743929597Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-28T10:53:08.744539217Z level=info msg="Migration successfully executed" id="create user table" duration=609.35µs grafana | logger=migrator t=2024-02-28T10:53:08.748444695Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-28T10:53:08.749340361Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=895.186µs grafana | logger=migrator t=2024-02-28T10:53:08.755363125Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-28T10:53:08.756589236Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.228011ms grafana | logger=migrator t=2024-02-28T10:53:08.76080295Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-28T10:53:08.761961269Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.158189ms grafana | logger=migrator t=2024-02-28T10:53:08.766522449Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-28T10:53:08.767346693Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=824.244µs grafana | logger=migrator t=2024-02-28T10:53:08.774214283Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-28T10:53:08.778926194Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.711211ms grafana | logger=migrator t=2024-02-28T10:53:08.782963525Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-28T10:53:08.783747608Z level=info msg="Migration successfully executed" id="create user table v2" duration=783.563µs grafana | logger=migrator t=2024-02-28T10:53:08.787450362Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-28T10:53:08.788302457Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=851.815µs grafana | logger=migrator t=2024-02-28T10:53:08.79421172Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-28T10:53:08.795489071Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.276491ms grafana | logger=migrator t=2024-02-28T10:53:08.800384967Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-28T10:53:08.801102349Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=717.292µs grafana | logger=migrator t=2024-02-28T10:53:08.806779977Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-28T10:53:08.807840486Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.062829ms grafana | logger=migrator t=2024-02-28T10:53:08.816925314Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-28T10:53:08.818933579Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.009185ms grafana | logger=migrator t=2024-02-28T10:53:08.826078983Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-28T10:53:08.826213325Z level=info msg="Migration successfully executed" id="Update user table charset" duration=139.472µs grafana | logger=migrator t=2024-02-28T10:53:08.830659853Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-28T10:53:08.832004545Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.345773ms grafana | logger=migrator t=2024-02-28T10:53:08.835901704Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-28T10:53:08.83626822Z level=info msg="Migration successfully executed" id="Add missing user data" duration=363.216µs grafana | logger=migrator t=2024-02-28T10:53:08.840149227Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-28T10:53:08.841417999Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.244252ms grafana | logger=migrator t=2024-02-28T10:53:08.847517825Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-28T10:53:08.848834028Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.316043ms grafana | logger=migrator t=2024-02-28T10:53:08.852273397Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-28T10:53:08.854211131Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.946844ms grafana | logger=migrator t=2024-02-28T10:53:08.858605268Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-28T10:53:08.868283245Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.677637ms grafana | logger=migrator t=2024-02-28T10:53:08.873895683Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-28T10:53:08.875249007Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.354734ms grafana | logger=migrator t=2024-02-28T10:53:08.879276156Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-28T10:53:08.880118721Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=842.645µs grafana | logger=migrator t=2024-02-28T10:53:08.884812022Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-28T10:53:08.885605486Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=793.574µs grafana | logger=migrator t=2024-02-28T10:53:08.890665454Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-28T10:53:08.891454927Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=789.233µs grafana | logger=migrator t=2024-02-28T10:53:08.895345705Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-28T10:53:08.896495695Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.14836ms grafana | logger=migrator t=2024-02-28T10:53:08.900336162Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-28T10:53:08.900410914Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=76.122µs grafana | logger=migrator t=2024-02-28T10:53:08.903899544Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-28T10:53:08.904927511Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.027147ms grafana | logger=migrator t=2024-02-28T10:53:08.909933579Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-28T10:53:08.910670371Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=736.583µs grafana | logger=migrator t=2024-02-28T10:53:08.916868529Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-28T10:53:08.917590002Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=721.593µs grafana | logger=migrator t=2024-02-28T10:53:08.92266721Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-28T10:53:08.923827Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.15536ms grafana | logger=migrator t=2024-02-28T10:53:08.927536344Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-28T10:53:08.933117001Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.579497ms grafana | logger=migrator t=2024-02-28T10:53:08.93647853Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-28T10:53:08.937224223Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=745.392µs grafana | logger=migrator t=2024-02-28T10:53:08.939771857Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-28T10:53:08.940598051Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=826.024µs grafana | logger=migrator t=2024-02-28T10:53:08.947279537Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-28T10:53:08.948094801Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=815.054µs grafana | logger=migrator t=2024-02-28T10:53:08.953312992Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-28T10:53:08.954577714Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.250111ms grafana | logger=migrator t=2024-02-28T10:53:08.958283477Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-28T10:53:08.959673442Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.389455ms grafana | logger=migrator t=2024-02-28T10:53:08.96705175Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-28T10:53:08.967557119Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=506.199µs grafana | logger=migrator t=2024-02-28T10:53:08.971436866Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-28T10:53:08.972005316Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=571.62µs grafana | logger=migrator t=2024-02-28T10:53:08.97515422Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-28T10:53:08.97562743Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=472.919µs grafana | logger=migrator t=2024-02-28T10:53:08.980549864Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-28T10:53:08.981171175Z level=info msg="Migration successfully executed" id="create star table" duration=620.991µs grafana | logger=migrator t=2024-02-28T10:53:08.985127984Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-28T10:53:08.986528638Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.406024ms grafana | logger=migrator t=2024-02-28T10:53:08.990962235Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-28T10:53:08.992109395Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.14836ms grafana | logger=migrator t=2024-02-28T10:53:08.996761616Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-28T10:53:08.99758652Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=824.764µs grafana | logger=migrator t=2024-02-28T10:53:09.074901428Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-28T10:53:09.075601618Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=702.5µs grafana | logger=migrator t=2024-02-28T10:53:09.081754281Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-28T10:53:09.083079792Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.325021ms grafana | logger=migrator t=2024-02-28T10:53:09.088718477Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-28T10:53:09.089545349Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=823.942µs grafana | logger=migrator t=2024-02-28T10:53:09.097823755Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-28T10:53:09.099146365Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.32224ms grafana | logger=migrator t=2024-02-28T10:53:09.113437671Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-28T10:53:09.113514553Z level=info msg="Migration successfully executed" id="Update org table charset" duration=78.171µs grafana | logger=migrator t=2024-02-28T10:53:09.121681986Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-28T10:53:09.121754707Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=74.061µs grafana | logger=migrator t=2024-02-28T10:53:09.126478268Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-28T10:53:09.126875294Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=398.006µs grafana | logger=migrator t=2024-02-28T10:53:09.131250411Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-28T10:53:09.131950911Z level=info msg="Migration successfully executed" id="create dashboard table" duration=700.45µs grafana | logger=migrator t=2024-02-28T10:53:09.137733009Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-28T10:53:09.138543912Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=810.223µs zookeeper_1 | ===> User zookeeper_1 | uid=1000(appuser) gid=1000(appuser) groups=1000(appuser) zookeeper_1 | ===> Configuring ... zookeeper_1 | ===> Running preflight checks ... zookeeper_1 | ===> Check if /var/lib/zookeeper/data is writable ... zookeeper_1 | ===> Check if /var/lib/zookeeper/log is writable ... zookeeper_1 | ===> Launching ... zookeeper_1 | ===> Launching zookeeper ... zookeeper_1 | [2024-02-28 10:53:11,041] INFO Reading configuration from: /etc/kafka/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-02-28 10:53:11,048] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-02-28 10:53:11,048] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-02-28 10:53:11,048] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-02-28 10:53:11,048] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-02-28 10:53:11,050] INFO autopurge.snapRetainCount set to 3 (org.apache.zookeeper.server.DatadirCleanupManager) zookeeper_1 | [2024-02-28 10:53:11,050] INFO autopurge.purgeInterval set to 0 (org.apache.zookeeper.server.DatadirCleanupManager) zookeeper_1 | [2024-02-28 10:53:11,050] INFO Purge task is not scheduled. (org.apache.zookeeper.server.DatadirCleanupManager) zookeeper_1 | [2024-02-28 10:53:11,050] WARN Either no config or no quorum defined in config, running in standalone mode (org.apache.zookeeper.server.quorum.QuorumPeerMain) zookeeper_1 | [2024-02-28 10:53:11,051] INFO Log4j 1.2 jmx support not found; jmx disabled. (org.apache.zookeeper.jmx.ManagedUtil) zookeeper_1 | [2024-02-28 10:53:11,052] INFO Reading configuration from: /etc/kafka/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-02-28 10:53:11,052] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-02-28 10:53:11,052] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-02-28 10:53:11,052] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-02-28 10:53:11,052] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-02-28 10:53:11,052] INFO Starting server (org.apache.zookeeper.server.ZooKeeperServerMain) zookeeper_1 | [2024-02-28 10:53:11,065] INFO ServerMetrics initialized with provider org.apache.zookeeper.metrics.impl.DefaultMetricsProvider@26275bef (org.apache.zookeeper.server.ServerMetrics) zookeeper_1 | [2024-02-28 10:53:11,068] INFO ACL digest algorithm is: SHA1 (org.apache.zookeeper.server.auth.DigestAuthenticationProvider) zookeeper_1 | [2024-02-28 10:53:11,068] INFO zookeeper.DigestAuthenticationProvider.enabled = true (org.apache.zookeeper.server.auth.DigestAuthenticationProvider) zookeeper_1 | [2024-02-28 10:53:11,070] INFO zookeeper.snapshot.trust.empty : false (org.apache.zookeeper.server.persistence.FileTxnSnapLog) zookeeper_1 | [2024-02-28 10:53:11,081] INFO (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,081] INFO ______ _ (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,081] INFO |___ / | | (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,081] INFO / / ___ ___ | | __ ___ ___ _ __ ___ _ __ (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,081] INFO / / / _ \ / _ \ | |/ / / _ \ / _ \ | '_ \ / _ \ | '__| (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,081] INFO / /__ | (_) | | (_) | | < | __/ | __/ | |_) | | __/ | | (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,081] INFO /_____| \___/ \___/ |_|\_\ \___| \___| | .__/ \___| |_| (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,081] INFO | | (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,081] INFO |_| (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,081] INFO (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,082] INFO Server environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,082] INFO Server environment:host.name=3253ad3dcf9b (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:java.version=11.0.21 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:java.class.path=/usr/bin/../share/java/kafka/scala-logging_2.13-3.9.4.jar:/usr/bin/../share/java/kafka/jersey-common-2.39.1.jar:/usr/bin/../share/java/kafka/swagger-annotations-2.2.8.jar:/usr/bin/../share/java/kafka/jose4j-0.9.3.jar:/usr/bin/../share/java/kafka/commons-validator-1.7.jar:/usr/bin/../share/java/kafka/javax.servlet-api-3.1.0.jar:/usr/bin/../share/java/kafka/aopalliance-repackaged-2.6.1.jar:/usr/bin/../share/java/kafka/netty-transport-4.1.100.Final.jar:/usr/bin/../share/java/kafka/rocksdbjni-7.9.2.jar:/usr/bin/../share/java/kafka/jackson-annotations-2.13.5.jar:/usr/bin/../share/java/kafka/commons-io-2.11.0.jar:/usr/bin/../share/java/kafka/javax.activation-api-1.2.0.jar:/usr/bin/../share/java/kafka/connect-mirror-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/commons-cli-1.4.jar:/usr/bin/../share/java/kafka/slf4j-reload4j-1.7.36.jar:/usr/bin/../share/java/kafka/scala-reflect-2.13.11.jar:/usr/bin/../share/java/kafka/netty-buffer-4.1.100.Final.jar:/usr/bin/../share/java/kafka/jline-3.22.0.jar:/usr/bin/../share/java/kafka/jakarta.ws.rs-api-2.1.6.jar:/usr/bin/../share/java/kafka/jakarta.annotation-api-1.3.5.jar:/usr/bin/../share/java/kafka/scala-java8-compat_2.13-1.0.2.jar:/usr/bin/../share/java/kafka/javax.ws.rs-api-2.1.1.jar:/usr/bin/../share/java/kafka/kafka-server-common-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-tools-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-log4j-appender-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/connect-json-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/netty-resolver-4.1.100.Final.jar:/usr/bin/../share/java/kafka/hk2-api-2.6.1.jar:/usr/bin/../share/java/kafka/zstd-jni-1.5.5-1.jar:/usr/bin/../share/java/kafka/jetty-http-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jackson-dataformat-csv-2.13.5.jar:/usr/bin/../share/java/kafka/kafka.jar:/usr/bin/../share/java/kafka/jetty-servlets-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/scala-library-2.13.11.jar:/usr/bin/../share/java/kafka/jakarta.inject-2.6.1.jar:/usr/bin/../share/java/kafka/jetty-continuation-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jakarta.xml.bind-api-2.3.3.jar:/usr/bin/../share/java/kafka/connect-basic-auth-extension-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/hk2-locator-2.6.1.jar:/usr/bin/../share/java/kafka/reflections-0.10.2.jar:/usr/bin/../share/java/kafka/slf4j-api-1.7.36.jar:/usr/bin/../share/java/kafka/jetty-server-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/paranamer-2.8.jar:/usr/bin/../share/java/kafka/commons-beanutils-1.9.4.jar:/usr/bin/../share/java/kafka/jaxb-api-2.3.1.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-2.39.1.jar:/usr/bin/../share/java/kafka/hk2-utils-2.6.1.jar:/usr/bin/../share/java/kafka/jackson-module-scala_2.13-2.13.5.jar:/usr/bin/../share/java/kafka/kafka-streams-examples-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/reload4j-1.2.25.jar:/usr/bin/../share/java/kafka/connect-transforms-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/jackson-core-2.13.5.jar:/usr/bin/../share/java/kafka/jersey-hk2-2.39.1.jar:/usr/bin/../share/java/kafka/jackson-databind-2.13.5.jar:/usr/bin/../share/java/kafka/jersey-client-2.39.1.jar:/usr/bin/../share/java/kafka/jetty-io-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/osgi-resource-locator-1.0.3.jar:/usr/bin/../share/java/kafka/connect-api-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/commons-digester-2.1.jar:/usr/bin/../share/java/kafka/netty-transport-native-epoll-4.1.100.Final.jar:/usr/bin/../share/java/kafka/argparse4j-0.7.0.jar:/usr/bin/../share/java/kafka/jackson-datatype-jdk8-2.13.5.jar:/usr/bin/../share/java/kafka/kafka-raft-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-scala_2.13-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-group-coordinator-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/audience-annotations-0.12.0.jar:/usr/bin/../share/java/kafka/jackson-module-jaxb-annotations-2.13.5.jar:/usr/bin/../share/java/kafka/javax.annotation-api-1.3.2.jar:/usr/bin/../share/java/kafka/kafka-storage-api-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/maven-artifact-3.8.8.jar:/usr/bin/../share/java/kafka/jackson-jaxrs-json-provider-2.13.5.jar:/usr/bin/../share/java/kafka/kafka-metadata-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/jakarta.validation-api-2.0.2.jar:/usr/bin/../share/java/kafka/jersey-server-2.39.1.jar:/usr/bin/../share/java/kafka/commons-lang3-3.8.1.jar:/usr/bin/../share/java/kafka/kafka-streams-test-utils-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/jopt-simple-5.0.4.jar:/usr/bin/../share/java/kafka/error_prone_annotations-2.10.0.jar:/usr/bin/../share/java/kafka/lz4-java-1.8.0.jar:/usr/bin/../share/java/kafka/jakarta.activation-api-1.2.2.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-core-2.39.1.jar:/usr/bin/../share/java/kafka/checker-qual-3.19.0.jar:/usr/bin/../share/java/kafka/connect-mirror-client-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/pcollections-4.0.1.jar:/usr/bin/../share/java/kafka/jackson-jaxrs-base-2.13.5.jar:/usr/bin/../share/java/kafka/jetty-client-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jetty-util-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/kafka-tools-api-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka_2.13-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-clients-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/commons-logging-1.2.jar:/usr/bin/../share/java/kafka/jsr305-3.0.2.jar:/usr/bin/../share/java/kafka/trogdor-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-shell-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/netty-codec-4.1.100.Final.jar:/usr/bin/../share/java/kafka/netty-transport-native-unix-common-4.1.100.Final.jar:/usr/bin/../share/java/kafka/scala-collection-compat_2.13-2.10.0.jar:/usr/bin/../share/java/kafka/metrics-core-2.2.0.jar:/usr/bin/../share/java/kafka/zookeeper-jute-3.8.3.jar:/usr/bin/../share/java/kafka/connect-runtime-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-storage-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/netty-handler-4.1.100.Final.jar:/usr/bin/../share/java/kafka/commons-collections-3.2.2.jar:/usr/bin/../share/java/kafka/javassist-3.29.2-GA.jar:/usr/bin/../share/java/kafka/caffeine-2.9.3.jar:/usr/bin/../share/java/kafka/plexus-utils-3.3.1.jar:/usr/bin/../share/java/kafka/zookeeper-3.8.3.jar:/usr/bin/../share/java/kafka/activation-1.1.1.jar:/usr/bin/../share/java/kafka/netty-common-4.1.100.Final.jar:/usr/bin/../share/java/kafka/metrics-core-4.1.12.1.jar:/usr/bin/../share/java/kafka/jetty-servlet-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jetty-util-ajax-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/snappy-java-1.1.10.5.jar:/usr/bin/../share/java/kafka/netty-transport-classes-epoll-4.1.100.Final.jar:/usr/bin/../share/java/kafka/jetty-security-9.4.53.v20231009.jar:/usr/bin/../share/java/confluent-telemetry/* (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:java.io.tmpdir=/tmp (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:java.compiler= (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:os.name=Linux (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:os.arch=amd64 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:os.version=4.15.0-192-generic (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:user.name=appuser (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:user.home=/home/appuser (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:user.dir=/home/appuser (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:os.memory.free=490MB (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:os.memory.max=512MB (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO Server environment:os.memory.total=512MB (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO zookeeper.enableEagerACLCheck = false (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO zookeeper.digest.enabled = true (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO zookeeper.closeSessionTxn.enabled = true (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO zookeeper.flushDelay = 0 ms (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO zookeeper.maxWriteQueuePollTime = 0 ms (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO zookeeper.maxBatchSize=1000 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,083] INFO zookeeper.intBufferStartingSizeBytes = 1024 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,084] INFO Weighed connection throttling is disabled (org.apache.zookeeper.server.BlueThrottle) zookeeper_1 | [2024-02-28 10:53:11,085] INFO minSessionTimeout set to 4000 ms (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,085] INFO maxSessionTimeout set to 40000 ms (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,086] INFO getData response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache) zookeeper_1 | [2024-02-28 10:53:11,087] INFO getChildren response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache) zookeeper_1 | [2024-02-28 10:53:11,087] INFO zookeeper.pathStats.slotCapacity = 60 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-02-28 10:53:11,088] INFO zookeeper.pathStats.slotDuration = 15 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-02-28 10:53:11,088] INFO zookeeper.pathStats.maxDepth = 6 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-02-28 10:53:11,088] INFO zookeeper.pathStats.initialDelay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) grafana | logger=migrator t=2024-02-28T10:53:09.141506836Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-28T10:53:09.142829096Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.32104ms grafana | logger=migrator t=2024-02-28T10:53:09.147514957Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-28T10:53:09.148513402Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=998.045µs grafana | logger=migrator t=2024-02-28T10:53:09.152204128Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-28T10:53:09.153025361Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=820.713µs grafana | logger=migrator t=2024-02-28T10:53:09.157904775Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-28T10:53:09.158640946Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=735.831µs grafana | logger=migrator t=2024-02-28T10:53:09.161692832Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-28T10:53:09.171858496Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=10.163874ms grafana | logger=migrator t=2024-02-28T10:53:09.176909082Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-28T10:53:09.177557052Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=647.74µs grafana | logger=migrator t=2024-02-28T10:53:09.182810441Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-28T10:53:09.184188372Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.386261ms grafana | logger=migrator t=2024-02-28T10:53:09.18800079Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-28T10:53:09.189369141Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.367791ms grafana | logger=migrator t=2024-02-28T10:53:09.192887854Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-28T10:53:09.193241679Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=354.345µs grafana | logger=migrator t=2024-02-28T10:53:09.198306516Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-28T10:53:09.199725108Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.397901ms grafana | logger=migrator t=2024-02-28T10:53:09.203743068Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-28T10:53:09.20388431Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=142.342µs grafana | logger=migrator t=2024-02-28T10:53:09.208656463Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-28T10:53:09.210425299Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.768776ms grafana | logger=migrator t=2024-02-28T10:53:09.21578243Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-28T10:53:09.217537017Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.747477ms grafana | logger=migrator t=2024-02-28T10:53:09.221174602Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-28T10:53:09.22297682Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.802138ms grafana | logger=migrator t=2024-02-28T10:53:09.226633705Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-28T10:53:09.227470587Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=836.482µs grafana | logger=migrator t=2024-02-28T10:53:09.233458099Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-28T10:53:09.236557495Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.098517ms grafana | logger=migrator t=2024-02-28T10:53:09.240539735Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" zookeeper_1 | [2024-02-28 10:53:11,088] INFO zookeeper.pathStats.delay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-02-28 10:53:11,088] INFO zookeeper.pathStats.enabled = false (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-02-28 10:53:11,090] INFO The max bytes for all large requests are set to 104857600 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,090] INFO The large request threshold is set to -1 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,091] INFO zookeeper.enforce.auth.enabled = false (org.apache.zookeeper.server.AuthenticationHelper) zookeeper_1 | [2024-02-28 10:53:11,091] INFO zookeeper.enforce.auth.schemes = [] (org.apache.zookeeper.server.AuthenticationHelper) zookeeper_1 | [2024-02-28 10:53:11,091] INFO Created server with tickTime 2000 ms minSessionTimeout 4000 ms maxSessionTimeout 40000 ms clientPortListenBacklog -1 datadir /var/lib/zookeeper/log/version-2 snapdir /var/lib/zookeeper/data/version-2 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,111] INFO Logging initialized @532ms to org.eclipse.jetty.util.log.Slf4jLog (org.eclipse.jetty.util.log) zookeeper_1 | [2024-02-28 10:53:11,193] WARN o.e.j.s.ServletContextHandler@5be1d0a4{/,null,STOPPED} contextPath ends with /* (org.eclipse.jetty.server.handler.ContextHandler) zookeeper_1 | [2024-02-28 10:53:11,193] WARN Empty contextPath (org.eclipse.jetty.server.handler.ContextHandler) zookeeper_1 | [2024-02-28 10:53:11,211] INFO jetty-9.4.53.v20231009; built: 2023-10-09T12:29:09.265Z; git: 27bde00a0b95a1d5bbee0eae7984f891d2d0f8c9; jvm 11.0.21+9-LTS (org.eclipse.jetty.server.Server) zookeeper_1 | [2024-02-28 10:53:11,242] INFO DefaultSessionIdManager workerName=node0 (org.eclipse.jetty.server.session) zookeeper_1 | [2024-02-28 10:53:11,242] INFO No SessionScavenger set, using defaults (org.eclipse.jetty.server.session) zookeeper_1 | [2024-02-28 10:53:11,244] INFO node0 Scavenging every 600000ms (org.eclipse.jetty.server.session) zookeeper_1 | [2024-02-28 10:53:11,247] WARN ServletContext@o.e.j.s.ServletContextHandler@5be1d0a4{/,null,STARTING} has uncovered http methods for path: /* (org.eclipse.jetty.security.SecurityHandler) zookeeper_1 | [2024-02-28 10:53:11,255] INFO Started o.e.j.s.ServletContextHandler@5be1d0a4{/,null,AVAILABLE} (org.eclipse.jetty.server.handler.ContextHandler) zookeeper_1 | [2024-02-28 10:53:11,268] INFO Started ServerConnector@4f32a3ad{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} (org.eclipse.jetty.server.AbstractConnector) zookeeper_1 | [2024-02-28 10:53:11,268] INFO Started @689ms (org.eclipse.jetty.server.Server) zookeeper_1 | [2024-02-28 10:53:11,268] INFO Started AdminServer on address 0.0.0.0, port 8080 and command URL /commands (org.apache.zookeeper.server.admin.JettyAdminServer) zookeeper_1 | [2024-02-28 10:53:11,273] INFO Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory (org.apache.zookeeper.server.ServerCnxnFactory) zookeeper_1 | [2024-02-28 10:53:11,274] WARN maxCnxns is not configured, using default value 0. (org.apache.zookeeper.server.ServerCnxnFactory) zookeeper_1 | [2024-02-28 10:53:11,276] INFO Configuring NIO connection handler with 10s sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 kB direct buffers. (org.apache.zookeeper.server.NIOServerCnxnFactory) zookeeper_1 | [2024-02-28 10:53:11,277] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory) zookeeper_1 | [2024-02-28 10:53:11,292] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory) zookeeper_1 | [2024-02-28 10:53:11,292] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory) zookeeper_1 | [2024-02-28 10:53:11,293] INFO zookeeper.snapshotSizeFactor = 0.33 (org.apache.zookeeper.server.ZKDatabase) zookeeper_1 | [2024-02-28 10:53:11,293] INFO zookeeper.commitLogCount=500 (org.apache.zookeeper.server.ZKDatabase) zookeeper_1 | [2024-02-28 10:53:11,298] INFO zookeeper.snapshot.compression.method = CHECKED (org.apache.zookeeper.server.persistence.SnapStream) zookeeper_1 | [2024-02-28 10:53:11,298] INFO Snapshotting: 0x0 to /var/lib/zookeeper/data/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) zookeeper_1 | [2024-02-28 10:53:11,302] INFO Snapshot loaded in 9 ms, highest zxid is 0x0, digest is 1371985504 (org.apache.zookeeper.server.ZKDatabase) zookeeper_1 | [2024-02-28 10:53:11,303] INFO Snapshotting: 0x0 to /var/lib/zookeeper/data/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) zookeeper_1 | [2024-02-28 10:53:11,303] INFO Snapshot taken in 0 ms (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-02-28 10:53:11,313] INFO zookeeper.request_throttler.shutdownTimeout = 10000 ms (org.apache.zookeeper.server.RequestThrottler) zookeeper_1 | [2024-02-28 10:53:11,313] INFO PrepRequestProcessor (sid:0) started, reconfigEnabled=false (org.apache.zookeeper.server.PrepRequestProcessor) zookeeper_1 | [2024-02-28 10:53:11,326] INFO Using checkIntervalMs=60000 maxPerMinute=10000 maxNeverUsedIntervalMs=0 (org.apache.zookeeper.server.ContainerManager) zookeeper_1 | [2024-02-28 10:53:11,326] INFO ZooKeeper audit is disabled. (org.apache.zookeeper.audit.ZKAuditProvider) zookeeper_1 | [2024-02-28 10:53:14,995] INFO Creating new log file: log.1 (org.apache.zookeeper.server.persistence.FileTxnLog) grafana | logger=migrator t=2024-02-28T10:53:09.241389578Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=850.663µs grafana | logger=migrator t=2024-02-28T10:53:09.244985403Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-28T10:53:09.245838516Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=852.742µs grafana | logger=migrator t=2024-02-28T10:53:09.250524547Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-28T10:53:09.250551977Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=28.37µs grafana | logger=migrator t=2024-02-28T10:53:09.253888337Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-28T10:53:09.253920268Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=35.891µs grafana | logger=migrator t=2024-02-28T10:53:09.257683995Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-28T10:53:09.260450276Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.764871ms grafana | logger=migrator t=2024-02-28T10:53:09.268726512Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-28T10:53:09.2712115Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.469477ms grafana | logger=migrator t=2024-02-28T10:53:09.281415454Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-28T10:53:09.284811175Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.407251ms grafana | logger=migrator t=2024-02-28T10:53:09.288327238Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-28T10:53:09.290215567Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.881589ms grafana | logger=migrator t=2024-02-28T10:53:09.294632853Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-28T10:53:09.294834926Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=202.243µs grafana | logger=migrator t=2024-02-28T10:53:09.297625818Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-02-28T10:53:09.298420651Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=794.413µs grafana | logger=migrator t=2024-02-28T10:53:09.301451737Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-28T10:53:09.302165567Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=713.34µs grafana | logger=migrator t=2024-02-28T10:53:09.308011195Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-28T10:53:09.308083907Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=74.011µs grafana | logger=migrator t=2024-02-28T10:53:09.311849664Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-28T10:53:09.313120243Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.277909ms grafana | logger=migrator t=2024-02-28T10:53:09.316323461Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-28T10:53:09.31695018Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=631.979µs grafana | logger=migrator t=2024-02-28T10:53:09.319787253Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-28T10:53:09.326728038Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.940615ms grafana | logger=migrator t=2024-02-28T10:53:09.331309437Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-28T10:53:09.331923077Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=613.531µs grafana | logger=migrator t=2024-02-28T10:53:09.334864901Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-28T10:53:09.335713614Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=848.003µs grafana | logger=migrator t=2024-02-28T10:53:09.339140435Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-28T10:53:09.339973858Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=832.453µs grafana | logger=migrator t=2024-02-28T10:53:09.345133645Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-28T10:53:09.345461481Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=328.016µs grafana | logger=migrator t=2024-02-28T10:53:09.349816477Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-28T10:53:09.35069508Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=878.633µs grafana | logger=migrator t=2024-02-28T10:53:09.354167063Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-28T10:53:09.357747646Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.562343ms grafana | logger=migrator t=2024-02-28T10:53:09.365057417Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-28T10:53:09.365879009Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=824.022µs grafana | logger=migrator t=2024-02-28T10:53:09.370212384Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-28T10:53:09.370534129Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=322.725µs grafana | logger=migrator t=2024-02-28T10:53:09.374828694Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-28T10:53:09.375145889Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=317.375µs grafana | logger=migrator t=2024-02-28T10:53:09.381551545Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-28T10:53:09.382878296Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.326271ms grafana | logger=migrator t=2024-02-28T10:53:09.38653067Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-28T10:53:09.388659623Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.129103ms grafana | logger=migrator t=2024-02-28T10:53:09.39309339Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-02-28T10:53:09.393931483Z level=info msg="Migration successfully executed" id="create data_source table" duration=834.173µs grafana | logger=migrator t=2024-02-28T10:53:09.401748411Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-28T10:53:09.403206432Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.457611ms grafana | logger=migrator t=2024-02-28T10:53:09.406627684Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-28T10:53:09.408469362Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.839668ms grafana | logger=migrator t=2024-02-28T10:53:09.413404797Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-28T10:53:09.414186528Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=781.731µs grafana | logger=migrator t=2024-02-28T10:53:09.419810963Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-28T10:53:09.421120083Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.31748ms grafana | logger=migrator t=2024-02-28T10:53:09.425150564Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-28T10:53:09.433822905Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.673541ms grafana | logger=migrator t=2024-02-28T10:53:09.437353337Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-28T10:53:09.438671168Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.317461ms grafana | logger=migrator t=2024-02-28T10:53:09.444320453Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-28T10:53:09.445698734Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.379351ms grafana | logger=migrator t=2024-02-28T10:53:09.450649848Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-28T10:53:09.451511231Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=860.653µs grafana | logger=migrator t=2024-02-28T10:53:09.456214313Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-28T10:53:09.457071815Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=856.512µs grafana | logger=migrator t=2024-02-28T10:53:09.460959755Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-28T10:53:09.464714561Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.754547ms grafana | logger=migrator t=2024-02-28T10:53:09.468464747Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-28T10:53:09.470931775Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.466498ms grafana | logger=migrator t=2024-02-28T10:53:09.475676226Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-28T10:53:09.475702527Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.021µs grafana | logger=migrator t=2024-02-28T10:53:09.479164119Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-28T10:53:09.479357432Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=193.363µs grafana | logger=migrator t=2024-02-28T10:53:09.483048908Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-28T10:53:09.486418769Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.363901ms grafana | logger=migrator t=2024-02-28T10:53:09.490399908Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-02-28T10:53:09.490712643Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=307.785µs grafana | logger=migrator t=2024-02-28T10:53:09.495929742Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-28T10:53:09.496109494Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=179.602µs grafana | logger=migrator t=2024-02-28T10:53:09.499946543Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-28T10:53:09.503336264Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.382791ms grafana | logger=migrator t=2024-02-28T10:53:09.507698789Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-28T10:53:09.508497052Z level=info msg="Migration successfully executed" id="Update uid value" duration=797.943µs grafana | logger=migrator t=2024-02-28T10:53:09.512259049Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-28T10:53:09.513350715Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.090876ms grafana | logger=migrator t=2024-02-28T10:53:09.51902661Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-28T10:53:09.519900644Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=918.605µs grafana | logger=migrator t=2024-02-28T10:53:09.524439562Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-02-28T10:53:09.525709052Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.206859ms grafana | logger=migrator t=2024-02-28T10:53:09.529416517Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-02-28T10:53:09.530295941Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=880.314µs grafana | logger=migrator t=2024-02-28T10:53:09.534536125Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-28T10:53:09.535472379Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=933.024µs grafana | logger=migrator t=2024-02-28T10:53:09.538681968Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-28T10:53:09.539587451Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=904.953µs grafana | logger=migrator t=2024-02-28T10:53:09.544453295Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-28T10:53:09.545214886Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=761.441µs grafana | logger=migrator t=2024-02-28T10:53:09.550382814Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-28T10:53:09.551216067Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=833.243µs kafka | ===> User kafka | uid=1000(appuser) gid=1000(appuser) groups=1000(appuser) kafka | ===> Configuring ... kafka | Running in Zookeeper mode... kafka | ===> Running preflight checks ... kafka | ===> Check if /var/lib/kafka/data is writable ... kafka | ===> Check if Zookeeper is healthy ... kafka | SLF4J: Class path contains multiple SLF4J bindings. kafka | SLF4J: Found binding in [jar:file:/usr/share/java/kafka/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class] kafka | SLF4J: Found binding in [jar:file:/usr/share/java/cp-base-new/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class] kafka | SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. kafka | SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory] kafka | [2024-02-28 10:53:14,933] INFO Client environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:host.name=f608ba52fe94 (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:java.version=11.0.21 (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.ZooKeeper) grafana | logger=migrator t=2024-02-28T10:53:09.554674939Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-02-28T10:53:09.556014239Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.34807ms grafana | logger=migrator t=2024-02-28T10:53:09.561411131Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-28T10:53:09.571914529Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.504428ms grafana | logger=migrator t=2024-02-28T10:53:09.575347781Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-28T10:53:09.575878809Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=530.568µs grafana | logger=migrator t=2024-02-28T10:53:09.579341611Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-28T10:53:09.57992828Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=586.549µs grafana | logger=migrator t=2024-02-28T10:53:09.584775963Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-28T10:53:09.586155864Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.379751ms grafana | logger=migrator t=2024-02-28T10:53:09.59120031Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-28T10:53:09.592675853Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.474763ms grafana | logger=migrator t=2024-02-28T10:53:09.596683913Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-28T10:53:09.597455234Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=770.591µs grafana | logger=migrator t=2024-02-28T10:53:09.601841621Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-28T10:53:09.60248766Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=645.609µs grafana | logger=migrator t=2024-02-28T10:53:09.606232177Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-28T10:53:09.606259608Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=28.461µs grafana | logger=migrator t=2024-02-28T10:53:09.612831957Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-28T10:53:09.617341065Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.508308ms grafana | logger=migrator t=2024-02-28T10:53:09.622111167Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-28T10:53:09.624611604Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.499757ms grafana | logger=migrator t=2024-02-28T10:53:09.628150297Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-28T10:53:09.628409832Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=256.105µs grafana | logger=migrator t=2024-02-28T10:53:09.633020101Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-28T10:53:09.635517689Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.497038ms grafana | logger=migrator t=2024-02-28T10:53:09.639026652Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-28T10:53:09.641632391Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.602219ms grafana | logger=migrator t=2024-02-28T10:53:09.646542425Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-28T10:53:09.647348497Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=804.802µs grafana | logger=migrator t=2024-02-28T10:53:09.6521106Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-02-28T10:53:09.65278176Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=669.1µs grafana | logger=migrator t=2024-02-28T10:53:09.657573412Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-28T10:53:09.658867941Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.293509ms grafana | logger=migrator t=2024-02-28T10:53:09.664017919Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-28T10:53:09.664925924Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=907.745µs grafana | logger=migrator t=2024-02-28T10:53:09.66867547Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-28T10:53:09.669596193Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=919.713µs grafana | logger=migrator t=2024-02-28T10:53:09.673845868Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-28T10:53:09.674780852Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=937.934µs grafana | logger=migrator t=2024-02-28T10:53:09.678756213Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-28T10:53:09.679136508Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=379.245µs grafana | logger=migrator t=2024-02-28T10:53:09.683316001Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-28T10:53:09.683360411Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=45.951µs grafana | logger=migrator t=2024-02-28T10:53:09.687242421Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-28T10:53:09.693260171Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=6.01663ms grafana | logger=migrator t=2024-02-28T10:53:09.697910861Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-28T10:53:09.69985368Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=1.942439ms grafana | logger=migrator t=2024-02-28T10:53:09.70319336Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-28T10:53:09.703335372Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=141.752µs grafana | logger=migrator t=2024-02-28T10:53:09.706634812Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-28T10:53:09.707427125Z level=info msg="Migration successfully executed" id="create quota table v1" duration=786.733µs grafana | logger=migrator t=2024-02-28T10:53:09.711671809Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-02-28T10:53:09.712659334Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=987.175µs grafana | logger=migrator t=2024-02-28T10:53:09.716771576Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-02-28T10:53:09.716800206Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=36.181µs grafana | logger=migrator t=2024-02-28T10:53:09.723872583Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-02-28T10:53:09.724679765Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=806.482µs grafana | logger=migrator t=2024-02-28T10:53:09.738155089Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-02-28T10:53:09.739074322Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=921.753µs grafana | logger=migrator t=2024-02-28T10:53:09.74486718Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-02-28T10:53:09.746914881Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.047831ms grafana | logger=migrator t=2024-02-28T10:53:09.749927596Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-02-28T10:53:09.749945267Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=18.091µs grafana | logger=migrator t=2024-02-28T10:53:09.753071344Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-02-28T10:53:09.753713893Z level=info msg="Migration successfully executed" id="create session table" duration=640.009µs grafana | logger=migrator t=2024-02-28T10:53:09.763243238Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-02-28T10:53:09.763330599Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=81.121µs grafana | logger=migrator t=2024-02-28T10:53:09.806024773Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-02-28T10:53:09.80646298Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=437.247µs grafana | logger=migrator t=2024-02-28T10:53:09.811426165Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-02-28T10:53:09.812357489Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=932.154µs grafana | logger=migrator t=2024-02-28T10:53:09.817831021Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-02-28T10:53:09.819160272Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.329071ms grafana | logger=migrator t=2024-02-28T10:53:09.82571317Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-02-28T10:53:09.825830812Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=117.252µs grafana | logger=migrator t=2024-02-28T10:53:09.83029761Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-02-28T10:53:09.830572054Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=283.754µs grafana | logger=migrator t=2024-02-28T10:53:09.844090848Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-02-28T10:53:09.84749084Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.404942ms grafana | logger=migrator t=2024-02-28T10:53:09.986481227Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-02-28T10:53:09.991426542Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.957935ms grafana | logger=migrator t=2024-02-28T10:53:10.05000755Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-02-28T10:53:10.05060173Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=630.971µs grafana | logger=migrator t=2024-02-28T10:53:10.056846977Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-02-28T10:53:10.057027271Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=180.164µs grafana | logger=migrator t=2024-02-28T10:53:10.061791413Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-02-28T10:53:10.062679748Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=888.376µs grafana | logger=migrator t=2024-02-28T10:53:10.074154715Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-02-28T10:53:10.074371149Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=218.564µs grafana | logger=migrator t=2024-02-28T10:53:10.082258795Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-02-28T10:53:10.089654631Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=7.398177ms grafana | logger=migrator t=2024-02-28T10:53:10.095255187Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-02-28T10:53:10.095964189Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=709.092µs grafana | logger=migrator t=2024-02-28T10:53:10.101154638Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-02-28T10:53:10.108328302Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=7.173874ms grafana | logger=migrator t=2024-02-28T10:53:10.117422838Z level=info msg="Executing migration" id="Add column preferences.json_data" kafka | [2024-02-28 10:53:14,933] INFO Client environment:java.class.path=/usr/share/java/kafka/scala-logging_2.13-3.9.4.jar:/usr/share/java/kafka/jersey-common-2.39.1.jar:/usr/share/java/kafka/swagger-annotations-2.2.8.jar:/usr/share/java/kafka/jose4j-0.9.3.jar:/usr/share/java/kafka/commons-validator-1.7.jar:/usr/share/java/kafka/javax.servlet-api-3.1.0.jar:/usr/share/java/kafka/aopalliance-repackaged-2.6.1.jar:/usr/share/java/kafka/netty-transport-4.1.100.Final.jar:/usr/share/java/kafka/rocksdbjni-7.9.2.jar:/usr/share/java/kafka/jackson-annotations-2.13.5.jar:/usr/share/java/kafka/commons-io-2.11.0.jar:/usr/share/java/kafka/javax.activation-api-1.2.0.jar:/usr/share/java/kafka/connect-mirror-7.6.0-ccs.jar:/usr/share/java/kafka/commons-cli-1.4.jar:/usr/share/java/kafka/slf4j-reload4j-1.7.36.jar:/usr/share/java/kafka/scala-reflect-2.13.11.jar:/usr/share/java/kafka/netty-buffer-4.1.100.Final.jar:/usr/share/java/kafka/jline-3.22.0.jar:/usr/share/java/kafka/jakarta.ws.rs-api-2.1.6.jar:/usr/share/java/kafka/jakarta.annotation-api-1.3.5.jar:/usr/share/java/kafka/scala-java8-compat_2.13-1.0.2.jar:/usr/share/java/kafka/javax.ws.rs-api-2.1.1.jar:/usr/share/java/kafka/kafka-server-common-7.6.0-ccs.jar:/usr/share/java/kafka/kafka-tools-7.6.0-ccs.jar:/usr/share/java/kafka/kafka-log4j-appender-7.6.0-ccs.jar:/usr/share/java/kafka/connect-json-7.6.0-ccs.jar:/usr/share/java/kafka/netty-resolver-4.1.100.Final.jar:/usr/share/java/kafka/hk2-api-2.6.1.jar:/usr/share/java/kafka/zstd-jni-1.5.5-1.jar:/usr/share/java/kafka/jetty-http-9.4.53.v20231009.jar:/usr/share/java/kafka/jackson-dataformat-csv-2.13.5.jar:/usr/share/java/kafka/kafka.jar:/usr/share/java/kafka/jetty-servlets-9.4.53.v20231009.jar:/usr/share/java/kafka/scala-library-2.13.11.jar:/usr/share/java/kafka/jakarta.inject-2.6.1.jar:/usr/share/java/kafka/jetty-continuation-9.4.53.v20231009.jar:/usr/share/java/kafka/jakarta.xml.bind-api-2.3.3.jar:/usr/share/java/kafka/connect-basic-auth-extension-7.6.0-ccs.jar:/usr/share/java/kafka/hk2-locator-2.6.1.jar:/usr/share/java/kafka/reflections-0.10.2.jar:/usr/share/java/kafka/slf4j-api-1.7.36.jar:/usr/share/java/kafka/jetty-server-9.4.53.v20231009.jar:/usr/share/java/kafka/paranamer-2.8.jar:/usr/share/java/kafka/commons-beanutils-1.9.4.jar:/usr/share/java/kafka/jaxb-api-2.3.1.jar:/usr/share/java/kafka/jersey-container-servlet-2.39.1.jar:/usr/share/java/kafka/hk2-utils-2.6.1.jar:/usr/share/java/kafka/jackson-module-scala_2.13-2.13.5.jar:/usr/share/java/kafka/kafka-streams-examples-7.6.0-ccs.jar:/usr/share/java/kafka/reload4j-1.2.25.jar:/usr/share/java/kafka/connect-transforms-7.6.0-ccs.jar:/usr/share/java/kafka/jackson-core-2.13.5.jar:/usr/share/java/kafka/jersey-hk2-2.39.1.jar:/usr/share/java/kafka/jackson-databind-2.13.5.jar:/usr/share/java/kafka/jersey-client-2.39.1.jar:/usr/share/java/kafka/jetty-io-9.4.53.v20231009.jar:/usr/share/java/kafka/osgi-resource-locator-1.0.3.jar:/usr/share/java/kafka/connect-api-7.6.0-ccs.jar:/usr/share/java/kafka/commons-digester-2.1.jar:/usr/share/java/kafka/netty-transport-native-epoll-4.1.100.Final.jar:/usr/share/java/kafka/argparse4j-0.7.0.jar:/usr/share/java/kafka/jackson-datatype-jdk8-2.13.5.jar:/usr/share/java/kafka/kafka-raft-7.6.0-ccs.jar:/usr/share/java/kafka/kafka-streams-scala_2.13-7.6.0-ccs.jar:/usr/share/java/kafka/kafka-group-coordinator-7.6.0-ccs.jar:/usr/share/java/kafka/audience-annotations-0.12.0.jar:/usr/share/java/kafka/jackson-module-jaxb-annotations-2.13.5.jar:/usr/share/java/kafka/javax.annotation-api-1.3.2.jar:/usr/share/java/kafka/kafka-storage-api-7.6.0-ccs.jar:/usr/share/java/kafka/maven-artifact-3.8.8.jar:/usr/share/java/kafka/jackson-jaxrs-json-provider-2.13.5.jar:/usr/share/java/kafka/kafka-metadata-7.6.0-ccs.jar:/usr/share/java/kafka/jakarta.validation-api-2.0.2.jar:/usr/share/java/kafka/jersey-server-2.39.1.jar:/usr/share/java/kafka/commons-lang3-3.8.1.jar:/usr/share/java/kafka/kafka-streams-test-utils-7.6.0-ccs.jar:/usr/share/java/kafka/jopt-simple-5.0.4.jar:/usr/share/java/kafka/error_prone_annotations-2.10.0.jar:/usr/share/java/kafka/lz4-java-1.8.0.jar:/usr/share/java/kafka/jakarta.activation-api-1.2.2.jar:/usr/share/java/kafka/jersey-container-servlet-core-2.39.1.jar:/usr/share/java/kafka/checker-qual-3.19.0.jar:/usr/share/java/kafka/connect-mirror-client-7.6.0-ccs.jar:/usr/share/java/kafka/pcollections-4.0.1.jar:/usr/share/java/kafka/jackson-jaxrs-base-2.13.5.jar:/usr/share/java/kafka/jetty-client-9.4.53.v20231009.jar:/usr/share/java/kafka/jetty-util-9.4.53.v20231009.jar:/usr/share/java/kafka/kafka-tools-api-7.6.0-ccs.jar:/usr/share/java/kafka/kafka-streams-7.6.0-ccs.jar:/usr/share/java/kafka/kafka_2.13-7.6.0-ccs.jar:/usr/share/java/kafka/kafka-clients-7.6.0-ccs.jar:/usr/share/java/kafka/commons-logging-1.2.jar:/usr/share/java/kafka/jsr305-3.0.2.jar:/usr/share/java/kafka/trogdor-7.6.0-ccs.jar:/usr/share/java/kafka/kafka-shell-7.6.0-ccs.jar:/usr/share/java/kafka/netty-codec-4.1.100.Final.jar:/usr/share/java/kafka/netty-transport-native-unix-common-4.1.100.Final.jar:/usr/share/java/kafka/scala-collection-compat_2.13-2.10.0.jar:/usr/share/java/kafka/metrics-core-2.2.0.jar:/usr/share/java/kafka/zookeeper-jute-3.8.3.jar:/usr/share/java/kafka/connect-runtime-7.6.0-ccs.jar:/usr/share/java/kafka/kafka-storage-7.6.0-ccs.jar:/usr/share/java/kafka/netty-handler-4.1.100.Final.jar:/usr/share/java/kafka/commons-collections-3.2.2.jar:/usr/share/java/kafka/javassist-3.29.2-GA.jar:/usr/share/java/kafka/caffeine-2.9.3.jar:/usr/share/java/kafka/plexus-utils-3.3.1.jar:/usr/share/java/kafka/zookeeper-3.8.3.jar:/usr/share/java/kafka/activation-1.1.1.jar:/usr/share/java/kafka/netty-common-4.1.100.Final.jar:/usr/share/java/kafka/metrics-core-4.1.12.1.jar:/usr/share/java/kafka/jetty-servlet-9.4.53.v20231009.jar:/usr/share/java/kafka/jetty-util-ajax-9.4.53.v20231009.jar:/usr/share/java/kafka/snappy-java-1.1.10.5.jar:/usr/share/java/kafka/netty-transport-classes-epoll-4.1.100.Final.jar:/usr/share/java/kafka/jetty-security-9.4.53.v20231009.jar:/usr/share/java/cp-base-new/scala-logging_2.13-3.9.4.jar:/usr/share/java/cp-base-new/jackson-datatype-jdk8-2.14.2.jar:/usr/share/java/cp-base-new/jose4j-0.9.3.jar:/usr/share/java/cp-base-new/commons-validator-1.7.jar:/usr/share/java/cp-base-new/logredactor-1.0.12.jar:/usr/share/java/cp-base-new/jolokia-core-1.7.1.jar:/usr/share/java/cp-base-new/re2j-1.6.jar:/usr/share/java/cp-base-new/scala-library-2.13.10.jar:/usr/share/java/cp-base-new/commons-io-2.11.0.jar:/usr/share/java/cp-base-new/commons-cli-1.4.jar:/usr/share/java/cp-base-new/slf4j-reload4j-1.7.36.jar:/usr/share/java/cp-base-new/jackson-annotations-2.14.2.jar:/usr/share/java/cp-base-new/json-simple-1.1.1.jar:/usr/share/java/cp-base-new/jackson-module-scala_2.13-2.14.2.jar:/usr/share/java/cp-base-new/scala-java8-compat_2.13-1.0.2.jar:/usr/share/java/cp-base-new/kafka-server-common-7.6.0-ccs.jar:/usr/share/java/cp-base-new/minimal-json-0.9.5.jar:/usr/share/java/cp-base-new/zstd-jni-1.5.5-1.jar:/usr/share/java/cp-base-new/jackson-dataformat-yaml-2.14.2.jar:/usr/share/java/cp-base-new/slf4j-api-1.7.36.jar:/usr/share/java/cp-base-new/paranamer-2.8.jar:/usr/share/java/cp-base-new/commons-beanutils-1.9.4.jar:/usr/share/java/cp-base-new/jmx_prometheus_javaagent-0.18.0.jar:/usr/share/java/cp-base-new/reload4j-1.2.25.jar:/usr/share/java/cp-base-new/jackson-core-2.14.2.jar:/usr/share/java/cp-base-new/common-utils-7.6.0.jar:/usr/share/java/cp-base-new/commons-digester-2.1.jar:/usr/share/java/cp-base-new/argparse4j-0.7.0.jar:/usr/share/java/cp-base-new/kafka-raft-7.6.0-ccs.jar:/usr/share/java/cp-base-new/kafka-group-coordinator-7.6.0-ccs.jar:/usr/share/java/cp-base-new/audience-annotations-0.12.0.jar:/usr/share/java/cp-base-new/gson-2.9.0.jar:/usr/share/java/cp-base-new/snakeyaml-2.0.jar:/usr/share/java/cp-base-new/kafka-storage-api-7.6.0-ccs.jar:/usr/share/java/cp-base-new/kafka-metadata-7.6.0-ccs.jar:/usr/share/java/cp-base-new/disk-usage-agent-7.6.0.jar:/usr/share/java/cp-base-new/jopt-simple-5.0.4.jar:/usr/share/java/cp-base-new/error_prone_annotations-2.10.0.jar:/usr/share/java/cp-base-new/lz4-java-1.8.0.jar:/usr/share/java/cp-base-new/logredactor-metrics-1.0.12.jar:/usr/share/java/cp-base-new/checker-qual-3.19.0.jar:/usr/share/java/cp-base-new/pcollections-4.0.1.jar:/usr/share/java/cp-base-new/kafka-tools-api-7.6.0-ccs.jar:/usr/share/java/cp-base-new/kafka_2.13-7.6.0-ccs.jar:/usr/share/java/cp-base-new/kafka-clients-7.6.0-ccs.jar:/usr/share/java/cp-base-new/commons-logging-1.2.jar:/usr/share/java/cp-base-new/scala-reflect-2.13.10.jar:/usr/share/java/cp-base-new/scala-collection-compat_2.13-2.10.0.jar:/usr/share/java/cp-base-new/metrics-core-2.2.0.jar:/usr/share/java/cp-base-new/zookeeper-jute-3.8.3.jar:/usr/share/java/cp-base-new/jackson-dataformat-csv-2.14.2.jar:/usr/share/java/cp-base-new/utility-belt-7.6.0.jar:/usr/share/java/cp-base-new/kafka-storage-7.6.0-ccs.jar:/usr/share/java/cp-base-new/commons-collections-3.2.2.jar:/usr/share/java/cp-base-new/caffeine-2.9.3.jar:/usr/share/java/cp-base-new/jolokia-jvm-1.7.1.jar:/usr/share/java/cp-base-new/zookeeper-3.8.3.jar:/usr/share/java/cp-base-new/metrics-core-4.1.12.1.jar:/usr/share/java/cp-base-new/jackson-databind-2.14.2.jar:/usr/share/java/cp-base-new/snappy-java-1.1.10.5.jar (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:java.io.tmpdir=/tmp (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:java.compiler= (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:os.name=Linux (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:os.version=4.15.0-192-generic (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,933] INFO Client environment:user.name=appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,934] INFO Client environment:user.home=/home/appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,934] INFO Client environment:user.dir=/home/appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,934] INFO Client environment:os.memory.free=487MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,934] INFO Client environment:os.memory.max=8042MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,934] INFO Client environment:os.memory.total=504MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,937] INFO Initiating client connection, connectString=zookeeper:2181 sessionTimeout=40000 watcher=io.confluent.admin.utils.ZookeeperConnectionWatcher@2fd6b6c7 (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:14,940] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util) kafka | [2024-02-28 10:53:14,945] INFO jute.maxbuffer value is 1048575 Bytes (org.apache.zookeeper.ClientCnxnSocket) kafka | [2024-02-28 10:53:14,951] INFO zookeeper.request.timeout value is 0. feature enabled=false (org.apache.zookeeper.ClientCnxn) kafka | [2024-02-28 10:53:14,967] INFO Opening socket connection to server zookeeper/172.17.0.5:2181. (org.apache.zookeeper.ClientCnxn) kafka | [2024-02-28 10:53:14,967] INFO SASL config status: Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn) kafka | [2024-02-28 10:53:14,975] INFO Socket connection established, initiating session, client: /172.17.0.8:53084, server: zookeeper/172.17.0.5:2181 (org.apache.zookeeper.ClientCnxn) kafka | [2024-02-28 10:53:15,020] INFO Session establishment complete on server zookeeper/172.17.0.5:2181, session id = 0x1000004af7e0000, negotiated timeout = 40000 (org.apache.zookeeper.ClientCnxn) kafka | [2024-02-28 10:53:15,145] INFO Session: 0x1000004af7e0000 closed (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:15,145] INFO EventThread shut down for session: 0x1000004af7e0000 (org.apache.zookeeper.ClientCnxn) kafka | Using log4j config /etc/kafka/log4j.properties kafka | ===> Launching ... kafka | ===> Launching kafka ... kafka | [2024-02-28 10:53:15,778] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$) kafka | [2024-02-28 10:53:16,107] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util) kafka | [2024-02-28 10:53:16,180] INFO Registered signal handlers for TERM, INT, HUP (org.apache.kafka.common.utils.LoggingSignalHandler) kafka | [2024-02-28 10:53:16,181] INFO starting (kafka.server.KafkaServer) kafka | [2024-02-28 10:53:16,182] INFO Connecting to zookeeper on zookeeper:2181 (kafka.server.KafkaServer) kafka | [2024-02-28 10:53:16,194] INFO [ZooKeeperClient Kafka server] Initializing a new session to zookeeper:2181. (kafka.zookeeper.ZooKeeperClient) kafka | [2024-02-28 10:53:16,198] INFO Client environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,198] INFO Client environment:host.name=f608ba52fe94 (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,198] INFO Client environment:java.version=11.0.21 (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,198] INFO Client environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,198] INFO Client environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,198] INFO Client environment:java.class.path=/usr/bin/../share/java/kafka/scala-logging_2.13-3.9.4.jar:/usr/bin/../share/java/kafka/jersey-common-2.39.1.jar:/usr/bin/../share/java/kafka/swagger-annotations-2.2.8.jar:/usr/bin/../share/java/kafka/jose4j-0.9.3.jar:/usr/bin/../share/java/kafka/commons-validator-1.7.jar:/usr/bin/../share/java/kafka/javax.servlet-api-3.1.0.jar:/usr/bin/../share/java/kafka/aopalliance-repackaged-2.6.1.jar:/usr/bin/../share/java/kafka/netty-transport-4.1.100.Final.jar:/usr/bin/../share/java/kafka/rocksdbjni-7.9.2.jar:/usr/bin/../share/java/kafka/jackson-annotations-2.13.5.jar:/usr/bin/../share/java/kafka/commons-io-2.11.0.jar:/usr/bin/../share/java/kafka/javax.activation-api-1.2.0.jar:/usr/bin/../share/java/kafka/connect-mirror-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/commons-cli-1.4.jar:/usr/bin/../share/java/kafka/slf4j-reload4j-1.7.36.jar:/usr/bin/../share/java/kafka/scala-reflect-2.13.11.jar:/usr/bin/../share/java/kafka/netty-buffer-4.1.100.Final.jar:/usr/bin/../share/java/kafka/jline-3.22.0.jar:/usr/bin/../share/java/kafka/jakarta.ws.rs-api-2.1.6.jar:/usr/bin/../share/java/kafka/jakarta.annotation-api-1.3.5.jar:/usr/bin/../share/java/kafka/scala-java8-compat_2.13-1.0.2.jar:/usr/bin/../share/java/kafka/javax.ws.rs-api-2.1.1.jar:/usr/bin/../share/java/kafka/kafka-server-common-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-tools-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-log4j-appender-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/connect-json-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/netty-resolver-4.1.100.Final.jar:/usr/bin/../share/java/kafka/hk2-api-2.6.1.jar:/usr/bin/../share/java/kafka/zstd-jni-1.5.5-1.jar:/usr/bin/../share/java/kafka/jetty-http-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jackson-dataformat-csv-2.13.5.jar:/usr/bin/../share/java/kafka/kafka.jar:/usr/bin/../share/java/kafka/jetty-servlets-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/scala-library-2.13.11.jar:/usr/bin/../share/java/kafka/jakarta.inject-2.6.1.jar:/usr/bin/../share/java/kafka/jetty-continuation-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jakarta.xml.bind-api-2.3.3.jar:/usr/bin/../share/java/kafka/connect-basic-auth-extension-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/hk2-locator-2.6.1.jar:/usr/bin/../share/java/kafka/reflections-0.10.2.jar:/usr/bin/../share/java/kafka/slf4j-api-1.7.36.jar:/usr/bin/../share/java/kafka/jetty-server-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/paranamer-2.8.jar:/usr/bin/../share/java/kafka/commons-beanutils-1.9.4.jar:/usr/bin/../share/java/kafka/jaxb-api-2.3.1.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-2.39.1.jar:/usr/bin/../share/java/kafka/hk2-utils-2.6.1.jar:/usr/bin/../share/java/kafka/jackson-module-scala_2.13-2.13.5.jar:/usr/bin/../share/java/kafka/kafka-streams-examples-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/reload4j-1.2.25.jar:/usr/bin/../share/java/kafka/connect-transforms-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/jackson-core-2.13.5.jar:/usr/bin/../share/java/kafka/jersey-hk2-2.39.1.jar:/usr/bin/../share/java/kafka/jackson-databind-2.13.5.jar:/usr/bin/../share/java/kafka/jersey-client-2.39.1.jar:/usr/bin/../share/java/kafka/jetty-io-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/osgi-resource-locator-1.0.3.jar:/usr/bin/../share/java/kafka/connect-api-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/commons-digester-2.1.jar:/usr/bin/../share/java/kafka/netty-transport-native-epoll-4.1.100.Final.jar:/usr/bin/../share/java/kafka/argparse4j-0.7.0.jar:/usr/bin/../share/java/kafka/jackson-datatype-jdk8-2.13.5.jar:/usr/bin/../share/java/kafka/kafka-raft-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-scala_2.13-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-group-coordinator-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/audience-annotations-0.12.0.jar:/usr/bin/../share/java/kafka/jackson-module-jaxb-annotations-2.13.5.jar:/usr/bin/../share/java/kafka/javax.annotation-api-1.3.2.jar:/usr/bin/../share/java/kafka/kafka-storage-api-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/maven-artifact-3.8.8.jar:/usr/bin/../share/java/kafka/jackson-jaxrs-json-provider-2.13.5.jar:/usr/bin/../share/java/kafka/kafka-metadata-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/jakarta.validation-api-2.0.2.jar:/usr/bin/../share/java/kafka/jersey-server-2.39.1.jar:/usr/bin/../share/java/kafka/commons-lang3-3.8.1.jar:/usr/bin/../share/java/kafka/kafka-streams-test-utils-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/jopt-simple-5.0.4.jar:/usr/bin/../share/java/kafka/error_prone_annotations-2.10.0.jar:/usr/bin/../share/java/kafka/lz4-java-1.8.0.jar:/usr/bin/../share/java/kafka/jakarta.activation-api-1.2.2.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-core-2.39.1.jar:/usr/bin/../share/java/kafka/checker-qual-3.19.0.jar:/usr/bin/../share/java/kafka/connect-mirror-client-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/pcollections-4.0.1.jar:/usr/bin/../share/java/kafka/jackson-jaxrs-base-2.13.5.jar:/usr/bin/../share/java/kafka/jetty-client-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jetty-util-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/kafka-tools-api-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka_2.13-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-clients-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/commons-logging-1.2.jar:/usr/bin/../share/java/kafka/jsr305-3.0.2.jar:/usr/bin/../share/java/kafka/trogdor-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-shell-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/netty-codec-4.1.100.Final.jar:/usr/bin/../share/java/kafka/netty-transport-native-unix-common-4.1.100.Final.jar:/usr/bin/../share/java/kafka/scala-collection-compat_2.13-2.10.0.jar:/usr/bin/../share/java/kafka/metrics-core-2.2.0.jar:/usr/bin/../share/java/kafka/zookeeper-jute-3.8.3.jar:/usr/bin/../share/java/kafka/connect-runtime-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/kafka-storage-7.6.0-ccs.jar:/usr/bin/../share/java/kafka/netty-handler-4.1.100.Final.jar:/usr/bin/../share/java/kafka/commons-collections-3.2.2.jar:/usr/bin/../share/java/kafka/javassist-3.29.2-GA.jar:/usr/bin/../share/java/kafka/caffeine-2.9.3.jar:/usr/bin/../share/java/kafka/plexus-utils-3.3.1.jar:/usr/bin/../share/java/kafka/zookeeper-3.8.3.jar:/usr/bin/../share/java/kafka/activation-1.1.1.jar:/usr/bin/../share/java/kafka/netty-common-4.1.100.Final.jar:/usr/bin/../share/java/kafka/metrics-core-4.1.12.1.jar:/usr/bin/../share/java/kafka/jetty-servlet-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jetty-util-ajax-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/snappy-java-1.1.10.5.jar:/usr/bin/../share/java/kafka/netty-transport-classes-epoll-4.1.100.Final.jar:/usr/bin/../share/java/kafka/jetty-security-9.4.53.v20231009.jar:/usr/bin/../share/java/confluent-telemetry/* (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,198] INFO Client environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,198] INFO Client environment:java.io.tmpdir=/tmp (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,199] INFO Client environment:java.compiler= (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,199] INFO Client environment:os.name=Linux (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,199] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,199] INFO Client environment:os.version=4.15.0-192-generic (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,199] INFO Client environment:user.name=appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,199] INFO Client environment:user.home=/home/appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,199] INFO Client environment:user.dir=/home/appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,199] INFO Client environment:os.memory.free=1008MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,199] INFO Client environment:os.memory.max=1024MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,199] INFO Client environment:os.memory.total=1024MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,201] INFO Initiating client connection, connectString=zookeeper:2181 sessionTimeout=18000 watcher=kafka.zookeeper.ZooKeeperClient$ZooKeeperClientWatcher$@1f6c9cd8 (org.apache.zookeeper.ZooKeeper) kafka | [2024-02-28 10:53:16,204] INFO jute.maxbuffer value is 4194304 Bytes (org.apache.zookeeper.ClientCnxnSocket) kafka | [2024-02-28 10:53:16,210] INFO zookeeper.request.timeout value is 0. feature enabled=false (org.apache.zookeeper.ClientCnxn) grafana | logger=migrator t=2024-02-28T10:53:10.122756039Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.333242ms grafana | logger=migrator t=2024-02-28T10:53:10.126773788Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-02-28T10:53:10.126833239Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=60.541µs grafana | logger=migrator t=2024-02-28T10:53:10.13212761Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-02-28T10:53:10.132879263Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=751.133µs grafana | logger=migrator t=2024-02-28T10:53:10.139501897Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-02-28T10:53:10.14085242Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.350683ms grafana | logger=migrator t=2024-02-28T10:53:10.146191872Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-02-28T10:53:10.147706519Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.514567ms grafana | logger=migrator t=2024-02-28T10:53:10.152436661Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-02-28T10:53:10.153620041Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.18323ms grafana | logger=migrator t=2024-02-28T10:53:10.158610647Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-02-28T10:53:10.15938292Z level=info msg="Migration successfully executed" id="add index alert state" duration=772.033µs grafana | logger=migrator t=2024-02-28T10:53:10.165413224Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-02-28T10:53:10.166168757Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=755.673µs grafana | logger=migrator t=2024-02-28T10:53:10.172529697Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-02-28T10:53:10.173327231Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=809.824µs grafana | logger=migrator t=2024-02-28T10:53:10.178537961Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-02-28T10:53:10.179489677Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=951.666µs grafana | logger=migrator t=2024-02-28T10:53:10.185258037Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-02-28T10:53:10.186142413Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=887.366µs grafana | logger=migrator t=2024-02-28T10:53:10.19124181Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-02-28T10:53:10.2091794Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=17.93311ms grafana | logger=migrator t=2024-02-28T10:53:10.214272708Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-02-28T10:53:10.214989451Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=717.153µs grafana | logger=migrator t=2024-02-28T10:53:10.219502539Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-02-28T10:53:10.220540386Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.037668ms grafana | logger=migrator t=2024-02-28T10:53:10.225776937Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-02-28T10:53:10.226338696Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=561.289µs grafana | logger=migrator t=2024-02-28T10:53:10.30179964Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-02-28T10:53:10.302840877Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.043707ms grafana | logger=migrator t=2024-02-28T10:53:10.314122982Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-02-28T10:53:10.315063329Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=942.317µs grafana | logger=migrator t=2024-02-28T10:53:10.31864773Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-02-28T10:53:10.322347294Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.696604ms grafana | logger=migrator t=2024-02-28T10:53:10.330012977Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-02-28T10:53:10.333545737Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.53557ms grafana | logger=migrator t=2024-02-28T10:53:10.34006027Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-02-28T10:53:10.344657399Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.600299ms grafana | logger=migrator t=2024-02-28T10:53:10.374003086Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-02-28T10:53:10.377509957Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.503181ms grafana | logger=migrator t=2024-02-28T10:53:10.474296748Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-02-28T10:53:10.476075459Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.780751ms grafana | logger=migrator t=2024-02-28T10:53:10.574111492Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-02-28T10:53:10.574200683Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=94.592µs grafana | logger=migrator t=2024-02-28T10:53:10.584359139Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-02-28T10:53:10.584478431Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=115.442µs grafana | logger=migrator t=2024-02-28T10:53:10.593292003Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-02-28T10:53:10.594095747Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=800.894µs grafana | logger=migrator t=2024-02-28T10:53:10.599085523Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-28T10:53:10.600701561Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.609268ms grafana | logger=migrator t=2024-02-28T10:53:10.610710003Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-02-28T10:53:10.611986256Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.276463ms grafana | logger=migrator t=2024-02-28T10:53:10.621533421Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-02-28T10:53:10.622638809Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.105418ms grafana | logger=migrator t=2024-02-28T10:53:10.630952973Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-28T10:53:10.6324824Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.528767ms grafana | logger=migrator t=2024-02-28T10:53:10.644929124Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-02-28T10:53:10.651187423Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.257859ms grafana | logger=migrator t=2024-02-28T10:53:10.688977905Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-02-28T10:53:10.694959088Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=5.981023ms grafana | logger=migrator t=2024-02-28T10:53:10.69967436Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-02-28T10:53:10.699872393Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=198.193µs grafana | logger=migrator t=2024-02-28T10:53:10.70430555Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-02-28T10:53:10.705550601Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.249081ms grafana | logger=migrator t=2024-02-28T10:53:10.710375695Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-02-28T10:53:10.712306838Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.927943ms grafana | logger=migrator t=2024-02-28T10:53:10.717181812Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-02-28T10:53:10.721021569Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.839517ms grafana | logger=migrator t=2024-02-28T10:53:10.727860687Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-02-28T10:53:10.727962398Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=107.362µs grafana | logger=migrator t=2024-02-28T10:53:10.732533108Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-02-28T10:53:10.734694684Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=2.153976ms grafana | logger=migrator t=2024-02-28T10:53:10.741081035Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-02-28T10:53:10.7425578Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.476815ms grafana | logger=migrator t=2024-02-28T10:53:10.750349345Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-02-28T10:53:10.750538158Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=188.783µs grafana | logger=migrator t=2024-02-28T10:53:10.755669267Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-02-28T10:53:10.75646848Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=800.443µs grafana | logger=migrator t=2024-02-28T10:53:10.760342008Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-02-28T10:53:10.761324095Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=975.526µs grafana | logger=migrator t=2024-02-28T10:53:10.770884499Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-02-28T10:53:10.771903828Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.019639ms grafana | logger=migrator t=2024-02-28T10:53:10.778187246Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-02-28T10:53:10.780196351Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=2.022145ms grafana | logger=migrator t=2024-02-28T10:53:10.784995893Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-02-28T10:53:10.786061002Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.064629ms grafana | logger=migrator t=2024-02-28T10:53:10.792495973Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-02-28T10:53:10.794225003Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.73385ms grafana | logger=migrator t=2024-02-28T10:53:10.798928944Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-02-28T10:53:10.799030715Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=103.071µs grafana | logger=migrator t=2024-02-28T10:53:10.804884246Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-02-28T10:53:10.808781844Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.892958ms grafana | logger=migrator t=2024-02-28T10:53:10.812879104Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-02-28T10:53:10.81373441Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=856.416µs grafana | logger=migrator t=2024-02-28T10:53:10.817887551Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-02-28T10:53:10.821978592Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.090901ms grafana | logger=migrator t=2024-02-28T10:53:10.835877733Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-02-28T10:53:10.836424062Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=546.919µs grafana | logger=migrator t=2024-02-28T10:53:10.840758556Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-02-28T10:53:10.841751204Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=986.478µs kafka | [2024-02-28 10:53:16,211] INFO [ZooKeeperClient Kafka server] Waiting until connected. (kafka.zookeeper.ZooKeeperClient) kafka | [2024-02-28 10:53:16,220] INFO Opening socket connection to server zookeeper/172.17.0.5:2181. (org.apache.zookeeper.ClientCnxn) kafka | [2024-02-28 10:53:16,227] INFO Socket connection established, initiating session, client: /172.17.0.8:45964, server: zookeeper/172.17.0.5:2181 (org.apache.zookeeper.ClientCnxn) kafka | [2024-02-28 10:53:16,236] INFO Session establishment complete on server zookeeper/172.17.0.5:2181, session id = 0x1000004af7e0001, negotiated timeout = 18000 (org.apache.zookeeper.ClientCnxn) kafka | [2024-02-28 10:53:16,241] INFO [ZooKeeperClient Kafka server] Connected. (kafka.zookeeper.ZooKeeperClient) kafka | [2024-02-28 10:53:16,607] INFO Cluster ID = 3b1G6bkCSIKYhpM8tpXBxQ (kafka.server.KafkaServer) kafka | [2024-02-28 10:53:16,612] WARN No meta.properties file under dir /var/lib/kafka/data/meta.properties (kafka.server.BrokerMetadataCheckpoint) kafka | [2024-02-28 10:53:16,684] INFO KafkaConfig values: kafka | advertised.listeners = PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092 kafka | alter.config.policy.class.name = null kafka | alter.log.dirs.replication.quota.window.num = 11 kafka | alter.log.dirs.replication.quota.window.size.seconds = 1 kafka | authorizer.class.name = kafka | auto.create.topics.enable = true kafka | auto.include.jmx.reporter = true kafka | auto.leader.rebalance.enable = true kafka | background.threads = 10 kafka | broker.heartbeat.interval.ms = 2000 kafka | broker.id = 1 kafka | broker.id.generation.enable = true kafka | broker.rack = null kafka | broker.session.timeout.ms = 9000 kafka | client.quota.callback.class = null kafka | compression.type = producer kafka | connection.failed.authentication.delay.ms = 100 kafka | connections.max.idle.ms = 600000 kafka | connections.max.reauth.ms = 0 kafka | control.plane.listener.name = null kafka | controlled.shutdown.enable = true kafka | controlled.shutdown.max.retries = 3 kafka | controlled.shutdown.retry.backoff.ms = 5000 kafka | controller.listener.names = null kafka | controller.quorum.append.linger.ms = 25 kafka | controller.quorum.election.backoff.max.ms = 1000 kafka | controller.quorum.election.timeout.ms = 1000 kafka | controller.quorum.fetch.timeout.ms = 2000 kafka | controller.quorum.request.timeout.ms = 2000 kafka | controller.quorum.retry.backoff.ms = 20 kafka | controller.quorum.voters = [] kafka | controller.quota.window.num = 11 kafka | controller.quota.window.size.seconds = 1 kafka | controller.socket.timeout.ms = 30000 kafka | create.topic.policy.class.name = null kafka | default.replication.factor = 1 kafka | delegation.token.expiry.check.interval.ms = 3600000 kafka | delegation.token.expiry.time.ms = 86400000 kafka | delegation.token.master.key = null kafka | delegation.token.max.lifetime.ms = 604800000 kafka | delegation.token.secret.key = null kafka | delete.records.purgatory.purge.interval.requests = 1 kafka | delete.topic.enable = true kafka | early.start.listeners = null kafka | fetch.max.bytes = 57671680 kafka | fetch.purgatory.purge.interval.requests = 1000 kafka | group.consumer.assignors = [org.apache.kafka.coordinator.group.assignor.RangeAssignor] kafka | group.consumer.heartbeat.interval.ms = 5000 kafka | group.consumer.max.heartbeat.interval.ms = 15000 kafka | group.consumer.max.session.timeout.ms = 60000 kafka | group.consumer.max.size = 2147483647 kafka | group.consumer.min.heartbeat.interval.ms = 5000 kafka | group.consumer.min.session.timeout.ms = 45000 kafka | group.consumer.session.timeout.ms = 45000 kafka | group.coordinator.new.enable = false kafka | group.coordinator.threads = 1 kafka | group.initial.rebalance.delay.ms = 3000 kafka | group.max.session.timeout.ms = 1800000 kafka | group.max.size = 2147483647 kafka | group.min.session.timeout.ms = 6000 kafka | initial.broker.registration.timeout.ms = 60000 kafka | inter.broker.listener.name = PLAINTEXT kafka | inter.broker.protocol.version = 3.6-IV2 policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.6:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.8) policy-api | policy-api | [2024-02-28T10:53:24.324+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-28T10:53:24.325+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-02-28T10:53:25.953+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-28T10:53:26.042+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 80 ms. Found 6 JPA repository interfaces. policy-api | [2024-02-28T10:53:26.465+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-02-28T10:53:26.465+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-02-28T10:53:27.120+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-28T10:53:27.135+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-28T10:53:27.137+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-28T10:53:27.137+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] policy-api | [2024-02-28T10:53:27.231+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-28T10:53:27.231+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2837 ms policy-api | [2024-02-28T10:53:27.675+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-28T10:53:27.746+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-02-28T10:53:27.749+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer grafana | logger=migrator t=2024-02-28T10:53:10.852585291Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-02-28T10:53:10.853497576Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=912.365µs grafana | logger=migrator t=2024-02-28T10:53:10.860260563Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-02-28T10:53:10.880619935Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=20.360332ms grafana | logger=migrator t=2024-02-28T10:53:10.884832707Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-02-28T10:53:10.885299325Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=466.458µs grafana | logger=migrator t=2024-02-28T10:53:10.887839719Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-02-28T10:53:10.88850007Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=662.731µs grafana | logger=migrator t=2024-02-28T10:53:10.894226419Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-02-28T10:53:10.894545876Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=319.557µs policy-api | [2024-02-28T10:53:27.794+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-02-28T10:53:28.157+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-02-28T10:53:28.176+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-28T10:53:28.272+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@7636823f policy-api | [2024-02-28T10:53:28.275+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-02-28T10:53:28.300+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2024-02-28T10:53:28.301+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-02-28T10:53:30.205+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-02-28T10:53:30.209+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-28T10:53:31.284+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-02-28T10:53:32.563+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-02-28T10:53:33.753+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-02-28T10:53:33.955+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@13e6b26c, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@33e7ece5, org.springframework.security.web.context.SecurityContextHolderFilter@58a01e47, org.springframework.security.web.header.HeaderWriterFilter@4f3eddc0, org.springframework.security.web.authentication.logout.LogoutFilter@136bd1d1, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@52b7d2d3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6f3a8d5e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3005133e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@69765d94, org.springframework.security.web.access.ExceptionTranslationFilter@543d242e, org.springframework.security.web.access.intercept.AuthorizationFilter@19e86461] policy-api | [2024-02-28T10:53:34.828+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-28T10:53:34.922+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-28T10:53:34.940+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-28T10:53:34.957+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.402 seconds (process running for 12.02) policy-api | [2024-02-28T10:53:39.912+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-28T10:53:39.913+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-02-28T10:53:39.914+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-02-28T10:53:54.963+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-3] ***** OrderedServiceImpl implementers: policy-api | [] grafana | logger=migrator t=2024-02-28T10:53:10.897864783Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-02-28T10:53:10.898388402Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=523.719µs grafana | logger=migrator t=2024-02-28T10:53:10.901862821Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-02-28T10:53:10.902054945Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=195.394µs grafana | logger=migrator t=2024-02-28T10:53:10.906500492Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-02-28T10:53:10.912826051Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.3432ms grafana | logger=migrator t=2024-02-28T10:53:10.922681452Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-02-28T10:53:10.925540241Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=2.858629ms grafana | logger=migrator t=2024-02-28T10:53:10.930662658Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-02-28T10:53:10.932062803Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.400845ms grafana | logger=migrator t=2024-02-28T10:53:10.936394767Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-02-28T10:53:10.937272723Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=877.896µs grafana | logger=migrator t=2024-02-28T10:53:10.944862184Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-02-28T10:53:10.945048428Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=184.514µs grafana | logger=migrator t=2024-02-28T10:53:10.951747963Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-02-28T10:53:10.954955678Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=3.207585ms grafana | logger=migrator t=2024-02-28T10:53:10.960917611Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-02-28T10:53:10.961876198Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=959.277µs grafana | logger=migrator t=2024-02-28T10:53:10.970255183Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-02-28T10:53:10.970429396Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=174.593µs grafana | logger=migrator t=2024-02-28T10:53:10.976630113Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-02-28T10:53:10.976935428Z level=info msg="Migration successfully executed" id="Move region to single row" duration=305.465µs grafana | logger=migrator t=2024-02-28T10:53:10.984205314Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-02-28T10:53:10.985237312Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.032108ms grafana | logger=migrator t=2024-02-28T10:53:10.994746945Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-02-28T10:53:10.996110749Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.363834ms grafana | logger=migrator t=2024-02-28T10:53:11.007765862Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-28T10:53:11.009262416Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.491254ms grafana | logger=migrator t=2024-02-28T10:53:11.019723883Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-28T10:53:11.021242987Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.518774ms grafana | logger=migrator t=2024-02-28T10:53:11.029371826Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-02-28T10:53:11.030738028Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.365832ms grafana | logger=migrator t=2024-02-28T10:53:11.040414732Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-02-28T10:53:11.041870184Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.457253ms grafana | logger=migrator t=2024-02-28T10:53:11.048958607Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-02-28T10:53:11.049107559Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=145.212µs grafana | logger=migrator t=2024-02-28T10:53:11.058804883Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-02-28T10:53:11.060168635Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.363573ms grafana | logger=migrator t=2024-02-28T10:53:11.067087774Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-02-28T10:53:11.068278893Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.190489ms grafana | logger=migrator t=2024-02-28T10:53:11.076576534Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-02-28T10:53:11.07818081Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.603466ms grafana | logger=migrator t=2024-02-28T10:53:11.089513039Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-02-28T10:53:11.091519702Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=2.006462ms grafana | logger=migrator t=2024-02-28T10:53:11.100617346Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-02-28T10:53:11.100861899Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=247.184µs grafana | logger=migrator t=2024-02-28T10:53:11.106520999Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-02-28T10:53:11.107496625Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=971.006µs grafana | logger=migrator t=2024-02-28T10:53:11.117528144Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-02-28T10:53:11.117739447Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=210.713µs grafana | logger=migrator t=2024-02-28T10:53:11.131116699Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-02-28T10:53:11.132416839Z level=info msg="Migration successfully executed" id="create team table" duration=1.30204ms grafana | logger=migrator t=2024-02-28T10:53:11.143778059Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-02-28T10:53:11.144655774Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=877.895µs grafana | logger=migrator t=2024-02-28T10:53:11.15322762Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-02-28T10:53:11.154148464Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=920.314µs grafana | logger=migrator t=2024-02-28T10:53:11.162435646Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-02-28T10:53:11.166531371Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.096616ms grafana | logger=migrator t=2024-02-28T10:53:11.171520399Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-02-28T10:53:11.171720862Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=200.603µs grafana | logger=migrator t=2024-02-28T10:53:11.177971182Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-02-28T10:53:11.178820815Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=849.373µs grafana | logger=migrator t=2024-02-28T10:53:11.192771387Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-02-28T10:53:11.193722631Z level=info msg="Migration successfully executed" id="create team member table" duration=953.674µs grafana | logger=migrator t=2024-02-28T10:53:11.204131976Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-02-28T10:53:11.205465377Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.334461ms grafana | logger=migrator t=2024-02-28T10:53:11.224211794Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-02-28T10:53:11.22650269Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=2.292156ms grafana | logger=migrator t=2024-02-28T10:53:11.281547672Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-02-28T10:53:11.28332301Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.767617ms grafana | logger=migrator t=2024-02-28T10:53:11.295458053Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-02-28T10:53:11.302885879Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.431517ms grafana | logger=migrator t=2024-02-28T10:53:11.401874177Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-02-28T10:53:11.410682496Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=8.812509ms grafana | logger=migrator t=2024-02-28T10:53:11.648360369Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-02-28T10:53:11.654699159Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.33319ms grafana | logger=migrator t=2024-02-28T10:53:11.804993898Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-02-28T10:53:11.807136212Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=2.144694ms grafana | logger=migrator t=2024-02-28T10:53:11.856489833Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-02-28T10:53:11.858644848Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=2.146645ms grafana | logger=migrator t=2024-02-28T10:53:12.349149532Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-02-28T10:53:12.351322837Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.196445ms grafana | logger=migrator t=2024-02-28T10:53:12.670865075Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-02-28T10:53:12.673152921Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=2.289546ms grafana | logger=migrator t=2024-02-28T10:53:13.08715907Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-02-28T10:53:13.08911494Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.96154ms grafana | logger=migrator t=2024-02-28T10:53:13.471779288Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-02-28T10:53:13.48110795Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=9.341972ms grafana | logger=migrator t=2024-02-28T10:53:13.79337056Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-02-28T10:53:13.795275699Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.908729ms grafana | logger=migrator t=2024-02-28T10:53:14.024900383Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-02-28T10:53:14.026951529Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=2.053276ms grafana | logger=migrator t=2024-02-28T10:53:14.044327181Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-02-28T10:53:14.044905421Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=580.35µs grafana | logger=migrator t=2024-02-28T10:53:14.06029511Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-02-28T10:53:14.060755367Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=462.077µs grafana | logger=migrator t=2024-02-28T10:53:14.066366585Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-02-28T10:53:14.067727598Z level=info msg="Migration successfully executed" id="create tag table" duration=1.359843ms grafana | logger=migrator t=2024-02-28T10:53:14.073851425Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-02-28T10:53:14.075623776Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.772671ms grafana | logger=migrator t=2024-02-28T10:53:14.088054342Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | Waiting for mariadb port 3306... grafana | logger=migrator t=2024-02-28T10:53:14.088897727Z level=info msg="Migration successfully executed" id="create login attempt table" duration=855.185µs kafka | kafka.metrics.polling.interval.secs = 10 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-apex-pdp | Waiting for mariadb port 3306... simulator | Policy simulator config file: /opt/app/policy/simulators/etc/mounted/simParameters.json grafana | logger=migrator t=2024-02-28T10:53:14.098434353Z level=info msg="Executing migration" id="add index login_attempt.username" mariadb | 2024-02-28 10:53:05+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. kafka | kafka.metrics.reporters = [] prometheus | ts=2024-02-28T10:53:06.585Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-pap | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-apex-pdp | mariadb (172.17.0.3:3306) open simulator | overriding logback.xml grafana | logger=migrator t=2024-02-28T10:53:14.09998229Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.547707ms mariadb | 2024-02-28 10:53:05+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' kafka | leader.imbalance.check.interval.seconds = 300 prometheus | ts=2024-02-28T10:53:06.585Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" policy-pap | mariadb (172.17.0.3:3306) open policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-apex-pdp | Waiting for kafka port 9092... simulator | 2024-02-28 10:53:05,020 INFO replacing 'HOST_NAME' with simulator in /opt/app/policy/simulators/etc/mounted/simParameters.json grafana | logger=migrator t=2024-02-28T10:53:14.106674526Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" mariadb | 2024-02-28 10:53:05+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. kafka | leader.imbalance.per.broker.percentage = 10 prometheus | ts=2024-02-28T10:53:06.586Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@6213bb3ee580, date=20240226-11:36:26, tags=netgo,builtinassets,stringlabels)" policy-pap | Waiting for kafka port 9092... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-apex-pdp | kafka (172.17.0.8:9092) open simulator | 2024-02-28 10:53:05,077 INFO org.onap.policy.models.simulators starting grafana | logger=migrator t=2024-02-28T10:53:14.107429949Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=755.313µs mariadb | 2024-02-28 10:53:05+00:00 [Note] [Entrypoint]: Initializing database files kafka | listener.security.protocol.map = PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT prometheus | ts=2024-02-28T10:53:06.586Z caller=main.go:614 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" policy-pap | kafka (172.17.0.8:9092) open policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-apex-pdp | Waiting for pap port 6969... simulator | 2024-02-28 10:53:05,077 INFO org.onap.policy.models.simulators starting CDS gRPC Server Properties grafana | logger=migrator t=2024-02-28T10:53:14.120437406Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" mariadb | 2024-02-28 10:53:06 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) kafka | listeners = PLAINTEXT://0.0.0.0:9092,PLAINTEXT_HOST://0.0.0.0:29092 prometheus | ts=2024-02-28T10:53:06.586Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" policy-pap | Waiting for api port 6969... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-apex-pdp | pap (172.17.0.10:6969) open simulator | 2024-02-28 10:53:05,275 INFO org.onap.policy.models.simulators starting org.onap.policy.simulators.AaiSimulatorJaxRs_RESOURCE_LOCATION grafana | logger=migrator t=2024-02-28T10:53:14.151652389Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=31.203793ms mariadb | 2024-02-28 10:53:06 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF kafka | log.cleaner.backoff.ms = 15000 prometheus | ts=2024-02-28T10:53:06.586Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-pap | api (172.17.0.9:6969) open policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-apex-pdp | apexApps.sh: running application 'onappf' with command 'java -Dlogback.configurationFile=/opt/app/policy/apex-pdp/etc/logback.xml -cp /opt/app/policy/apex-pdp/etc:/opt/app/policy/apex-pdp/etc/hazelcast:/opt/app/policy/apex-pdp/etc/infinispan:/opt/app/policy/apex-pdp/lib/* -Djavax.net.ssl.keyStore=/opt/app/policy/apex-pdp/etc/ssl/policy-keystore -Djavax.net.ssl.keyStorePassword=Pol1cy_0nap -Djavax.net.ssl.trustStore=/opt/app/policy/apex-pdp/etc/ssl/policy-truststore -Djavax.net.ssl.trustStorePassword=Pol1cy_0nap -Dlogback.configurationFile=/opt/app/policy/apex-pdp/etc/logback.xml -Dhazelcast.config=/opt/app/policy/apex-pdp/etc/hazelcast.xml -Dhazelcast.mancenter.enabled=false org.onap.policy.apex.services.onappf.ApexStarterMain -c /opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json' simulator | 2024-02-28 10:53:05,276 INFO org.onap.policy.models.simulators starting A&AI simulator grafana | logger=migrator t=2024-02-28T10:53:14.158305185Z level=info msg="Executing migration" id="create login_attempt v2" mariadb | 2024-02-28 10:53:06 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. kafka | log.cleaner.dedupe.buffer.size = 134217728 prometheus | ts=2024-02-28T10:53:06.588Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-pap | Policy pap config file: /opt/app/policy/pap/etc/papParameters.yaml policy-db-migrator | 321 blocks policy-apex-pdp | [2024-02-28T10:53:49.798+00:00|INFO|ApexStarterMain|main] In ApexStarter with parameters [-c, /opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json] grafana | logger=migrator t=2024-02-28T10:53:14.159025618Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=721.823µs simulator | 2024-02-28 10:53:05,434 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-5c18016b==org.glassfish.jersey.servlet.ServletContainer@266aec30{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=A&AI simulator, host=0.0.0.0, port=6666, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@45905bff{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@2a2c13a8{/,null,STOPPED}, connector=A&AI simulator@54a67a45{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-5c18016b==org.glassfish.jersey.servlet.ServletContainer@266aec30{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START mariadb | kafka | log.cleaner.delete.retention.ms = 86400000 prometheus | ts=2024-02-28T10:53:06.589Z caller=main.go:1118 level=info msg="Starting TSDB ..." policy-pap | PDP group configuration file: /opt/app/policy/pap/etc/mounted/groups.json policy-db-migrator | Preparing upgrade release version: 0800 policy-apex-pdp | [2024-02-28T10:53:49.996+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: grafana | logger=migrator t=2024-02-28T10:53:14.167019607Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" simulator | 2024-02-28 10:53:05,445 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-5c18016b==org.glassfish.jersey.servlet.ServletContainer@266aec30{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=A&AI simulator, host=0.0.0.0, port=6666, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@45905bff{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@2a2c13a8{/,null,STOPPED}, connector=A&AI simulator@54a67a45{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-5c18016b==org.glassfish.jersey.servlet.ServletContainer@266aec30{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING mariadb | kafka | log.cleaner.enable = true prometheus | ts=2024-02-28T10:53:06.591Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 policy-pap | policy-db-migrator | Preparing upgrade release version: 0900 policy-apex-pdp | allow.auto.create.topics = true grafana | logger=migrator t=2024-02-28T10:53:14.168578793Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.586197ms simulator | 2024-02-28 10:53:05,448 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-5c18016b==org.glassfish.jersey.servlet.ServletContainer@266aec30{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=A&AI simulator, host=0.0.0.0, port=6666, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@45905bff{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@2a2c13a8{/,null,STOPPED}, connector=A&AI simulator@54a67a45{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=Thread[A&AI simulator-6666,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-5c18016b==org.glassfish.jersey.servlet.ServletContainer@266aec30{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! kafka | log.cleaner.io.buffer.load.factor = 0.9 prometheus | ts=2024-02-28T10:53:06.591Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-pap | . ____ _ __ _ _ policy-db-migrator | Preparing upgrade release version: 1000 policy-apex-pdp | auto.commit.interval.ms = 5000 grafana | logger=migrator t=2024-02-28T10:53:14.177654041Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" simulator | 2024-02-28 10:53:05,454 INFO jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.10+7-alpine-r0 mariadb | To do so, start the server, then issue the following command: kafka | log.cleaner.io.buffer.size = 524288 prometheus | ts=2024-02-28T10:53:06.596Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-pap | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-db-migrator | Preparing upgrade release version: 1100 policy-apex-pdp | auto.include.jmx.reporter = true grafana | logger=migrator t=2024-02-28T10:53:14.178052319Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=400.848µs simulator | 2024-02-28 10:53:05,509 INFO Session workerName=node0 mariadb | kafka | log.cleaner.io.max.bytes.per.second = 1.7976931348623157E308 prometheus | ts=2024-02-28T10:53:06.596Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.11µs policy-pap | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-db-migrator | Preparing upgrade release version: 1200 policy-apex-pdp | auto.offset.reset = latest grafana | logger=migrator t=2024-02-28T10:53:14.184277787Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" simulator | 2024-02-28 10:53:06,066 INFO Using GSON for REST calls mariadb | '/usr/bin/mysql_secure_installation' kafka | log.cleaner.max.compaction.lag.ms = 9223372036854775807 prometheus | ts=2024-02-28T10:53:06.596Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-pap | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-db-migrator | Preparing upgrade release version: 1300 policy-apex-pdp | bootstrap.servers = [kafka:9092] grafana | logger=migrator t=2024-02-28T10:53:14.184987639Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=711.242µs simulator | 2024-02-28 10:53:06,133 INFO Started o.e.j.s.ServletContextHandler@2a2c13a8{/,null,AVAILABLE} mariadb | kafka | log.cleaner.min.cleanable.ratio = 0.5 prometheus | ts=2024-02-28T10:53:06.596Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-pap | ' |____| .__|_| |_|_| |_\__, | / / / / policy-db-migrator | Done policy-apex-pdp | check.crcs = true grafana | logger=migrator t=2024-02-28T10:53:14.190134199Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-02-28T10:53:14.191263018Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.128499ms mariadb | which will also give you the option of removing the test kafka | log.cleaner.min.compaction.lag.ms = 0 kafka | log.cleaner.threads = 1 policy-pap | =========|_|==============|___/=/_/_/_/ policy-db-migrator | name version policy-apex-pdp | client.dns.lookup = use_all_dns_ips grafana | logger=migrator t=2024-02-28T10:53:14.200142364Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" simulator | 2024-02-28 10:53:06,140 INFO Started A&AI simulator@54a67a45{HTTP/1.1, (http/1.1)}{0.0.0.0:6666} mariadb | databases and anonymous user created by default. This is kafka | log.cleanup.policy = [delete] prometheus | ts=2024-02-28T10:53:06.596Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=34.61µs wal_replay_duration=463.628µs wbl_replay_duration=190ns total_replay_duration=528.249µs policy-pap | :: Spring Boot :: (v3.1.8) policy-db-migrator | policyadmin 0 policy-apex-pdp | client.id = consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-1 grafana | logger=migrator t=2024-02-28T10:53:14.201539987Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.387134ms simulator | 2024-02-28 10:53:06,146 INFO Started Server@45905bff{STARTING}[11.0.20,sto=0] @1622ms mariadb | strongly recommended for production servers. kafka | log.dir = /tmp/kafka-logs prometheus | ts=2024-02-28T10:53:06.599Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC policy-pap | policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-apex-pdp | client.rack = grafana | logger=migrator t=2024-02-28T10:53:14.208626541Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" simulator | 2024-02-28 10:53:06,147 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-5c18016b==org.glassfish.jersey.servlet.ServletContainer@266aec30{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}}, swaggerId=null, toString()=JettyServletServer(name=A&AI simulator, host=0.0.0.0, port=6666, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@45905bff{STARTED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@2a2c13a8{/,null,AVAILABLE}, connector=A&AI simulator@54a67a45{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=Thread[A&AI simulator-6666,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-5c18016b==org.glassfish.jersey.servlet.ServletContainer@266aec30{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4300 ms. mariadb | kafka | log.dirs = /var/lib/kafka/data prometheus | ts=2024-02-28T10:53:06.599Z caller=main.go:1142 level=info msg="TSDB started" policy-pap | [2024-02-28T10:53:38.799+00:00|INFO|PolicyPapApplication|main] Starting PolicyPapApplication using Java 17.0.10 with PID 32 (/app/pap.jar started by policy in /opt/app/policy/pap/bin) policy-db-migrator | upgrade: 0 -> 1300 policy-apex-pdp | connections.max.idle.ms = 540000 grafana | logger=migrator t=2024-02-28T10:53:14.208795594Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=171.783µs simulator | 2024-02-28 10:53:06,150 INFO org.onap.policy.models.simulators starting SDNC simulator mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb kafka | log.flush.interval.messages = 9223372036854775807 prometheus | ts=2024-02-28T10:53:06.599Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-pap | [2024-02-28T10:53:38.800+00:00|INFO|PolicyPapApplication|main] No active profile set, falling back to 1 default profile: "default" policy-db-migrator | policy-apex-pdp | default.api.timeout.ms = 60000 grafana | logger=migrator t=2024-02-28T10:53:14.215726504Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" simulator | 2024-02-28 10:53:06,153 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-7e22550a==org.glassfish.jersey.servlet.ServletContainer@615c5c2d{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SDNC simulator, host=0.0.0.0, port=6668, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@45e37a7e{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@62452cc9{/,null,STOPPED}, connector=SDNC simulator@78fbff54{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-7e22550a==org.glassfish.jersey.servlet.ServletContainer@615c5c2d{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START mariadb | kafka | log.flush.interval.ms = null prometheus | ts=2024-02-28T10:53:06.600Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=999.888µs db_storage=1.09µs remote_storage=1.43µs web_handler=620ns query_engine=1.13µs scrape=279.156µs scrape_sd=134.512µs notify=25.651µs notify_sd=8.46µs rules=3.29µs tracing=5.29µs policy-pap | [2024-02-28T10:53:40.723+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-apex-pdp | enable.auto.commit = true grafana | logger=migrator t=2024-02-28T10:53:14.2240804Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.347925ms simulator | 2024-02-28 10:53:06,153 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-7e22550a==org.glassfish.jersey.servlet.ServletContainer@615c5c2d{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SDNC simulator, host=0.0.0.0, port=6668, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@45e37a7e{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@62452cc9{/,null,STOPPED}, connector=SDNC simulator@78fbff54{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-7e22550a==org.glassfish.jersey.servlet.ServletContainer@615c5c2d{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING mariadb | Please report any problems at https://mariadb.org/jira kafka | log.flush.offset.checkpoint.interval.ms = 60000 prometheus | ts=2024-02-28T10:53:06.600Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." policy-pap | [2024-02-28T10:53:40.836+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 103 ms. Found 7 JPA repository interfaces. policy-db-migrator | -------------- policy-apex-pdp | exclude.internal.topics = true grafana | logger=migrator t=2024-02-28T10:53:14.238243456Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" simulator | 2024-02-28 10:53:06,154 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-7e22550a==org.glassfish.jersey.servlet.ServletContainer@615c5c2d{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SDNC simulator, host=0.0.0.0, port=6668, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@45e37a7e{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@62452cc9{/,null,STOPPED}, connector=SDNC simulator@78fbff54{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=Thread[SDNC simulator-6668,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-7e22550a==org.glassfish.jersey.servlet.ServletContainer@615c5c2d{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING mariadb | kafka | log.flush.scheduler.interval.ms = 9223372036854775807 prometheus | ts=2024-02-28T10:53:06.600Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." policy-pap | [2024-02-28T10:53:41.269+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.pap.main.exception.ServiceExceptionHandler policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-apex-pdp | fetch.max.bytes = 52428800 grafana | logger=migrator t=2024-02-28T10:53:14.24533976Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=7.097954ms simulator | 2024-02-28 10:53:06,154 INFO jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.10+7-alpine-r0 mariadb | The latest information about MariaDB is available at https://mariadb.org/. kafka | log.flush.start.offset.checkpoint.interval.ms = 60000 policy-pap | [2024-02-28T10:53:41.269+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.pap.main.exception.ServiceExceptionHandler policy-db-migrator | -------------- policy-apex-pdp | fetch.max.wait.ms = 500 grafana | logger=migrator t=2024-02-28T10:53:14.249832148Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" simulator | 2024-02-28 10:53:06,159 INFO Session workerName=node0 mariadb | kafka | log.index.interval.bytes = 4096 policy-pap | [2024-02-28T10:53:41.935+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-db-migrator | policy-apex-pdp | fetch.min.bytes = 1 grafana | logger=migrator t=2024-02-28T10:53:14.257265957Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=7.434859ms simulator | 2024-02-28 10:53:06,210 INFO Using GSON for REST calls mariadb | Consider joining MariaDB's strong and vibrant community: kafka | log.index.size.max.bytes = 10485760 policy-pap | [2024-02-28T10:53:41.945+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-db-migrator | policy-apex-pdp | group.id = bc28eae0-8287-4c0f-b48b-1b3f1373e7bf grafana | logger=migrator t=2024-02-28T10:53:14.266806943Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-02-28T10:53:14.272019684Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.212881ms mariadb | https://mariadb.org/get-involved/ kafka | log.local.retention.bytes = -2 policy-pap | [2024-02-28T10:53:41.947+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-apex-pdp | group.instance.id = null grafana | logger=migrator t=2024-02-28T10:53:14.281843465Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" mariadb | kafka | log.local.retention.ms = -2 policy-pap | [2024-02-28T10:53:41.947+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] policy-db-migrator | -------------- simulator | 2024-02-28 10:53:06,219 INFO Started o.e.j.s.ServletContextHandler@62452cc9{/,null,AVAILABLE} policy-apex-pdp | heartbeat.interval.ms = 3000 grafana | logger=migrator t=2024-02-28T10:53:14.283264519Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.434714ms mariadb | 2024-02-28 10:53:07+00:00 [Note] [Entrypoint]: Database files initialized kafka | log.message.downconversion.enable = true policy-pap | [2024-02-28T10:53:42.040+00:00|INFO|[/policy/pap/v1]|main] Initializing Spring embedded WebApplicationContext policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) simulator | 2024-02-28 10:53:06,220 INFO Started SDNC simulator@78fbff54{HTTP/1.1, (http/1.1)}{0.0.0.0:6668} policy-apex-pdp | interceptor.classes = [] grafana | logger=migrator t=2024-02-28T10:53:14.290434925Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" mariadb | 2024-02-28 10:53:07+00:00 [Note] [Entrypoint]: Starting temporary server kafka | log.message.format.version = 3.0-IV1 policy-pap | [2024-02-28T10:53:42.040+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3150 ms policy-db-migrator | -------------- simulator | 2024-02-28 10:53:06,220 INFO Started Server@45e37a7e{STARTING}[11.0.20,sto=0] @1696ms policy-apex-pdp | internal.leave.group.on.close = true grafana | logger=migrator t=2024-02-28T10:53:14.295782858Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.346423ms mariadb | 2024-02-28 10:53:07+00:00 [Note] [Entrypoint]: Waiting for server startup kafka | log.message.timestamp.after.max.ms = 9223372036854775807 policy-pap | [2024-02-28T10:53:42.488+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-db-migrator | simulator | 2024-02-28 10:53:06,220 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-7e22550a==org.glassfish.jersey.servlet.ServletContainer@615c5c2d{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}}, swaggerId=null, toString()=JettyServletServer(name=SDNC simulator, host=0.0.0.0, port=6668, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@45e37a7e{STARTED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@62452cc9{/,null,AVAILABLE}, connector=SDNC simulator@78fbff54{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=Thread[SDNC simulator-6668,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-7e22550a==org.glassfish.jersey.servlet.ServletContainer@615c5c2d{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4934 ms. policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false grafana | logger=migrator t=2024-02-28T10:53:14.302452594Z level=info msg="Executing migration" id="create server_lock table" mariadb | 2024-02-28 10:53:07 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... kafka | log.message.timestamp.before.max.ms = 9223372036854775807 policy-db-migrator | policy-apex-pdp | isolation.level = read_uncommitted simulator | 2024-02-28 10:53:06,221 INFO org.onap.policy.models.simulators starting SO simulator grafana | logger=migrator t=2024-02-28T10:53:14.303053574Z level=info msg="Migration successfully executed" id="create server_lock table" duration=600.58µs mariadb | 2024-02-28 10:53:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 kafka | log.message.timestamp.difference.max.ms = 9223372036854775807 policy-pap | [2024-02-28T10:53:42.591+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer simulator | 2024-02-28 10:53:06,224 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1021f6c9==org.glassfish.jersey.servlet.ServletContainer@fe7342f2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SO simulator, host=0.0.0.0, port=6669, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@7516e4e5{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@488eb7f2{/,null,STOPPED}, connector=SO simulator@5a7005d{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-1021f6c9==org.glassfish.jersey.servlet.ServletContainer@fe7342f2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START grafana | logger=migrator t=2024-02-28T10:53:14.311279617Z level=info msg="Executing migration" id="add index server_lock.operation_uid" mariadb | 2024-02-28 10:53:07 0 [Note] InnoDB: Number of transaction pools: 1 kafka | log.message.timestamp.type = CreateTime policy-pap | [2024-02-28T10:53:42.594+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-db-migrator | -------------- policy-apex-pdp | max.partition.fetch.bytes = 1048576 simulator | 2024-02-28 10:53:06,224 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1021f6c9==org.glassfish.jersey.servlet.ServletContainer@fe7342f2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SO simulator, host=0.0.0.0, port=6669, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@7516e4e5{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@488eb7f2{/,null,STOPPED}, connector=SO simulator@5a7005d{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-1021f6c9==org.glassfish.jersey.servlet.ServletContainer@fe7342f2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING grafana | logger=migrator t=2024-02-28T10:53:14.312713512Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.428125ms mariadb | 2024-02-28 10:53:07 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions kafka | log.preallocate = false policy-pap | [2024-02-28T10:53:42.634+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-apex-pdp | max.poll.interval.ms = 300000 simulator | 2024-02-28 10:53:06,224 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1021f6c9==org.glassfish.jersey.servlet.ServletContainer@fe7342f2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SO simulator, host=0.0.0.0, port=6669, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@7516e4e5{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@488eb7f2{/,null,STOPPED}, connector=SO simulator@5a7005d{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=Thread[SO simulator-6669,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-1021f6c9==org.glassfish.jersey.servlet.ServletContainer@fe7342f2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING grafana | logger=migrator t=2024-02-28T10:53:14.317093108Z level=info msg="Executing migration" id="create user auth token table" mariadb | 2024-02-28 10:53:07 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) kafka | log.retention.bytes = -1 policy-pap | [2024-02-28T10:53:43.001+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-db-migrator | -------------- policy-apex-pdp | max.poll.records = 500 simulator | 2024-02-28 10:53:06,225 INFO jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.10+7-alpine-r0 grafana | logger=migrator t=2024-02-28T10:53:14.317910223Z level=info msg="Migration successfully executed" id="create user auth token table" duration=817.025µs mariadb | 2024-02-28 10:53:07 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) kafka | log.retention.check.interval.ms = 300000 policy-pap | [2024-02-28T10:53:43.028+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-db-migrator | policy-apex-pdp | metadata.max.age.ms = 300000 simulator | 2024-02-28 10:53:06,231 INFO Session workerName=node0 grafana | logger=migrator t=2024-02-28T10:53:14.323740384Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" mariadb | 2024-02-28 10:53:07 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF kafka | log.retention.hours = 168 policy-pap | [2024-02-28T10:53:43.182+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@36a6bea6 policy-db-migrator | policy-apex-pdp | metric.reporters = [] simulator | 2024-02-28 10:53:06,284 INFO Using GSON for REST calls grafana | logger=migrator t=2024-02-28T10:53:14.32467779Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=937.286µs mariadb | 2024-02-28 10:53:07 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB kafka | log.retention.minutes = null policy-pap | [2024-02-28T10:53:43.184+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-apex-pdp | metrics.num.samples = 2 simulator | 2024-02-28 10:53:06,296 INFO Started o.e.j.s.ServletContextHandler@488eb7f2{/,null,AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:14.334628034Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" mariadb | 2024-02-28 10:53:07 0 [Note] InnoDB: Completed initialization of buffer pool kafka | log.retention.ms = null policy-pap | [2024-02-28T10:53:43.235+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-db-migrator | -------------- policy-apex-pdp | metrics.recording.level = INFO simulator | 2024-02-28 10:53:06,297 INFO Started SO simulator@5a7005d{HTTP/1.1, (http/1.1)}{0.0.0.0:6669} grafana | logger=migrator t=2024-02-28T10:53:14.336292742Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.659248ms mariadb | 2024-02-28 10:53:07 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) kafka | log.roll.hours = 168 policy-pap | [2024-02-28T10:53:43.236+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-apex-pdp | metrics.sample.window.ms = 30000 simulator | 2024-02-28 10:53:06,297 INFO Started Server@7516e4e5{STARTING}[11.0.20,sto=0] @1773ms grafana | logger=migrator t=2024-02-28T10:53:14.343151912Z level=info msg="Executing migration" id="add index user_auth_token.user_id" mariadb | 2024-02-28 10:53:08 0 [Note] InnoDB: 128 rollback segments are active. kafka | log.roll.jitter.hours = 0 policy-pap | [2024-02-28T10:53:45.209+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-db-migrator | -------------- policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] simulator | 2024-02-28 10:53:06,298 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1021f6c9==org.glassfish.jersey.servlet.ServletContainer@fe7342f2{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}}, swaggerId=null, toString()=JettyServletServer(name=SO simulator, host=0.0.0.0, port=6669, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@7516e4e5{STARTED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@488eb7f2{/,null,AVAILABLE}, connector=SO simulator@5a7005d{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=Thread[SO simulator-6669,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-1021f6c9==org.glassfish.jersey.servlet.ServletContainer@fe7342f2{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4926 ms. grafana | logger=migrator t=2024-02-28T10:53:14.344837431Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.679499ms mariadb | 2024-02-28 10:53:08 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... kafka | log.roll.jitter.ms = null policy-pap | [2024-02-28T10:53:45.213+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | policy-apex-pdp | receive.buffer.bytes = 65536 simulator | 2024-02-28 10:53:06,299 INFO org.onap.policy.models.simulators starting VFC simulator grafana | logger=migrator t=2024-02-28T10:53:14.350793895Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" mariadb | 2024-02-28 10:53:08 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. kafka | log.roll.ms = null policy-pap | [2024-02-28T10:53:45.775+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.pap.main.repository.PdpGroupRepository policy-db-migrator | policy-apex-pdp | reconnect.backoff.max.ms = 1000 simulator | 2024-02-28 10:53:06,303 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-3e7634b9==org.glassfish.jersey.servlet.ServletContainer@ca975b37{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=VFC simulator, host=0.0.0.0, port=6670, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@6f0b0a5e{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@6035b93b{/,null,STOPPED}, connector=VFC simulator@4189d70b{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-3e7634b9==org.glassfish.jersey.servlet.ServletContainer@ca975b37{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START grafana | logger=migrator t=2024-02-28T10:53:14.356432183Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.634108ms mariadb | 2024-02-28 10:53:08 0 [Note] InnoDB: log sequence number 46590; transaction id 14 kafka | log.segment.bytes = 1073741824 policy-pap | [2024-02-28T10:53:46.317+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.pap.main.repository.PolicyStatusRepository policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-apex-pdp | reconnect.backoff.ms = 50 simulator | 2024-02-28 10:53:06,304 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-3e7634b9==org.glassfish.jersey.servlet.ServletContainer@ca975b37{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=VFC simulator, host=0.0.0.0, port=6670, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@6f0b0a5e{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@6035b93b{/,null,STOPPED}, connector=VFC simulator@4189d70b{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-3e7634b9==org.glassfish.jersey.servlet.ServletContainer@ca975b37{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING grafana | logger=migrator t=2024-02-28T10:53:14.363079499Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" mariadb | 2024-02-28 10:53:08 0 [Note] Plugin 'FEEDBACK' is disabled. kafka | log.segment.delete.delay.ms = 60000 policy-pap | [2024-02-28T10:53:46.449+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.pap.main.repository.PolicyAuditRepository policy-db-migrator | -------------- policy-apex-pdp | request.timeout.ms = 30000 simulator | 2024-02-28 10:53:06,305 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-3e7634b9==org.glassfish.jersey.servlet.ServletContainer@ca975b37{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=VFC simulator, host=0.0.0.0, port=6670, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@6f0b0a5e{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@6035b93b{/,null,STOPPED}, connector=VFC simulator@4189d70b{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=Thread[VFC simulator-6670,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-3e7634b9==org.glassfish.jersey.servlet.ServletContainer@ca975b37{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING grafana | logger=migrator t=2024-02-28T10:53:14.364015735Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=930.976µs mariadb | 2024-02-28 10:53:08 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. kafka | max.connection.creation.rate = 2147483647 policy-pap | [2024-02-28T10:53:46.855+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-apex-pdp | retry.backoff.ms = 100 simulator | 2024-02-28 10:53:06,306 INFO jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.10+7-alpine-r0 grafana | logger=migrator t=2024-02-28T10:53:14.369719144Z level=info msg="Executing migration" id="create cache_data table" mariadb | 2024-02-28 10:53:08 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. kafka | max.connections = 2147483647 policy-pap | allow.auto.create.topics = true policy-db-migrator | -------------- policy-apex-pdp | sasl.client.callback.handler.class = null simulator | 2024-02-28 10:53:06,309 INFO Session workerName=node0 grafana | logger=migrator t=2024-02-28T10:53:14.370877914Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.15873ms mariadb | 2024-02-28 10:53:08 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. kafka | max.connections.per.ip = 2147483647 policy-pap | auto.commit.interval.ms = 5000 policy-db-migrator | policy-apex-pdp | sasl.jaas.config = null simulator | 2024-02-28 10:53:06,347 INFO Using GSON for REST calls grafana | logger=migrator t=2024-02-28T10:53:14.41659545Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" mariadb | 2024-02-28 10:53:08 0 [Note] mariadbd: ready for connections. kafka | max.connections.per.ip.overrides = policy-pap | auto.include.jmx.reporter = true policy-db-migrator | policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit simulator | 2024-02-28 10:53:06,356 INFO Started o.e.j.s.ServletContextHandler@6035b93b{/,null,AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:14.418117516Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.521706ms mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution kafka | max.incremental.fetch.session.cache.slots = 1000 policy-pap | auto.offset.reset = latest policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 simulator | 2024-02-28 10:53:06,358 INFO Started VFC simulator@4189d70b{HTTP/1.1, (http/1.1)}{0.0.0.0:6670} grafana | logger=migrator t=2024-02-28T10:53:14.423256206Z level=info msg="Executing migration" id="create short_url table v1" mariadb | 2024-02-28 10:53:08+00:00 [Note] [Entrypoint]: Temporary server started. kafka | message.max.bytes = 1048588 policy-pap | bootstrap.servers = [kafka:9092] policy-db-migrator | -------------- policy-apex-pdp | sasl.kerberos.service.name = null simulator | 2024-02-28 10:53:06,358 INFO Started Server@6f0b0a5e{STARTING}[11.0.20,sto=0] @1833ms mariadb | 2024-02-28 10:53:10+00:00 [Note] [Entrypoint]: Creating user policy_user grafana | logger=migrator t=2024-02-28T10:53:14.424499468Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.242992ms grafana | logger=migrator t=2024-02-28T10:53:14.432900524Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-pap | check.crcs = true policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 simulator | 2024-02-28 10:53:06,358 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-3e7634b9==org.glassfish.jersey.servlet.ServletContainer@ca975b37{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}}, swaggerId=null, toString()=JettyServletServer(name=VFC simulator, host=0.0.0.0, port=6670, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@6f0b0a5e{STARTED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@6035b93b{/,null,AVAILABLE}, connector=VFC simulator@4189d70b{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=Thread[VFC simulator-6670,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-3e7634b9==org.glassfish.jersey.servlet.ServletContainer@ca975b37{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4947 ms. mariadb | 2024-02-28 10:53:10+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) grafana | logger=migrator t=2024-02-28T10:53:14.43438432Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.482886ms grafana | logger=migrator t=2024-02-28T10:53:14.44246979Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-pap | client.dns.lookup = use_all_dns_ips policy-db-migrator | -------------- policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 simulator | 2024-02-28 10:53:06,359 INFO org.onap.policy.models.simulators started mariadb | grafana | logger=migrator t=2024-02-28T10:53:14.442577722Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=108.862µs grafana | logger=migrator t=2024-02-28T10:53:14.448734969Z level=info msg="Executing migration" id="delete alert_definition table" policy-pap | client.id = consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-1 policy-db-migrator | policy-apex-pdp | sasl.login.callback.handler.class = null mariadb | 2024-02-28 10:53:10+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf kafka | metadata.log.dir = null grafana | logger=migrator t=2024-02-28T10:53:14.448863261Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=130.682µs simulator | 2024-02-28 10:54:18,944 INFO 172.17.0.11 - - [28/Feb/2024:10:54:18 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.10)" policy-pap | client.rack = policy-db-migrator | policy-apex-pdp | sasl.login.class = null mariadb | kafka | metadata.log.max.record.bytes.between.snapshots = 20971520 grafana | logger=migrator t=2024-02-28T10:53:14.455493127Z level=info msg="Executing migration" id="recreate alert_definition table" simulator | 2024-02-28 10:54:19,481 INFO Received request input to CDS: commonHeader { policy-pap | connections.max.idle.ms = 540000 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-apex-pdp | sasl.login.connect.timeout.ms = null mariadb | 2024-02-28 10:53:10+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh kafka | metadata.log.max.snapshot.interval.ms = 3600000 grafana | logger=migrator t=2024-02-28T10:53:14.456728738Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.235011ms simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-pap | default.api.timeout.ms = 60000 policy-db-migrator | -------------- policy-apex-pdp | sasl.login.read.timeout.ms = null mariadb | #!/bin/bash -xv kafka | metadata.log.segment.bytes = 1073741824 grafana | logger=migrator t=2024-02-28T10:53:14.465725695Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-pap | enable.auto.commit = true policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved kafka | metadata.log.segment.min.bytes = 8388608 grafana | logger=migrator t=2024-02-28T10:53:14.467235962Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.509517ms simulator | originatorId: "POLICY" policy-pap | exclude.internal.topics = true policy-db-migrator | -------------- mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. kafka | metadata.log.segment.ms = 604800000 grafana | logger=migrator t=2024-02-28T10:53:14.476879399Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" simulator | } policy-pap | fetch.max.bytes = 52428800 policy-db-migrator | policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 mariadb | # kafka | metadata.max.idle.interval.ms = 500 grafana | logger=migrator t=2024-02-28T10:53:14.478377026Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.502556ms simulator | actionIdentifiers { policy-pap | fetch.max.wait.ms = 500 policy-db-migrator | policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); kafka | metadata.max.retention.bytes = 104857600 grafana | logger=migrator t=2024-02-28T10:53:14.486258563Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" simulator | blueprintName: "controlloop-hostname-update" policy-pap | fetch.min.bytes = 1 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 mariadb | # you may not use this file except in compliance with the License. kafka | metadata.max.retention.ms = 604800000 grafana | logger=migrator t=2024-02-28T10:53:14.486363645Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=106.292µs simulator | blueprintVersion: "1.0.4" policy-pap | group.id = 24e9b3a0-4ba6-4104-9c94-cd2ff4944c99 policy-db-migrator | -------------- policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 mariadb | # You may obtain a copy of the License at kafka | metric.reporters = [] grafana | logger=migrator t=2024-02-28T10:53:14.491663087Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" simulator | actionName: "update-config" policy-pap | group.instance.id = null policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-apex-pdp | sasl.login.retry.backoff.ms = 100 mariadb | # kafka | metrics.num.samples = 2 grafana | logger=migrator t=2024-02-28T10:53:14.493116492Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.453025ms simulator | mode: "sync" policy-pap | heartbeat.interval.ms = 3000 policy-db-migrator | -------------- policy-apex-pdp | sasl.mechanism = GSSAPI mariadb | # http://www.apache.org/licenses/LICENSE-2.0 kafka | metrics.recording.level = INFO grafana | logger=migrator t=2024-02-28T10:53:14.498636198Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" simulator | } policy-pap | interceptor.classes = [] policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 mariadb | # kafka | metrics.sample.window.ms = 30000 grafana | logger=migrator t=2024-02-28T10:53:14.500041093Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.404485ms simulator | payload { policy-pap | internal.leave.group.on.close = true policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.expected.audience = null mariadb | # Unless required by applicable law or agreed to in writing, software kafka | min.insync.replicas = 1 grafana | logger=migrator t=2024-02-28T10:53:14.504542931Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" simulator | fields { policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-apex-pdp | sasl.oauthbearer.expected.issuer = null mariadb | # distributed under the License is distributed on an "AS IS" BASIS, kafka | node.id = 1 grafana | logger=migrator t=2024-02-28T10:53:14.506169829Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.626429ms simulator | key: "update-config-request" policy-pap | isolation.level = read_uncommitted policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. kafka | num.io.threads = 8 grafana | logger=migrator t=2024-02-28T10:53:14.512335206Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" simulator | value { policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 mariadb | # See the License for the specific language governing permissions and kafka | num.network.threads = 3 grafana | logger=migrator t=2024-02-28T10:53:14.513284583Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=949.237µs simulator | struct_value { policy-pap | max.partition.fetch.bytes = 1048576 policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 mariadb | # limitations under the License. grafana | logger=migrator t=2024-02-28T10:53:14.519486491Z level=info msg="Executing migration" id="Add column paused in alert_definition" simulator | fields { kafka | num.partitions = 1 policy-pap | max.poll.interval.ms = 300000 policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null mariadb | simulator | key: "hostname" kafka | num.recovery.threads.per.data.dir = 1 policy-pap | max.poll.records = 500 policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope grafana | logger=migrator t=2024-02-28T10:53:14.525668139Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.22751ms mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp simulator | value { kafka | num.replica.alter.log.dirs.threads = null policy-pap | metadata.max.age.ms = 300000 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub grafana | logger=migrator t=2024-02-28T10:53:14.530794718Z level=info msg="Executing migration" id="drop alert_definition table" mariadb | do simulator | string_value: "hostnsl4s" kafka | num.replica.fetchers = 1 policy-pap | metric.reporters = [] policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null grafana | logger=migrator t=2024-02-28T10:53:14.532046929Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.251891ms mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" simulator | } kafka | offset.metadata.max.bytes = 4096 policy-pap | metrics.num.samples = 2 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-apex-pdp | security.protocol = PLAINTEXT grafana | logger=migrator t=2024-02-28T10:53:14.540255422Z level=info msg="Executing migration" id="delete alert_definition_version table" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" simulator | } kafka | offsets.commit.required.acks = -1 policy-pap | metrics.recording.level = INFO policy-db-migrator | -------------- policy-apex-pdp | security.providers = null grafana | logger=migrator t=2024-02-28T10:53:14.540454546Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=210.484µs mariadb | done simulator | fields { kafka | offsets.commit.timeout.ms = 5000 policy-pap | metrics.sample.window.ms = 30000 policy-db-migrator | policy-apex-pdp | send.buffer.bytes = 131072 grafana | logger=migrator t=2024-02-28T10:53:14.549196068Z level=info msg="Executing migration" id="recreate alert_definition_version table" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp simulator | key: "IP" kafka | offsets.load.buffer.size = 5242880 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] policy-db-migrator | policy-apex-pdp | session.timeout.ms = 45000 grafana | logger=migrator t=2024-02-28T10:53:14.550795376Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.600138ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' simulator | value { kafka | offsets.retention.check.interval.ms = 600000 policy-pap | receive.buffer.bytes = 65536 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 grafana | logger=migrator t=2024-02-28T10:53:14.556947953Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' simulator | string_value: "10.10.10.10" kafka | offsets.retention.minutes = 10080 policy-pap | reconnect.backoff.max.ms = 1000 policy-db-migrator | -------------- policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 grafana | logger=migrator t=2024-02-28T10:53:14.558079862Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.131709ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp simulator | } kafka | offsets.topic.compression.codec = 0 policy-pap | reconnect.backoff.ms = 50 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-apex-pdp | ssl.cipher.suites = null grafana | logger=migrator t=2024-02-28T10:53:14.561359849Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' simulator | } kafka | offsets.topic.num.partitions = 50 policy-pap | request.timeout.ms = 30000 policy-db-migrator | -------------- policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] grafana | logger=migrator t=2024-02-28T10:53:14.562422728Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.061139ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' simulator | fields { kafka | offsets.topic.replication.factor = 1 policy-pap | retry.backoff.ms = 100 policy-db-migrator | policy-apex-pdp | ssl.endpoint.identification.algorithm = https grafana | logger=migrator t=2024-02-28T10:53:14.565505862Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp simulator | key: "pnfName" kafka | offsets.topic.segment.bytes = 104857600 policy-pap | sasl.client.callback.handler.class = null policy-db-migrator | policy-apex-pdp | ssl.engine.factory.class = null grafana | logger=migrator t=2024-02-28T10:53:14.565595563Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=90.301µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' simulator | value { kafka | password.encoder.cipher.algorithm = AES/CBC/PKCS5Padding policy-pap | sasl.jaas.config = null policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-apex-pdp | ssl.key.password = null grafana | logger=migrator t=2024-02-28T10:53:14.569888137Z level=info msg="Executing migration" id="drop alert_definition_version table" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' simulator | string_value: "demo-pnf" kafka | password.encoder.iterations = 4096 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-db-migrator | -------------- policy-apex-pdp | ssl.keymanager.algorithm = SunX509 grafana | logger=migrator t=2024-02-28T10:53:14.571354633Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.466106ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp simulator | } kafka | password.encoder.key.length = 128 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-apex-pdp | ssl.keystore.certificate.chain = null grafana | logger=migrator t=2024-02-28T10:53:14.576021995Z level=info msg="Executing migration" id="create alert_instance table" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' simulator | } kafka | password.encoder.keyfactory.algorithm = null policy-pap | sasl.kerberos.service.name = null policy-db-migrator | -------------- policy-apex-pdp | ssl.keystore.key = null grafana | logger=migrator t=2024-02-28T10:53:14.577341848Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.319592ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' simulator | } kafka | password.encoder.old.secret = null policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 policy-db-migrator | policy-apex-pdp | ssl.keystore.location = null grafana | logger=migrator t=2024-02-28T10:53:14.580911319Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp simulator | } kafka | password.encoder.secret = null policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-db-migrator | policy-apex-pdp | ssl.keystore.password = null grafana | logger=migrator t=2024-02-28T10:53:14.581980119Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.06852ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' simulator | } kafka | principal.builder.class = class org.apache.kafka.common.security.authenticator.DefaultKafkaPrincipalBuilder policy-pap | sasl.login.callback.handler.class = null policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-apex-pdp | ssl.keystore.type = JKS grafana | logger=migrator t=2024-02-28T10:53:14.586655689Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' simulator | } kafka | process.roles = [] policy-pap | sasl.login.class = null policy-db-migrator | -------------- policy-apex-pdp | ssl.protocol = TLSv1.3 grafana | logger=migrator t=2024-02-28T10:53:14.588229017Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.572298ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp simulator | kafka | producer.id.expiration.check.interval.ms = 600000 policy-pap | sasl.login.connect.timeout.ms = null policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-apex-pdp | ssl.provider = null grafana | logger=migrator t=2024-02-28T10:53:14.592154845Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' simulator | 2024-02-28 10:54:19,509 INFO Fetching response from controlloop-hostname-update-update-config.json kafka | producer.id.expiration.ms = 86400000 policy-db-migrator | -------------- policy-pap | sasl.login.read.timeout.ms = null policy-apex-pdp | ssl.secure.random.implementation = null grafana | logger=migrator t=2024-02-28T10:53:14.599826079Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.671934ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' simulator | 2024-02-28 10:54:23,565 INFO 172.17.0.11 - - [28/Feb/2024:10:54:23 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.10)" kafka | producer.purgatory.purge.interval.requests = 1000 policy-db-migrator | policy-pap | sasl.login.refresh.buffer.seconds = 300 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX mariadb | grafana | logger=migrator t=2024-02-28T10:53:14.60335651Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" simulator | 2024-02-28 10:54:23,596 INFO Received request input to CDS: commonHeader { kafka | queued.max.request.bytes = -1 policy-db-migrator | policy-pap | sasl.login.refresh.min.period.seconds = 60 policy-apex-pdp | ssl.truststore.certificates = null grafana | logger=migrator t=2024-02-28T10:53:14.604349528Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=992.988µs simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" kafka | queued.max.requests = 500 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-pap | sasl.login.refresh.window.factor = 0.8 policy-apex-pdp | ssl.truststore.location = null grafana | logger=migrator t=2024-02-28T10:53:14.608696733Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' kafka | quota.window.num = 11 policy-db-migrator | -------------- policy-pap | sasl.login.refresh.window.jitter = 0.05 policy-apex-pdp | ssl.truststore.password = null grafana | logger=migrator t=2024-02-28T10:53:14.60964431Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=951.767µs simulator | originatorId: "POLICY" mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql kafka | quota.window.size.seconds = 1 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-pap | sasl.login.retry.backoff.max.ms = 10000 policy-apex-pdp | ssl.truststore.type = JKS grafana | logger=migrator t=2024-02-28T10:53:14.612835976Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" simulator | } mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp kafka | remote.log.index.file.cache.total.size.bytes = 1073741824 policy-db-migrator | -------------- policy-pap | sasl.login.retry.backoff.ms = 100 policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer grafana | logger=migrator t=2024-02-28T10:53:14.65156883Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.731434ms mariadb | kafka | remote.log.manager.task.interval.ms = 30000 policy-db-migrator | policy-pap | sasl.mechanism = GSSAPI policy-apex-pdp | simulator | actionIdentifiers { grafana | logger=migrator t=2024-02-28T10:53:14.657519613Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" mariadb | 2024-02-28 10:53:14+00:00 [Note] [Entrypoint]: Stopping temporary server kafka | remote.log.manager.task.retry.backoff.max.ms = 30000 policy-db-migrator | policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 policy-apex-pdp | [2024-02-28T10:53:50.158+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 simulator | blueprintName: "controlloop-hostname-update" grafana | logger=migrator t=2024-02-28T10:53:14.69928572Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.761697ms mariadb | 2024-02-28 10:53:14 0 [Note] mariadbd (initiated by: unknown): Normal shutdown kafka | remote.log.manager.task.retry.backoff.ms = 500 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-pap | sasl.oauthbearer.expected.audience = null policy-apex-pdp | [2024-02-28T10:53:50.158+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 simulator | blueprintVersion: "1.0.4" grafana | logger=migrator t=2024-02-28T10:53:14.703277159Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" mariadb | 2024-02-28 10:53:14 0 [Note] InnoDB: FTS optimize thread exiting. kafka | remote.log.manager.task.retry.jitter = 0.2 policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.expected.issuer = null policy-apex-pdp | [2024-02-28T10:53:50.158+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1709117630156 simulator | actionName: "update-config" grafana | logger=migrator t=2024-02-28T10:53:14.704039792Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=724.453µs mariadb | 2024-02-28 10:53:14 0 [Note] InnoDB: Starting shutdown... kafka | remote.log.manager.thread.pool.size = 10 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-apex-pdp | [2024-02-28T10:53:50.160+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-1, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Subscribed to topic(s): policy-pdp-pap simulator | mode: "sync" grafana | logger=migrator t=2024-02-28T10:53:14.706915922Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" mariadb | 2024-02-28 10:53:14 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool kafka | remote.log.metadata.custom.metadata.max.bytes = 128 policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-apex-pdp | [2024-02-28T10:53:50.171+00:00|INFO|ServiceManager|main] service manager starting simulator | } grafana | logger=migrator t=2024-02-28T10:53:14.70791018Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=993.588µs mariadb | 2024-02-28 10:53:14 0 [Note] InnoDB: Buffer pool(s) dump completed at 240228 10:53:14 kafka | remote.log.metadata.manager.class.name = org.apache.kafka.server.log.remote.metadata.storage.TopicBasedRemoteLogMetadataManager policy-db-migrator | policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-apex-pdp | [2024-02-28T10:53:50.171+00:00|INFO|ServiceManager|main] service manager starting topics simulator | payload { grafana | logger=migrator t=2024-02-28T10:53:14.712470369Z level=info msg="Executing migration" id="add current_reason column related to current_state" mariadb | 2024-02-28 10:53:14 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" kafka | remote.log.metadata.manager.class.path = null policy-db-migrator | policy-pap | sasl.oauthbearer.jwks.endpoint.url = null policy-apex-pdp | [2024-02-28T10:53:50.194+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf, consumerInstance=policy-apex-pdp, fetchTimeout=15000, fetchLimit=-1, consumer=KafkaConsumerWrapper [fetchTimeout=15000], alive=false, locked=false, uebThread=null, topicListeners=0, toString()=BusTopicBase [apiKey=null, apiSecret=null, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[kafka:9092], topic=policy-pdp-pap, effectiveTopic=policy-pdp-pap, #recentEvents=0, locked=false, #topicListeners=0]]]]: starting simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:14.720753833Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.284064ms mariadb | 2024-02-28 10:53:14 0 [Note] InnoDB: Shutdown completed; log sequence number 324233; transaction id 298 kafka | remote.log.metadata.manager.impl.prefix = rlmm.config. policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-pap | sasl.oauthbearer.scope.claim.name = scope policy-apex-pdp | [2024-02-28T10:53:50.215+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: simulator | key: "update-config-request" grafana | logger=migrator t=2024-02-28T10:53:14.724254735Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" mariadb | 2024-02-28 10:53:14 0 [Note] mariadbd: Shutdown complete kafka | remote.log.metadata.manager.listener.name = null policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.sub.claim.name = sub policy-apex-pdp | allow.auto.create.topics = true simulator | value { grafana | logger=migrator t=2024-02-28T10:53:14.729770921Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.515946ms mariadb | kafka | remote.log.reader.max.pending.tasks = 100 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-pap | sasl.oauthbearer.token.endpoint.url = null policy-apex-pdp | auto.commit.interval.ms = 5000 simulator | struct_value { grafana | logger=migrator t=2024-02-28T10:53:14.732879435Z level=info msg="Executing migration" id="create alert_rule table" mariadb | 2024-02-28 10:53:14+00:00 [Note] [Entrypoint]: Temporary server stopped kafka | remote.log.reader.threads = 10 policy-db-migrator | -------------- policy-pap | security.protocol = PLAINTEXT policy-apex-pdp | auto.include.jmx.reporter = true simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:14.733699409Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=819.874µs mariadb | kafka | remote.log.storage.manager.class.name = null policy-db-migrator | policy-pap | security.providers = null policy-apex-pdp | auto.offset.reset = latest simulator | key: "hostname" grafana | logger=migrator t=2024-02-28T10:53:14.739422128Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" mariadb | 2024-02-28 10:53:14+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. kafka | remote.log.storage.manager.class.path = null policy-db-migrator | policy-pap | send.buffer.bytes = 131072 policy-apex-pdp | bootstrap.servers = [kafka:9092] simulator | value { grafana | logger=migrator t=2024-02-28T10:53:14.740439876Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.017398ms mariadb | kafka | remote.log.storage.manager.impl.prefix = rsm.config. policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-pap | session.timeout.ms = 45000 policy-apex-pdp | check.crcs = true simulator | string_value: "hostvoi568" grafana | logger=migrator t=2024-02-28T10:53:14.743800355Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" mariadb | 2024-02-28 10:53:15 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... kafka | remote.log.storage.system.enable = false policy-db-migrator | -------------- policy-pap | socket.connection.setup.timeout.max.ms = 30000 policy-apex-pdp | client.dns.lookup = use_all_dns_ips simulator | } grafana | logger=migrator t=2024-02-28T10:53:14.744789242Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=988.597µs mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 kafka | replica.fetch.backoff.ms = 1000 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-pap | socket.connection.setup.timeout.ms = 10000 policy-apex-pdp | client.id = consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2 simulator | } grafana | logger=migrator t=2024-02-28T10:53:14.750494591Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: Number of transaction pools: 1 kafka | replica.fetch.max.bytes = 1048576 policy-db-migrator | -------------- policy-pap | ssl.cipher.suites = null policy-apex-pdp | client.rack = simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:14.751632161Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.13738ms mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions kafka | replica.fetch.min.bytes = 1 policy-db-migrator | policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] simulator | key: "IP" grafana | logger=migrator t=2024-02-28T10:53:14.766693723Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-apex-pdp | connections.max.idle.ms = 540000 mariadb | 2024-02-28 10:53:15 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) kafka | replica.fetch.response.max.bytes = 10485760 policy-db-migrator | policy-pap | ssl.endpoint.identification.algorithm = https simulator | value { grafana | logger=migrator t=2024-02-28T10:53:14.766832026Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=142.033µs policy-apex-pdp | default.api.timeout.ms = 60000 mariadb | 2024-02-28 10:53:15 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) kafka | replica.fetch.wait.max.ms = 500 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-pap | ssl.engine.factory.class = null simulator | string_value: "10.10.10.10" grafana | logger=migrator t=2024-02-28T10:53:14.778453778Z level=info msg="Executing migration" id="add column for to alert_rule" policy-apex-pdp | enable.auto.commit = true mariadb | 2024-02-28 10:53:15 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF kafka | replica.high.watermark.checkpoint.interval.ms = 5000 policy-db-migrator | -------------- policy-pap | ssl.key.password = null simulator | } grafana | logger=migrator t=2024-02-28T10:53:14.789902077Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=11.450079ms policy-apex-pdp | exclude.internal.topics = true mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB kafka | replica.lag.time.max.ms = 30000 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-pap | ssl.keymanager.algorithm = SunX509 simulator | } grafana | logger=migrator t=2024-02-28T10:53:14.799114907Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-apex-pdp | fetch.max.bytes = 52428800 mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: Completed initialization of buffer pool kafka | replica.selector.class = null policy-db-migrator | -------------- policy-pap | ssl.keystore.certificate.chain = null simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:14.804584812Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.475395ms policy-apex-pdp | fetch.max.wait.ms = 500 mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) kafka | replica.socket.receive.buffer.bytes = 65536 policy-db-migrator | policy-pap | ssl.keystore.key = null simulator | key: "pnfName" grafana | logger=migrator t=2024-02-28T10:53:14.824062761Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-apex-pdp | fetch.min.bytes = 1 mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: 128 rollback segments are active. kafka | replica.socket.timeout.ms = 30000 policy-db-migrator | policy-pap | ssl.keystore.location = null simulator | value { grafana | logger=migrator t=2024-02-28T10:53:14.830660577Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.599756ms policy-apex-pdp | group.id = bc28eae0-8287-4c0f-b48b-1b3f1373e7bf mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... kafka | replication.quota.window.num = 11 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-pap | ssl.keystore.password = null simulator | string_value: "demo-pnf" grafana | logger=migrator t=2024-02-28T10:53:14.843104973Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-apex-pdp | group.instance.id = null mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. kafka | replication.quota.window.size.seconds = 1 policy-pap | ssl.keystore.type = JKS simulator | } policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-28T10:53:14.844823003Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.71835ms policy-apex-pdp | heartbeat.interval.ms = 3000 mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: log sequence number 324233; transaction id 299 kafka | request.timeout.ms = 30000 policy-pap | ssl.protocol = TLSv1.3 simulator | } policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-28T10:53:14.859096471Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-apex-pdp | interceptor.classes = [] mariadb | 2024-02-28 10:53:15 0 [Note] Plugin 'FEEDBACK' is disabled. kafka | reserved.broker.max.id = 1000 policy-pap | ssl.provider = null simulator | } policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-28T10:53:14.861265989Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=2.171238ms policy-apex-pdp | internal.leave.group.on.close = true mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool kafka | sasl.client.callback.handler.class = null policy-pap | ssl.secure.random.implementation = null simulator | } policy-db-migrator | grafana | logger=migrator t=2024-02-28T10:53:14.876509304Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false mariadb | 2024-02-28 10:53:15 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. kafka | sasl.enabled.mechanisms = [GSSAPI] policy-pap | ssl.trustmanager.algorithm = PKIX simulator | } policy-db-migrator | grafana | logger=migrator t=2024-02-28T10:53:14.882937546Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.428832ms policy-apex-pdp | isolation.level = read_uncommitted mariadb | 2024-02-28 10:53:15 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. kafka | sasl.jaas.config = null policy-pap | ssl.truststore.certificates = null simulator | } policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-02-28T10:53:14.934824039Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer mariadb | 2024-02-28 10:53:15 0 [Note] Server socket created on IP: '0.0.0.0'. kafka | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-pap | ssl.truststore.location = null simulator | policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-28T10:53:14.944693941Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=9.869851ms policy-apex-pdp | max.partition.fetch.bytes = 1048576 mariadb | 2024-02-28 10:53:15 0 [Note] Server socket created on IP: '::'. kafka | sasl.kerberos.min.time.before.relogin = 60000 kafka | sasl.kerberos.principal.to.local.rules = [DEFAULT] policy-pap | ssl.truststore.password = null simulator | 2024-02-28 10:54:23,598 INFO Fetching response from controlloop-hostname-update-update-config.json policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-28T10:53:14.950276528Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-apex-pdp | max.poll.interval.ms = 300000 mariadb | 2024-02-28 10:53:15 0 [Note] mariadbd: ready for connections. kafka | sasl.kerberos.service.name = null policy-pap | ssl.truststore.type = JKS policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer simulator | 2024-02-28 10:54:39,391 INFO 172.17.0.11 - - [28/Feb/2024:10:54:39 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.10)" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-28T10:53:14.951467579Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.191761ms policy-apex-pdp | max.poll.records = 500 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution kafka | sasl.kerberos.ticket.renew.jitter = 0.05 policy-pap | simulator | 2024-02-28 10:54:39,438 INFO Received request input to CDS: commonHeader { policy-db-migrator | grafana | logger=migrator t=2024-02-28T10:53:14.955934706Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-apex-pdp | metadata.max.age.ms = 300000 mariadb | 2024-02-28 10:53:15 0 [Note] InnoDB: Buffer pool(s) load completed at 240228 10:53:15 kafka | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-pap | [2024-02-28T10:53:47.054+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 policy-db-migrator | grafana | logger=migrator t=2024-02-28T10:53:14.96766895Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=11.728914ms policy-apex-pdp | metric.reporters = [] mariadb | 2024-02-28 10:53:15 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) kafka | sasl.login.callback.handler.class = null policy-pap | [2024-02-28T10:53:47.054+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-28T10:53:14.978918937Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-apex-pdp | metrics.num.samples = 2 mariadb | 2024-02-28 10:53:15 6 [Warning] Aborted connection 6 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.10' (This connection closed normally without authentication) kafka | sasl.login.class = null policy-pap | [2024-02-28T10:53:47.054+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1709117627052 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" simulator | originatorId: "POLICY" grafana | logger=migrator t=2024-02-28T10:53:14.986664371Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=7.746424ms policy-apex-pdp | metrics.recording.level = INFO mariadb | 2024-02-28 10:53:15 9 [Warning] Aborted connection 9 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.11' (This connection closed normally without authentication) kafka | sasl.login.connect.timeout.ms = null policy-pap | [2024-02-28T10:53:47.056+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-1, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Subscribed to topic(s): policy-pdp-pap policy-db-migrator | -------------- simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.005046771Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-apex-pdp | metrics.sample.window.ms = 30000 mariadb | 2024-02-28 10:53:15 11 [Warning] Aborted connection 11 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.9' (This connection closed normally without authentication) kafka | sasl.login.read.timeout.ms = null policy-pap | [2024-02-28T10:53:47.057+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) simulator | actionIdentifiers { grafana | logger=migrator t=2024-02-28T10:53:15.005168133Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=123.412µs policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] kafka | sasl.login.refresh.buffer.seconds = 300 policy-pap | allow.auto.create.topics = true policy-db-migrator | -------------- simulator | blueprintName: "controlloop-hostname-update" policy-apex-pdp | receive.buffer.bytes = 65536 grafana | logger=migrator t=2024-02-28T10:53:15.00903117Z level=info msg="Executing migration" id="create alert_rule_version table" kafka | sasl.login.refresh.min.period.seconds = 60 policy-pap | auto.commit.interval.ms = 5000 policy-db-migrator | simulator | blueprintVersion: "1.0.4" policy-apex-pdp | reconnect.backoff.max.ms = 1000 kafka | sasl.login.refresh.window.factor = 0.8 policy-pap | auto.include.jmx.reporter = true policy-db-migrator | simulator | actionName: "update-config" grafana | logger=migrator t=2024-02-28T10:53:15.0107516Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.7199ms policy-apex-pdp | reconnect.backoff.ms = 50 kafka | sasl.login.refresh.window.jitter = 0.05 policy-pap | auto.offset.reset = latest policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql simulator | mode: "sync" grafana | logger=migrator t=2024-02-28T10:53:15.018154228Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-apex-pdp | request.timeout.ms = 30000 kafka | sasl.login.retry.backoff.max.ms = 10000 policy-pap | bootstrap.servers = [kafka:9092] policy-db-migrator | -------------- simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.01945782Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.303362ms policy-apex-pdp | retry.backoff.ms = 100 kafka | sasl.login.retry.backoff.ms = 100 policy-pap | check.crcs = true policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) simulator | payload { grafana | logger=migrator t=2024-02-28T10:53:15.02930036Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-apex-pdp | sasl.client.callback.handler.class = null kafka | sasl.mechanism.controller.protocol = GSSAPI policy-pap | client.dns.lookup = use_all_dns_ips policy-db-migrator | -------------- simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:15.030682314Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.384244ms policy-apex-pdp | sasl.jaas.config = null kafka | sasl.mechanism.inter.broker.protocol = GSSAPI policy-pap | client.id = consumer-policy-pap-2 policy-db-migrator | simulator | key: "update-config-request" grafana | logger=migrator t=2024-02-28T10:53:15.03566247Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit kafka | sasl.oauthbearer.clock.skew.seconds = 30 policy-pap | client.rack = policy-db-migrator | simulator | value { grafana | logger=migrator t=2024-02-28T10:53:15.035782342Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=143.812µs policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 kafka | sasl.oauthbearer.expected.audience = null policy-pap | connections.max.idle.ms = 540000 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql simulator | struct_value { grafana | logger=migrator t=2024-02-28T10:53:15.041007993Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-apex-pdp | sasl.kerberos.service.name = null kafka | sasl.oauthbearer.expected.issuer = null policy-pap | default.api.timeout.ms = 60000 policy-db-migrator | -------------- simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:15.047963683Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.949059ms policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 kafka | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-pap | enable.auto.commit = true policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) simulator | key: "hostname" grafana | logger=migrator t=2024-02-28T10:53:15.106446044Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 kafka | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-pap | exclude.internal.topics = true policy-db-migrator | -------------- simulator | value { grafana | logger=migrator t=2024-02-28T10:53:15.11721958Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=10.776976ms policy-apex-pdp | sasl.login.callback.handler.class = null kafka | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-pap | fetch.max.bytes = 52428800 policy-db-migrator | simulator | string_value: "hostr2lwz" grafana | logger=migrator t=2024-02-28T10:53:15.143920432Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-apex-pdp | sasl.login.class = null kafka | sasl.oauthbearer.jwks.endpoint.url = null policy-pap | fetch.max.wait.ms = 500 policy-db-migrator | simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.152576031Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=8.657789ms policy-apex-pdp | sasl.login.connect.timeout.ms = null kafka | sasl.oauthbearer.scope.claim.name = scope policy-pap | fetch.min.bytes = 1 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.163413499Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-apex-pdp | sasl.login.read.timeout.ms = null kafka | sasl.oauthbearer.sub.claim.name = sub policy-pap | group.id = policy-pap policy-db-migrator | -------------- simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:15.170437351Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=7.018812ms policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 kafka | sasl.oauthbearer.token.endpoint.url = null policy-pap | group.instance.id = null policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) simulator | key: "IP" grafana | logger=migrator t=2024-02-28T10:53:15.179878694Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 kafka | sasl.server.callback.handler.class = null policy-pap | heartbeat.interval.ms = 3000 policy-db-migrator | -------------- simulator | value { grafana | logger=migrator t=2024-02-28T10:53:15.187292343Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.410829ms policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 kafka | sasl.server.max.receive.size = 524288 policy-pap | interceptor.classes = [] policy-db-migrator | simulator | string_value: "10.10.10.10" grafana | logger=migrator t=2024-02-28T10:53:15.197967207Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 kafka | security.inter.broker.protocol = PLAINTEXT policy-pap | internal.leave.group.on.close = true policy-db-migrator | simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.198176201Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=208.704µs policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 kafka | security.providers = null policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.204096323Z level=info msg="Executing migration" id=create_alert_configuration_table policy-apex-pdp | sasl.login.retry.backoff.ms = 100 kafka | server.max.startup.time.ms = 9223372036854775807 policy-pap | isolation.level = read_uncommitted policy-db-migrator | -------------- simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:15.205436956Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.344143ms policy-apex-pdp | sasl.mechanism = GSSAPI kafka | socket.connection.setup.timeout.max.ms = 30000 policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) simulator | key: "pnfName" grafana | logger=migrator t=2024-02-28T10:53:15.212206984Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 kafka | socket.connection.setup.timeout.ms = 10000 policy-db-migrator | -------------- simulator | value { grafana | logger=migrator t=2024-02-28T10:53:15.216957675Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=4.750311ms policy-apex-pdp | sasl.oauthbearer.expected.audience = null policy-pap | max.partition.fetch.bytes = 1048576 kafka | socket.listen.backlog.size = 50 policy-db-migrator | simulator | string_value: "demo-pnf" grafana | logger=migrator t=2024-02-28T10:53:15.229296789Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-apex-pdp | sasl.oauthbearer.expected.issuer = null policy-pap | max.poll.interval.ms = 300000 kafka | socket.receive.buffer.bytes = 102400 policy-db-migrator | simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.229410581Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=114.462µs policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-pap | max.poll.records = 500 kafka | socket.request.max.bytes = 104857600 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.239491176Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-pap | metadata.max.age.ms = 300000 kafka | socket.send.buffer.bytes = 102400 policy-db-migrator | -------------- simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.245718594Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.227008ms policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-pap | metric.reporters = [] kafka | ssl.cipher.suites = [] policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.253363035Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null policy-pap | metrics.num.samples = 2 kafka | ssl.client.auth = none policy-db-migrator | -------------- simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.254733119Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.368264ms policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope policy-pap | metrics.recording.level = INFO kafka | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-db-migrator | simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.272188581Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub policy-pap | metrics.sample.window.ms = 30000 kafka | ssl.endpoint.identification.algorithm = https policy-db-migrator | simulator | grafana | logger=migrator t=2024-02-28T10:53:15.280256711Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.06907ms policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] kafka | ssl.engine.factory.class = null policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql simulator | 2024-02-28 10:54:39,438 INFO Fetching response from controlloop-hostname-update-update-config.json policy-apex-pdp | security.protocol = PLAINTEXT policy-pap | receive.buffer.bytes = 65536 kafka | ssl.key.password = null policy-db-migrator | -------------- simulator | 2024-02-28 10:54:39,456 INFO 172.17.0.11 - - [28/Feb/2024:10:54:39 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.10)" grafana | logger=migrator t=2024-02-28T10:53:15.297452918Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-apex-pdp | security.providers = null policy-pap | reconnect.backoff.max.ms = 1000 kafka | ssl.keymanager.algorithm = SunX509 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) simulator | 2024-02-28 10:54:39,480 INFO Received request input to CDS: commonHeader { grafana | logger=migrator t=2024-02-28T10:53:15.298803812Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.353514ms policy-apex-pdp | send.buffer.bytes = 131072 policy-pap | reconnect.backoff.ms = 50 kafka | ssl.keystore.certificate.chain = null policy-db-migrator | -------------- simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" grafana | logger=migrator t=2024-02-28T10:53:15.317915153Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-apex-pdp | session.timeout.ms = 45000 kafka | ssl.keystore.key = null policy-db-migrator | simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" grafana | logger=migrator t=2024-02-28T10:53:15.319966637Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.052104ms policy-pap | request.timeout.ms = 30000 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 kafka | ssl.keystore.location = null policy-db-migrator | simulator | originatorId: "POLICY" grafana | logger=migrator t=2024-02-28T10:53:15.331853293Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-pap | retry.backoff.ms = 100 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 kafka | ssl.keystore.password = null policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.33859975Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.743368ms policy-pap | sasl.client.callback.handler.class = null policy-apex-pdp | ssl.cipher.suites = null kafka | ssl.keystore.type = JKS policy-db-migrator | -------------- simulator | actionIdentifiers { grafana | logger=migrator t=2024-02-28T10:53:15.36694536Z level=info msg="Executing migration" id="create provenance_type table" policy-pap | sasl.jaas.config = null policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] kafka | ssl.principal.mapping.rules = DEFAULT policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) simulator | blueprintName: "controlloop-hostname-update" grafana | logger=migrator t=2024-02-28T10:53:15.368290373Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.345363ms policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-apex-pdp | ssl.endpoint.identification.algorithm = https kafka | ssl.protocol = TLSv1.3 policy-db-migrator | -------------- simulator | blueprintVersion: "1.0.4" grafana | logger=migrator t=2024-02-28T10:53:15.401290644Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-pap | sasl.kerberos.min.time.before.relogin = 60000 policy-apex-pdp | ssl.engine.factory.class = null kafka | ssl.provider = null policy-db-migrator | simulator | actionName: "update-config" grafana | logger=migrator t=2024-02-28T10:53:15.402584237Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.296353ms policy-pap | sasl.kerberos.service.name = null policy-apex-pdp | ssl.key.password = null kafka | ssl.secure.random.implementation = null policy-db-migrator | simulator | mode: "sync" grafana | logger=migrator t=2024-02-28T10:53:15.431319844Z level=info msg="Executing migration" id="create alert_image table" policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 kafka | ssl.trustmanager.algorithm = PKIX policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.432070526Z level=info msg="Migration successfully executed" id="create alert_image table" duration=750.682µs policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-apex-pdp | ssl.keystore.certificate.chain = null kafka | ssl.truststore.certificates = null policy-db-migrator | -------------- simulator | payload { grafana | logger=migrator t=2024-02-28T10:53:15.438437687Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-pap | sasl.login.callback.handler.class = null policy-apex-pdp | ssl.keystore.key = null kafka | ssl.truststore.location = null policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-pap | sasl.login.class = null grafana | logger=migrator t=2024-02-28T10:53:15.439416364Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=978.007µs kafka | ssl.truststore.password = null policy-db-migrator | -------------- policy-apex-pdp | ssl.keystore.location = null simulator | fields { policy-pap | sasl.login.connect.timeout.ms = null grafana | logger=migrator t=2024-02-28T10:53:15.458470604Z level=info msg="Executing migration" id="support longer URLs in alert_image table" kafka | ssl.truststore.type = JKS policy-db-migrator | policy-apex-pdp | ssl.keystore.password = null simulator | key: "update-config-request" policy-pap | sasl.login.read.timeout.ms = null grafana | logger=migrator t=2024-02-28T10:53:15.458555015Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=85.931µs kafka | transaction.abort.timed.out.transaction.cleanup.interval.ms = 10000 policy-db-migrator | policy-apex-pdp | ssl.keystore.type = JKS simulator | value { policy-pap | sasl.login.refresh.buffer.seconds = 300 kafka | transaction.max.timeout.ms = 900000 grafana | logger=migrator t=2024-02-28T10:53:15.488074335Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-apex-pdp | ssl.protocol = TLSv1.3 simulator | struct_value { policy-pap | sasl.login.refresh.min.period.seconds = 60 kafka | transaction.partition.verification.enable = true grafana | logger=migrator t=2024-02-28T10:53:15.489848426Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.774831ms policy-db-migrator | -------------- policy-apex-pdp | ssl.provider = null simulator | fields { policy-pap | sasl.login.refresh.window.factor = 0.8 kafka | transaction.remove.expired.transaction.cleanup.interval.ms = 3600000 grafana | logger=migrator t=2024-02-28T10:53:15.498670969Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-apex-pdp | ssl.secure.random.implementation = null simulator | key: "hostname" policy-pap | sasl.login.refresh.window.jitter = 0.05 kafka | transaction.state.log.load.buffer.size = 5242880 grafana | logger=migrator t=2024-02-28T10:53:15.499804728Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.132699ms policy-db-migrator | -------------- policy-apex-pdp | ssl.trustmanager.algorithm = PKIX simulator | value { policy-pap | sasl.login.retry.backoff.max.ms = 10000 kafka | transaction.state.log.min.isr = 2 grafana | logger=migrator t=2024-02-28T10:53:15.522601153Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | policy-apex-pdp | ssl.truststore.certificates = null simulator | string_value: "hostc5yoxd" policy-pap | sasl.login.retry.backoff.ms = 100 kafka | transaction.state.log.num.partitions = 50 grafana | logger=migrator t=2024-02-28T10:53:15.523239114Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | policy-apex-pdp | ssl.truststore.location = null simulator | } policy-pap | sasl.mechanism = GSSAPI kafka | transaction.state.log.replication.factor = 3 grafana | logger=migrator t=2024-02-28T10:53:15.551708556Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-apex-pdp | ssl.truststore.password = null simulator | } policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 kafka | transaction.state.log.segment.bytes = 104857600 grafana | logger=migrator t=2024-02-28T10:53:15.552399558Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=695.842µs policy-db-migrator | -------------- policy-apex-pdp | ssl.truststore.type = JKS simulator | fields { policy-pap | sasl.oauthbearer.expected.audience = null kafka | transactional.id.expiration.ms = 604800000 grafana | logger=migrator t=2024-02-28T10:53:15.568754661Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer simulator | key: "IP" policy-pap | sasl.oauthbearer.expected.issuer = null kafka | unclean.leader.election.enable = false grafana | logger=migrator t=2024-02-28T10:53:15.570491731Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.7366ms policy-db-migrator | -------------- policy-apex-pdp | simulator | value { policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 kafka | unstable.api.versions.enable = false grafana | logger=migrator t=2024-02-28T10:53:15.580736878Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | policy-apex-pdp | [2024-02-28T10:53:50.225+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 simulator | string_value: "10.10.10.10" policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 kafka | zookeeper.clientCnxnSocket = null grafana | logger=migrator t=2024-02-28T10:53:15.587927183Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.189905ms policy-db-migrator | policy-apex-pdp | [2024-02-28T10:53:50.225+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 simulator | } policy-pap | sasl.oauthbearer.jwks.endpoint.url = null kafka | zookeeper.connect = zookeeper:2181 grafana | logger=migrator t=2024-02-28T10:53:15.602618007Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-apex-pdp | [2024-02-28T10:53:50.226+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1709117630225 simulator | } kafka | zookeeper.connection.timeout.ms = null policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:53:50.226+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Subscribed to topic(s): policy-pdp-pap simulator | fields { policy-pap | sasl.oauthbearer.scope.claim.name = scope grafana | logger=migrator t=2024-02-28T10:53:15.60449891Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.880612ms kafka | zookeeper.max.in.flight.requests = 10 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-apex-pdp | [2024-02-28T10:53:50.226+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=5d5323f5-4ef8-43ea-9722-34c5ef4307fd, alive=false, publisher=null]]: starting simulator | key: "pnfName" policy-pap | sasl.oauthbearer.sub.claim.name = sub grafana | logger=migrator t=2024-02-28T10:53:15.610170528Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" kafka | zookeeper.metadata.migration.enable = false policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:53:50.238+00:00|INFO|ProducerConfig|main] ProducerConfig values: simulator | value { policy-pap | sasl.oauthbearer.token.endpoint.url = null grafana | logger=migrator t=2024-02-28T10:53:15.611605512Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.434604ms kafka | zookeeper.session.timeout.ms = 18000 policy-db-migrator | policy-apex-pdp | acks = -1 simulator | string_value: "demo-pnf" policy-pap | security.protocol = PLAINTEXT grafana | logger=migrator t=2024-02-28T10:53:15.618858008Z level=info msg="Executing migration" id="create library_element_connection table v1" kafka | zookeeper.set.acl = false policy-db-migrator | policy-apex-pdp | auto.include.jmx.reporter = true simulator | } policy-pap | security.providers = null grafana | logger=migrator t=2024-02-28T10:53:15.619833275Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=975.797µs kafka | zookeeper.ssl.cipher.suites = null policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-apex-pdp | batch.size = 16384 simulator | } policy-pap | send.buffer.bytes = 131072 grafana | logger=migrator t=2024-02-28T10:53:15.625620505Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" kafka | zookeeper.ssl.client.enable = false policy-db-migrator | -------------- policy-apex-pdp | bootstrap.servers = [kafka:9092] simulator | } policy-pap | session.timeout.ms = 45000 grafana | logger=migrator t=2024-02-28T10:53:15.626910597Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.289102ms kafka | zookeeper.ssl.crl.enable = false policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-apex-pdp | buffer.memory = 33554432 simulator | } policy-pap | socket.connection.setup.timeout.max.ms = 30000 grafana | logger=migrator t=2024-02-28T10:53:15.633692924Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" kafka | zookeeper.ssl.enabled.protocols = null policy-db-migrator | -------------- policy-apex-pdp | client.dns.lookup = use_all_dns_ips simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.634992507Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.299583ms policy-db-migrator | policy-apex-pdp | client.id = producer-1 simulator | } policy-pap | socket.connection.setup.timeout.ms = 10000 kafka | zookeeper.ssl.endpoint.identification.algorithm = HTTPS grafana | logger=migrator t=2024-02-28T10:53:15.645893956Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | policy-apex-pdp | compression.type = none simulator | policy-pap | ssl.cipher.suites = null kafka | zookeeper.ssl.keystore.location = null grafana | logger=migrator t=2024-02-28T10:53:15.645922767Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=29.861µs policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-apex-pdp | connections.max.idle.ms = 540000 simulator | 2024-02-28 10:54:39,481 INFO Fetching response from controlloop-hostname-update-update-config.json policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] kafka | zookeeper.ssl.keystore.password = null grafana | logger=migrator t=2024-02-28T10:53:15.651821479Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- policy-apex-pdp | delivery.timeout.ms = 120000 simulator | 2024-02-28 10:54:44,494 INFO 172.17.0.11 - - [28/Feb/2024:10:54:44 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.10)" policy-pap | ssl.endpoint.identification.algorithm = https kafka | zookeeper.ssl.keystore.type = null grafana | logger=migrator t=2024-02-28T10:53:15.65191525Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=96.232µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-apex-pdp | enable.idempotence = true simulator | 2024-02-28 10:54:44,504 INFO 172.17.0.11 - - [28/Feb/2024:10:54:44 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.10)" policy-pap | ssl.engine.factory.class = null grafana | logger=migrator t=2024-02-28T10:53:15.657999265Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- kafka | zookeeper.ssl.ocsp.enable = false policy-apex-pdp | interceptor.classes = [] simulator | 2024-02-28 10:54:44,513 INFO Received request input to CDS: commonHeader { policy-pap | ssl.key.password = null grafana | logger=migrator t=2024-02-28T10:53:15.658371921Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=372.726µs policy-db-migrator | kafka | zookeeper.ssl.protocol = TLSv1.2 policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-pap | ssl.keymanager.algorithm = SunX509 grafana | logger=migrator t=2024-02-28T10:53:15.663636893Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | kafka | zookeeper.ssl.truststore.location = null policy-apex-pdp | linger.ms = 0 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-pap | ssl.keystore.certificate.chain = null grafana | logger=migrator t=2024-02-28T10:53:15.664564508Z level=info msg="Migration successfully executed" id="create data_keys table" duration=927.305µs policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql kafka | zookeeper.ssl.truststore.password = null policy-apex-pdp | max.block.ms = 60000 simulator | originatorId: "POLICY" policy-pap | ssl.keystore.key = null grafana | logger=migrator t=2024-02-28T10:53:15.672624378Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- kafka | zookeeper.ssl.truststore.type = null policy-apex-pdp | max.in.flight.requests.per.connection = 5 simulator | } policy-pap | ssl.keystore.location = null grafana | logger=migrator t=2024-02-28T10:53:15.673963661Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.340293ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) kafka | (kafka.server.KafkaConfig) policy-apex-pdp | max.request.size = 1048576 simulator | actionIdentifiers { policy-pap | ssl.keystore.password = null grafana | logger=migrator t=2024-02-28T10:53:15.680371972Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:16,712] INFO [ThrottledChannelReaper-Fetch]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) policy-apex-pdp | metadata.max.age.ms = 300000 simulator | blueprintName: "controlloop-hostname-update" policy-pap | ssl.keystore.type = JKS grafana | logger=migrator t=2024-02-28T10:53:15.730168944Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.792732ms policy-db-migrator | kafka | [2024-02-28 10:53:16,713] INFO [ThrottledChannelReaper-Produce]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) policy-apex-pdp | metadata.max.idle.ms = 300000 simulator | blueprintVersion: "1.0.4" policy-pap | ssl.protocol = TLSv1.3 grafana | logger=migrator t=2024-02-28T10:53:15.733853317Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | kafka | [2024-02-28 10:53:16,714] INFO [ThrottledChannelReaper-Request]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) policy-apex-pdp | metric.reporters = [] simulator | actionName: "update-config" policy-pap | ssl.provider = null grafana | logger=migrator t=2024-02-28T10:53:15.738878184Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.022447ms policy-db-migrator | > upgrade 0450-pdpgroup.sql kafka | [2024-02-28 10:53:16,717] INFO [ThrottledChannelReaper-ControllerMutation]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) policy-apex-pdp | metrics.num.samples = 2 simulator | mode: "sync" policy-pap | ssl.secure.random.implementation = null grafana | logger=migrator t=2024-02-28T10:53:15.74326029Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:16,750] INFO Loading logs from log dirs ArraySeq(/var/lib/kafka/data) (kafka.log.LogManager) policy-apex-pdp | metrics.recording.level = INFO simulator | } policy-pap | ssl.trustmanager.algorithm = PKIX grafana | logger=migrator t=2024-02-28T10:53:15.743367612Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=107.582µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) kafka | [2024-02-28 10:53:16,756] INFO No logs found to be loaded in /var/lib/kafka/data (kafka.log.LogManager) policy-apex-pdp | metrics.sample.window.ms = 30000 simulator | payload { policy-pap | ssl.truststore.certificates = null grafana | logger=migrator t=2024-02-28T10:53:15.748397389Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:16,774] INFO Loaded 0 logs in 22ms (kafka.log.LogManager) policy-apex-pdp | partitioner.adaptive.partitioning.enable = true simulator | fields { policy-pap | ssl.truststore.location = null grafana | logger=migrator t=2024-02-28T10:53:15.802047506Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=53.646587ms policy-db-migrator | kafka | [2024-02-28 10:53:16,775] INFO Starting log cleanup with a period of 300000 ms. (kafka.log.LogManager) policy-apex-pdp | partitioner.availability.timeout.ms = 0 simulator | key: "update-config-request" policy-pap | ssl.truststore.password = null grafana | logger=migrator t=2024-02-28T10:53:15.806598515Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | kafka | [2024-02-28 10:53:16,776] INFO Starting log flusher with a default period of 9223372036854775807 ms. (kafka.log.LogManager) policy-apex-pdp | partitioner.class = null simulator | value { policy-pap | ssl.truststore.type = JKS grafana | logger=migrator t=2024-02-28T10:53:15.851655975Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.05311ms policy-db-migrator | > upgrade 0460-pdppolicystatus.sql kafka | [2024-02-28 10:53:16,787] INFO Starting the log cleaner (kafka.log.LogCleaner) policy-apex-pdp | partitioner.ignore.keys = false simulator | struct_value { policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer grafana | logger=migrator t=2024-02-28T10:53:15.864849643Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:16,832] INFO [kafka-log-cleaner-thread-0]: Starting (kafka.log.LogCleaner$CleanerThread) policy-apex-pdp | receive.buffer.bytes = 32768 simulator | fields { policy-pap | grafana | logger=migrator t=2024-02-28T10:53:15.865567016Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=718.443µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) kafka | [2024-02-28 10:53:16,846] INFO [feature-zk-node-event-process-thread]: Starting (kafka.server.FinalizedFeatureChangeListener$ChangeNotificationProcessorThread) policy-apex-pdp | reconnect.backoff.max.ms = 1000 simulator | key: "hostname" policy-pap | [2024-02-28T10:53:47.063+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 grafana | logger=migrator t=2024-02-28T10:53:15.874378788Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- policy-db-migrator | kafka | [2024-02-28 10:53:16,879] INFO Feature ZK node at path: /feature does not exist (kafka.server.FinalizedFeatureChangeListener) policy-apex-pdp | reconnect.backoff.ms = 50 simulator | value { policy-pap | [2024-02-28T10:53:47.063+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 grafana | logger=migrator t=2024-02-28T10:53:15.880467433Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=6.086585ms policy-db-migrator | kafka | [2024-02-28 10:53:16,905] INFO [zk-broker-1-to-controller-forwarding-channel-manager]: Starting (kafka.server.BrokerToControllerRequestThread) policy-apex-pdp | request.timeout.ms = 30000 simulator | string_value: "hostnaqrbt" policy-pap | [2024-02-28T10:53:47.063+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1709117627063 grafana | logger=migrator t=2024-02-28T10:53:15.885976109Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | > upgrade 0470-pdp.sql kafka | [2024-02-28 10:53:17,231] INFO Updated connection-accept-rate max connection creation rate to 2147483647 (kafka.network.ConnectionQuotas) policy-apex-pdp | retries = 2147483647 simulator | } policy-pap | [2024-02-28T10:53:47.064+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-policy-pap-2, groupId=policy-pap] Subscribed to topic(s): policy-pdp-pap grafana | logger=migrator t=2024-02-28T10:53:15.886372285Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=396.647µs policy-db-migrator | -------------- kafka | [2024-02-28 10:53:17,249] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Created data-plane acceptor and processors for endpoint : ListenerName(PLAINTEXT) (kafka.network.SocketServer) policy-apex-pdp | retry.backoff.ms = 100 simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.889896877Z level=info msg="Executing migration" id="create permission table" policy-pap | [2024-02-28T10:53:47.366+00:00|INFO|PapDatabaseInitializer|main] Created initial pdpGroup in DB - PdpGroups(groups=[PdpGroup(name=defaultGroup, description=The default group that registers all supported policy types and pdps., pdpGroupState=ACTIVE, properties=null, pdpSubgroups=[PdpSubGroup(pdpType=apex, supportedPolicyTypes=[onap.policies.controlloop.operational.common.Apex 1.0.0, onap.policies.native.Apex 1.0.0], policies=[], currentInstanceCount=0, desiredInstanceCount=1, properties=null, pdpInstances=null)])]) from /opt/app/policy/pap/etc/mounted/groups.json policy-pap | [2024-02-28T10:53:47.518+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning kafka | [2024-02-28 10:53:17,249] INFO Updated connection-accept-rate max connection creation rate to 2147483647 (kafka.network.ConnectionQuotas) policy-apex-pdp | sasl.client.callback.handler.class = null simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:15.891796589Z level=info msg="Migration successfully executed" id="create permission table" duration=1.898452ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-pap | [2024-02-28T10:53:47.761+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@ebff59d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3361d286, org.springframework.security.web.context.SecurityContextHolderFilter@1d33e72e, org.springframework.security.web.header.HeaderWriterFilter@534d0cfa, org.springframework.security.web.authentication.logout.LogoutFilter@3ec211cc, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@630c3af3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@46bdc55e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6c1a63f7, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6ee186f3, org.springframework.security.web.access.ExceptionTranslationFilter@f98cff, org.springframework.security.web.access.intercept.AuthorizationFilter@50a1af86] kafka | [2024-02-28 10:53:17,254] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Created data-plane acceptor and processors for endpoint : ListenerName(PLAINTEXT_HOST) (kafka.network.SocketServer) policy-apex-pdp | sasl.jaas.config = null simulator | key: "IP" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-28T10:53:15.904344916Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-pap | [2024-02-28T10:53:48.613+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' kafka | [2024-02-28 10:53:17,257] INFO [zk-broker-1-to-controller-alter-partition-channel-manager]: Starting (kafka.server.BrokerToControllerRequestThread) policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit simulator | value { policy-db-migrator | grafana | logger=migrator t=2024-02-28T10:53:15.906542825Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.196929ms policy-pap | [2024-02-28T10:53:48.704+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-pap | [2024-02-28T10:53:48.736+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/pap/v1' policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 simulator | string_value: "10.10.10.10" simulator | } policy-db-migrator | policy-pap | [2024-02-28T10:53:48.755+00:00|INFO|ServiceManager|main] Policy PAP starting policy-apex-pdp | sasl.kerberos.service.name = null simulator | } grafana | logger=migrator t=2024-02-28T10:53:15.922938458Z level=info msg="Executing migration" id="add unique index role_id_action_scope" kafka | [2024-02-28 10:53:17,280] INFO [ExpirationReaper-1-Produce]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-pap | [2024-02-28T10:53:48.755+00:00|INFO|ServiceManager|main] Policy PAP starting Meter Registry policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:15.924500025Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.563617ms kafka | [2024-02-28 10:53:17,281] INFO [ExpirationReaper-1-Fetch]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:48.755+00:00|INFO|ServiceManager|main] Policy PAP starting PAP parameters policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 grafana | logger=migrator t=2024-02-28T10:53:15.928127278Z level=info msg="Executing migration" id="create role table" kafka | [2024-02-28 10:53:17,286] INFO [ExpirationReaper-1-ElectLeader]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-pap | [2024-02-28T10:53:48.756+00:00|INFO|ServiceManager|main] Policy PAP starting Pdp Heartbeat Listener simulator | key: "pnfName" grafana | logger=migrator t=2024-02-28T10:53:15.928938122Z level=info msg="Migration successfully executed" id="create role table" duration=810.895µs kafka | [2024-02-28 10:53:17,282] INFO [ExpirationReaper-1-DeleteRecords]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:48.756+00:00|INFO|ServiceManager|main] Policy PAP starting Response Request ID Dispatcher policy-apex-pdp | sasl.login.callback.handler.class = null grafana | logger=migrator t=2024-02-28T10:53:15.936266378Z level=info msg="Executing migration" id="add column display_name" kafka | [2024-02-28 10:53:17,288] INFO [ExpirationReaper-1-RemoteFetch]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) policy-db-migrator | policy-pap | [2024-02-28T10:53:48.756+00:00|INFO|ServiceManager|main] Policy PAP starting Heartbeat Request ID Dispatcher simulator | value { policy-apex-pdp | sasl.login.class = null kafka | [2024-02-28 10:53:17,306] INFO [LogDirFailureHandler]: Starting (kafka.server.ReplicaManager$LogDirFailureHandler) policy-db-migrator | policy-pap | [2024-02-28T10:53:48.756+00:00|INFO|ServiceManager|main] Policy PAP starting Response Message Dispatcher policy-apex-pdp | sasl.login.connect.timeout.ms = null grafana | logger=migrator t=2024-02-28T10:53:15.948324248Z level=info msg="Migration successfully executed" id="add column display_name" duration=12.05758ms kafka | [2024-02-28 10:53:17,307] INFO [AddPartitionsToTxnSenderThread-1]: Starting (kafka.server.AddPartitionsToTxnManager) policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-pap | [2024-02-28T10:53:48.761+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99, consumerInstance=policy-pap, fetchTimeout=15000, fetchLimit=-1, consumer=KafkaConsumerWrapper [fetchTimeout=15000], alive=false, locked=false, uebThread=null, topicListeners=0, toString()=BusTopicBase [apiKey=null, apiSecret=null, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[kafka:9092], topic=policy-pdp-pap, effectiveTopic=policy-pdp-pap, #recentEvents=0, locked=false, #topicListeners=0]]]]: registering org.onap.policy.common.endpoints.listeners.MessageTypeDispatcher@68cb8e52 policy-apex-pdp | sasl.login.read.timeout.ms = null grafana | logger=migrator t=2024-02-28T10:53:15.952345247Z level=info msg="Executing migration" id="add column group_name" simulator | string_value: "demo-pnf" kafka | [2024-02-28 10:53:17,329] INFO Creating /brokers/ids/1 (is it secure? false) (kafka.zk.KafkaZkClient) policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:48.771+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99, consumerInstance=policy-pap, fetchTimeout=15000, fetchLimit=-1, consumer=KafkaConsumerWrapper [fetchTimeout=15000], alive=false, locked=false, uebThread=null, topicListeners=1, toString()=BusTopicBase [apiKey=null, apiSecret=null, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[kafka:9092], topic=policy-pdp-pap, effectiveTopic=policy-pdp-pap, #recentEvents=0, locked=false, #topicListeners=1]]]]: starting policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 grafana | logger=migrator t=2024-02-28T10:53:15.958365131Z level=info msg="Migration successfully executed" id="add column group_name" duration=6.020324ms simulator | } simulator | } policy-pap | [2024-02-28T10:53:48.771+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 grafana | logger=migrator t=2024-02-28T10:53:15.961752369Z level=info msg="Executing migration" id="add index role.org_id" kafka | [2024-02-28 10:53:17,352] INFO Stat of the created znode at /brokers/ids/1 is: 27,27,1709117597341,1709117597341,1,0,0,72057614162067457,258,0,27 simulator | } policy-pap | allow.auto.create.topics = true policy-db-migrator | -------------- policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 grafana | logger=migrator t=2024-02-28T10:53:15.962463432Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=710.653µs kafka | (kafka.zk.KafkaZkClient) simulator | } policy-pap | auto.commit.interval.ms = 5000 policy-db-migrator | policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 grafana | logger=migrator t=2024-02-28T10:53:15.972453754Z level=info msg="Executing migration" id="add unique index role_org_id_name" kafka | [2024-02-28 10:53:17,353] INFO Registered broker 1 at path /brokers/ids/1 with addresses: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092, czxid (broker epoch): 27 (kafka.zk.KafkaZkClient) simulator | } policy-pap | auto.include.jmx.reporter = true policy-db-migrator | policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 grafana | logger=migrator t=2024-02-28T10:53:15.974077443Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.622889ms kafka | [2024-02-28 10:53:17,406] INFO [ControllerEventThread controllerId=1] Starting (kafka.controller.ControllerEventManager$ControllerEventThread) simulator | } policy-pap | auto.offset.reset = latest policy-pap | bootstrap.servers = [kafka:9092] policy-apex-pdp | sasl.login.retry.backoff.ms = 100 grafana | logger=migrator t=2024-02-28T10:53:15.987274511Z level=info msg="Executing migration" id="add index role_org_id_uid" kafka | [2024-02-28 10:53:17,412] INFO [ExpirationReaper-1-topic]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) simulator | policy-pap | check.crcs = true policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-apex-pdp | sasl.mechanism = GSSAPI grafana | logger=migrator t=2024-02-28T10:53:15.989191054Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.918953ms kafka | [2024-02-28 10:53:17,419] INFO [ExpirationReaper-1-Heartbeat]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) simulator | 2024-02-28 10:54:44,514 INFO Fetching response from controlloop-hostname-update-update-config.json policy-pap | client.dns.lookup = use_all_dns_ips policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 grafana | logger=migrator t=2024-02-28T10:53:15.998296421Z level=info msg="Executing migration" id="create team role table" kafka | [2024-02-28 10:53:17,419] INFO [ExpirationReaper-1-Rebalance]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-apex-pdp | sasl.oauthbearer.expected.audience = null grafana | logger=migrator t=2024-02-28T10:53:15.99936064Z level=info msg="Migration successfully executed" id="create team role table" duration=1.065309ms simulator | 2024-02-28 10:54:44,531 INFO Received request input to CDS: commonHeader { policy-pap | client.id = consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3 kafka | [2024-02-28 10:53:17,426] INFO Successfully created /controller_epoch with initial epoch 0 (kafka.zk.KafkaZkClient) policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.expected.issuer = null grafana | logger=migrator t=2024-02-28T10:53:16.053750424Z level=info msg="Executing migration" id="add index team_role.org_id" simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-pap | client.rack = kafka | [2024-02-28 10:53:17,436] INFO [Controller id=1] 1 successfully elected as the controller. Epoch incremented to 1 and epoch zk version is now 1 (kafka.controller.KafkaController) policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 grafana | logger=migrator t=2024-02-28T10:53:16.054850544Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.10356ms simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-pap | connections.max.idle.ms = 540000 kafka | [2024-02-28 10:53:17,439] INFO [GroupCoordinator 1]: Starting up. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 grafana | logger=migrator t=2024-02-28T10:53:16.063341894Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" simulator | originatorId: "POLICY" policy-pap | default.api.timeout.ms = 60000 kafka | [2024-02-28 10:53:17,440] INFO [Controller id=1] Creating FeatureZNode at path: /feature with contents: FeatureZNode(2,Enabled,Map()) (kafka.controller.KafkaController) policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 grafana | logger=migrator t=2024-02-28T10:53:16.064593025Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.251651ms simulator | } policy-pap | enable.auto.commit = true kafka | [2024-02-28 10:53:17,445] INFO [GroupCoordinator 1]: Startup complete. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-28T10:53:16.070182393Z level=info msg="Executing migration" id="add index team_role.team_id" simulator | actionIdentifiers { policy-pap | exclude.internal.topics = true kafka | [2024-02-28 10:53:17,448] INFO Feature ZK node created at path: /feature (kafka.server.FinalizedFeatureChangeListener) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) simulator | blueprintName: "controlloop-hostname-update" policy-pap | fetch.max.bytes = 52428800 kafka | [2024-02-28 10:53:17,462] INFO [TransactionCoordinator id=1] Starting up. (kafka.coordinator.transaction.TransactionCoordinator) policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope grafana | logger=migrator t=2024-02-28T10:53:16.071247052Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.066539ms policy-db-migrator | -------------- simulator | blueprintVersion: "1.0.4" policy-pap | fetch.max.wait.ms = 500 kafka | [2024-02-28 10:53:17,470] INFO [TxnMarkerSenderThread-1]: Starting (kafka.coordinator.transaction.TransactionMarkerChannelManager) policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub grafana | logger=migrator t=2024-02-28T10:53:16.07451546Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | simulator | actionName: "update-config" policy-pap | fetch.min.bytes = 1 kafka | [2024-02-28 10:53:17,470] INFO [TransactionCoordinator id=1] Startup complete. (kafka.coordinator.transaction.TransactionCoordinator) policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null grafana | logger=migrator t=2024-02-28T10:53:16.075304044Z level=info msg="Migration successfully executed" id="create user role table" duration=788.324µs policy-db-migrator | simulator | mode: "sync" policy-pap | group.id = 24e9b3a0-4ba6-4104-9c94-cd2ff4944c99 kafka | [2024-02-28 10:53:17,491] INFO [MetadataCache brokerId=1] Updated cache from existing None to latest Features(version=3.6-IV2, finalizedFeatures={}, finalizedFeaturesEpoch=0). (kafka.server.metadata.ZkMetadataCache) grafana | logger=migrator t=2024-02-28T10:53:16.082181634Z level=info msg="Executing migration" id="add index user_role.org_id" policy-apex-pdp | security.protocol = PLAINTEXT simulator | } policy-pap | group.instance.id = null kafka | [2024-02-28 10:53:17,492] INFO [Controller id=1] Registering handlers (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.083384386Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.203652ms policy-apex-pdp | security.providers = null policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql simulator | payload { policy-pap | heartbeat.interval.ms = 3000 kafka | [2024-02-28 10:53:17,499] INFO [Controller id=1] Deleting log dir event notifications (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.086695544Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-apex-pdp | send.buffer.bytes = 131072 policy-db-migrator | -------------- simulator | fields { policy-pap | interceptor.classes = [] kafka | [2024-02-28 10:53:17,504] INFO [Controller id=1] Deleting isr change notifications (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.087923015Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.227241ms policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) simulator | key: "update-config-request" policy-pap | internal.leave.group.on.close = true kafka | [2024-02-28 10:53:17,507] INFO [Controller id=1] Initializing controller context (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.091815984Z level=info msg="Executing migration" id="add index user_role.user_id" policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 policy-db-migrator | -------------- simulator | value { policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false kafka | [2024-02-28 10:53:17,507] INFO [ExpirationReaper-1-AlterAcls]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) grafana | logger=migrator t=2024-02-28T10:53:16.093046335Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.231531ms policy-apex-pdp | ssl.cipher.suites = null policy-db-migrator | simulator | struct_value { policy-pap | isolation.level = read_uncommitted kafka | [2024-02-28 10:53:17,525] INFO [Controller id=1] Initialized broker epochs cache: HashMap(1 -> 27) (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.100574028Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | simulator | fields { policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer kafka | [2024-02-28 10:53:17,533] DEBUG [Controller id=1] Register BrokerModifications handler for Set(1) (kafka.controller.KafkaController) policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql simulator | key: "hostname" policy-pap | max.partition.fetch.bytes = 1048576 kafka | [2024-02-28 10:53:17,535] INFO [/config/changes-event-process-thread]: Starting (kafka.common.ZkNodeChangeNotificationListener$ChangeEventProcessThread) policy-apex-pdp | ssl.endpoint.identification.algorithm = https grafana | logger=migrator t=2024-02-28T10:53:16.101357431Z level=info msg="Migration successfully executed" id="create builtin role table" duration=783.583µs policy-db-migrator | -------------- simulator | value { simulator | string_value: "host3u26og" policy-apex-pdp | ssl.engine.factory.class = null grafana | logger=migrator t=2024-02-28T10:53:16.104616519Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-pap | max.poll.interval.ms = 300000 kafka | [2024-02-28 10:53:17,540] DEBUG [Channel manager on controller 1]: Controller 1 trying to connect to broker 1 (kafka.controller.ControllerChannelManager) simulator | } policy-apex-pdp | ssl.key.password = null grafana | logger=migrator t=2024-02-28T10:53:16.105703438Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.086849ms policy-db-migrator | -------------- policy-pap | max.poll.records = 500 kafka | [2024-02-28 10:53:17,562] INFO [RequestSendThread controllerId=1] Starting (kafka.controller.RequestSendThread) simulator | } policy-apex-pdp | ssl.keymanager.algorithm = SunX509 grafana | logger=migrator t=2024-02-28T10:53:16.110599154Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | policy-pap | metadata.max.age.ms = 300000 kafka | [2024-02-28 10:53:17,563] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Enabling request processing. (kafka.network.SocketServer) simulator | fields { policy-apex-pdp | ssl.keystore.certificate.chain = null grafana | logger=migrator t=2024-02-28T10:53:16.111915007Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.316093ms policy-db-migrator | policy-pap | metric.reporters = [] kafka | [2024-02-28 10:53:17,564] INFO [Controller id=1] Currently active brokers in the cluster: Set(1) (kafka.controller.KafkaController) simulator | key: "IP" policy-apex-pdp | ssl.keystore.key = null grafana | logger=migrator t=2024-02-28T10:53:16.119151725Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-pap | metrics.num.samples = 2 kafka | [2024-02-28 10:53:17,564] INFO [Controller id=1] Currently shutting brokers in the cluster: HashSet() (kafka.controller.KafkaController) simulator | value { policy-apex-pdp | ssl.keystore.location = null grafana | logger=migrator t=2024-02-28T10:53:16.125874633Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=6.724508ms policy-db-migrator | -------------- policy-pap | metrics.recording.level = INFO kafka | [2024-02-28 10:53:17,564] INFO [Controller id=1] Current list of topics in the cluster: HashSet() (kafka.controller.KafkaController) simulator | string_value: "10.10.10.10" policy-apex-pdp | ssl.keystore.password = null grafana | logger=migrator t=2024-02-28T10:53:16.134699268Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-pap | metrics.sample.window.ms = 30000 kafka | [2024-02-28 10:53:17,564] INFO [Controller id=1] Fetching topic deletions in progress (kafka.controller.KafkaController) simulator | } policy-apex-pdp | ssl.keystore.type = JKS grafana | logger=migrator t=2024-02-28T10:53:16.136394148Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.69567ms policy-db-migrator | -------------- policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] kafka | [2024-02-28 10:53:17,566] INFO Awaiting socket connections on 0.0.0.0:29092. (kafka.network.DataPlaneAcceptor) simulator | } policy-apex-pdp | ssl.protocol = TLSv1.3 grafana | logger=migrator t=2024-02-28T10:53:16.147405382Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | policy-pap | receive.buffer.bytes = 65536 kafka | [2024-02-28 10:53:17,567] INFO [Controller id=1] List of topics to be deleted: (kafka.controller.KafkaController) simulator | fields { policy-apex-pdp | ssl.provider = null policy-db-migrator | policy-pap | reconnect.backoff.max.ms = 1000 kafka | [2024-02-28 10:53:17,568] INFO [Controller id=1] List of topics ineligible for deletion: (kafka.controller.KafkaController) simulator | key: "pnfName" grafana | logger=migrator t=2024-02-28T10:53:16.148569812Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.16678ms policy-apex-pdp | ssl.secure.random.implementation = null policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-pap | reconnect.backoff.ms = 50 kafka | [2024-02-28 10:53:17,568] INFO [Controller id=1] Initializing topic deletion manager (kafka.controller.KafkaController) simulator | value { grafana | logger=migrator t=2024-02-28T10:53:16.153632341Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | -------------- policy-pap | request.timeout.ms = 30000 kafka | [2024-02-28 10:53:17,568] INFO [Topic Deletion Manager 1] Initializing manager with initial deletions: Set(), initial ineligible deletions: HashSet() (kafka.controller.TopicDeletionManager) simulator | string_value: "demo-pnf" policy-apex-pdp | ssl.trustmanager.algorithm = PKIX grafana | logger=migrator t=2024-02-28T10:53:16.154876083Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.244241ms policy-pap | retry.backoff.ms = 100 kafka | [2024-02-28 10:53:17,569] INFO [Controller id=1] Sending update metadata request (kafka.controller.KafkaController) kafka | [2024-02-28 10:53:17,582] INFO Awaiting socket connections on 0.0.0.0:9092. (kafka.network.DataPlaneAcceptor) grafana | logger=migrator t=2024-02-28T10:53:16.160195696Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) simulator | } policy-pap | sasl.client.callback.handler.class = null policy-apex-pdp | ssl.truststore.certificates = null policy-apex-pdp | ssl.truststore.location = null policy-db-migrator | -------------- simulator | } policy-pap | sasl.jaas.config = null kafka | [2024-02-28 10:53:17,571] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 0 partitions (state.change.logger) policy-apex-pdp | ssl.truststore.password = null policy-db-migrator | simulator | } policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit grafana | logger=migrator t=2024-02-28T10:53:16.161657932Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.461756ms policy-apex-pdp | ssl.truststore.type = JKS policy-db-migrator | simulator | } policy-pap | sasl.kerberos.min.time.before.relogin = 60000 kafka | [2024-02-28 10:53:17,602] INFO Kafka version: 7.6.0-ccs (org.apache.kafka.common.utils.AppInfoParser) grafana | logger=migrator t=2024-02-28T10:53:16.171328762Z level=info msg="Executing migration" id="create seed assignment table" policy-apex-pdp | transaction.timeout.ms = 60000 simulator | } policy-pap | sasl.kerberos.service.name = null kafka | [2024-02-28 10:53:17,602] INFO Kafka commitId: 1991cb733c81d6791626f88253a042b2ec835ab8 (org.apache.kafka.common.utils.AppInfoParser) grafana | logger=migrator t=2024-02-28T10:53:16.172474183Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.146001ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-apex-pdp | transactional.id = null simulator | } policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 kafka | [2024-02-28 10:53:17,602] INFO Kafka startTimeMs: 1709117597594 (org.apache.kafka.common.utils.AppInfoParser) grafana | logger=migrator t=2024-02-28T10:53:16.178072711Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer simulator | policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 kafka | [2024-02-28 10:53:17,603] INFO [ReplicaStateMachine controllerId=1] Initializing replica state (kafka.controller.ZkReplicaStateMachine) grafana | logger=migrator t=2024-02-28T10:53:16.179382514Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.309453ms grafana | logger=migrator t=2024-02-28T10:53:16.191292733Z level=info msg="Executing migration" id="add column hidden to role table" policy-apex-pdp | simulator | 2024-02-28 10:54:44,532 INFO Fetching response from controlloop-hostname-update-update-config.json policy-pap | sasl.login.callback.handler.class = null kafka | [2024-02-28 10:53:17,603] INFO [ReplicaStateMachine controllerId=1] Triggering online replica state changes (kafka.controller.ZkReplicaStateMachine) policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-28T10:53:16.201699096Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.406813ms policy-apex-pdp | [2024-02-28T10:53:50.246+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-1] Instantiated an idempotent producer. simulator | 2024-02-28 10:54:54,526 INFO 172.17.0.11 - - [28/Feb/2024:10:54:54 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.10)" policy-pap | sasl.login.class = null kafka | [2024-02-28 10:53:17,604] INFO [KafkaServer id=1] started (kafka.server.KafkaServer) policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:53:50.261+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 grafana | logger=migrator t=2024-02-28T10:53:16.210137685Z level=info msg="Executing migration" id="permission kind migration" simulator | 2024-02-28 10:54:54,531 INFO 172.17.0.11 - - [28/Feb/2024:10:54:54 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.10)" policy-pap | sasl.login.connect.timeout.ms = null kafka | [2024-02-28 10:53:17,612] INFO [ReplicaStateMachine controllerId=1] Triggering offline replica state changes (kafka.controller.ZkReplicaStateMachine) policy-db-migrator | policy-apex-pdp | [2024-02-28T10:53:50.261+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 grafana | logger=migrator t=2024-02-28T10:53:16.21725138Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.112775ms simulator | 2024-02-28 10:54:54,556 INFO Received request input to CDS: commonHeader { policy-pap | sasl.login.read.timeout.ms = null kafka | [2024-02-28 10:53:17,615] DEBUG [ReplicaStateMachine controllerId=1] Started replica state machine with initial state -> HashMap() (kafka.controller.ZkReplicaStateMachine) policy-db-migrator | policy-apex-pdp | [2024-02-28T10:53:50.261+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1709117630261 grafana | logger=migrator t=2024-02-28T10:53:16.222240267Z level=info msg="Executing migration" id="permission attribute migration" simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-pap | sasl.login.refresh.buffer.seconds = 300 kafka | [2024-02-28 10:53:17,615] INFO [PartitionStateMachine controllerId=1] Initializing partition state (kafka.controller.ZkPartitionStateMachine) policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-apex-pdp | [2024-02-28T10:53:50.262+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=5d5323f5-4ef8-43ea-9722-34c5ef4307fd, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created grafana | logger=migrator t=2024-02-28T10:53:16.230157137Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.91583ms simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-pap | sasl.login.refresh.min.period.seconds = 60 kafka | [2024-02-28 10:53:17,616] INFO [PartitionStateMachine controllerId=1] Triggering online partition state changes (kafka.controller.ZkPartitionStateMachine) policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:53:50.262+00:00|INFO|ServiceManager|main] service manager starting set alive grafana | logger=migrator t=2024-02-28T10:53:16.236076421Z level=info msg="Executing migration" id="permission identifier migration" simulator | originatorId: "POLICY" policy-pap | sasl.login.refresh.window.factor = 0.8 kafka | [2024-02-28 10:53:17,623] INFO [RequestSendThread controllerId=1] Controller 1 connected to kafka:9092 (id: 1 rack: null) for sending state change requests (kafka.controller.RequestSendThread) policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) simulator | } policy-pap | sasl.login.refresh.window.jitter = 0.05 kafka | [2024-02-28 10:53:17,623] DEBUG [PartitionStateMachine controllerId=1] Started partition state machine with initial state -> HashMap() (kafka.controller.ZkPartitionStateMachine) policy-apex-pdp | [2024-02-28T10:53:50.262+00:00|INFO|ServiceManager|main] service manager starting register pdp status context object grafana | logger=migrator t=2024-02-28T10:53:16.243244957Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.166876ms policy-db-migrator | -------------- simulator | actionIdentifiers { policy-pap | sasl.login.retry.backoff.max.ms = 10000 kafka | [2024-02-28 10:53:17,623] INFO [Controller id=1] Ready to serve as the new controller with epoch 1 (kafka.controller.KafkaController) policy-apex-pdp | [2024-02-28T10:53:50.272+00:00|INFO|ServiceManager|main] service manager starting topic sinks grafana | logger=migrator t=2024-02-28T10:53:16.249014118Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | simulator | blueprintName: "controlloop-hostname-update" policy-pap | sasl.login.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:17,632] INFO [Controller id=1] Partitions undergoing preferred replica election: (kafka.controller.KafkaController) policy-apex-pdp | [2024-02-28T10:53:50.272+00:00|INFO|ServiceManager|main] service manager starting Pdp Status publisher grafana | logger=migrator t=2024-02-28T10:53:16.25026222Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.248712ms policy-db-migrator | simulator | blueprintVersion: "1.0.4" policy-pap | sasl.mechanism = GSSAPI kafka | [2024-02-28 10:53:17,633] INFO [Controller id=1] Partitions that completed preferred replica election: (kafka.controller.KafkaController) policy-apex-pdp | [2024-02-28T10:53:50.277+00:00|INFO|ServiceManager|main] service manager starting Register pdp update listener grafana | logger=migrator t=2024-02-28T10:53:16.255298709Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | > upgrade 0580-toscadatatypes.sql simulator | actionName: "update-config" policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 kafka | [2024-02-28 10:53:17,633] INFO [Controller id=1] Skipping preferred replica election for partitions due to topic deletion: (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.256897167Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.597538ms policy-db-migrator | -------------- simulator | mode: "sync" policy-pap | sasl.oauthbearer.expected.audience = null policy-apex-pdp | [2024-02-28T10:53:50.277+00:00|INFO|ServiceManager|main] service manager starting Register pdp state change request dispatcher grafana | logger=migrator t=2024-02-28T10:53:16.266513636Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) simulator | } policy-pap | sasl.oauthbearer.expected.issuer = null policy-apex-pdp | [2024-02-28T10:53:50.277+00:00|INFO|ServiceManager|main] service manager starting Message Dispatcher kafka | [2024-02-28 10:53:17,633] INFO [Controller id=1] Resuming preferred replica election for partitions: (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.268081404Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.566978ms policy-db-migrator | -------------- simulator | payload { policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-apex-pdp | [2024-02-28T10:53:50.277+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf, consumerInstance=policy-apex-pdp, fetchTimeout=15000, fetchLimit=-1, consumer=KafkaConsumerWrapper [fetchTimeout=15000], alive=true, locked=false, uebThread=Thread[KAFKA-source-policy-pdp-pap,5,main], topicListeners=0, toString()=BusTopicBase [apiKey=null, apiSecret=null, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[kafka:9092], topic=policy-pdp-pap, effectiveTopic=policy-pdp-pap, #recentEvents=0, locked=false, #topicListeners=0]]]]: registering org.onap.policy.common.endpoints.listeners.MessageTypeDispatcher@e077866 kafka | [2024-02-28 10:53:17,635] INFO [Controller id=1] Starting replica leader election (PREFERRED) for partitions triggered by ZkTriggered (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.278083649Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | simulator | fields { policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-apex-pdp | [2024-02-28T10:53:50.277+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf, consumerInstance=policy-apex-pdp, fetchTimeout=15000, fetchLimit=-1, consumer=KafkaConsumerWrapper [fetchTimeout=15000], alive=true, locked=false, uebThread=Thread[KAFKA-source-policy-pdp-pap,5,main], topicListeners=1, toString()=BusTopicBase [apiKey=null, apiSecret=null, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[kafka:9092], topic=policy-pdp-pap, effectiveTopic=policy-pdp-pap, #recentEvents=0, locked=false, #topicListeners=1]]]]: register: start not attempted kafka | [2024-02-28 10:53:17,665] INFO [Controller id=1] Starting the controller scheduler (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.278237132Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=126.623µs policy-db-migrator | simulator | key: "update-config-request" policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-apex-pdp | [2024-02-28T10:53:50.277+00:00|INFO|ServiceManager|main] service manager starting Create REST server kafka | [2024-02-28 10:53:17,718] INFO [zk-broker-1-to-controller-forwarding-channel-manager]: Recorded new controller, from now on will use node kafka:9092 (id: 1 rack: null) (kafka.server.BrokerToControllerRequestThread) grafana | logger=migrator t=2024-02-28T10:53:16.282175102Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql simulator | value { policy-pap | sasl.oauthbearer.jwks.endpoint.url = null policy-apex-pdp | [2024-02-28T10:53:50.305+00:00|INFO|OrderedServiceImpl|Timer-0] ***** OrderedServiceImpl implementers: kafka | [2024-02-28 10:53:17,719] TRACE [Controller id=1 epoch=1] Received response UpdateMetadataResponseData(errorCode=0) for request UPDATE_METADATA with correlation id 0 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.282259573Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=85.211µs policy-db-migrator | -------------- simulator | struct_value { policy-apex-pdp | [] kafka | [2024-02-28 10:53:17,763] INFO [zk-broker-1-to-controller-alter-partition-channel-manager]: Recorded new controller, from now on will use node kafka:9092 (id: 1 rack: null) (kafka.server.BrokerToControllerRequestThread) grafana | logger=migrator t=2024-02-28T10:53:16.287561617Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) simulator | fields { kafka | [2024-02-28 10:53:22,667] INFO [Controller id=1] Processing automatic preferred replica leader election (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.288156757Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=595.04µs policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.scope.claim.name = scope policy-apex-pdp | [2024-02-28T10:53:50.311+00:00|INFO|network|Timer-0] [OUT|KAFKA|policy-pdp-pap] simulator | key: "hostname" kafka | [2024-02-28 10:53:22,668] TRACE [Controller id=1] Checking need to trigger auto leader balancing (kafka.controller.KafkaController) grafana | logger=migrator t=2024-02-28T10:53:16.292824729Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | policy-pap | sasl.oauthbearer.sub.claim.name = sub policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"a175a840-09b1-4b2e-9a4a-c27fcdbffa0f","timestampMs":1709117630277,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup"} simulator | value { kafka | [2024-02-28 10:53:49,326] INFO Creating topic __consumer_offsets with configuration {compression.type=producer, cleanup.policy=compact, segment.bytes=104857600} and initial partition assignment HashMap(0 -> ArrayBuffer(1), 1 -> ArrayBuffer(1), 2 -> ArrayBuffer(1), 3 -> ArrayBuffer(1), 4 -> ArrayBuffer(1), 5 -> ArrayBuffer(1), 6 -> ArrayBuffer(1), 7 -> ArrayBuffer(1), 8 -> ArrayBuffer(1), 9 -> ArrayBuffer(1), 10 -> ArrayBuffer(1), 11 -> ArrayBuffer(1), 12 -> ArrayBuffer(1), 13 -> ArrayBuffer(1), 14 -> ArrayBuffer(1), 15 -> ArrayBuffer(1), 16 -> ArrayBuffer(1), 17 -> ArrayBuffer(1), 18 -> ArrayBuffer(1), 19 -> ArrayBuffer(1), 20 -> ArrayBuffer(1), 21 -> ArrayBuffer(1), 22 -> ArrayBuffer(1), 23 -> ArrayBuffer(1), 24 -> ArrayBuffer(1), 25 -> ArrayBuffer(1), 26 -> ArrayBuffer(1), 27 -> ArrayBuffer(1), 28 -> ArrayBuffer(1), 29 -> ArrayBuffer(1), 30 -> ArrayBuffer(1), 31 -> ArrayBuffer(1), 32 -> ArrayBuffer(1), 33 -> ArrayBuffer(1), 34 -> ArrayBuffer(1), 35 -> ArrayBuffer(1), 36 -> ArrayBuffer(1), 37 -> ArrayBuffer(1), 38 -> ArrayBuffer(1), 39 -> ArrayBuffer(1), 40 -> ArrayBuffer(1), 41 -> ArrayBuffer(1), 42 -> ArrayBuffer(1), 43 -> ArrayBuffer(1), 44 -> ArrayBuffer(1), 45 -> ArrayBuffer(1), 46 -> ArrayBuffer(1), 47 -> ArrayBuffer(1), 48 -> ArrayBuffer(1), 49 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) policy-db-migrator | policy-pap | sasl.oauthbearer.token.endpoint.url = null policy-apex-pdp | [2024-02-28T10:53:50.453+00:00|INFO|ServiceManager|main] service manager starting Rest Server simulator | string_value: "host5v157p" grafana | logger=migrator t=2024-02-28T10:53:16.29404116Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.218111ms kafka | [2024-02-28 10:53:49,327] INFO Creating topic policy-pdp-pap with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-pap | security.protocol = PLAINTEXT policy-apex-pdp | [2024-02-28T10:53:50.453+00:00|INFO|ServiceManager|main] service manager starting simulator | } grafana | logger=migrator t=2024-02-28T10:53:16.300501444Z level=info msg="Executing migration" id="dashboard permissions uid scopes" kafka | [2024-02-28 10:53:49,375] DEBUG [Controller id=1] There is no producerId block yet (Zk path version 0), creating the first block (kafka.controller.KafkaController) policy-db-migrator | -------------- policy-pap | security.providers = null policy-apex-pdp | [2024-02-28T10:53:50.453+00:00|INFO|ServiceManager|main] service manager starting REST RestServerParameters simulator | } grafana | logger=migrator t=2024-02-28T10:53:16.301260768Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=759.394µs kafka | [2024-02-28 10:53:49,555] INFO [Controller id=1] Acquired new producerId block ProducerIdsBlock(assignedBrokerId=1, firstProducerId=0, size=1000) by writing to Zk with path version 1 (kafka.controller.KafkaController) policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-pap | send.buffer.bytes = 131072 policy-apex-pdp | [2024-02-28T10:53:50.453+00:00|INFO|JettyServletServer|main] JettyJerseyServer [Jerseyservlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-3591009c==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@634b550e{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-64c2b546==org.glassfish.jersey.servlet.ServletContainer@2d1bc350{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=swagger-6969, toString()=JettyServletServer(name=RestServerParameters, host=0.0.0.0, port=6969, sniHostCheck=false, user=policyadmin, password=zb!XztG34, contextPath=/, jettyServer=Server@5ebd56e9{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@63f34b70{/,null,STOPPED}, connector=RestServerParameters@5d25e6bb{HTTP/1.1, (http/1.1)}{0.0.0.0:6969}, jettyThread=null, servlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-3591009c==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@634b550e{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-64c2b546==org.glassfish.jersey.servlet.ServletContainer@2d1bc350{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING simulator | fields { grafana | logger=migrator t=2024-02-28T10:53:16.309524352Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:49,676] INFO [Controller id=1] New topics: [Set(policy-pdp-pap, __consumer_offsets)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(policy-pdp-pap,Some(k_vUPjabS_WEWPkCX1oT1A),Map(policy-pdp-pap-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))), TopicIdReplicaAssignment(__consumer_offsets,Some(Ey4TyWC9Sh6MBJu_-LUKog),HashMap(__consumer_offsets-22 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-30 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-25 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-35 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-37 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-38 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-13 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-8 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-21 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-4 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-27 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-7 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-9 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-46 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-41 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-33 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-23 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-49 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-47 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-16 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-28 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-31 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-36 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-42 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-3 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-18 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-15 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-24 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-17 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-48 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-19 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-11 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-2 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-43 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-6 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-14 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-20 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-44 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-39 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-12 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-45 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-1 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-5 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-26 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-29 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-34 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-10 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-32 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=), __consumer_offsets-40 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) policy-pap | session.timeout.ms = 45000 policy-apex-pdp | [2024-02-28T10:53:50.465+00:00|INFO|ServiceManager|main] service manager started simulator | key: "IP" grafana | logger=migrator t=2024-02-28T10:53:16.309992921Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=467.519µs policy-db-migrator | kafka | [2024-02-28 10:53:49,677] INFO [Controller id=1] New partition creation callback for __consumer_offsets-22,__consumer_offsets-30,__consumer_offsets-25,__consumer_offsets-35,__consumer_offsets-38,__consumer_offsets-13,__consumer_offsets-8,__consumer_offsets-21,__consumer_offsets-4,__consumer_offsets-27,__consumer_offsets-7,__consumer_offsets-9,__consumer_offsets-46,__consumer_offsets-41,__consumer_offsets-33,__consumer_offsets-23,__consumer_offsets-49,__consumer_offsets-47,__consumer_offsets-16,__consumer_offsets-28,__consumer_offsets-31,__consumer_offsets-36,__consumer_offsets-42,__consumer_offsets-3,__consumer_offsets-18,__consumer_offsets-37,policy-pdp-pap-0,__consumer_offsets-15,__consumer_offsets-24,__consumer_offsets-17,__consumer_offsets-48,__consumer_offsets-19,__consumer_offsets-11,__consumer_offsets-2,__consumer_offsets-43,__consumer_offsets-6,__consumer_offsets-14,__consumer_offsets-20,__consumer_offsets-0,__consumer_offsets-44,__consumer_offsets-39,__consumer_offsets-12,__consumer_offsets-45,__consumer_offsets-1,__consumer_offsets-5,__consumer_offsets-26,__consumer_offsets-29,__consumer_offsets-34,__consumer_offsets-10,__consumer_offsets-32,__consumer_offsets-40 (kafka.controller.KafkaController) policy-pap | socket.connection.setup.timeout.max.ms = 30000 policy-apex-pdp | [2024-02-28T10:53:50.465+00:00|INFO|ServiceManager|main] service manager started simulator | value { grafana | logger=migrator t=2024-02-28T10:53:16.318381119Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | kafka | [2024-02-28 10:53:49,680] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-22 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | socket.connection.setup.timeout.ms = 10000 policy-apex-pdp | [2024-02-28T10:53:50.465+00:00|INFO|ApexStarterMain|main] Started policy-apex-pdp service successfully. simulator | string_value: "10.10.10.10" grafana | logger=migrator t=2024-02-28T10:53:16.31905384Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=681.481µs policy-db-migrator | > upgrade 0610-toscanodetemplates.sql kafka | [2024-02-28 10:53:49,680] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-30 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-pap | ssl.cipher.suites = null policy-apex-pdp | [2024-02-28T10:53:50.465+00:00|INFO|JettyServletServer|RestServerParameters-6969] JettyJerseyServer [Jerseyservlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-3591009c==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@634b550e{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-64c2b546==org.glassfish.jersey.servlet.ServletContainer@2d1bc350{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=swagger-6969, toString()=JettyServletServer(name=RestServerParameters, host=0.0.0.0, port=6969, sniHostCheck=false, user=policyadmin, password=zb!XztG34, contextPath=/, jettyServer=Server@5ebd56e9{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@63f34b70{/,null,STOPPED}, connector=RestServerParameters@5d25e6bb{HTTP/1.1, (http/1.1)}{0.0.0.0:6969}, jettyThread=Thread[RestServerParameters-6969,5,main], servlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-3591009c==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@634b550e{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-64c2b546==org.glassfish.jersey.servlet.ServletContainer@2d1bc350{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING grafana | logger=migrator t=2024-02-28T10:53:16.324827872Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:49,680] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-25 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-apex-pdp | [2024-02-28T10:53:50.678+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 2 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} grafana | logger=migrator t=2024-02-28T10:53:16.325718847Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=893.555µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) kafka | [2024-02-28 10:53:49,680] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-35 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | fields { policy-pap | ssl.endpoint.identification.algorithm = https policy-apex-pdp | [2024-02-28T10:53:50.680+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 1 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} grafana | logger=migrator t=2024-02-28T10:53:16.331097902Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:49,680] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-38 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | key: "pnfName" policy-pap | ssl.engine.factory.class = null policy-apex-pdp | [2024-02-28T10:53:50.680+00:00|INFO|Metadata|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Cluster ID: 3b1G6bkCSIKYhpM8tpXBxQ grafana | logger=migrator t=2024-02-28T10:53:16.332280913Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.182971ms policy-db-migrator | kafka | [2024-02-28 10:53:49,680] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-13 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | value { policy-pap | ssl.key.password = null policy-apex-pdp | [2024-02-28T10:53:50.681+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] ProducerId set to 2 with epoch 0 grafana | logger=migrator t=2024-02-28T10:53:16.339204585Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | kafka | [2024-02-28 10:53:49,680] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-8 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | string_value: "demo-pnf" policy-pap | ssl.keymanager.algorithm = SunX509 policy-apex-pdp | [2024-02-28T10:53:50.681+00:00|INFO|Metadata|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Cluster ID: 3b1G6bkCSIKYhpM8tpXBxQ grafana | logger=migrator t=2024-02-28T10:53:16.347587302Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.382027ms policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql kafka | [2024-02-28 10:53:49,680] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-21 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-pap | ssl.keystore.certificate.chain = null policy-apex-pdp | [2024-02-28T10:53:50.777+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 4 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} grafana | logger=migrator t=2024-02-28T10:53:16.356496209Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:49,680] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-4 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-pap | ssl.keystore.key = null policy-apex-pdp | [2024-02-28T10:53:50.785+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 4 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} grafana | logger=migrator t=2024-02-28T10:53:16.35660268Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=108.802µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-27 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-pap | ssl.keystore.location = null policy-apex-pdp | [2024-02-28T10:53:50.887+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 5 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} grafana | logger=migrator t=2024-02-28T10:53:16.366180019Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-7 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-pap | ssl.keystore.password = null policy-apex-pdp | [2024-02-28T10:53:50.936+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 6 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.367689855Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.509836ms policy-db-migrator | simulator | } kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-9 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | ssl.keystore.type = JKS policy-apex-pdp | [2024-02-28T10:53:50.993+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 6 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.385253385Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | simulator | } kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-46 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | ssl.protocol = TLSv1.3 policy-apex-pdp | [2024-02-28T10:53:51.039+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 8 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} grafana | logger=migrator t=2024-02-28T10:53:16.387642666Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.390051ms policy-db-migrator | > upgrade 0630-toscanodetype.sql simulator | kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-41 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | ssl.provider = null policy-apex-pdp | [2024-02-28T10:53:51.137+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 7 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.400303069Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- simulator | 2024-02-28 10:54:54,557 INFO Fetching response from controlloop-hostname-update-update-config.json kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-33 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | ssl.secure.random.implementation = null policy-apex-pdp | [2024-02-28T10:53:51.143+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 10 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.401812845Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.510566ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) simulator | 2024-02-28 10:54:54,578 INFO Received request input to CDS: commonHeader { kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-23 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | ssl.trustmanager.algorithm = PKIX policy-apex-pdp | [2024-02-28T10:53:51.244+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 8 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.405038193Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-49 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | ssl.truststore.certificates = null policy-apex-pdp | [2024-02-28T10:53:51.249+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 12 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.41399306Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.952827ms policy-db-migrator | simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-47 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | ssl.truststore.location = null policy-apex-pdp | [2024-02-28T10:53:51.347+00:00|INFO|GsonMessageBodyHandler|RestServerParameters-6969] Using GSON for REST calls grafana | logger=migrator t=2024-02-28T10:53:16.421544503Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | simulator | originatorId: "POLICY" kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-16 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | ssl.truststore.password = null policy-apex-pdp | [2024-02-28T10:53:51.348+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 9 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.423504227Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.963625ms policy-db-migrator | > upgrade 0640-toscanodetypes.sql simulator | } kafka | [2024-02-28 10:53:49,681] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-28 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | ssl.truststore.type = JKS policy-apex-pdp | [2024-02-28T10:53:51.349+00:00|INFO|YamlMessageBodyHandler|RestServerParameters-6969] Accepting YAML for REST calls grafana | logger=migrator t=2024-02-28T10:53:16.429488552Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- simulator | actionIdentifiers { kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-31 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-apex-pdp | [2024-02-28T10:53:51.354+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 14 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.430609183Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.120441ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) simulator | blueprintName: "controlloop-hostname-update" kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-36 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | policy-apex-pdp | [2024-02-28T10:53:51.455+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 10 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.436080629Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- simulator | blueprintVersion: "1.0.4" kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-42 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | [2024-02-28T10:53:48.778+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 policy-apex-pdp | [2024-02-28T10:53:51.460+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 16 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.46631749Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.237331ms policy-db-migrator | simulator | actionName: "update-config" kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-3 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | [2024-02-28T10:53:48.778+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 policy-apex-pdp | [2024-02-28T10:53:51.572+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 11 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.470654387Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | simulator | mode: "sync" kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-18 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | [2024-02-28T10:53:48.778+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1709117628778 policy-apex-pdp | [2024-02-28T10:53:51.577+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 18 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.47144921Z level=info msg="Migration successfully executed" id="create correlation v2" duration=794.673µs policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql simulator | } kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-37 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | [2024-02-28T10:53:48.778+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Subscribed to topic(s): policy-pdp-pap policy-apex-pdp | [2024-02-28T10:53:51.607+00:00|INFO|RequestLog|qtp1068445309-33] 172.17.0.1 - - [28/Feb/2024:10:53:51 +0000] "GET / HTTP/1.1" 401 497 "-" "curl/7.58.0" grafana | logger=migrator t=2024-02-28T10:53:16.476676422Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- simulator | payload { kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition policy-pdp-pap-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | [2024-02-28T10:53:48.778+00:00|INFO|ServiceManager|main] Policy PAP starting Heartbeat Message Dispatcher policy-apex-pdp | [2024-02-28T10:53:51.705+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 12 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.478713068Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.036716ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) simulator | fields { kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-15 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-pap | [2024-02-28T10:53:48.778+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=3b98bba2-e773-4dcf-83bb-29ff6f94d3fb, fetchTimeout=15000, fetchLimit=-1, consumer=KafkaConsumerWrapper [fetchTimeout=15000], alive=false, locked=false, uebThread=null, topicListeners=0, toString()=BusTopicBase [apiKey=null, apiSecret=null, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[kafka:9092], topic=policy-heartbeat, effectiveTopic=policy-pdp-pap, #recentEvents=0, locked=false, #topicListeners=0]]]]: registering org.onap.policy.common.endpoints.listeners.MessageTypeDispatcher@239bc43f policy-apex-pdp | [2024-02-28T10:53:51.705+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 20 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | [2024-02-28T10:53:51.811+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 22 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} grafana | logger=migrator t=2024-02-28T10:53:16.483452972Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" simulator | key: "update-config-request" simulator | value { policy-pap | [2024-02-28T10:53:48.778+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=3b98bba2-e773-4dcf-83bb-29ff6f94d3fb, fetchTimeout=15000, fetchLimit=-1, consumer=KafkaConsumerWrapper [fetchTimeout=15000], alive=false, locked=false, uebThread=null, topicListeners=1, toString()=BusTopicBase [apiKey=null, apiSecret=null, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[kafka:9092], topic=policy-heartbeat, effectiveTopic=policy-pdp-pap, #recentEvents=0, locked=false, #topicListeners=1]]]]: starting policy-apex-pdp | [2024-02-28T10:53:51.813+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 13 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | [2024-02-28T10:53:51.916+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 24 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.485243793Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.791371ms simulator | struct_value { simulator | fields { policy-pap | [2024-02-28T10:53:48.779+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:53:51.946+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 14 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.493920715Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-24 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | key: "hostname" policy-pap | allow.auto.create.topics = true policy-db-migrator | policy-apex-pdp | [2024-02-28T10:53:52.041+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 26 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.495966062Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.045477ms kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-17 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | value { policy-pap | auto.commit.interval.ms = 5000 policy-db-migrator | policy-apex-pdp | [2024-02-28T10:53:52.051+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 15 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.505734684Z level=info msg="Executing migration" id="copy correlation v1 to v2" kafka | [2024-02-28 10:53:49,682] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-48 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | string_value: "hostwgwus4" policy-pap | auto.include.jmx.reporter = true policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-apex-pdp | [2024-02-28T10:53:52.144+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 28 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.506289434Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=554.1µs kafka | [2024-02-28 10:53:49,683] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-19 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-pap | auto.offset.reset = latest policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:53:52.154+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 16 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.510870694Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" kafka | [2024-02-28 10:53:49,683] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-11 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-pap | bootstrap.servers = [kafka:9092] policy-apex-pdp | [2024-02-28T10:53:52.247+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 30 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- kafka | [2024-02-28 10:53:49,683] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-2 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | fields { policy-pap | check.crcs = true policy-apex-pdp | [2024-02-28T10:53:52.257+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 17 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | policy-db-migrator | kafka | [2024-02-28 10:53:49,683] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-43 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | key: "IP" policy-pap | client.dns.lookup = use_all_dns_ips policy-apex-pdp | [2024-02-28T10:53:52.350+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 32 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- kafka | [2024-02-28 10:53:49,683] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-6 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | value { policy-pap | client.id = consumer-policy-pap-4 policy-apex-pdp | [2024-02-28T10:53:52.365+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 18 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- kafka | [2024-02-28 10:53:49,683] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-14 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | string_value: "10.10.10.10" policy-pap | client.rack = policy-apex-pdp | [2024-02-28T10:53:52.456+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 34 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | policy-db-migrator | kafka | [2024-02-28 10:53:49,683] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-20 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-pap | connections.max.idle.ms = 540000 policy-apex-pdp | [2024-02-28T10:53:52.470+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 19 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- kafka | [2024-02-28 10:53:49,683] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-pap | default.api.timeout.ms = 60000 policy-pap | enable.auto.commit = true policy-apex-pdp | [2024-02-28T10:53:52.562+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 36 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.512693906Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.822142ms kafka | [2024-02-28 10:53:49,683] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-44 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | fields { policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-pap | exclude.internal.topics = true policy-apex-pdp | [2024-02-28T10:53:52.577+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 20 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.519414484Z level=info msg="Executing migration" id="add provisioning column" kafka | [2024-02-28 10:53:49,683] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-39 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | key: "pnfName" policy-db-migrator | -------------- policy-pap | fetch.max.bytes = 52428800 policy-apex-pdp | [2024-02-28T10:53:52.667+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 38 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.527929854Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.51464ms kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-12 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | value { policy-db-migrator | policy-pap | fetch.max.wait.ms = 500 policy-apex-pdp | [2024-02-28T10:53:52.688+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 21 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.532115518Z level=info msg="Executing migration" id="create entity_events table" kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-45 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | string_value: "demo-pnf" policy-db-migrator | policy-pap | fetch.min.bytes = 1 policy-apex-pdp | [2024-02-28T10:53:52.774+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 40 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.533013033Z level=info msg="Migration successfully executed" id="create entity_events table" duration=896.215µs kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-1 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-pap | group.id = policy-pap policy-apex-pdp | [2024-02-28T10:53:52.792+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 22 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} grafana | logger=migrator t=2024-02-28T10:53:16.538668222Z level=info msg="Executing migration" id="create dashboard public config v1" kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-5 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:53:52.879+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 42 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-26 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-pap | group.instance.id = null grafana | logger=migrator t=2024-02-28T10:53:16.539687021Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.016169ms policy-apex-pdp | [2024-02-28T10:53:52.895+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 23 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-29 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-db-migrator | -------------- policy-pap | heartbeat.interval.ms = 3000 grafana | logger=migrator t=2024-02-28T10:53:16.546287137Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-apex-pdp | [2024-02-28T10:53:52.984+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 44 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-34 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-db-migrator | policy-pap | interceptor.classes = [] grafana | logger=migrator t=2024-02-28T10:53:16.547286774Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-apex-pdp | [2024-02-28T10:53:53.000+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 24 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-10 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | } policy-db-migrator | policy-pap | internal.leave.group.on.close = true grafana | logger=migrator t=2024-02-28T10:53:16.592912157Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-apex-pdp | [2024-02-28T10:53:53.088+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 46 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-32 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false grafana | logger=migrator t=2024-02-28T10:53:16.593750262Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-apex-pdp | [2024-02-28T10:53:53.104+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 25 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-40 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) simulator | 2024-02-28 10:54:54,579 INFO Fetching response from controlloop-hostname-update-update-config.json policy-db-migrator | -------------- policy-pap | isolation.level = read_uncommitted grafana | logger=migrator t=2024-02-28T10:53:16.600334007Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-apex-pdp | [2024-02-28T10:53:53.193+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Error while fetching metadata with correlation id 48 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} kafka | [2024-02-28 10:53:49,684] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer grafana | logger=migrator t=2024-02-28T10:53:16.602884612Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=2.549445ms policy-apex-pdp | [2024-02-28T10:53:53.208+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Error while fetching metadata with correlation id 26 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} kafka | [2024-02-28 10:53:49,689] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-32 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-pap | max.partition.fetch.bytes = 1048576 grafana | logger=migrator t=2024-02-28T10:53:16.609372467Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-apex-pdp | [2024-02-28T10:53:53.306+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) kafka | [2024-02-28 10:53:49,689] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-5 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-pap | max.poll.interval.ms = 300000 grafana | logger=migrator t=2024-02-28T10:53:16.610476716Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.103729ms policy-apex-pdp | [2024-02-28T10:53:53.313+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] (Re-)joining group kafka | [2024-02-28 10:53:49,689] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-44 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-pap | max.poll.records = 500 grafana | logger=migrator t=2024-02-28T10:53:16.620672966Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-apex-pdp | [2024-02-28T10:53:53.338+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Request joining group due to: need to re-join with the given member-id: consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2-b1b323aa-c212-4d44-8d95-d285c7f256d1 kafka | [2024-02-28 10:53:49,689] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-48 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-pap | metadata.max.age.ms = 300000 policy-apex-pdp | [2024-02-28T10:53:53.339+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException) kafka | [2024-02-28 10:53:49,689] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-46 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-pap | metric.reporters = [] policy-apex-pdp | [2024-02-28T10:53:53.339+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] (Re-)joining group kafka | [2024-02-28 10:53:49,689] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-20 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-db-migrator | policy-pap | metrics.num.samples = 2 policy-apex-pdp | [2024-02-28T10:53:54.815+00:00|INFO|RequestLog|qtp1068445309-28] 172.17.0.1 - policyadmin [28/Feb/2024:10:53:54 +0000] "GET /policy/apex-pdp/v1/healthcheck?null HTTP/1.1" 200 109 "-" "python-requests/2.27.1" kafka | [2024-02-28 10:53:49,689] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-pdp-pap-0 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-02-28T10:53:16.62266954Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.993745ms policy-pap | metrics.recording.level = INFO policy-apex-pdp | [2024-02-28T10:53:56.082+00:00|INFO|RequestLog|qtp1068445309-29] 172.17.0.2 - policyadmin [28/Feb/2024:10:53:56 +0000] "GET /metrics HTTP/1.1" 200 10649 "-" "Prometheus/2.50.1" kafka | [2024-02-28 10:53:49,689] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-43 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-pap | metrics.sample.window.ms = 30000 policy-apex-pdp | [2024-02-28T10:53:56.361+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Successfully joined group with generation Generation{generationId=1, memberId='consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2-b1b323aa-c212-4d44-8d95-d285c7f256d1', protocol='range'} kafka | [2024-02-28 10:53:49,689] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-24 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-db-migrator | policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] kafka | [2024-02-28 10:53:49,689] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-6 from NonExistentReplica to NewReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:53:56.367+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Finished assignment for group at generation 1: {consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2-b1b323aa-c212-4d44-8d95-d285c7f256d1=Assignment(partitions=[policy-pdp-pap-0])} policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-pap | receive.buffer.bytes = 65536 policy-pap | reconnect.backoff.max.ms = 1000 policy-apex-pdp | [2024-02-28T10:53:56.424+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Successfully synced group in generation Generation{generationId=1, memberId='consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2-b1b323aa-c212-4d44-8d95-d285c7f256d1', protocol='range'} policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-pap | reconnect.backoff.ms = 50 policy-pap | request.timeout.ms = 30000 policy-apex-pdp | [2024-02-28T10:53:56.424+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Notifying assignor about the new Assignment(partitions=[policy-pdp-pap-0]) policy-db-migrator | -------------- policy-db-migrator | policy-pap | retry.backoff.ms = 100 policy-pap | sasl.client.callback.handler.class = null policy-apex-pdp | [2024-02-28T10:53:56.426+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Adding newly assigned partitions: policy-pdp-pap-0 policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-pap | sasl.jaas.config = null policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-apex-pdp | [2024-02-28T10:53:56.444+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Found no committed offset for partition policy-pdp-pap-0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-28T10:53:16.631340362Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-pap | sasl.kerberos.min.time.before.relogin = 60000 policy-pap | sasl.kerberos.service.name = null policy-apex-pdp | [2024-02-28T10:53:56.460+00:00|INFO|SubscriptionState|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2, groupId=bc28eae0-8287-4c0f-b48b-1b3f1373e7bf] Resetting offset for partition policy-pdp-pap-0 to position FetchPosition{offset=1, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka:9092 (id: 1 rack: null)], epoch=0}}. policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-02-28T10:53:16.632566705Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.225903ms policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-18 from NonExistentReplica to NewReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:10.278+00:00|INFO|network|Timer-0] [OUT|KAFKA|policy-pdp-pap] policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-28T10:53:16.638389237Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-21 from NonExistentReplica to NewReplica (state.change.logger) policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"77a1f27a-061d-494b-8666-2e03fea313ac","timestampMs":1709117650277,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup"} policy-db-migrator | grafana | logger=migrator t=2024-02-28T10:53:16.639560577Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.17152ms policy-pap | sasl.login.callback.handler.class = null kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-1 from NonExistentReplica to NewReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:10.300+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-db-migrator | grafana | logger=migrator t=2024-02-28T10:53:16.643511447Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-pap | sasl.login.class = null kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-14 from NonExistentReplica to NewReplica (state.change.logger) policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"77a1f27a-061d-494b-8666-2e03fea313ac","timestampMs":1709117650277,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup"} policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-02-28T10:53:16.644565535Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.055948ms policy-pap | sasl.login.connect.timeout.ms = null kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-34 from NonExistentReplica to NewReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:10.302+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-28T10:53:16.651473977Z level=info msg="Executing migration" id="Drop public config table" policy-pap | sasl.login.read.timeout.ms = null kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-16 from NonExistentReplica to NewReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:10.766+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-02-28T10:53:16.652326142Z level=info msg="Migration successfully executed" id="Drop public config table" duration=851.485µs policy-pap | sasl.login.refresh.buffer.seconds = 300 kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-29 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"messageName":"PDP_UPDATE","requestId":"6310611a-a25c-450c-9c99-4a8bd011f64f","timestampMs":1709117650682,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} grafana | logger=migrator t=2024-02-28T10:53:16.658347978Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-pap | sasl.login.refresh.min.period.seconds = 60 kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-11 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:10.819+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:pdp/status/publisher grafana | logger=migrator t=2024-02-28T10:53:16.66015844Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.809822ms policy-pap | sasl.login.refresh.window.factor = 0.8 kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-0 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:10.820+00:00|INFO|network|Timer-1] [OUT|KAFKA|policy-pdp-pap] grafana | logger=migrator t=2024-02-28T10:53:16.666606613Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-pap | sasl.login.refresh.window.jitter = 0.05 kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-22 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"3b35588d-3393-4e87-a5d2-b3d996f8a2e5","timestampMs":1709117650819,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup"} grafana | logger=migrator t=2024-02-28T10:53:16.667943016Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.335713ms policy-pap | sasl.login.retry.backoff.max.ms = 10000 kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-47 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:10.821+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] grafana | logger=migrator t=2024-02-28T10:53:16.676041229Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-pap | sasl.login.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-36 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"6310611a-a25c-450c-9c99-4a8bd011f64f","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"6d96f9a6-2463-49b0-816a-b2fd3156f8ba","timestampMs":1709117650820,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} grafana | logger=migrator t=2024-02-28T10:53:16.678121786Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.081697ms policy-pap | sasl.mechanism = GSSAPI kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-28 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:10.838+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] grafana | logger=migrator t=2024-02-28T10:53:16.684572539Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-42 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"3b35588d-3393-4e87-a5d2-b3d996f8a2e5","timestampMs":1709117650819,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup"} grafana | logger=migrator t=2024-02-28T10:53:16.687893108Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=3.319929ms policy-pap | sasl.oauthbearer.expected.audience = null kafka | [2024-02-28 10:53:49,690] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-9 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:10.839+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS grafana | logger=migrator t=2024-02-28T10:53:16.693339734Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-pap | sasl.oauthbearer.expected.issuer = null kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-37 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-apex-pdp | [2024-02-28T10:54:10.839+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] grafana | logger=migrator t=2024-02-28T10:53:16.729215824Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=35.87488ms policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-13 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"6310611a-a25c-450c-9c99-4a8bd011f64f","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"6d96f9a6-2463-49b0-816a-b2fd3156f8ba","timestampMs":1709117650820,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} grafana | logger=migrator t=2024-02-28T10:53:16.736265968Z level=info msg="Executing migration" id="add annotations_enabled column" policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-30 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-apex-pdp | [2024-02-28T10:54:10.839+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS grafana | logger=migrator t=2024-02-28T10:53:16.745954479Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=9.68802ms policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-35 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:10.873+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] grafana | logger=migrator t=2024-02-28T10:53:16.753185226Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-pap | sasl.oauthbearer.jwks.endpoint.url = null kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-39 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"f0db684f-a0a0-4819-9d05-372a12d6a5d9","timestampMs":1709117650683,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} grafana | logger=migrator t=2024-02-28T10:53:16.765875929Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=12.699483ms policy-pap | sasl.oauthbearer.scope.claim.name = scope kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-12 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:10.945+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.native.apex.Sampledomain 1.0.0 policy-pap | sasl.oauthbearer.sub.claim.name = sub kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-27 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-apex-pdp | [2024-02-28T10:54:11.113+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-0:0.0.1 . grafana | logger=migrator t=2024-02-28T10:53:16.770603382Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-pap | sasl.oauthbearer.token.endpoint.url = null kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-45 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:11.114+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-1:0.0.1 . grafana | logger=migrator t=2024-02-28T10:53:16.770949388Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=345.636µs policy-pap | security.protocol = PLAINTEXT kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-19 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-apex-pdp | [2024-02-28T10:54:11.114+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-2:0.0.1 . grafana | logger=migrator t=2024-02-28T10:53:16.778851648Z level=info msg="Executing migration" id="add share column" policy-pap | security.providers = null kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-49 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:11.114+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-3:0.0.1 . grafana | logger=migrator t=2024-02-28T10:53:16.79149376Z level=info msg="Migration successfully executed" id="add share column" duration=12.640332ms policy-pap | send.buffer.bytes = 131072 kafka | [2024-02-28 10:53:49,691] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-40 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:11.114+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. policy-pap | session.timeout.ms = 45000 grafana | logger=migrator t=2024-02-28T10:53:16.797423344Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-41 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:11.227+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-0:0.0.1 policy-pap | socket.connection.setup.timeout.max.ms = 30000 grafana | logger=migrator t=2024-02-28T10:53:16.797668409Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=242.324µs kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-38 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-apex-pdp | [2024-02-28T10:54:11.247+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-1:0.0.1 policy-pap | socket.connection.setup.timeout.ms = 10000 grafana | logger=migrator t=2024-02-28T10:53:16.801676159Z level=info msg="Executing migration" id="create file table" kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-8 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:11.249+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-2:0.0.1 policy-pap | ssl.cipher.suites = null grafana | logger=migrator t=2024-02-28T10:53:16.803616083Z level=info msg="Migration successfully executed" id="create file table" duration=1.939264ms kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-7 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-apex-pdp | [2024-02-28T10:54:11.250+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-3:0.0.1 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] grafana | logger=migrator t=2024-02-28T10:53:16.808843205Z level=info msg="Executing migration" id="file table idx: path natural pk" kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-33 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:11.723+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine policy-pap | ssl.endpoint.identification.algorithm = https grafana | logger=migrator t=2024-02-28T10:53:16.810415852Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.652218ms policy-db-migrator | policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:11.724+00:00|INFO|ApexRestServerConsumer|KAFKA-source-policy-pdp-pap] Creating the Apex Rest Server policy-pap | ssl.engine.factory.class = null grafana | logger=migrator t=2024-02-28T10:53:16.817473847Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-apex-pdp | [2024-02-28T10:54:11.726+00:00|INFO|JettyServletServer|KAFKA-source-policy-pdp-pap] JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-78efa475==org.glassfish.jersey.servlet.ServletContainer@6edbdce1{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=swagger-23324, toString()=JettyServletServer(name=RESTSERVER, host=0.0.0.0, port=23324, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@168115ac{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@1348d705{/,null,STOPPED}, connector=RESTSERVER@3037810b{HTTP/1.1, (http/1.1)}{0.0.0.0:23324}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-78efa475==org.glassfish.jersey.servlet.ServletContainer@6edbdce1{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING policy-pap | ssl.key.password = null kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-25 from NonExistentReplica to NewReplica (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.818736569Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.262512ms policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:11.728+00:00|INFO|JettyServletServer|RESTSERVER-23324] JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-78efa475==org.glassfish.jersey.servlet.ServletContainer@6edbdce1{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=swagger-23324, toString()=JettyServletServer(name=RESTSERVER, host=0.0.0.0, port=23324, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@168115ac{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@1348d705{/,null,STOPPED}, connector=RESTSERVER@3037810b{HTTP/1.1, (http/1.1)}{0.0.0.0:23324}, jettyThread=Thread[RESTSERVER-23324,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-78efa475==org.glassfish.jersey.servlet.ServletContainer@6edbdce1{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING policy-pap | ssl.keymanager.algorithm = SunX509 kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-31 from NonExistentReplica to NewReplica (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.823156897Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-apex-pdp | [2024-02-28T10:54:11.738+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] policy-pap | ssl.keystore.certificate.chain = null kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-23 from NonExistentReplica to NewReplica (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.824031522Z level=info msg="Migration successfully executed" id="create file_meta table" duration=847.674µs policy-db-migrator | -------------- policy-pap | ssl.keystore.key = null policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpStateChange","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"f0db684f-a0a0-4819-9d05-372a12d6a5d9","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"e0d1bfe7-22c8-43d0-9f4b-bca3b03fec90","timestampMs":1709117651737,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-10 from NonExistentReplica to NewReplica (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.829575899Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | policy-pap | ssl.keystore.location = null policy-apex-pdp | [2024-02-28T10:54:11.751+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-2 from NonExistentReplica to NewReplica (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.830902093Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.328884ms policy-db-migrator | policy-pap | ssl.keystore.password = null policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpStateChange","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"f0db684f-a0a0-4819-9d05-372a12d6a5d9","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"e0d1bfe7-22c8-43d0-9f4b-bca3b03fec90","timestampMs":1709117651737,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-17 from NonExistentReplica to NewReplica (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.841930917Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-pap | ssl.keystore.type = JKS policy-apex-pdp | [2024-02-28T10:54:11.753+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-4 from NonExistentReplica to NewReplica (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.842238352Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=306.955µs policy-db-migrator | -------------- policy-pap | ssl.protocol = TLSv1.3 policy-apex-pdp | [2024-02-28T10:54:11.765+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-15 from NonExistentReplica to NewReplica (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.848587974Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-pap | ssl.provider = null policy-apex-pdp | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"c190b337-274e-404c-ab3c-d4a657b9a859","timestampMs":1709117651611,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:49,692] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-26 from NonExistentReplica to NewReplica (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.848833388Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=244.664µs policy-db-migrator | -------------- policy-pap | ssl.secure.random.implementation = null policy-apex-pdp | [2024-02-28T10:54:11.778+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:49,693] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-3 from NonExistentReplica to NewReplica (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.853168255Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | policy-pap | ssl.trustmanager.algorithm = PKIX policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"c190b337-274e-404c-ab3c-d4a657b9a859","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"38f64d70-1261-40d9-9709-5509aa9af7e4","timestampMs":1709117651778,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:49,693] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.853789946Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=621.361µs policy-db-migrator | policy-pap | ssl.truststore.certificates = null policy-apex-pdp | [2024-02-28T10:54:11.795+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:50,934] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-22 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.867317194Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-pap | ssl.truststore.location = null policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"c190b337-274e-404c-ab3c-d4a657b9a859","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"38f64d70-1261-40d9-9709-5509aa9af7e4","timestampMs":1709117651778,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | > upgrade 0820-toscatrigger.sql kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-30 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.867713851Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=399.417µs policy-pap | ssl.truststore.password = null policy-apex-pdp | [2024-02-28T10:54:11.795+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-25 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.873788617Z level=info msg="Executing migration" id="RBAC action name migrator" policy-pap | ssl.truststore.type = JKS policy-apex-pdp | [2024-02-28T10:54:11.849+00:00|INFO|GsonMessageBodyHandler|RESTSERVER-23324] Using GSON for REST calls policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-35 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.874419178Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=630.651µs policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-apex-pdp | [2024-02-28T10:54:12.322+00:00|INFO|RequestLog|qtp330283164-58] 172.17.0.1 - - [28/Feb/2024:10:54:12 +0000] "PUT /apex/FirstConsumer/EventIn HTTP/1.1" 200 588 "-" "python-requests/2.27.1" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-38 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.879221653Z level=info msg="Executing migration" id="Add UID column to playlist" policy-pap | policy-apex-pdp | [2024-02-28T10:54:13.115+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-db-migrator | kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-13 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.887682972Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.460218ms policy-pap | [2024-02-28T10:53:48.783+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 policy-db-migrator | kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-8 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.892376314Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-apex-pdp | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://localhost:8082/topics/apex-cl-mgt"}]},"policy_type_impl":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}},"eventOutputParameters":{"SimpleCL_AAIProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer","requestorTimeout":500},"SimpleCL_logOutputter":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.Test","version":"1.0.0","metadata":{"policy-id":"onap.policies.apex.pnf.Test","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"9697815f-47d8-4381-855e-a8434d72be62","timestampMs":1709117653062,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | [2024-02-28T10:53:48.783+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-21 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.892667249Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=290.445µs policy-apex-pdp | [2024-02-28T10:54:13.121+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:apex/tosca/policy/list policy-pap | [2024-02-28T10:53:48.783+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1709117628783 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-4 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:16.901703308Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-apex-pdp | [2024-02-28T10:54:13.139+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.apex.pnf.Test 1.0.0 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-27 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-pap | [2024-02-28T10:53:48.784+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Subscribed to topic(s): policy-pdp-pap grafana | logger=migrator t=2024-02-28T10:53:16.903701984Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.996256ms policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:48.784+00:00|INFO|ServiceManager|main] Policy PAP starting topics grafana | logger=migrator t=2024-02-28T10:53:16.91093167Z level=info msg="Executing migration" id="update group index for alert rules" policy-apex-pdp | [2024-02-28T10:54:13.163+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-0:0.0.1 . kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-7 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | [2024-02-28T10:53:48.784+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=3b98bba2-e773-4dcf-83bb-29ff6f94d3fb, fetchTimeout=15000, fetchLimit=-1, consumer=KafkaConsumerWrapper [fetchTimeout=15000], alive=true, locked=false, uebThread=Thread[KAFKA-source-policy-heartbeat,5,main], topicListeners=1, toString()=BusTopicBase [apiKey=null, apiSecret=null, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[kafka:9092], topic=policy-heartbeat, effectiveTopic=policy-pdp-pap, #recentEvents=0, locked=false, #topicListeners=1]]]]: starting grafana | logger=migrator t=2024-02-28T10:53:16.91147958Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=548.67µs policy-apex-pdp | [2024-02-28T10:54:13.163+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-1:0.0.1 . kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-9 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | [2024-02-28T10:53:48.784+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99, consumerInstance=policy-pap, fetchTimeout=15000, fetchLimit=-1, consumer=KafkaConsumerWrapper [fetchTimeout=15000], alive=true, locked=false, uebThread=Thread[KAFKA-source-policy-pdp-pap,5,main], topicListeners=1, toString()=BusTopicBase [apiKey=null, apiSecret=null, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[kafka:9092], topic=policy-pdp-pap, effectiveTopic=policy-pdp-pap, #recentEvents=0, locked=false, #topicListeners=1]]]]: starting grafana | logger=migrator t=2024-02-28T10:53:16.919830097Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-apex-pdp | [2024-02-28T10:54:13.163+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-2:0.0.1 . kafka | [2024-02-28 10:53:50,935] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-46 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-pap | [2024-02-28T10:53:48.784+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=98ca034d-b35f-4f52-8068-cf7f774e1e67, alive=false, publisher=null]]: starting grafana | logger=migrator t=2024-02-28T10:53:16.920371087Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=540.55µs policy-apex-pdp | [2024-02-28T10:54:13.163+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-3:0.0.1 . kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-41 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:48.798+00:00|INFO|ProducerConfig|main] ProducerConfig values: grafana | logger=migrator t=2024-02-28T10:53:16.926322342Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-apex-pdp | [2024-02-28T10:54:13.164+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-33 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-pap | acks = -1 grafana | logger=migrator t=2024-02-28T10:53:16.927591463Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=1.269742ms policy-apex-pdp | [2024-02-28T10:54:13.196+00:00|WARN|EngineServiceImpl|KAFKA-source-policy-pdp-pap] apex model update forced, supplied model with key "onap.policies.apex.Simplecontrolloop:0.0.1" is not a compatible model update from the existing engine model with key "SamplePolicyModelJAVASCRIPT:0.0.1" kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-23 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | -------------- policy-pap | auto.include.jmx.reporter = true grafana | logger=migrator t=2024-02-28T10:53:16.932543971Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-apex-pdp | [2024-02-28T10:54:13.196+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-0:0.0.1 kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-49 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | batch.size = 16384 grafana | logger=migrator t=2024-02-28T10:53:16.942554636Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.011115ms policy-apex-pdp | [2024-02-28T10:54:13.196+00:00|WARN|EngineService|KAFKA-source-policy-pdp-pap] apex model update forced, supplied model with key "onap.policies.apex.Simplecontrolloop:0.0.1" is not a compatible model update from the existing engine model with key "SamplePolicyModelJAVASCRIPT:0.0.1" kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-47 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | bootstrap.servers = [kafka:9092] grafana | logger=migrator t=2024-02-28T10:53:16.947083066Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-apex-pdp | [2024-02-28T10:54:13.361+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-1:0.0.1 kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-16 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-pap | buffer.memory = 33554432 grafana | logger=migrator t=2024-02-28T10:53:16.953316076Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.23064ms policy-apex-pdp | [2024-02-28T10:54:13.363+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-2:0.0.1 kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-28 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | -------------- policy-pap | client.dns.lookup = use_all_dns_ips grafana | logger=migrator t=2024-02-28T10:53:16.962407516Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-apex-pdp | [2024-02-28T10:54:13.364+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-3:0.0.1 kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-31 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-pap | client.id = producer-1 grafana | logger=migrator t=2024-02-28T10:53:16.964507032Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=2.098356ms policy-apex-pdp | [2024-02-28T10:54:13.446+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-36 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | -------------- policy-pap | compression.type = none grafana | logger=migrator t=2024-02-28T10:53:16.971874012Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-apex-pdp | [2024-02-28T10:54:13.640+00:00|INFO|CdsProcessorGrpcClient|KAFKA-source-policy-pdp-pap] CdsProcessorListener started kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-42 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | connections.max.idle.ms = 540000 grafana | logger=migrator t=2024-02-28T10:53:17.080819693Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=108.944661ms policy-apex-pdp | [2024-02-28T10:54:13.641+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-3 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | delivery.timeout.ms = 120000 grafana | logger=migrator t=2024-02-28T10:53:17.086691427Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-apex-pdp | [2024-02-28T10:54:13.641+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-02-28 10:53:50,936] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-18 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-pap | enable.idempotence = true grafana | logger=migrator t=2024-02-28T10:53:17.087790194Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.101788ms policy-apex-pdp | [2024-02-28T10:54:13.659+00:00|INFO|ConsumerConfig|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] ConsumerConfig values: kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-37 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | -------------- policy-pap | interceptor.classes = [] grafana | logger=migrator t=2024-02-28T10:53:17.093019117Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-apex-pdp | allow.auto.create.topics = true kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition policy-pdp-pap-0 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-pap | key.serializer = class org.apache.kafka.common.serialization.StringSerializer grafana | logger=migrator t=2024-02-28T10:53:17.094102045Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.083478ms policy-apex-pdp | auto.commit.interval.ms = 1000 kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-15 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | -------------- policy-pap | linger.ms = 0 grafana | logger=migrator t=2024-02-28T10:53:17.098233181Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-apex-pdp | auto.include.jmx.reporter = true kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-24 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | max.block.ms = 60000 grafana | logger=migrator t=2024-02-28T10:53:17.128662326Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=30.427045ms policy-apex-pdp | auto.offset.reset = latest kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-17 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | max.in.flight.requests.per.connection = 5 grafana | logger=migrator t=2024-02-28T10:53:17.131964419Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-apex-pdp | bootstrap.servers = [kafka:9092] kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-48 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-pap | max.request.size = 1048576 grafana | logger=migrator t=2024-02-28T10:53:17.132184452Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=219.863µs policy-apex-pdp | check.crcs = true kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-19 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | -------------- policy-pap | metadata.max.age.ms = 300000 grafana | logger=migrator t=2024-02-28T10:53:17.136903468Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-apex-pdp | client.dns.lookup = use_all_dns_ips kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-11 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-pap | metadata.max.idle.ms = 300000 policy-apex-pdp | client.id = consumer-apex-grp-3 grafana | logger=migrator t=2024-02-28T10:53:17.137131211Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=227.733µs kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-2 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | -------------- policy-pap | metric.reporters = [] grafana | logger=migrator t=2024-02-28T10:53:17.141188085Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-apex-pdp | client.rack = kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-43 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | metrics.num.samples = 2 grafana | logger=migrator t=2024-02-28T10:53:17.141651374Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=463.198µs policy-apex-pdp | connections.max.idle.ms = 540000 kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-6 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | metrics.recording.level = INFO grafana | logger=migrator t=2024-02-28T10:53:17.145742788Z level=info msg="Executing migration" id="create folder table" policy-apex-pdp | default.api.timeout.ms = 60000 kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-14 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-pap | metrics.sample.window.ms = 30000 grafana | logger=migrator t=2024-02-28T10:53:17.147491907Z level=info msg="Migration successfully executed" id="create folder table" duration=1.748848ms policy-apex-pdp | enable.auto.commit = true kafka | [2024-02-28 10:53:50,937] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-20 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | -------------- policy-pap | partitioner.adaptive.partitioning.enable = true grafana | logger=migrator t=2024-02-28T10:53:17.15335576Z level=info msg="Executing migration" id="Add index for parent_uid" policy-apex-pdp | exclude.internal.topics = true kafka | [2024-02-28 10:53:50,938] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-0 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-pap | partitioner.availability.timeout.ms = 0 grafana | logger=migrator t=2024-02-28T10:53:17.15467918Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.32267ms policy-apex-pdp | fetch.max.bytes = 52428800 kafka | [2024-02-28 10:53:50,938] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-44 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | -------------- policy-pap | partitioner.class = null grafana | logger=migrator t=2024-02-28T10:53:17.163294947Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-apex-pdp | fetch.max.wait.ms = 500 kafka | [2024-02-28 10:53:50,938] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-39 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | partitioner.ignore.keys = false grafana | logger=migrator t=2024-02-28T10:53:17.165234779Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.938552ms policy-apex-pdp | fetch.min.bytes = 1 kafka | [2024-02-28 10:53:50,938] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-12 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-db-migrator | policy-pap | receive.buffer.bytes = 32768 grafana | logger=migrator t=2024-02-28T10:53:17.17098611Z level=info msg="Executing migration" id="Update folder title length" policy-apex-pdp | group.id = apex-grp policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql kafka | [2024-02-28 10:53:50,938] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-45 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-pap | reconnect.backoff.max.ms = 1000 grafana | logger=migrator t=2024-02-28T10:53:17.171146733Z level=info msg="Migration successfully executed" id="Update folder title length" duration=162.683µs policy-apex-pdp | group.instance.id = null policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,938] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-1 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-pap | reconnect.backoff.ms = 50 grafana | logger=migrator t=2024-02-28T10:53:17.177239629Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-apex-pdp | heartbeat.interval.ms = 3000 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) kafka | [2024-02-28 10:53:50,938] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-5 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-pap | request.timeout.ms = 30000 grafana | logger=migrator t=2024-02-28T10:53:17.1791176Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.87232ms policy-apex-pdp | interceptor.classes = [] policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,939] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-26 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-pap | retries = 2147483647 grafana | logger=migrator t=2024-02-28T10:53:17.18354155Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-apex-pdp | internal.leave.group.on.close = true policy-db-migrator | kafka | [2024-02-28 10:53:50,939] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-29 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-pap | retry.backoff.ms = 100 grafana | logger=migrator t=2024-02-28T10:53:17.184663598Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.122008ms policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false policy-db-migrator | kafka | [2024-02-28 10:53:50,939] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-34 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-pap | sasl.client.callback.handler.class = null grafana | logger=migrator t=2024-02-28T10:53:17.188260135Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-apex-pdp | isolation.level = read_uncommitted policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql kafka | [2024-02-28 10:53:50,939] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-10 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-pap | sasl.jaas.config = null grafana | logger=migrator t=2024-02-28T10:53:17.189455735Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.19488ms policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,939] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-32 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit grafana | logger=migrator t=2024-02-28T10:53:17.197429621Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-apex-pdp | max.partition.fetch.bytes = 1048576 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) kafka | [2024-02-28 10:53:50,939] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-40 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) policy-pap | sasl.kerberos.min.time.before.relogin = 60000 grafana | logger=migrator t=2024-02-28T10:53:17.197998431Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=569.139µs policy-apex-pdp | max.poll.interval.ms = 300000 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,941] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=13, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-13 (state.change.logger) policy-pap | sasl.kerberos.service.name = null grafana | logger=migrator t=2024-02-28T10:53:17.204439973Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-apex-pdp | max.poll.records = 500 policy-db-migrator | kafka | [2024-02-28 10:53:50,941] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=46, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-46 (state.change.logger) policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 grafana | logger=migrator t=2024-02-28T10:53:17.204989562Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=550.139µs policy-apex-pdp | metadata.max.age.ms = 300000 policy-db-migrator | kafka | [2024-02-28 10:53:50,941] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=9, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-9 (state.change.logger) policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 grafana | logger=migrator t=2024-02-28T10:53:17.208154332Z level=info msg="Executing migration" id="create anon_device table" policy-apex-pdp | metric.reporters = [] policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql kafka | [2024-02-28 10:53:50,941] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=42, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-42 (state.change.logger) policy-pap | sasl.login.callback.handler.class = null grafana | logger=migrator t=2024-02-28T10:53:17.209459703Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.304711ms policy-apex-pdp | metrics.num.samples = 2 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=21, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-21 (state.change.logger) policy-pap | sasl.login.class = null grafana | logger=migrator t=2024-02-28T10:53:17.21371433Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-apex-pdp | metrics.recording.level = INFO policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=17, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-17 (state.change.logger) policy-pap | sasl.login.connect.timeout.ms = null grafana | logger=migrator t=2024-02-28T10:53:17.214958281Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.243841ms policy-apex-pdp | metrics.sample.window.ms = 30000 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=30, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-30 (state.change.logger) policy-pap | sasl.login.read.timeout.ms = null grafana | logger=migrator t=2024-02-28T10:53:17.21937458Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] policy-db-migrator | kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=26, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-26 (state.change.logger) policy-pap | sasl.login.refresh.buffer.seconds = 300 grafana | logger=migrator t=2024-02-28T10:53:17.22055868Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.18575ms policy-apex-pdp | receive.buffer.bytes = 65536 policy-db-migrator | kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=5, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-5 (state.change.logger) policy-pap | sasl.login.refresh.min.period.seconds = 60 grafana | logger=migrator t=2024-02-28T10:53:17.224192687Z level=info msg="Executing migration" id="create signing_key table" policy-apex-pdp | reconnect.backoff.max.ms = 1000 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=38, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-38 (state.change.logger) policy-pap | sasl.login.refresh.window.factor = 0.8 grafana | logger=migrator t=2024-02-28T10:53:17.225085531Z level=info msg="Migration successfully executed" id="create signing_key table" duration=890.714µs policy-apex-pdp | reconnect.backoff.ms = 50 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=1, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-1 (state.change.logger) policy-pap | sasl.login.refresh.window.jitter = 0.05 grafana | logger=migrator t=2024-02-28T10:53:17.22936931Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-apex-pdp | request.timeout.ms = 30000 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=34, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-34 (state.change.logger) policy-pap | sasl.login.retry.backoff.max.ms = 10000 grafana | logger=migrator t=2024-02-28T10:53:17.230591939Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.222499ms policy-apex-pdp | retry.backoff.ms = 100 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=16, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-16 (state.change.logger) policy-pap | sasl.login.retry.backoff.ms = 100 grafana | logger=migrator t=2024-02-28T10:53:17.235111322Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-apex-pdp | sasl.client.callback.handler.class = null policy-db-migrator | policy-pap | sasl.mechanism = GSSAPI kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=45, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-45 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.236931321Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.82092ms policy-apex-pdp | sasl.jaas.config = null policy-db-migrator | policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=12, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-12 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.242957157Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-pap | sasl.oauthbearer.expected.audience = null kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=41, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-41 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.243534206Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=578.799µs policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.expected.issuer = null kafka | [2024-02-28 10:53:50,942] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=24, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-24 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.248804959Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-apex-pdp | sasl.kerberos.service.name = null policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=20, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-20 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.25953017Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.726001ms policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=49, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-49 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.26455013Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-db-migrator | policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-0 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.265320983Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=772.403µs policy-apex-pdp | sasl.login.callback.handler.class = null policy-db-migrator | policy-pap | sasl.oauthbearer.jwks.endpoint.url = null kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=29, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-29 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.270186589Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-apex-pdp | sasl.login.class = null policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-pap | sasl.oauthbearer.scope.claim.name = scope kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=25, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-25 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.27147018Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.283151ms policy-apex-pdp | sasl.login.connect.timeout.ms = null policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.sub.claim.name = sub kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=8, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-8 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.277307953Z level=info msg="Executing migration" id="create sso_setting table" policy-apex-pdp | sasl.login.read.timeout.ms = null policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-pap | sasl.oauthbearer.token.endpoint.url = null kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=37, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-37 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.279295835Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.991112ms policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 policy-db-migrator | -------------- policy-pap | security.protocol = PLAINTEXT kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=4, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-4 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.286704762Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 policy-db-migrator | policy-pap | security.providers = null kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=33, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-33 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.287499386Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=795.544µs policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 policy-db-migrator | policy-pap | send.buffer.bytes = 131072 kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=15, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-15 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.34363353Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-pap | socket.connection.setup.timeout.max.ms = 30000 kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=48, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-48 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.34429832Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=666.191µs policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 policy-db-migrator | -------------- policy-pap | socket.connection.setup.timeout.ms = 10000 kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=11, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-11 (state.change.logger) grafana | logger=migrator t=2024-02-28T10:53:17.350566559Z level=info msg="migrations completed" performed=526 skipped=0 duration=8.612394242s policy-apex-pdp | sasl.login.retry.backoff.ms = 100 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT kafka | [2024-02-28 10:53:50,943] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=44, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-44 (state.change.logger) policy-apex-pdp | sasl.mechanism = GSSAPI policy-db-migrator | -------------- policy-pap | ssl.cipher.suites = null grafana | logger=sqlstore t=2024-02-28T10:53:17.361114978Z level=info msg="Created default admin" user=admin kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=23, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-23 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 policy-db-migrator | policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] grafana | logger=sqlstore t=2024-02-28T10:53:17.361582345Z level=info msg="Created default organization" kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=19, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-19 (state.change.logger) policy-db-migrator | policy-pap | ssl.endpoint.identification.algorithm = https grafana | logger=secrets t=2024-02-28T10:53:17.369493471Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-pap | ssl.engine.factory.class = null kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=32, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-32 (state.change.logger) grafana | logger=plugin.store t=2024-02-28T10:53:17.385777321Z level=info msg="Loading plugins..." policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-apex-pdp | sasl.oauthbearer.expected.audience = null policy-pap | ssl.key.password = null kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=28, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-28 (state.change.logger) kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=7, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-7 (state.change.logger) grafana | logger=local.finder t=2024-02-28T10:53:17.422640448Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.expected.issuer = null policy-pap | ssl.keymanager.algorithm = SunX509 kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=40, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-40 (state.change.logger) grafana | logger=plugin.store t=2024-02-28T10:53:17.42278872Z level=info msg="Plugins loaded" count=55 duration=37.013029ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-pap | ssl.keystore.certificate.chain = null kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=3, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-3 (state.change.logger) grafana | logger=query_data t=2024-02-28T10:53:17.42660537Z level=info msg="Query Service initialization" policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-pap | ssl.keystore.key = null kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=36, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-36 (state.change.logger) grafana | logger=live.push_http t=2024-02-28T10:53:17.430440472Z level=info msg="Live Push Gateway initialization" policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-pap | ssl.keystore.location = null kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=47, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-47 (state.change.logger) grafana | logger=ngalert.migration t=2024-02-28T10:53:17.43850125Z level=info msg=Starting policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null policy-pap | ssl.keystore.password = null kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=14, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-14 (state.change.logger) grafana | logger=ngalert.migration orgID=1 t=2024-02-28T10:53:17.439449985Z level=info msg="Migrating alerts for organisation" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-pap | ssl.keystore.type = JKS kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=43, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-43 (state.change.logger) grafana | logger=ngalert.migration orgID=1 t=2024-02-28T10:53:17.440163886Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope policy-pap | ssl.protocol = TLSv1.3 kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=10, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-10 (state.change.logger) grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-28T10:53:17.442124888Z level=info msg="Completed legacy migration" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub policy-pap | ssl.provider = null kafka | [2024-02-28 10:53:50,944] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=22, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-22 (state.change.logger) policy-db-migrator | -------------- policy-pap | ssl.secure.random.implementation = null kafka | [2024-02-28 10:53:50,945] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=18, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-18 (state.change.logger) grafana | logger=infra.usagestats.collector t=2024-02-28T10:53:17.519801595Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null policy-db-migrator | policy-pap | ssl.trustmanager.algorithm = PKIX kafka | [2024-02-28 10:53:50,945] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=31, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-31 (state.change.logger) grafana | logger=provisioning.datasources t=2024-02-28T10:53:17.524093063Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-apex-pdp | security.protocol = PLAINTEXT policy-db-migrator | policy-pap | ssl.truststore.certificates = null kafka | [2024-02-28 10:53:50,945] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=27, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-27 (state.change.logger) grafana | logger=provisioning.alerting t=2024-02-28T10:53:17.541300927Z level=info msg="starting to provision alerting" policy-apex-pdp | security.providers = null policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-pap | ssl.truststore.location = null kafka | [2024-02-28 10:53:50,945] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=39, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-39 (state.change.logger) grafana | logger=provisioning.alerting t=2024-02-28T10:53:17.541321607Z level=info msg="finished to provision alerting" policy-apex-pdp | send.buffer.bytes = 131072 policy-db-migrator | -------------- policy-pap | ssl.truststore.password = null kafka | [2024-02-28 10:53:50,945] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=6, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-6 (state.change.logger) grafana | logger=ngalert.state.manager t=2024-02-28T10:53:17.541665082Z level=info msg="Warming state cache for startup" policy-apex-pdp | session.timeout.ms = 30000 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-pap | ssl.truststore.type = JKS kafka | [2024-02-28 10:53:50,945] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=35, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-35 (state.change.logger) grafana | logger=ngalert.multiorg.alertmanager t=2024-02-28T10:53:17.541720523Z level=info msg="Starting MultiOrg Alertmanager" policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 policy-db-migrator | -------------- policy-pap | transaction.timeout.ms = 60000 kafka | [2024-02-28 10:53:50,947] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='policy-pdp-pap', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition policy-pdp-pap-0 (state.change.logger) grafana | logger=ngalert.state.manager t=2024-02-28T10:53:17.542255712Z level=info msg="State cache has been initialized" states=0 duration=589.91µs policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 policy-db-migrator | policy-pap | transactional.id = null kafka | [2024-02-28 10:53:50,947] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=2, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition __consumer_offsets-2 (state.change.logger) policy-apex-pdp | ssl.cipher.suites = null policy-db-migrator | grafana | logger=grafanaStorageLogger t=2024-02-28T10:53:17.544193282Z level=info msg="Storage starting" policy-pap | value.serializer = class org.apache.kafka.common.serialization.StringSerializer kafka | [2024-02-28 10:53:50,948] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 51 become-leader and 0 become-follower partitions (state.change.logger) policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=ngalert.scheduler t=2024-02-28T10:53:17.549741621Z level=info msg="Starting scheduler" tickInterval=10s policy-apex-pdp | ssl.endpoint.identification.algorithm = https kafka | [2024-02-28 10:53:50,950] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 51 partitions (state.change.logger) policy-db-migrator | -------------- grafana | logger=ticker t=2024-02-28T10:53:17.549816142Z level=info msg=starting first_tick=2024-02-28T10:53:20Z policy-pap | policy-apex-pdp | ssl.engine.factory.class = null kafka | [2024-02-28 10:53:50,951] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-32 from NewReplica to OnlineReplica (state.change.logger) grafana | logger=http.server t=2024-02-28T10:53:17.553717295Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-pap | [2024-02-28T10:53:48.809+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-1] Instantiated an idempotent producer. policy-apex-pdp | ssl.key.password = null policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT kafka | [2024-02-28 10:53:50,951] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-5 from NewReplica to OnlineReplica (state.change.logger) grafana | logger=grafana-apiserver t=2024-02-28T10:53:17.564292092Z level=info msg="Authentication is disabled" policy-apex-pdp | ssl.keymanager.algorithm = SunX509 policy-pap | [2024-02-28T10:53:48.823+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,951] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-44 from NewReplica to OnlineReplica (state.change.logger) grafana | logger=grafana-apiserver t=2024-02-28T10:53:17.568176475Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-apex-pdp | ssl.keystore.certificate.chain = null policy-pap | [2024-02-28T10:53:48.823+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 policy-db-migrator | kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-48 from NewReplica to OnlineReplica (state.change.logger) grafana | logger=sqlstore.transactions t=2024-02-28T10:53:17.624002754Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-apex-pdp | ssl.keystore.key = null policy-pap | [2024-02-28T10:53:48.823+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1709117628823 policy-db-migrator | kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-46 from NewReplica to OnlineReplica (state.change.logger) grafana | logger=plugins.update.checker t=2024-02-28T10:53:17.628855231Z level=info msg="Update check succeeded" duration=81.281654ms policy-apex-pdp | ssl.keystore.location = null policy-pap | [2024-02-28T10:53:48.823+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=98ca034d-b35f-4f52-8068-cf7f774e1e67, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-20 from NewReplica to OnlineReplica (state.change.logger) grafana | logger=grafana.update.checker t=2024-02-28T10:53:17.655977773Z level=info msg="Update check succeeded" duration=111.329494ms policy-apex-pdp | ssl.keystore.password = null policy-pap | [2024-02-28T10:53:48.823+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=68227327-ffac-413f-9f1f-12e3fabe42cf, alive=false, publisher=null]]: starting policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-pdp-pap-0 from NewReplica to OnlineReplica (state.change.logger) grafana | logger=sqlstore.transactions t=2024-02-28T10:53:17.716652279Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-apex-pdp | ssl.keystore.type = JKS policy-pap | [2024-02-28T10:53:48.823+00:00|INFO|ProducerConfig|main] ProducerConfig values: policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-43 from NewReplica to OnlineReplica (state.change.logger) grafana | logger=infra.usagestats t=2024-02-28T10:54:32.55631716Z level=info msg="Usage stats are ready to report" policy-apex-pdp | ssl.protocol = TLSv1.3 policy-pap | acks = -1 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-24 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | ssl.provider = null policy-pap | auto.include.jmx.reporter = true policy-db-migrator | kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-6 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | ssl.secure.random.implementation = null policy-pap | batch.size = 16384 policy-db-migrator | kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-18 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | ssl.trustmanager.algorithm = PKIX policy-pap | bootstrap.servers = [kafka:9092] policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-21 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | ssl.truststore.certificates = null policy-pap | buffer.memory = 33554432 policy-pap | client.dns.lookup = use_all_dns_ips policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-1 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | ssl.truststore.location = null policy-pap | client.id = producer-2 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-14 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | ssl.truststore.password = null policy-pap | compression.type = none policy-db-migrator | -------------- policy-db-migrator | policy-apex-pdp | ssl.truststore.type = JKS policy-pap | connections.max.idle.ms = 540000 policy-db-migrator | kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-34 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-pap | delivery.timeout.ms = 120000 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql kafka | [2024-02-28 10:53:50,952] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-16 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | policy-pap | enable.idempotence = true policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,953] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-29 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.661+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] policy-pap | interceptor.classes = [] policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT kafka | [2024-02-28 10:53:50,953] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-11 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"},{"name":"onap.policies.apex.pnf.Test","version":"1.0.0"}],"response":{"responseTo":"9697815f-47d8-4381-855e-a8434d72be62","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"8cc9829b-afa0-4289-8749-4cca7c9a497e","timestampMs":1709117653661,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | key.serializer = class org.apache.kafka.common.serialization.StringSerializer policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,953] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-0 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.677+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka version: 3.6.1 policy-pap | linger.ms = 0 policy-db-migrator | kafka | [2024-02-28 10:53:50,953] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-22 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.677+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-pap | max.block.ms = 60000 policy-db-migrator | kafka | [2024-02-28 10:53:50,953] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-47 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"},{"name":"onap.policies.apex.pnf.Test","version":"1.0.0"}],"response":{"responseTo":"9697815f-47d8-4381-855e-a8434d72be62","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"8cc9829b-afa0-4289-8749-4cca7c9a497e","timestampMs":1709117653661,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | max.in.flight.requests.per.connection = 5 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql kafka | [2024-02-28 10:53:50,953] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-36 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.677+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka commitId: 5e3c2b738d253ff5 policy-pap | max.request.size = 1048576 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,953] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-28 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.677+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka startTimeMs: 1709117653677 policy-pap | metadata.max.age.ms = 300000 policy-pap | metadata.max.idle.ms = 300000 kafka | [2024-02-28 10:53:50,953] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-42 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.677+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS kafka | [2024-02-28 10:53:50,953] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-9 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.677+00:00|INFO|KafkaConsumer|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Subscribed to topic(s): unauthenticated.dcae_cl_output kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-37 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.697+00:00|WARN|NetworkClient|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Error while fetching metadata with correlation id 2 : {unauthenticated.dcae_cl_output=LEADER_NOT_AVAILABLE} policy-pap | metric.reporters = [] policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-13 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.697+00:00|INFO|Metadata|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Cluster ID: 3b1G6bkCSIKYhpM8tpXBxQ policy-pap | metrics.num.samples = 2 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-30 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.697+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) policy-pap | metrics.recording.level = INFO policy-db-migrator | kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-35 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.702+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] (Re-)joining group policy-pap | metrics.sample.window.ms = 30000 policy-db-migrator | kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-39 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-12 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.704+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Request joining group due to: need to re-join with the given member-id: consumer-apex-grp-3-2c76cb1d-9b40-4641-a57c-4d619b8b1448 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-27 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.704+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException) policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-45 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:13.704+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] (Re-)joining group policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-apex-pdp | [2024-02-28T10:54:16.708+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Successfully joined group with generation Generation{generationId=1, memberId='consumer-apex-grp-3-2c76cb1d-9b40-4641-a57c-4d619b8b1448', protocol='range'} kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-19 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:16.709+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Finished assignment for group at generation 1: {consumer-apex-grp-3-2c76cb1d-9b40-4641-a57c-4d619b8b1448=Assignment(partitions=[unauthenticated.dcae_cl_output-0])} kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-49 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:16.713+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Successfully synced group in generation Generation{generationId=1, memberId='consumer-apex-grp-3-2c76cb1d-9b40-4641-a57c-4d619b8b1448', protocol='range'} policy-db-migrator | kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-40 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:16.714+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Notifying assignor about the new Assignment(partitions=[unauthenticated.dcae_cl_output-0]) kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-41 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:16.714+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Adding newly assigned partitions: unauthenticated.dcae_cl_output-0 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-apex-pdp | [2024-02-28T10:54:16.715+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Found no committed offset for partition unauthenticated.dcae_cl_output-0 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-38 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:16.717+00:00|INFO|SubscriptionState|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] [Consumer clientId=consumer-apex-grp-3, groupId=apex-grp] Resetting offset for partition unauthenticated.dcae_cl_output-0 to position FetchPosition{offset=0, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka:9092 (id: 1 rack: null)], epoch=0}}. policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-8 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:18.486+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] HandleVesEventTask processing VES event - {"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1597953057126, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}} policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-7 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:18.491+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] HandleVesEventTask storing context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117658489, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} policy-db-migrator | kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-33 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:18.495+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117658492, "status": "ACTIVE", "message": "VES event has been received. Going to fetch details from AAI.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-db-migrator | kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-25 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:18.505+00:00|INFO|ProducerConfig|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Idempotence will be disabled because retries is set to 0. policy-db-migrator | > upgrade 0100-pdp.sql policy-apex-pdp | [2024-02-28T10:54:18.506+00:00|INFO|ProducerConfig|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] ProducerConfig values: kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-31 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | acks = -1 kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-23 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-apex-pdp | auto.include.jmx.reporter = true policy-pap | partitioner.adaptive.partitioning.enable = true kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-10 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | batch.size = 16384 policy-pap | partitioner.availability.timeout.ms = 0 kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-2 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | bootstrap.servers = [kafka:9092] policy-pap | partitioner.class = null kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-17 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | buffer.memory = 33554432 policy-pap | partitioner.ignore.keys = false kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-4 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-apex-pdp | client.dns.lookup = use_all_dns_ips policy-pap | receive.buffer.bytes = 32768 kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-15 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | client.id = producer-2 policy-pap | reconnect.backoff.max.ms = 1000 kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-26 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-apex-pdp | compression.type = none policy-pap | reconnect.backoff.ms = 50 kafka | [2024-02-28 10:53:50,954] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-3 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | connections.max.idle.ms = 540000 policy-pap | request.timeout.ms = 30000 kafka | [2024-02-28 10:53:50,954] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | policy-apex-pdp | delivery.timeout.ms = 120000 policy-pap | retries = 2147483647 kafka | [2024-02-28 10:53:50,963] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 for 51 partitions (state.change.logger) policy-db-migrator | policy-apex-pdp | enable.idempotence = false policy-pap | retry.backoff.ms = 100 kafka | [2024-02-28 10:53:50,963] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='policy-pdp-pap', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-apex-pdp | interceptor.classes = [] policy-pap | sasl.client.callback.handler.class = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=13, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer policy-pap | sasl.jaas.config = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=46, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-apex-pdp | linger.ms = 1 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=9, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | -------------- policy-pap | sasl.kerberos.min.time.before.relogin = 60000 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=42, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | max.block.ms = 60000 policy-db-migrator | policy-pap | sasl.kerberos.service.name = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=21, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | max.in.flight.requests.per.connection = 5 policy-db-migrator | policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=17, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | max.request.size = 1048576 policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=30, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | metadata.max.age.ms = 300000 policy-db-migrator | -------------- policy-pap | sasl.login.callback.handler.class = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=26, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | metadata.max.idle.ms = 300000 policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-pap | sasl.login.class = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=5, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | metric.reporters = [] policy-db-migrator | -------------- policy-pap | sasl.login.connect.timeout.ms = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=38, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | metrics.num.samples = 2 policy-db-migrator | policy-pap | sasl.login.read.timeout.ms = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=1, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | metrics.recording.level = INFO policy-db-migrator | policy-pap | sasl.login.refresh.buffer.seconds = 300 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=34, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | metrics.sample.window.ms = 30000 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-pap | sasl.login.refresh.min.period.seconds = 60 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=16, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | partitioner.adaptive.partitioning.enable = true policy-db-migrator | -------------- policy-pap | sasl.login.refresh.window.factor = 0.8 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=45, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | partitioner.availability.timeout.ms = 0 policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-pap | sasl.login.refresh.window.jitter = 0.05 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=12, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | partitioner.class = null policy-db-migrator | -------------- policy-pap | sasl.login.retry.backoff.max.ms = 10000 policy-apex-pdp | partitioner.ignore.keys = false kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=41, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | policy-pap | sasl.login.retry.backoff.ms = 100 policy-apex-pdp | receive.buffer.bytes = 32768 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=24, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | -------------- policy-pap | sasl.mechanism = GSSAPI policy-apex-pdp | reconnect.backoff.max.ms = 1000 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=20, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 policy-apex-pdp | reconnect.backoff.ms = 50 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=49, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.expected.audience = null policy-apex-pdp | request.timeout.ms = 30000 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | policy-pap | sasl.oauthbearer.expected.issuer = null policy-apex-pdp | retries = 0 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=29, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | policy-apex-pdp | retry.backoff.ms = 100 policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=25, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | sasl.client.callback.handler.class = null policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=8, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | sasl.jaas.config = null policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=37, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.jwks.endpoint.url = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=4, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 policy-db-migrator | policy-pap | sasl.oauthbearer.scope.claim.name = scope kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=33, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | sasl.kerberos.service.name = null policy-db-migrator | policy-pap | sasl.oauthbearer.sub.claim.name = sub kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=15, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-pap | sasl.oauthbearer.token.endpoint.url = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=48, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-db-migrator | -------------- policy-pap | security.protocol = PLAINTEXT kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=11, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | sasl.login.callback.handler.class = null policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-pap | security.providers = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=44, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | sasl.login.class = null policy-db-migrator | -------------- policy-pap | send.buffer.bytes = 131072 policy-apex-pdp | sasl.login.connect.timeout.ms = null policy-pap | socket.connection.setup.timeout.max.ms = 30000 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=23, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | policy-apex-pdp | sasl.login.read.timeout.ms = null kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=19, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | policy-pap | socket.connection.setup.timeout.ms = 10000 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=32, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-pap | ssl.cipher.suites = null policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=28, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | -------------- policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=7, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-pap | ssl.endpoint.identification.algorithm = https policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 policy-db-migrator | JOIN pdpstatistics b kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=40, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.engine.factory.class = null policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp kafka | [2024-02-28 10:53:50,964] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=3, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.key.password = null policy-db-migrator | SET a.id = b.id policy-apex-pdp | sasl.login.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=36, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.keymanager.algorithm = SunX509 policy-db-migrator | -------------- policy-apex-pdp | sasl.mechanism = GSSAPI kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=47, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.keystore.certificate.chain = null policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=14, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.keystore.key = null policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.expected.audience = null kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=43, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.keystore.location = null policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-apex-pdp | sasl.oauthbearer.expected.issuer = null kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=10, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.keystore.password = null policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=22, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.keystore.type = JKS policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=18, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.protocol = TLSv1.3 policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=31, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.provider = null policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=27, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.secure.random.implementation = null policy-db-migrator | policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=39, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.trustmanager.algorithm = PKIX policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=6, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.truststore.certificates = null policy-db-migrator | -------------- policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=35, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) kafka | [2024-02-28 10:53:50,965] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='__consumer_offsets', partitionIndex=2, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 1 from controller 1 epoch 1 (state.change.logger) policy-pap | ssl.truststore.location = null policy-apex-pdp | security.protocol = PLAINTEXT policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,992] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-3 (state.change.logger) policy-pap | ssl.truststore.password = null policy-apex-pdp | security.providers = null policy-db-migrator | kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-18 (state.change.logger) policy-pap | ssl.truststore.type = JKS policy-apex-pdp | send.buffer.bytes = 131072 policy-db-migrator | kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-41 (state.change.logger) policy-pap | transaction.timeout.ms = 60000 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-10 (state.change.logger) policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 policy-db-migrator | -------------- policy-pap | transactional.id = null kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-33 (state.change.logger) policy-apex-pdp | ssl.cipher.suites = null policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-pap | value.serializer = class org.apache.kafka.common.serialization.StringSerializer kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-48 (state.change.logger) policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-db-migrator | -------------- policy-pap | kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-19 (state.change.logger) policy-apex-pdp | ssl.endpoint.identification.algorithm = https policy-db-migrator | policy-pap | [2024-02-28T10:53:48.824+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-2] Instantiated an idempotent producer. kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-34 (state.change.logger) policy-apex-pdp | ssl.engine.factory.class = null policy-db-migrator | policy-pap | [2024-02-28T10:53:48.827+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-4 (state.change.logger) kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-11 (state.change.logger) policy-db-migrator | > upgrade 0210-sequence.sql policy-pap | [2024-02-28T10:53:48.827+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-26 (state.change.logger) policy-apex-pdp | ssl.key.password = null policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-pap | [2024-02-28T10:53:48.827+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1709117628827 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-49 (state.change.logger) policy-pap | [2024-02-28T10:53:48.827+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=68227327-ffac-413f-9f1f-12e3fabe42cf, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created policy-apex-pdp | ssl.keystore.certificate.chain = null policy-db-migrator | kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-39 (state.change.logger) policy-apex-pdp | ssl.keystore.key = null policy-db-migrator | policy-pap | [2024-02-28T10:53:48.827+00:00|INFO|ServiceManager|main] Policy PAP starting PAP Activator kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-9 (state.change.logger) policy-apex-pdp | ssl.keystore.location = null policy-db-migrator | > upgrade 0220-sequence.sql policy-pap | [2024-02-28T10:53:48.827+00:00|INFO|ServiceManager|main] Policy PAP starting PDP publisher kafka | [2024-02-28 10:53:50,993] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-24 (state.change.logger) policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:48.831+00:00|INFO|ServiceManager|main] Policy PAP starting Policy Notification publisher policy-apex-pdp | ssl.keystore.password = null policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-31 (state.change.logger) policy-pap | [2024-02-28T10:53:48.831+00:00|INFO|ServiceManager|main] Policy PAP starting PDP update timers policy-apex-pdp | ssl.keystore.type = JKS policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:48.832+00:00|INFO|ServiceManager|main] Policy PAP starting PDP state-change timers policy-apex-pdp | ssl.protocol = TLSv1.3 kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-46 (state.change.logger) policy-db-migrator | policy-pap | [2024-02-28T10:53:48.833+00:00|INFO|TimerManager|Thread-9] timer manager update started policy-apex-pdp | ssl.provider = null kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-1 (state.change.logger) policy-db-migrator | policy-apex-pdp | ssl.secure.random.implementation = null kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-16 (state.change.logger) policy-pap | [2024-02-28T10:53:48.842+00:00|INFO|ServiceManager|main] Policy PAP starting PDP modification lock policy-apex-pdp | ssl.trustmanager.algorithm = PKIX kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-2 (state.change.logger) policy-pap | [2024-02-28T10:53:48.842+00:00|INFO|ServiceManager|main] Policy PAP starting PDP modification requests policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-apex-pdp | ssl.truststore.certificates = null kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-25 (state.change.logger) policy-pap | [2024-02-28T10:53:48.842+00:00|INFO|TimerManager|Thread-10] timer manager state-change started policy-db-migrator | -------------- policy-apex-pdp | ssl.truststore.location = null kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-40 (state.change.logger) policy-pap | [2024-02-28T10:53:48.843+00:00|INFO|ServiceManager|main] Policy PAP starting PDP expiration timer policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-apex-pdp | ssl.truststore.password = null kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-47 (state.change.logger) policy-pap | [2024-02-28T10:53:48.843+00:00|INFO|ServiceManager|main] Policy PAP started policy-db-migrator | -------------- policy-apex-pdp | ssl.truststore.type = JKS kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-17 (state.change.logger) policy-pap | [2024-02-28T10:53:48.844+00:00|INFO|PolicyPapApplication|main] Started PolicyPapApplication in 10.916 seconds (process running for 11.55) policy-db-migrator | policy-apex-pdp | transaction.timeout.ms = 60000 kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-32 (state.change.logger) policy-pap | [2024-02-28T10:53:49.294+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 2 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-db-migrator | policy-apex-pdp | transactional.id = null kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-37 (state.change.logger) policy-pap | [2024-02-28T10:53:49.296+00:00|INFO|Metadata|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Cluster ID: 3b1G6bkCSIKYhpM8tpXBxQ policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-7 (state.change.logger) policy-pap | [2024-02-28T10:53:49.297+00:00|INFO|Metadata|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Cluster ID: 3b1G6bkCSIKYhpM8tpXBxQ policy-db-migrator | -------------- policy-apex-pdp | kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-22 (state.change.logger) policy-pap | [2024-02-28T10:53:49.297+00:00|INFO|Metadata|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Cluster ID: 3b1G6bkCSIKYhpM8tpXBxQ policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-apex-pdp | [2024-02-28T10:54:18.511+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka version: 3.6.1 kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-29 (state.change.logger) policy-pap | [2024-02-28T10:53:49.398+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 4 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:18.511+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka commitId: 5e3c2b738d253ff5 kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-44 (state.change.logger) policy-pap | [2024-02-28T10:53:49.518+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 5 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:18.511+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka startTimeMs: 1709117658511 kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-14 (state.change.logger) policy-pap | [2024-02-28T10:53:49.628+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 6 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:18.528+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Error while fetching metadata with correlation id 1 : {apex-cl-mgt=LEADER_NOT_AVAILABLE} kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-23 (state.change.logger) policy-pap | [2024-02-28T10:53:49.645+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] ProducerId set to 0 with epoch 0 policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-apex-pdp | [2024-02-28T10:54:18.528+00:00|INFO|Metadata|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Cluster ID: 3b1G6bkCSIKYhpM8tpXBxQ kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-38 (state.change.logger) policy-pap | [2024-02-28T10:53:49.654+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] ProducerId set to 1 with epoch 0 policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:18.876+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-8 (state.change.logger) policy-pap | [2024-02-28T10:53:49.665+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 2 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition policy-pdp-pap-0 (state.change.logger) policy-pap | [2024-02-28T10:53:49.665+00:00|INFO|Metadata|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Cluster ID: 3b1G6bkCSIKYhpM8tpXBxQ policy-db-migrator | -------------- policy-apex-pdp | "version": "0.0.1", kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-45 (state.change.logger) policy-db-migrator | policy-pap | [2024-02-28T10:53:49.789+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 4 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", kafka | [2024-02-28 10:53:50,994] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-15 (state.change.logger) policy-db-migrator | policy-pap | [2024-02-28T10:53:49.944+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 7 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "source": "APEX", kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-30 (state.change.logger) policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-pap | [2024-02-28T10:53:50.218+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 6 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "target": "AAI", kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-0 (state.change.logger) policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:50.313+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 9 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "toscaPolicyState": "", kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-35 (state.change.logger) policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-pap | [2024-02-28T10:53:50.671+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 8 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "aaifield": null kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-5 (state.change.logger) policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:50.781+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 10 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-apex-pdp | } kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-20 (state.change.logger) policy-db-migrator | policy-pap | [2024-02-28T10:53:50.850+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 11 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | [2024-02-28T10:54:18.950+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-27 (state.change.logger) policy-db-migrator | policy-pap | [2024-02-28T10:53:50.928+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 12 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | { kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-42 (state.change.logger) policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-pap | [2024-02-28T10:53:50.961+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 13 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "equip-vendor":"Vendor-A", kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-12 (state.change.logger) policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:51.055+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 14 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-21 (state.change.logger) policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-pap | [2024-02-28T10:53:51.065+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 15 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "in-maint":false, kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-36 (state.change.logger) policy-db-migrator | -------------- policy-db-migrator | policy-pap | [2024-02-28T10:53:51.168+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 17 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", policy-db-migrator | kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-6 (state.change.logger) policy-pap | [2024-02-28T10:53:51.181+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 16 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "resource-version":"1570746989505", policy-db-migrator | > upgrade 0150-toscaproperty.sql kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-43 (state.change.logger) policy-pap | [2024-02-28T10:53:51.275+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 19 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "nf-role":"ToR DC101", policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,995] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-13 (state.change.logger) policy-pap | [2024-02-28T10:53:51.285+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 18 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "equip-type":"Router", policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints kafka | [2024-02-28 10:53:50,996] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 epoch 1 starting the become-leader transition for partition __consumer_offsets-28 (state.change.logger) policy-pap | [2024-02-28T10:53:51.389+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 20 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-apex-pdp | "equip-model":"model-123456", policy-db-migrator | -------------- kafka | [2024-02-28 10:53:50,997] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions HashSet(__consumer_offsets-22, __consumer_offsets-30, __consumer_offsets-25, __consumer_offsets-35, __consumer_offsets-38, __consumer_offsets-13, __consumer_offsets-8, __consumer_offsets-21, __consumer_offsets-4, __consumer_offsets-27, __consumer_offsets-7, __consumer_offsets-9, __consumer_offsets-46, __consumer_offsets-41, __consumer_offsets-33, __consumer_offsets-23, __consumer_offsets-49, __consumer_offsets-47, __consumer_offsets-16, __consumer_offsets-28, __consumer_offsets-31, __consumer_offsets-36, __consumer_offsets-42, __consumer_offsets-3, __consumer_offsets-18, __consumer_offsets-37, policy-pdp-pap-0, __consumer_offsets-15, __consumer_offsets-24, __consumer_offsets-17, __consumer_offsets-48, __consumer_offsets-19, __consumer_offsets-11, __consumer_offsets-2, __consumer_offsets-43, __consumer_offsets-6, __consumer_offsets-14, __consumer_offsets-20, __consumer_offsets-0, __consumer_offsets-44, __consumer_offsets-39, __consumer_offsets-12, __consumer_offsets-45, __consumer_offsets-1, __consumer_offsets-5, __consumer_offsets-26, __consumer_offsets-29, __consumer_offsets-34, __consumer_offsets-10, __consumer_offsets-32, __consumer_offsets-40) (kafka.server.ReplicaFetcherManager) policy-pap | [2024-02-28T10:53:51.427+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 21 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "frame-id":"3", policy-db-migrator | kafka | [2024-02-28 10:53:50,997] INFO [Broker id=1] Stopped fetchers as part of LeaderAndIsr request correlationId 1 from controller 1 epoch 1 as part of the become-leader transition for 51 partitions (state.change.logger) policy-pap | [2024-02-28T10:53:51.503+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 22 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | "pnf-name":"demo-pnf" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:51,050] INFO [LogLoader partition=__consumer_offsets-3, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:53:51.534+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 23 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | } policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata kafka | [2024-02-28 10:53:51,067] INFO Created log for partition __consumer_offsets-3 in /var/lib/kafka/data/__consumer_offsets-3 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | [2024-02-28T10:53:51.608+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 24 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | kafka | [2024-02-28 10:53:51,069] INFO [Partition __consumer_offsets-3 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-3 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:53:51.639+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 25 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:18.960+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] HandleAAISuccessResponseTask extracted context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117658489, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} kafka | [2024-02-28 10:53:51,071] INFO [Partition __consumer_offsets-3 broker=1] Log loaded for partition __consumer_offsets-3 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:53:51.713+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 26 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | policy-apex-pdp | [2024-02-28T10:54:18.969+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] [{actionIdentifiers={"actionName": "update-config", "blueprintName": "controlloop-hostname-update", "blueprintVersion": "1.0.4", "mode": "sync"}, commonHeader={"originatorId": "POLICY", "requestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "subRequestId": "927b2580-36d9-4f13-8421-3c9d43b7a57e"}, payload={update_DasH_config_DasH_request={"hostname": "hostnsl4s", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117658967, "status": "SUCCESS", "message": "Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] kafka | [2024-02-28 10:53:51,073] INFO [Broker id=1] Leader __consumer_offsets-3 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | [2024-02-28T10:53:51.744+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 27 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | -------------- policy-apex-pdp | [2024-02-28T10:54:19.107+00:00|INFO|CdsProcessorHandler|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] Processing blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) kafka | [2024-02-28 10:53:51,418] INFO [LogLoader partition=__consumer_offsets-18, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:53:51.817+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 28 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-apex-pdp | [2024-02-28T10:54:19.134+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] kafka | [2024-02-28 10:53:51,420] INFO Created log for partition __consumer_offsets-18 in /var/lib/kafka/data/__consumer_offsets-18 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | [2024-02-28T10:53:51.850+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 29 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | -------------- policy-apex-pdp | commonHeader { kafka | [2024-02-28 10:53:51,420] INFO [Partition __consumer_offsets-18 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-18 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:53:51.919+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 30 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-db-migrator | policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" kafka | [2024-02-28 10:53:51,420] INFO [Partition __consumer_offsets-18 broker=1] Log loaded for partition __consumer_offsets-18 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:53:51.954+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 31 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" kafka | [2024-02-28 10:53:51,420] INFO [Broker id=1] Leader __consumer_offsets-18 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | [2024-02-28T10:53:52.023+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 32 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-apex-pdp | originatorId: "POLICY" kafka | [2024-02-28 10:53:51,589] INFO [LogLoader partition=__consumer_offsets-41, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:53:52.057+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 33 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | -------------- policy-apex-pdp | } kafka | [2024-02-28 10:53:51,590] INFO Created log for partition __consumer_offsets-41 in /var/lib/kafka/data/__consumer_offsets-41 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-pap | [2024-02-28T10:53:52.128+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 34 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | actionIdentifiers { kafka | [2024-02-28 10:53:51,590] INFO [Partition __consumer_offsets-41 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-41 (kafka.cluster.Partition) policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:52.161+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 35 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | blueprintName: "controlloop-hostname-update" kafka | [2024-02-28 10:53:51,590] INFO [Partition __consumer_offsets-41 broker=1] Log loaded for partition __consumer_offsets-41 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | policy-pap | [2024-02-28T10:53:52.239+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 36 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | blueprintVersion: "1.0.4" kafka | [2024-02-28 10:53:51,590] INFO [Broker id=1] Leader __consumer_offsets-41 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:52.268+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 37 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | actionName: "update-config" kafka | [2024-02-28 10:53:51,710] INFO [LogLoader partition=__consumer_offsets-10, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-pap | [2024-02-28T10:53:52.361+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 38 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | mode: "sync" policy-db-migrator | -------------- kafka | [2024-02-28 10:53:51,711] INFO Created log for partition __consumer_offsets-10 in /var/lib/kafka/data/__consumer_offsets-10 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | [2024-02-28T10:53:52.420+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 39 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | } policy-db-migrator | kafka | [2024-02-28 10:53:51,712] INFO [Partition __consumer_offsets-10 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-10 (kafka.cluster.Partition) policy-apex-pdp | payload { policy-pap | [2024-02-28T10:53:52.466+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 40 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | kafka | [2024-02-28 10:53:51,712] INFO [Partition __consumer_offsets-10 broker=1] Log loaded for partition __consumer_offsets-10 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | fields { policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql kafka | [2024-02-28 10:53:51,713] INFO [Broker id=1] Leader __consumer_offsets-10 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | [2024-02-28T10:53:52.523+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 41 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | key: "update-config-request" kafka | [2024-02-28 10:53:51,883] INFO [LogLoader partition=__consumer_offsets-33, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:53:52.572+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 42 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | -------------- policy-apex-pdp | value { kafka | [2024-02-28 10:53:51,884] INFO Created log for partition __consumer_offsets-33 in /var/lib/kafka/data/__consumer_offsets-33 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | [2024-02-28T10:53:52.627+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 43 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-apex-pdp | struct_value { kafka | [2024-02-28 10:53:51,884] INFO [Partition __consumer_offsets-33 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-33 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:53:52.677+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 44 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | -------------- kafka | [2024-02-28 10:53:51,884] INFO [Partition __consumer_offsets-33 broker=1] Log loaded for partition __consumer_offsets-33 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | policy-apex-pdp | fields { policy-pap | [2024-02-28T10:53:52.732+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 45 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | -------------- kafka | [2024-02-28 10:53:51,884] INFO [Broker id=1] Leader __consumer_offsets-33 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | key: "hostname" policy-pap | [2024-02-28T10:53:52.781+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 46 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) kafka | [2024-02-28 10:53:52,116] INFO [LogLoader partition=__consumer_offsets-48, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | value { policy-pap | [2024-02-28T10:53:52.838+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 47 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,117] INFO Created log for partition __consumer_offsets-48 in /var/lib/kafka/data/__consumer_offsets-48 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | string_value: "hostnsl4s" policy-pap | [2024-02-28T10:53:52.886+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 48 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | kafka | [2024-02-28 10:53:52,117] INFO [Partition __consumer_offsets-48 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-48 (kafka.cluster.Partition) policy-apex-pdp | } policy-pap | [2024-02-28T10:53:52.941+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 49 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | kafka | [2024-02-28 10:53:52,117] INFO [Partition __consumer_offsets-48 broker=1] Log loaded for partition __consumer_offsets-48 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | } policy-pap | [2024-02-28T10:53:52.992+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 50 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql kafka | [2024-02-28 10:53:52,117] INFO [Broker id=1] Leader __consumer_offsets-48 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | fields { policy-pap | [2024-02-28T10:53:53.047+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 51 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,265] INFO [LogLoader partition=__consumer_offsets-19, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | key: "IP" policy-pap | [2024-02-28T10:53:53.097+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 52 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT kafka | [2024-02-28 10:53:52,266] INFO Created log for partition __consumer_offsets-19 in /var/lib/kafka/data/__consumer_offsets-19 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | value { policy-pap | [2024-02-28T10:53:53.151+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 53 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,267] INFO [Partition __consumer_offsets-19 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-19 (kafka.cluster.Partition) policy-apex-pdp | string_value: "10.10.10.10" policy-pap | [2024-02-28T10:53:53.203+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 54 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | kafka | [2024-02-28 10:53:52,267] INFO [Partition __consumer_offsets-19 broker=1] Log loaded for partition __consumer_offsets-19 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | } policy-pap | [2024-02-28T10:53:53.256+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Error while fetching metadata with correlation id 55 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-db-migrator | kafka | [2024-02-28 10:53:52,267] INFO [Broker id=1] Leader __consumer_offsets-19 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | } policy-pap | [2024-02-28T10:53:53.312+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) policy-db-migrator | > upgrade 0100-upgrade.sql kafka | [2024-02-28 10:53:52,311] INFO [LogLoader partition=__consumer_offsets-34, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | fields { policy-pap | [2024-02-28T10:53:53.319+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] (Re-)joining group policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,312] INFO Created log for partition __consumer_offsets-34 in /var/lib/kafka/data/__consumer_offsets-34 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | key: "pnfName" policy-pap | [2024-02-28T10:53:53.337+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Request joining group due to: need to re-join with the given member-id: consumer-policy-pap-4-c8b3d240-312c-466e-bfae-b6e7f4d01a97 policy-db-migrator | select 'upgrade to 1100 completed' as msg kafka | [2024-02-28 10:53:52,312] INFO [Partition __consumer_offsets-34 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-34 (kafka.cluster.Partition) policy-apex-pdp | value { policy-pap | [2024-02-28T10:53:53.337+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException) policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,312] INFO [Partition __consumer_offsets-34 broker=1] Log loaded for partition __consumer_offsets-34 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | string_value: "demo-pnf" policy-pap | [2024-02-28T10:53:53.337+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] (Re-)joining group policy-db-migrator | kafka | [2024-02-28 10:53:52,312] INFO [Broker id=1] Leader __consumer_offsets-34 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | } policy-pap | [2024-02-28T10:53:53.360+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) policy-db-migrator | msg kafka | [2024-02-28 10:53:52,421] INFO [LogLoader partition=__consumer_offsets-4, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | } policy-pap | [2024-02-28T10:53:53.364+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] (Re-)joining group policy-db-migrator | upgrade to 1100 completed kafka | [2024-02-28 10:53:52,422] INFO Created log for partition __consumer_offsets-4 in /var/lib/kafka/data/__consumer_offsets-4 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | } policy-pap | [2024-02-28T10:53:53.369+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Request joining group due to: need to re-join with the given member-id: consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3-d2c35aaf-81a0-461f-b451-29911b4acc46 policy-db-migrator | kafka | [2024-02-28 10:53:52,422] INFO [Partition __consumer_offsets-4 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-4 (kafka.cluster.Partition) policy-apex-pdp | } policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-pap | [2024-02-28T10:53:53.369+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException) kafka | [2024-02-28 10:53:52,422] INFO [Partition __consumer_offsets-4 broker=1] Log loaded for partition __consumer_offsets-4 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | } policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:53.370+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] (Re-)joining group kafka | [2024-02-28 10:53:52,422] INFO [Broker id=1] Leader __consumer_offsets-4 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | } policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-pap | [2024-02-28T10:53:55.629+00:00|INFO|[/policy/pap/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' kafka | [2024-02-28 10:53:52,462] INFO [LogLoader partition=__consumer_offsets-11, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:55.630+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' kafka | [2024-02-28 10:53:52,463] INFO Created log for partition __consumer_offsets-11 in /var/lib/kafka/data/__consumer_offsets-11 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | [2024-02-28T10:54:19.570+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] policy-db-migrator | policy-pap | [2024-02-28T10:53:55.631+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms kafka | [2024-02-28 10:53:52,463] INFO [Partition __consumer_offsets-11 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-11 (kafka.cluster.Partition) policy-apex-pdp | commonHeader { policy-db-migrator | policy-pap | [2024-02-28T10:53:55.944+00:00|INFO|SessionData|http-nio-6969-exec-3] cache group defaultGroup kafka | [2024-02-28 10:53:52,463] INFO [Partition __consumer_offsets-11 broker=1] Log loaded for partition __consumer_offsets-11 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-pap | [2024-02-28T10:53:56.358+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Successfully joined group with generation Generation{generationId=1, memberId='consumer-policy-pap-4-c8b3d240-312c-466e-bfae-b6e7f4d01a97', protocol='range'} kafka | [2024-02-28 10:53:52,463] INFO [Broker id=1] Leader __consumer_offsets-11 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | requestId: "123456" policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:56.367+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Finished assignment for group at generation 1: {consumer-policy-pap-4-c8b3d240-312c-466e-bfae-b6e7f4d01a97=Assignment(partitions=[policy-pdp-pap-0])} kafka | [2024-02-28 10:53:52,505] INFO [LogLoader partition=__consumer_offsets-26, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | subRequestId: "123-123" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-pap | [2024-02-28T10:53:56.375+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Successfully joined group with generation Generation{generationId=1, memberId='consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3-d2c35aaf-81a0-461f-b451-29911b4acc46', protocol='range'} kafka | [2024-02-28 10:53:52,506] INFO Created log for partition __consumer_offsets-26 in /var/lib/kafka/data/__consumer_offsets-26 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | originatorId: "CDS" policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:56.375+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Finished assignment for group at generation 1: {consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3-d2c35aaf-81a0-461f-b451-29911b4acc46=Assignment(partitions=[policy-pdp-pap-0])} kafka | [2024-02-28 10:53:52,506] INFO [Partition __consumer_offsets-26 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-26 (kafka.cluster.Partition) policy-apex-pdp | } policy-db-migrator | policy-pap | [2024-02-28T10:53:56.427+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Successfully synced group in generation Generation{generationId=1, memberId='consumer-policy-pap-4-c8b3d240-312c-466e-bfae-b6e7f4d01a97', protocol='range'} kafka | [2024-02-28 10:53:52,507] INFO [Partition __consumer_offsets-26 broker=1] Log loaded for partition __consumer_offsets-26 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | actionIdentifiers { policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:56.428+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Notifying assignor about the new Assignment(partitions=[policy-pdp-pap-0]) kafka | [2024-02-28 10:53:52,507] INFO [Broker id=1] Leader __consumer_offsets-26 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-pap | [2024-02-28T10:53:56.430+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Successfully synced group in generation Generation{generationId=1, memberId='consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3-d2c35aaf-81a0-461f-b451-29911b4acc46', protocol='range'} kafka | [2024-02-28 10:53:52,577] INFO [LogLoader partition=__consumer_offsets-49, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | blueprintVersion: "1.0.4" policy-pap | [2024-02-28T10:53:56.430+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Notifying assignor about the new Assignment(partitions=[policy-pdp-pap-0]) policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,578] INFO Created log for partition __consumer_offsets-49 in /var/lib/kafka/data/__consumer_offsets-49 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | [2024-02-28T10:53:56.431+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Adding newly assigned partitions: policy-pdp-pap-0 policy-apex-pdp | actionName: "update-config" policy-db-migrator | kafka | [2024-02-28 10:53:52,578] INFO [Partition __consumer_offsets-49 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-49 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:53:56.431+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Adding newly assigned partitions: policy-pdp-pap-0 policy-apex-pdp | mode: "sync" policy-db-migrator | kafka | [2024-02-28 10:53:52,578] INFO [Partition __consumer_offsets-49 broker=1] Log loaded for partition __consumer_offsets-49 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:53:56.458+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Found no committed offset for partition policy-pdp-pap-0 policy-apex-pdp | } policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-pap | [2024-02-28T10:53:56.463+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Found no committed offset for partition policy-pdp-pap-0 kafka | [2024-02-28 10:53:52,578] INFO [Broker id=1] Leader __consumer_offsets-49 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | status { policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:56.476+00:00|INFO|SubscriptionState|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3, groupId=24e9b3a0-4ba6-4104-9c94-cd2ff4944c99] Resetting offset for partition policy-pdp-pap-0 to position FetchPosition{offset=1, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka:9092 (id: 1 rack: null)], epoch=0}}. kafka | [2024-02-28 10:53:52,591] INFO [LogLoader partition=__consumer_offsets-39, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | code: 200 policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-pap | [2024-02-28T10:53:56.478+00:00|INFO|SubscriptionState|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Resetting offset for partition policy-pdp-pap-0 to position FetchPosition{offset=1, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka:9092 (id: 1 rack: null)], epoch=0}}. kafka | [2024-02-28 10:53:52,591] INFO Created log for partition __consumer_offsets-39 in /var/lib/kafka/data/__consumer_offsets-39 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | message: "success" policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:56.660+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-3] Registering a deploy for policy onap.policies.native.apex.Sampledomain 1.0.0 kafka | [2024-02-28 10:53:52,591] INFO [Partition __consumer_offsets-39 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-39 (kafka.cluster.Partition) policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED policy-db-migrator | policy-pap | [2024-02-28T10:53:56.660+00:00|INFO|SessionData|http-nio-6969-exec-3] update cached group defaultGroup kafka | [2024-02-28 10:53:52,592] INFO [Partition __consumer_offsets-39 broker=1] Log loaded for partition __consumer_offsets-39 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" policy-db-migrator | -------------- policy-pap | [2024-02-28T10:53:56.661+00:00|INFO|SessionData|http-nio-6969-exec-3] updating DB group defaultGroup kafka | [2024-02-28 10:53:52,592] INFO [Broker id=1] Leader __consumer_offsets-39 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | } policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-pap | [2024-02-28T10:53:56.685+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-3] sending audit records to database: [PolicyAudit(auditId=null, pdpGroup=defaultGroup, pdpType=apex, policy=onap.policies.native.apex.Sampledomain 1.0.0, action=DEPLOYMENT, timestamp=2024-02-28T10:53:56Z, user=policyadmin)] kafka | [2024-02-28 10:53:52,684] INFO [LogLoader partition=__consumer_offsets-9, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | payload { policy-db-migrator | -------------- policy-pap | [2024-02-28T10:54:10.311+00:00|INFO|OrderedServiceImpl|KAFKA-source-policy-pdp-pap] ***** OrderedServiceImpl implementers: kafka | [2024-02-28 10:53:52,686] INFO Created log for partition __consumer_offsets-9 in /var/lib/kafka/data/__consumer_offsets-9 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) kafka | [2024-02-28 10:53:52,686] INFO [Partition __consumer_offsets-9 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-9 (kafka.cluster.Partition) kafka | [2024-02-28 10:53:52,686] INFO [Partition __consumer_offsets-9 broker=1] Log loaded for partition __consumer_offsets-9 with initial high watermark 0 (kafka.cluster.Partition) kafka | [2024-02-28 10:53:52,687] INFO [Broker id=1] Leader __consumer_offsets-9 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-db-migrator | policy-pap | [] kafka | [2024-02-28 10:53:52,741] INFO [LogLoader partition=__consumer_offsets-24, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | fields { policy-db-migrator | policy-pap | [2024-02-28T10:54:10.312+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] kafka | [2024-02-28 10:53:52,742] INFO Created log for partition __consumer_offsets-24 in /var/lib/kafka/data/__consumer_offsets-24 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | key: "update-config-response" policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"77a1f27a-061d-494b-8666-2e03fea313ac","timestampMs":1709117650277,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup"} kafka | [2024-02-28 10:53:52,742] INFO [Partition __consumer_offsets-24 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-24 (kafka.cluster.Partition) policy-apex-pdp | value { policy-db-migrator | -------------- policy-pap | [2024-02-28T10:54:10.312+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:52,743] INFO [Partition __consumer_offsets-24 broker=1] Log loaded for partition __consumer_offsets-24 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | struct_value { policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"77a1f27a-061d-494b-8666-2e03fea313ac","timestampMs":1709117650277,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup"} kafka | [2024-02-28 10:53:52,743] INFO [Broker id=1] Leader __consumer_offsets-24 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | fields { policy-db-migrator | -------------- policy-pap | [2024-02-28T10:54:10.316+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-pdp-pap] no listeners for autonomous message of type PdpStatus kafka | [2024-02-28 10:53:52,755] INFO [LogLoader partition=__consumer_offsets-31, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | key: "execute-command-logs" policy-db-migrator | policy-pap | [2024-02-28T10:54:10.703+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting kafka | [2024-02-28 10:53:52,756] INFO Created log for partition __consumer_offsets-31 in /var/lib/kafka/data/__consumer_offsets-31 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | value { policy-db-migrator | -------------- policy-pap | [2024-02-28T10:54:10.704+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting listener kafka | [2024-02-28 10:53:52,756] INFO [Partition __consumer_offsets-31 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-31 (kafka.cluster.Partition) policy-apex-pdp | list_value { policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-pap | [2024-02-28T10:54:10.704+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting timer kafka | [2024-02-28 10:53:52,756] INFO [Partition __consumer_offsets-31 broker=1] Log loaded for partition __consumer_offsets-31 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | values { policy-db-migrator | -------------- policy-pap | [2024-02-28T10:54:10.704+00:00|INFO|TimerManager|KAFKA-source-policy-heartbeat] update timer registered Timer [name=6310611a-a25c-450c-9c99-4a8bd011f64f, expireMs=1709117680704] kafka | [2024-02-28 10:53:52,757] INFO [Broker id=1] Leader __consumer_offsets-31 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | string_value: "INFO:root:" policy-db-migrator | policy-pap | [2024-02-28T10:54:10.706+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting enqueue kafka | [2024-02-28 10:53:52,765] INFO [LogLoader partition=__consumer_offsets-46, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | } policy-db-migrator | -------------- policy-pap | [2024-02-28T10:54:10.706+00:00|INFO|TimerManager|Thread-9] update timer waiting 29998ms Timer [name=6310611a-a25c-450c-9c99-4a8bd011f64f, expireMs=1709117680704] kafka | [2024-02-28 10:53:52,766] INFO Created log for partition __consumer_offsets-46 in /var/lib/kafka/data/__consumer_offsets-46 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | values { policy-db-migrator | TRUNCATE TABLE sequence kafka | [2024-02-28 10:53:52,766] INFO [Partition __consumer_offsets-46 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-46 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:10.707+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate started policy-apex-pdp | string_value: "INFO:root:configuring Device...." policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,766] INFO [Partition __consumer_offsets-46 broker=1] Log loaded for partition __consumer_offsets-46 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:10.727+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] policy-apex-pdp | } policy-db-migrator | kafka | [2024-02-28 10:53:52,766] INFO [Broker id=1] Leader __consumer_offsets-46 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | values { policy-db-migrator | kafka | [2024-02-28 10:53:52,778] INFO [LogLoader partition=__consumer_offsets-1, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"messageName":"PDP_UPDATE","requestId":"6310611a-a25c-450c-9c99-4a8bd011f64f","timestampMs":1709117650682,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" policy-db-migrator | > upgrade 0100-pdpstatistics.sql kafka | [2024-02-28 10:53:52,778] INFO Created log for partition __consumer_offsets-1 in /var/lib/kafka/data/__consumer_offsets-1 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | [2024-02-28T10:54:10.766+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | } policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,778] INFO [Partition __consumer_offsets-1 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-1 (kafka.cluster.Partition) policy-apex-pdp | values { policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"messageName":"PDP_UPDATE","requestId":"6310611a-a25c-450c-9c99-4a8bd011f64f","timestampMs":1709117650682,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:52,778] INFO [Partition __consumer_offsets-1 broker=1] Log loaded for partition __consumer_offsets-1 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" policy-db-migrator | -------------- policy-pap | [2024-02-28T10:54:10.769+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] kafka | [2024-02-28 10:53:52,780] INFO [Broker id=1] Leader __consumer_offsets-1 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | } policy-apex-pdp | values { kafka | [2024-02-28 10:53:52,821] INFO [LogLoader partition=__consumer_offsets-16, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-db-migrator | policy-apex-pdp | string_value: "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount" policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"messageName":"PDP_UPDATE","requestId":"6310611a-a25c-450c-9c99-4a8bd011f64f","timestampMs":1709117650682,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:52,822] INFO Created log for partition __consumer_offsets-16 in /var/lib/kafka/data/__consumer_offsets-16 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-db-migrator | -------------- policy-apex-pdp | } policy-pap | [2024-02-28T10:54:10.782+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE kafka | [2024-02-28 10:53:52,822] INFO [Partition __consumer_offsets-16 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-16 (kafka.cluster.Partition) policy-db-migrator | DROP TABLE pdpstatistics policy-apex-pdp | values { policy-pap | [2024-02-28T10:54:10.782+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE kafka | [2024-02-28 10:53:52,822] INFO [Partition __consumer_offsets-16 broker=1] Log loaded for partition __consumer_offsets-16 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | -------------- policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" policy-pap | [2024-02-28T10:54:10.832+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-db-migrator | kafka | [2024-02-28 10:53:52,822] INFO [Broker id=1] Leader __consumer_offsets-16 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | } policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"3b35588d-3393-4e87-a5d2-b3d996f8a2e5","timestampMs":1709117650819,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup"} policy-db-migrator | kafka | [2024-02-28 10:53:52,836] INFO [LogLoader partition=__consumer_offsets-2, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | } policy-pap | [2024-02-28T10:54:10.832+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-pdp-pap] no listeners for autonomous message of type PdpStatus policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql kafka | [2024-02-28 10:53:52,837] INFO Created log for partition __consumer_offsets-2 in /var/lib/kafka/data/__consumer_offsets-2 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | } policy-pap | [2024-02-28T10:54:10.832+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,837] INFO [Partition __consumer_offsets-2 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-2 (kafka.cluster.Partition) policy-apex-pdp | } policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"6310611a-a25c-450c-9c99-4a8bd011f64f","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"6d96f9a6-2463-49b0-816a-b2fd3156f8ba","timestampMs":1709117650820,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats kafka | [2024-02-28 10:53:52,837] INFO [Partition __consumer_offsets-2 broker=1] Log loaded for partition __consumer_offsets-2 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | fields { policy-pap | [2024-02-28T10:54:10.833+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,837] INFO [Broker id=1] Leader __consumer_offsets-2 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | key: "prepare-environment-logs" policy-pap | [2024-02-28T10:54:10.833+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping enqueue policy-db-migrator | kafka | [2024-02-28 10:53:52,847] INFO [LogLoader partition=__consumer_offsets-25, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | value { policy-pap | [2024-02-28T10:54:10.833+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping timer policy-db-migrator | kafka | [2024-02-28 10:53:52,848] INFO Created log for partition __consumer_offsets-25 in /var/lib/kafka/data/__consumer_offsets-25 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | list_value { policy-pap | [2024-02-28T10:54:10.833+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=6310611a-a25c-450c-9c99-4a8bd011f64f, expireMs=1709117680704] policy-db-migrator | > upgrade 0120-statistics_sequence.sql kafka | [2024-02-28 10:53:52,848] INFO [Partition __consumer_offsets-25 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-25 (kafka.cluster.Partition) policy-apex-pdp | values { policy-pap | [2024-02-28T10:54:10.833+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping listener policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,848] INFO [Partition __consumer_offsets-25 broker=1] Log loaded for partition __consumer_offsets-25 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" policy-pap | [2024-02-28T10:54:10.833+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopped policy-db-migrator | DROP TABLE statistics_sequence kafka | [2024-02-28 10:53:52,848] INFO [Broker id=1] Leader __consumer_offsets-25 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | } policy-pap | [2024-02-28T10:54:10.834+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-db-migrator | -------------- kafka | [2024-02-28 10:53:52,864] INFO [LogLoader partition=__consumer_offsets-40, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | } policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"3b35588d-3393-4e87-a5d2-b3d996f8a2e5","timestampMs":1709117650819,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup"} policy-db-migrator | kafka | [2024-02-28 10:53:52,864] INFO Created log for partition __consumer_offsets-40 in /var/lib/kafka/data/__consumer_offsets-40 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | } policy-pap | [2024-02-28T10:54:10.858+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] policy-db-migrator | policyadmin: OK: upgrade (1300) kafka | [2024-02-28 10:53:52,864] INFO [Partition __consumer_offsets-40 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-40 (kafka.cluster.Partition) policy-apex-pdp | } policy-pap | {"deployed-policies":[{"policy-type":"onap.policies.native.Apex","policy-type-version":"1.0.0","policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0","success-count":1,"failure-count":0,"incomplete-count":0}],"undeployed-policies":[]} policy-db-migrator | name version kafka | [2024-02-28 10:53:52,864] INFO [Partition __consumer_offsets-40 broker=1] Log loaded for partition __consumer_offsets-40 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | } policy-pap | [2024-02-28T10:54:10.859+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate successful policy-db-migrator | policyadmin 1300 kafka | [2024-02-28 10:53:52,865] INFO [Broker id=1] Leader __consumer_offsets-40 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | } policy-pap | [2024-02-28T10:54:10.859+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 start publishing next request policy-db-migrator | ID script operation from_version to_version tag success atTime kafka | [2024-02-28 10:53:52,878] INFO [LogLoader partition=__consumer_offsets-47, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | } policy-pap | [2024-02-28T10:54:10.860+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange starting policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,879] INFO Created log for partition __consumer_offsets-47 in /var/lib/kafka/data/__consumer_offsets-47 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | } policy-pap | [2024-02-28T10:54:10.860+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange starting listener policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,880] INFO [Partition __consumer_offsets-47 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-47 (kafka.cluster.Partition) policy-apex-pdp | policy-pap | [2024-02-28T10:54:10.860+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange starting timer policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,880] INFO [Partition __consumer_offsets-47 broker=1] Log loaded for partition __consumer_offsets-47 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:19.570+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-pap | [2024-02-28T10:54:10.860+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] state-change timer registered Timer [name=f0db684f-a0a0-4819-9d05-372a12d6a5d9, expireMs=1709117680860] policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,880] INFO [Broker id=1] Leader __consumer_offsets-47 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:19.592+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117659589, "status": "FINAL_SUCCESS", "message": "Successfully processed the VES event. Hostname is updated.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-pap | [2024-02-28T10:54:10.860+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange starting enqueue policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,887] INFO [LogLoader partition=__consumer_offsets-17, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | [2024-02-28T10:54:23.552+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] HandleVesEventTask processing VES event - {"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1597953057126, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}} policy-pap | [2024-02-28T10:54:10.860+00:00|INFO|TimerManager|Thread-10] state-change timer waiting 30000ms Timer [name=f0db684f-a0a0-4819-9d05-372a12d6a5d9, expireMs=1709117680860] policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,888] INFO Created log for partition __consumer_offsets-17 in /var/lib/kafka/data/__consumer_offsets-17 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | [2024-02-28T10:54:23.554+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] HandleVesEventTask storing context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117663553, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} policy-pap | [2024-02-28T10:54:10.865+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,888] INFO [Partition __consumer_offsets-17 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-17 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:23.557+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117663555, "status": "ACTIVE", "message": "VES event has been received. Going to fetch details from AAI.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"f0db684f-a0a0-4819-9d05-372a12d6a5d9","timestampMs":1709117650683,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,888] INFO [Partition __consumer_offsets-17 broker=1] Log loaded for partition __consumer_offsets-17 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:23.560+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { policy-pap | [2024-02-28T10:54:10.865+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange started policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,888] INFO [Broker id=1] Leader __consumer_offsets-17 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", policy-pap | [2024-02-28T10:54:10.944+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Error while fetching metadata with correlation id 7 : {policy-notification=LEADER_NOT_AVAILABLE} policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,899] INFO [LogLoader partition=__consumer_offsets-32, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | "version": "0.0.1", policy-pap | [2024-02-28T10:54:11.058+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Error while fetching metadata with correlation id 8 : {policy-notification=LEADER_NOT_AVAILABLE} policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,900] INFO Created log for partition __consumer_offsets-32 in /var/lib/kafka/data/__consumer_offsets-32 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", policy-pap | [2024-02-28T10:54:11.289+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,900] INFO [Partition __consumer_offsets-32 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-32 (kafka.cluster.Partition) policy-apex-pdp | "source": "APEX", policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"f0db684f-a0a0-4819-9d05-372a12d6a5d9","timestampMs":1709117650683,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,900] INFO [Partition __consumer_offsets-32 broker=1] Log loaded for partition __consumer_offsets-32 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | "target": "AAI", policy-pap | [2024-02-28T10:54:11.290+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATE_CHANGE policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,900] INFO [Broker id=1] Leader __consumer_offsets-32 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | "toscaPolicyState": "", policy-pap | [2024-02-28T10:54:11.620+00:00|INFO|RequestImpl|KAFKA-source-policy-heartbeat] reconfiguring apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate with new message policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,911] INFO [LogLoader partition=__consumer_offsets-37, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | "aaifield": null policy-pap | [2024-02-28T10:54:11.621+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 kafka | [2024-02-28 10:53:52,912] INFO Created log for partition __consumer_offsets-37 in /var/lib/kafka/data/__consumer_offsets-37 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | } policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"6310611a-a25c-450c-9c99-4a8bd011f64f","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"6d96f9a6-2463-49b0-816a-b2fd3156f8ba","timestampMs":1709117650820,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:52,912] INFO [Partition __consumer_offsets-37 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-37 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:23.565+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 policy-pap | [2024-02-28T10:54:11.621+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 6310611a-a25c-450c-9c99-4a8bd011f64f kafka | [2024-02-28 10:53:52,912] INFO [Partition __consumer_offsets-37 broker=1] Log loaded for partition __consumer_offsets-37 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | { policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:16 policy-pap | [2024-02-28T10:54:11.627+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] kafka | [2024-02-28 10:53:52,912] INFO [Broker id=1] Leader __consumer_offsets-37 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | "equip-vendor":"Vendor-A", policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"f0db684f-a0a0-4819-9d05-372a12d6a5d9","timestampMs":1709117650683,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:52,925] INFO [LogLoader partition=__consumer_offsets-7, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.627+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_STATE_CHANGE kafka | [2024-02-28 10:53:52,927] INFO Created log for partition __consumer_offsets-7 in /var/lib/kafka/data/__consumer_offsets-7 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | "in-maint":false, policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.746+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:52,927] INFO [Partition __consumer_offsets-7 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-7 (kafka.cluster.Partition) policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpStateChange","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"f0db684f-a0a0-4819-9d05-372a12d6a5d9","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"e0d1bfe7-22c8-43d0-9f4b-bca3b03fec90","timestampMs":1709117651737,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:52,927] INFO [Partition __consumer_offsets-7 broker=1] Log loaded for partition __consumer_offsets-7 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | "resource-version":"1570746989505", policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange stopping kafka | [2024-02-28 10:53:52,927] INFO [Broker id=1] Leader __consumer_offsets-7 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | "nf-role":"ToR DC101", policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange stopping enqueue kafka | [2024-02-28 10:53:52,939] INFO [LogLoader partition=__consumer_offsets-22, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | "equip-type":"Router", policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange stopping timer kafka | [2024-02-28 10:53:52,940] INFO Created log for partition __consumer_offsets-22 in /var/lib/kafka/data/__consumer_offsets-22 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | "equip-model":"model-123456", policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] state-change timer cancelled Timer [name=f0db684f-a0a0-4819-9d05-372a12d6a5d9, expireMs=1709117680860] kafka | [2024-02-28 10:53:52,940] INFO [Partition __consumer_offsets-22 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-22 (kafka.cluster.Partition) policy-apex-pdp | "frame-id":"3", policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange stopping listener kafka | [2024-02-28 10:53:52,941] INFO [Partition __consumer_offsets-22 broker=1] Log loaded for partition __consumer_offsets-22 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | "pnf-name":"demo-pnf" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange stopped kafka | [2024-02-28 10:53:52,943] INFO [Broker id=1] Leader __consumer_offsets-22 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | } policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpStateChange successful kafka | [2024-02-28 10:53:52,952] INFO [LogLoader partition=__consumer_offsets-29, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 start publishing next request kafka | [2024-02-28 10:53:52,952] INFO Created log for partition __consumer_offsets-29 in /var/lib/kafka/data/__consumer_offsets-29 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | [2024-02-28T10:54:23.574+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] HandleAAISuccessResponseTask extracted context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117663553, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting kafka | [2024-02-28 10:53:52,953] INFO [Partition __consumer_offsets-29 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-29 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:23.580+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{actionIdentifiers={"actionName": "update-config", "blueprintName": "controlloop-hostname-update", "blueprintVersion": "1.0.4", "mode": "sync"}, commonHeader={"originatorId": "POLICY", "requestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "subRequestId": "927b2580-36d9-4f13-8421-3c9d43b7a57e"}, payload={update_DasH_config_DasH_request={"hostname": "hostvoi568", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117663578, "status": "SUCCESS", "message": "Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting listener kafka | [2024-02-28 10:53:52,953] INFO [Partition __consumer_offsets-29 broker=1] Log loaded for partition __consumer_offsets-29 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-apex-pdp | [2024-02-28T10:54:23.589+00:00|INFO|CdsProcessorHandler|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] Processing blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting timer kafka | [2024-02-28 10:53:52,953] INFO [Broker id=1] Leader __consumer_offsets-29 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-apex-pdp | [2024-02-28T10:54:23.591+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer registered Timer [name=c190b337-274e-404c-ab3c-d4a657b9a859, expireMs=1709117681747] kafka | [2024-02-28 10:53:52,965] INFO [LogLoader partition=__consumer_offsets-44, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-apex-pdp | commonHeader { policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting enqueue kafka | [2024-02-28 10:53:52,966] INFO Created log for partition __consumer_offsets-44 in /var/lib/kafka/data/__consumer_offsets-44 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-pap | [2024-02-28T10:54:11.747+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate started kafka | [2024-02-28 10:53:52,966] INFO [Partition __consumer_offsets-44 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-44 (kafka.cluster.Partition) policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-pap | [2024-02-28T10:54:11.751+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:52,966] INFO [Partition __consumer_offsets-44 broker=1] Log loaded for partition __consumer_offsets-44 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 policy-apex-pdp | originatorId: "POLICY" kafka | [2024-02-28 10:53:52,966] INFO [Broker id=1] Leader __consumer_offsets-44 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"c190b337-274e-404c-ab3c-d4a657b9a859","timestampMs":1709117651611,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | } policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 kafka | [2024-02-28 10:53:52,975] INFO [LogLoader partition=__consumer_offsets-14, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:54:11.753+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | actionIdentifiers { policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 kafka | [2024-02-28 10:53:52,975] INFO Created log for partition __consumer_offsets-14 in /var/lib/kafka/data/__consumer_offsets-14 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpStateChange","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"f0db684f-a0a0-4819-9d05-372a12d6a5d9","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"e0d1bfe7-22c8-43d0-9f4b-bca3b03fec90","timestampMs":1709117651737,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:17 kafka | [2024-02-28 10:53:52,975] INFO [Partition __consumer_offsets-14 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-14 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:11.753+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id f0db684f-a0a0-4819-9d05-372a12d6a5d9 policy-apex-pdp | blueprintVersion: "1.0.4" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 kafka | [2024-02-28 10:53:52,976] INFO [Partition __consumer_offsets-14 broker=1] Log loaded for partition __consumer_offsets-14 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:11.760+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | actionName: "update-config" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 kafka | [2024-02-28 10:53:52,976] INFO [Broker id=1] Leader __consumer_offsets-14 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"c190b337-274e-404c-ab3c-d4a657b9a859","timestampMs":1709117651611,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | mode: "sync" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 kafka | [2024-02-28 10:53:52,986] INFO [LogLoader partition=__consumer_offsets-23, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:54:11.760+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | } policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 kafka | [2024-02-28 10:53:52,987] INFO Created log for partition __consumer_offsets-23 in /var/lib/kafka/data/__consumer_offsets-23 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | payload { kafka | [2024-02-28 10:53:52,987] INFO [Partition __consumer_offsets-23 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-23 (kafka.cluster.Partition) policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"c190b337-274e-404c-ab3c-d4a657b9a859","timestampMs":1709117651611,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | fields { policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 kafka | [2024-02-28 10:53:52,988] INFO [Partition __consumer_offsets-23 broker=1] Log loaded for partition __consumer_offsets-23 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:11.769+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE policy-apex-pdp | key: "update-config-request" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 kafka | [2024-02-28 10:53:52,988] INFO [Broker id=1] Leader __consumer_offsets-23 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | [2024-02-28T10:54:11.770+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE policy-apex-pdp | value { policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 kafka | [2024-02-28 10:53:52,999] INFO [LogLoader partition=__consumer_offsets-38, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:54:11.787+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | struct_value { policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 kafka | [2024-02-28 10:53:53,001] INFO Created log for partition __consumer_offsets-38 in /var/lib/kafka/data/__consumer_offsets-38 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"c190b337-274e-404c-ab3c-d4a657b9a859","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"38f64d70-1261-40d9-9709-5509aa9af7e4","timestampMs":1709117651778,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | fields { policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 kafka | [2024-02-28 10:53:53,001] INFO [Partition __consumer_offsets-38 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-38 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:11.787+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id c190b337-274e-404c-ab3c-d4a657b9a859 policy-apex-pdp | key: "hostname" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-pap | [2024-02-28T10:54:11.788+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:53,001] INFO [Partition __consumer_offsets-38 broker=1] Log loaded for partition __consumer_offsets-38 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | value { policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"response":{"responseTo":"c190b337-274e-404c-ab3c-d4a657b9a859","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"38f64d70-1261-40d9-9709-5509aa9af7e4","timestampMs":1709117651778,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:53,002] INFO [Broker id=1] Leader __consumer_offsets-38 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | string_value: "hostvoi568" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-pap | [2024-02-28T10:54:11.788+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping kafka | [2024-02-28 10:53:53,008] INFO [LogLoader partition=__consumer_offsets-8, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | } policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-pap | [2024-02-28T10:54:11.789+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping enqueue policy-apex-pdp | } policy-pap | [2024-02-28T10:54:11.789+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping timer kafka | [2024-02-28 10:53:53,008] INFO Created log for partition __consumer_offsets-8 in /var/lib/kafka/data/__consumer_offsets-8 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | fields { policy-pap | [2024-02-28T10:54:11.789+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=c190b337-274e-404c-ab3c-d4a657b9a859, expireMs=1709117681747] kafka | [2024-02-28 10:53:53,008] INFO [Partition __consumer_offsets-8 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-8 (kafka.cluster.Partition) policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | key: "IP" policy-pap | [2024-02-28T10:54:11.789+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping listener kafka | [2024-02-28 10:53:53,008] INFO [Partition __consumer_offsets-8 broker=1] Log loaded for partition __consumer_offsets-8 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | value { policy-pap | [2024-02-28T10:54:11.789+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopped kafka | [2024-02-28 10:53:53,008] INFO [Broker id=1] Leader __consumer_offsets-8 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | string_value: "10.10.10.10" policy-pap | [2024-02-28T10:54:11.797+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate successful kafka | [2024-02-28 10:53:53,016] INFO [LogLoader partition=policy-pdp-pap-0, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | } policy-pap | [2024-02-28T10:54:11.797+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 has no more requests policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | } kafka | [2024-02-28 10:53:53,016] INFO Created log for partition policy-pdp-pap-0 in /var/lib/kafka/data/policy-pdp-pap-0 with properties {} (kafka.log.LogManager) policy-pap | [2024-02-28T10:54:12.885+00:00|INFO|SessionData|http-nio-6969-exec-8] cache group defaultGroup policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | fields { kafka | [2024-02-28 10:53:53,016] INFO [Partition policy-pdp-pap-0 broker=1] No checkpointed highwatermark is found for partition policy-pdp-pap-0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:13.061+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-8] Registering a deploy for policy onap.policies.apex.pnf.Test 1.0.0 kafka | [2024-02-28 10:53:53,017] INFO [Partition policy-pdp-pap-0 broker=1] Log loaded for partition policy-pdp-pap-0 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:13.062+00:00|INFO|SessionData|http-nio-6969-exec-8] add update apex-753a69e1-2710-489c-b4f4-872ec07cb271 defaultGroup apex policies=1 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | key: "pnfName" kafka | [2024-02-28 10:53:53,017] INFO [Broker id=1] Leader policy-pdp-pap-0 with topic id Some(k_vUPjabS_WEWPkCX1oT1A) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | [2024-02-28T10:54:13.063+00:00|INFO|SessionData|http-nio-6969-exec-8] update cached group defaultGroup policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | value { kafka | [2024-02-28 10:53:53,026] INFO [LogLoader partition=__consumer_offsets-45, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:54:13.063+00:00|INFO|SessionData|http-nio-6969-exec-8] updating DB group defaultGroup policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | string_value: "demo-pnf" kafka | [2024-02-28 10:53:53,027] INFO Created log for partition __consumer_offsets-45 in /var/lib/kafka/data/__consumer_offsets-45 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | [2024-02-28T10:54:13.074+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-8] sending audit records to database: [PolicyAudit(auditId=null, pdpGroup=defaultGroup, pdpType=apex, policy=onap.policies.apex.pnf.Test 1.0.0, action=DEPLOYMENT, timestamp=2024-02-28T10:54:13Z, user=policyadmin)] policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:18 policy-apex-pdp | } kafka | [2024-02-28 10:53:53,027] INFO [Partition __consumer_offsets-45 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-45 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:13.091+00:00|INFO|ServiceManager|http-nio-6969-exec-8] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-apex-pdp | } kafka | [2024-02-28 10:53:53,027] INFO [Partition __consumer_offsets-45 broker=1] Log loaded for partition __consumer_offsets-45 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:13.091+00:00|INFO|ServiceManager|http-nio-6969-exec-8] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting listener policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-apex-pdp | } kafka | [2024-02-28 10:53:53,027] INFO [Broker id=1] Leader __consumer_offsets-45 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | [2024-02-28T10:54:13.091+00:00|INFO|ServiceManager|http-nio-6969-exec-8] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting timer policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-apex-pdp | } kafka | [2024-02-28 10:53:53,035] INFO [LogLoader partition=__consumer_offsets-15, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:54:13.091+00:00|INFO|TimerManager|http-nio-6969-exec-8] update timer registered Timer [name=9697815f-47d8-4381-855e-a8434d72be62, expireMs=1709117683091] policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-apex-pdp | } kafka | [2024-02-28 10:53:53,035] INFO Created log for partition __consumer_offsets-15 in /var/lib/kafka/data/__consumer_offsets-15 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | [2024-02-28T10:54:13.091+00:00|INFO|ServiceManager|http-nio-6969-exec-8] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting enqueue policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-apex-pdp | } kafka | [2024-02-28 10:53:53,036] INFO [Partition __consumer_offsets-15 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-15 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:13.091+00:00|INFO|ServiceManager|http-nio-6969-exec-8] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate started policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-apex-pdp | kafka | [2024-02-28 10:53:53,036] INFO [Partition __consumer_offsets-15 broker=1] Log loaded for partition __consumer_offsets-15 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:13.097+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 kafka | [2024-02-28 10:53:53,036] INFO [Broker id=1] Leader __consumer_offsets-15 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://localhost:8082/topics/apex-cl-mgt"}]},"policy_type_impl":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}},"eventOutputParameters":{"SimpleCL_AAIProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer","requestorTimeout":500},"SimpleCL_logOutputter":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.Test","version":"1.0.0","metadata":{"policy-id":"onap.policies.apex.pnf.Test","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"9697815f-47d8-4381-855e-a8434d72be62","timestampMs":1709117653062,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | [2024-02-28T10:54:23.604+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 kafka | [2024-02-28 10:53:53,055] INFO [LogLoader partition=__consumer_offsets-30, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:54:13.114+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | commonHeader { policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 kafka | [2024-02-28 10:53:53,056] INFO Created log for partition __consumer_offsets-30 in /var/lib/kafka/data/__consumer_offsets-30 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://localhost:8082/topics/apex-cl-mgt"}]},"policy_type_impl":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}},"eventOutputParameters":{"SimpleCL_AAIProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer","requestorTimeout":500},"SimpleCL_logOutputter":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.Test","version":"1.0.0","metadata":{"policy-id":"onap.policies.apex.pnf.Test","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"9697815f-47d8-4381-855e-a8434d72be62","timestampMs":1709117653062,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 kafka | [2024-02-28 10:53:53,057] INFO [Partition __consumer_offsets-30 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-30 (kafka.cluster.Partition) policy-apex-pdp | requestId: "123456" policy-pap | [2024-02-28T10:54:13.120+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 kafka | [2024-02-28 10:53:53,057] INFO [Partition __consumer_offsets-30 broker=1] Log loaded for partition __consumer_offsets-30 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | subRequestId: "123-123" policy-pap | [2024-02-28T10:54:13.122+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 kafka | [2024-02-28 10:53:53,057] INFO [Broker id=1] Leader __consumer_offsets-30 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | originatorId: "CDS" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 kafka | [2024-02-28 10:53:53,070] INFO [LogLoader partition=__consumer_offsets-0, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://localhost:8082/topics/apex-cl-mgt"}]},"policy_type_impl":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}},"eventOutputParameters":{"SimpleCL_AAIProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer","requestorTimeout":500},"SimpleCL_logOutputter":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.Test","version":"1.0.0","metadata":{"policy-id":"onap.policies.apex.pnf.Test","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"9697815f-47d8-4381-855e-a8434d72be62","timestampMs":1709117653062,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | } policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-pap | [2024-02-28T10:54:13.124+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE policy-apex-pdp | actionIdentifiers { kafka | [2024-02-28 10:53:53,071] INFO Created log for partition __consumer_offsets-0 in /var/lib/kafka/data/__consumer_offsets-0 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-pap | [2024-02-28T10:54:13.667+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | blueprintName: "controlloop-hostname-update" kafka | [2024-02-28 10:53:53,071] INFO [Partition __consumer_offsets-0 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-0 (kafka.cluster.Partition) policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"},{"name":"onap.policies.apex.pnf.Test","version":"1.0.0"}],"response":{"responseTo":"9697815f-47d8-4381-855e-a8434d72be62","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"8cc9829b-afa0-4289-8749-4cca7c9a497e","timestampMs":1709117653661,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | blueprintVersion: "1.0.4" kafka | [2024-02-28 10:53:53,071] INFO [Partition __consumer_offsets-0 broker=1] Log loaded for partition __consumer_offsets-0 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-pap | [2024-02-28T10:54:13.667+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | actionName: "update-config" kafka | [2024-02-28 10:53:53,072] INFO [Broker id=1] Leader __consumer_offsets-0 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"},{"name":"onap.policies.apex.pnf.Test","version":"1.0.0"}],"response":{"responseTo":"9697815f-47d8-4381-855e-a8434d72be62","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"8cc9829b-afa0-4289-8749-4cca7c9a497e","timestampMs":1709117653661,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | mode: "sync" kafka | [2024-02-28 10:53:53,088] INFO [LogLoader partition=__consumer_offsets-35, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-pap | [2024-02-28T10:54:13.667+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 9697815f-47d8-4381-855e-a8434d72be62 policy-apex-pdp | } kafka | [2024-02-28 10:53:53,089] INFO Created log for partition __consumer_offsets-35 in /var/lib/kafka/data/__consumer_offsets-35 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-pap | [2024-02-28T10:54:13.667+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping policy-apex-pdp | status { kafka | [2024-02-28 10:53:53,089] INFO [Partition __consumer_offsets-35 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-35 (kafka.cluster.Partition) policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 policy-pap | [2024-02-28T10:54:13.667+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping enqueue policy-apex-pdp | code: 200 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 kafka | [2024-02-28 10:53:53,089] INFO [Partition __consumer_offsets-35 broker=1] Log loaded for partition __consumer_offsets-35 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:13.667+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping timer policy-apex-pdp | message: "success" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 kafka | [2024-02-28 10:53:53,090] INFO [Broker id=1] Leader __consumer_offsets-35 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-pap | [2024-02-28T10:54:13.668+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=9697815f-47d8-4381-855e-a8434d72be62, expireMs=1709117683091] policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:19 kafka | [2024-02-28 10:53:53,102] INFO [LogLoader partition=__consumer_offsets-5, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | [2024-02-28T10:54:13.668+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping listener policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:20 kafka | [2024-02-28 10:53:53,104] INFO Created log for partition __consumer_offsets-5 in /var/lib/kafka/data/__consumer_offsets-5 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | [2024-02-28T10:54:13.668+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopped policy-apex-pdp | } policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:20 kafka | [2024-02-28 10:53:53,104] INFO [Partition __consumer_offsets-5 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-5 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:13.678+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] policy-apex-pdp | payload { policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:20 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:20 policy-pap | {"deployed-policies":[{"policy-type":"onap.policies.native.Apex","policy-type-version":"1.0.0","policy-id":"onap.policies.apex.pnf.Test","policy-version":"1.0.0","success-count":1,"failure-count":0,"incomplete-count":0}],"undeployed-policies":[]} policy-apex-pdp | fields { policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:20 policy-apex-pdp | key: "update-config-response" policy-pap | [2024-02-28T10:54:13.678+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate successful policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:20 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2802241053160800u 1 2024-02-28 10:53:20 policy-apex-pdp | value { policy-pap | [2024-02-28T10:54:13.678+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 has no more requests policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | struct_value { policy-pap | [2024-02-28T10:54:33.761+00:00|INFO|SessionData|http-nio-6969-exec-1] cache group defaultGroup policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | fields { policy-pap | [2024-02-28T10:54:33.987+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-1] Registering a deploy for policy onap.policies.apex.pnf.metadataSet.Test 1.0.0 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | key: "execute-command-logs" policy-pap | [2024-02-28T10:54:33.987+00:00|INFO|SessionData|http-nio-6969-exec-1] add update apex-753a69e1-2710-489c-b4f4-872ec07cb271 defaultGroup apex policies=1 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | value { policy-pap | [2024-02-28T10:54:33.987+00:00|INFO|SessionData|http-nio-6969-exec-1] update cached group defaultGroup policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | list_value { policy-pap | [2024-02-28T10:54:33.988+00:00|INFO|SessionData|http-nio-6969-exec-1] updating DB group defaultGroup policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | values { policy-pap | [2024-02-28T10:54:33.996+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-1] sending audit records to database: [PolicyAudit(auditId=null, pdpGroup=defaultGroup, pdpType=apex, policy=onap.policies.apex.pnf.metadataSet.Test 1.0.0, action=DEPLOYMENT, timestamp=2024-02-28T10:54:33Z, user=policyadmin)] policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | string_value: "INFO:root:" policy-pap | [2024-02-28T10:54:34.006+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | } policy-pap | [2024-02-28T10:54:34.006+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting listener policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | values { policy-pap | [2024-02-28T10:54:34.006+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting timer policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | string_value: "INFO:root:configuring Device...." policy-pap | [2024-02-28T10:54:34.006+00:00|INFO|TimerManager|http-nio-6969-exec-1] update timer registered Timer [name=4b71daa5-04fc-4ba8-b9e7-825aadae0ce5, expireMs=1709117704006] policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:20 policy-apex-pdp | } policy-pap | [2024-02-28T10:54:34.006+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate starting enqueue policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:21 policy-apex-pdp | values { policy-pap | [2024-02-28T10:54:34.006+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate started policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2802241053160900u 1 2024-02-28 10:53:21 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" policy-pap | [2024-02-28T10:54:34.011+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2802241053161000u 1 2024-02-28 10:53:21 policy-apex-pdp | } kafka | [2024-02-28 10:53:53,104] INFO [Partition __consumer_offsets-5 broker=1] Log loaded for partition __consumer_offsets-5 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2802241053161000u 1 2024-02-28 10:53:21 policy-apex-pdp | values { policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp2","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer2","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://kafka:9092/topics/apex-cl-mgt2"}]}},"eventOutputParameters":{"SimpleCL_AAIProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer2","requestorTimeout":500},"SimpleCL_logOutputter2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt2","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0","metadata":{"metadataSetName":"apex.metadata.pnf","metadataSetVersion":"1.0.0","policy-id":"onap.policies.apex.pnf.metadataSet.Test","policy-version":"1.0.0","metadataSet":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask2:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4b71daa5-04fc-4ba8-b9e7-825aadae0ce5","timestampMs":1709117673987,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:53,104] INFO [Broker id=1] Leader __consumer_offsets-5 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2802241053161000u 1 2024-02-28 10:53:21 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" policy-pap | [2024-02-28T10:54:34.021+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:53,117] INFO [LogLoader partition=__consumer_offsets-20, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2802241053161000u 1 2024-02-28 10:53:21 policy-apex-pdp | } kafka | [2024-02-28 10:53:53,118] INFO Created log for partition __consumer_offsets-20 in /var/lib/kafka/data/__consumer_offsets-20 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp2","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer2","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://kafka:9092/topics/apex-cl-mgt2"}]}},"eventOutputParameters":{"SimpleCL_AAIProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer2","requestorTimeout":500},"SimpleCL_logOutputter2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt2","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0","metadata":{"metadataSetName":"apex.metadata.pnf","metadataSetVersion":"1.0.0","policy-id":"onap.policies.apex.pnf.metadataSet.Test","policy-version":"1.0.0","metadataSet":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask2:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4b71daa5-04fc-4ba8-b9e7-825aadae0ce5","timestampMs":1709117673987,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2802241053161000u 1 2024-02-28 10:53:21 policy-apex-pdp | values { kafka | [2024-02-28 10:53:53,118] INFO [Partition __consumer_offsets-20 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-20 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:34.024+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2802241053161000u 1 2024-02-28 10:53:21 policy-apex-pdp | string_value: "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount" kafka | [2024-02-28 10:53:53,118] INFO [Partition __consumer_offsets-20 broker=1] Log loaded for partition __consumer_offsets-20 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:34.026+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | } policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2802241053161000u 1 2024-02-28 10:53:21 kafka | [2024-02-28 10:53:53,118] INFO [Broker id=1] Leader __consumer_offsets-20 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | values { kafka | [2024-02-28 10:53:53,127] INFO [LogLoader partition=__consumer_offsets-27, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-pap | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp2","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer2","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://kafka:9092/topics/apex-cl-mgt2"}]}},"eventOutputParameters":{"SimpleCL_AAIProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer2","requestorTimeout":500},"SimpleCL_logOutputter2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt2","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0","metadata":{"metadataSetName":"apex.metadata.pnf","metadataSetVersion":"1.0.0","policy-id":"onap.policies.apex.pnf.metadataSet.Test","policy-version":"1.0.0","metadataSet":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask2:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4b71daa5-04fc-4ba8-b9e7-825aadae0ce5","timestampMs":1709117673987,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2802241053161000u 1 2024-02-28 10:53:21 kafka | [2024-02-28 10:53:53,127] INFO Created log for partition __consumer_offsets-27 in /var/lib/kafka/data/__consumer_offsets-27 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-pap | [2024-02-28T10:54:34.028+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2802241053161000u 1 2024-02-28 10:53:21 kafka | [2024-02-28 10:53:53,127] INFO [Partition __consumer_offsets-27 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-27 (kafka.cluster.Partition) policy-pap | [2024-02-28T10:54:34.136+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | } kafka | [2024-02-28 10:53:53,128] INFO [Partition __consumer_offsets-27 broker=1] Log loaded for partition __consumer_offsets-27 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"},{"name":"onap.policies.apex.pnf.Test","version":"1.0.0"},{"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0"}],"response":{"responseTo":"4b71daa5-04fc-4ba8-b9e7-825aadae0ce5","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"acce6743-7a31-46b7-b66a-8835654b846a","timestampMs":1709117674128,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | } policy-pap | [2024-02-28T10:54:34.136+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2802241053161100u 1 2024-02-28 10:53:21 kafka | [2024-02-28 10:53:53,128] INFO [Broker id=1] Leader __consumer_offsets-27 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | } policy-pap | [2024-02-28T10:54:34.137+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping enqueue policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2802241053161200u 1 2024-02-28 10:53:21 kafka | [2024-02-28 10:53:53,135] INFO [LogLoader partition=__consumer_offsets-42, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | } policy-pap | [2024-02-28T10:54:34.137+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping timer policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2802241053161200u 1 2024-02-28 10:53:21 kafka | [2024-02-28 10:53:53,136] INFO Created log for partition __consumer_offsets-42 in /var/lib/kafka/data/__consumer_offsets-42 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | fields { policy-pap | [2024-02-28T10:54:34.137+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=4b71daa5-04fc-4ba8-b9e7-825aadae0ce5, expireMs=1709117704006] policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2802241053161200u 1 2024-02-28 10:53:21 kafka | [2024-02-28 10:53:53,136] INFO [Partition __consumer_offsets-42 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-42 (kafka.cluster.Partition) policy-apex-pdp | key: "prepare-environment-logs" policy-pap | [2024-02-28T10:54:34.137+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopping listener policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2802241053161200u 1 2024-02-28 10:53:21 kafka | [2024-02-28 10:53:53,136] INFO [Partition __consumer_offsets-42 broker=1] Log loaded for partition __consumer_offsets-42 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | value { policy-pap | [2024-02-28T10:54:34.137+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate stopped policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2802241053161300u 1 2024-02-28 10:53:21 kafka | [2024-02-28 10:53:53,136] INFO [Broker id=1] Leader __consumer_offsets-42 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | list_value { policy-pap | [2024-02-28T10:54:34.137+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2802241053161300u 1 2024-02-28 10:53:21 kafka | [2024-02-28 10:53:53,144] INFO [LogLoader partition=__consumer_offsets-12, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | values { policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"},{"name":"onap.policies.apex.pnf.Test","version":"1.0.0"},{"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0"}],"response":{"responseTo":"4b71daa5-04fc-4ba8-b9e7-825aadae0ce5","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"acce6743-7a31-46b7-b66a-8835654b846a","timestampMs":1709117674128,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2802241053161300u 1 2024-02-28 10:53:21 policy-db-migrator | policyadmin: OK @ 1300 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" policy-pap | [2024-02-28T10:54:34.137+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 4b71daa5-04fc-4ba8-b9e7-825aadae0ce5 policy-apex-pdp | } policy-pap | [2024-02-28T10:54:34.144+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 PdpUpdate successful policy-apex-pdp | } policy-pap | [2024-02-28T10:54:34.145+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-753a69e1-2710-489c-b4f4-872ec07cb271 has no more requests policy-apex-pdp | } policy-pap | [2024-02-28T10:54:34.145+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] policy-apex-pdp | } policy-pap | {"deployed-policies":[{"policy-type":"onap.policies.native.Apex","policy-type-version":"1.0.0","policy-id":"onap.policies.apex.pnf.metadataSet.Test","policy-version":"1.0.0","success-count":1,"failure-count":0,"incomplete-count":0}],"undeployed-policies":[]} policy-apex-pdp | } policy-pap | [2024-02-28T10:54:40.705+00:00|INFO|TimerManager|Thread-9] update timer discarded (expired) Timer [name=6310611a-a25c-450c-9c99-4a8bd011f64f, expireMs=1709117680704] policy-apex-pdp | } policy-pap | [2024-02-28T10:54:40.865+00:00|INFO|TimerManager|Thread-10] state-change timer discarded (expired) Timer [name=f0db684f-a0a0-4819-9d05-372a12d6a5d9, expireMs=1709117680860] policy-apex-pdp | } policy-pap | [2024-02-28T10:54:54.279+00:00|INFO|SessionData|http-nio-6969-exec-5] cache group defaultGroup policy-apex-pdp | } policy-pap | [2024-02-28T10:54:55.024+00:00|INFO|SessionData|http-nio-6969-exec-7] cache group defaultGroup policy-apex-pdp | policy-pap | [2024-02-28T10:54:55.989+00:00|INFO|SessionData|http-nio-6969-exec-8] cache group defaultGroup policy-apex-pdp | [2024-02-28T10:54:23.604+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-pap | [2024-02-28T10:55:48.843+00:00|INFO|PdpModifyRequestMap|pool-3-thread-1] check for PDP records older than 360000ms policy-apex-pdp | [2024-02-28T10:54:23.620+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117663618, "status": "FINAL_SUCCESS", "message": "Successfully processed the VES event. Hostname is updated.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:34.020+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | {"source":"pap-fdb6c6af-4312-4006-8feb-3de12c4a62db","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp2","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer2","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://kafka:9092/topics/apex-cl-mgt2"}]}},"eventOutputParameters":{"SimpleCL_AAIProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer2","requestorTimeout":500},"SimpleCL_logOutputter2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt2","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0","metadata":{"metadataSetName":"apex.metadata.pnf","metadataSetVersion":"1.0.0","policy-id":"onap.policies.apex.pnf.metadataSet.Test","policy-version":"1.0.0","metadataSet":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask2:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4b71daa5-04fc-4ba8-b9e7-825aadae0ce5","timestampMs":1709117673987,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | [2024-02-28T10:54:34.023+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:apex/tosca/policy/list policy-apex-pdp | [2024-02-28T10:54:34.029+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.apex.pnf.metadataSet.Test 1.0.0 policy-apex-pdp | [2024-02-28T10:54:34.041+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-0:0.0.1 . policy-apex-pdp | [2024-02-28T10:54:34.041+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-1:0.0.1 . policy-apex-pdp | [2024-02-28T10:54:34.041+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-2:0.0.1 . policy-apex-pdp | [2024-02-28T10:54:34.041+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-3:0.0.1 . policy-apex-pdp | [2024-02-28T10:54:34.041+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. policy-apex-pdp | [2024-02-28T10:54:34.059+00:00|WARN|EngineServiceImpl|KAFKA-source-policy-pdp-pap] apex model update forced, supplied model with key "onap.policies.apex.Simplecontrolloop2:0.0.1" is not a compatible model update from the existing engine model with key "onap.policies.apex.Simplecontrolloop:0.0.1" policy-apex-pdp | [2024-02-28T10:54:34.059+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-0:0.0.1 policy-apex-pdp | [2024-02-28T10:54:34.059+00:00|WARN|EngineService|KAFKA-source-policy-pdp-pap] apex model update forced, supplied model with key "onap.policies.apex.Simplecontrolloop2:0.0.1" is not a compatible model update from the existing engine model with key "onap.policies.apex.Simplecontrolloop:0.0.1" policy-apex-pdp | [2024-02-28T10:54:34.059+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-1:0.0.1 policy-apex-pdp | [2024-02-28T10:54:34.060+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-2:0.0.1 policy-apex-pdp | [2024-02-28T10:54:34.060+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-3:0.0.1 policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleBooleanType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_AAIRequestErrorType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSActionIdentifiersType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSFailureResponseStatusType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSRequestCommonHeaderType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSSuccessResponseStatusType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_EventDetailsAlbumType:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventComponentType:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,145] INFO Created log for partition __consumer_offsets-12 in /var/lib/kafka/data/__consumer_offsets-12 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventOtherFieldsType:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,145] INFO [Partition __consumer_offsets-12 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-12 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventTargetType:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,145] INFO [Partition __consumer_offsets-12 broker=1] Log loaded for partition __consumer_offsets-12 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_VesEventType:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,146] INFO [Broker id=1] Leader __consumer_offsets-12 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleLongType:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,156] INFO [LogLoader partition=__consumer_offsets-21, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleStringType:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,157] INFO Created log for partition __consumer_offsets-21 in /var/lib/kafka/data/__consumer_offsets-21 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAIFailureResponseEvent:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,157] INFO [Partition __consumer_offsets-21 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-21 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAIRequestEvent:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,158] INFO [Partition __consumer_offsets-21 broker=1] Log loaded for partition __consumer_offsets-21 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAISuccessResponseEvent:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,158] INFO [Broker id=1] Leader __consumer_offsets-21 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,166] INFO [LogLoader partition=__consumer_offsets-36, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifyRequestEvent:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,166] INFO Created log for partition __consumer_offsets-36 in /var/lib/kafka/data/__consumer_offsets-36 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_LogEvent:0.0.1 is used by multiple policies. policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_VesEvent:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,167] INFO [Partition __consumer_offsets-36 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-36 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:34.101+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same album - SimpleCL_EventDetailsAlbum:0.0.1 is used by multiple policies. kafka | [2024-02-28 10:53:53,167] INFO [Partition __consumer_offsets-36 broker=1] Log loaded for partition __consumer_offsets-36 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:34.102+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-02-28 10:53:53,167] INFO [Broker id=1] Leader __consumer_offsets-36 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | [2024-02-28T10:54:34.103+00:00|INFO|CdsProcessorGrpcClient|KAFKA-source-policy-pdp-pap] CdsProcessorListener started kafka | [2024-02-28 10:53:53,174] INFO [LogLoader partition=__consumer_offsets-6, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | [2024-02-28T10:54:34.105+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-02-28 10:53:53,174] INFO Created log for partition __consumer_offsets-6 in /var/lib/kafka/data/__consumer_offsets-6 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | [2024-02-28T10:54:34.105+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-02-28 10:53:53,174] INFO [Partition __consumer_offsets-6 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-6 (kafka.cluster.Partition) policy-apex-pdp | [2024-02-28T10:54:34.110+00:00|INFO|ConsumerConfig|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] ConsumerConfig values: kafka | [2024-02-28 10:53:53,174] INFO [Partition __consumer_offsets-6 broker=1] Log loaded for partition __consumer_offsets-6 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | allow.auto.create.topics = true kafka | [2024-02-28 10:53:53,175] INFO [Broker id=1] Leader __consumer_offsets-6 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | auto.commit.interval.ms = 1000 kafka | [2024-02-28 10:53:53,182] INFO [LogLoader partition=__consumer_offsets-43, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | auto.include.jmx.reporter = true kafka | [2024-02-28 10:53:53,182] INFO Created log for partition __consumer_offsets-43 in /var/lib/kafka/data/__consumer_offsets-43 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | auto.offset.reset = latest kafka | [2024-02-28 10:53:53,182] INFO [Partition __consumer_offsets-43 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-43 (kafka.cluster.Partition) policy-apex-pdp | bootstrap.servers = [kafka:9092] kafka | [2024-02-28 10:53:53,182] INFO [Partition __consumer_offsets-43 broker=1] Log loaded for partition __consumer_offsets-43 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | check.crcs = true kafka | [2024-02-28 10:53:53,182] INFO [Broker id=1] Leader __consumer_offsets-43 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | client.dns.lookup = use_all_dns_ips kafka | [2024-02-28 10:53:53,189] INFO [LogLoader partition=__consumer_offsets-13, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | client.id = consumer-apex-grp2-4 kafka | [2024-02-28 10:53:53,189] INFO Created log for partition __consumer_offsets-13 in /var/lib/kafka/data/__consumer_offsets-13 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | client.rack = kafka | [2024-02-28 10:53:53,189] INFO [Partition __consumer_offsets-13 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-13 (kafka.cluster.Partition) policy-apex-pdp | connections.max.idle.ms = 540000 kafka | [2024-02-28 10:53:53,189] INFO [Partition __consumer_offsets-13 broker=1] Log loaded for partition __consumer_offsets-13 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | default.api.timeout.ms = 60000 kafka | [2024-02-28 10:53:53,189] INFO [Broker id=1] Leader __consumer_offsets-13 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | enable.auto.commit = true kafka | [2024-02-28 10:53:53,199] INFO [LogLoader partition=__consumer_offsets-28, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) policy-apex-pdp | exclude.internal.topics = true kafka | [2024-02-28 10:53:53,200] INFO Created log for partition __consumer_offsets-28 in /var/lib/kafka/data/__consumer_offsets-28 with properties {cleanup.policy=compact, compression.type="producer", segment.bytes=104857600} (kafka.log.LogManager) policy-apex-pdp | fetch.max.bytes = 52428800 kafka | [2024-02-28 10:53:53,200] INFO [Partition __consumer_offsets-28 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-28 (kafka.cluster.Partition) policy-apex-pdp | fetch.max.wait.ms = 500 kafka | [2024-02-28 10:53:53,200] INFO [Partition __consumer_offsets-28 broker=1] Log loaded for partition __consumer_offsets-28 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | fetch.min.bytes = 1 kafka | [2024-02-28 10:53:53,200] INFO [Broker id=1] Leader __consumer_offsets-28 with topic id Some(Ey4TyWC9Sh6MBJu_-LUKog) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) policy-apex-pdp | group.id = apex-grp2 kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-3 (state.change.logger) policy-apex-pdp | group.instance.id = null kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-18 (state.change.logger) policy-apex-pdp | heartbeat.interval.ms = 3000 kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-41 (state.change.logger) policy-apex-pdp | interceptor.classes = [] kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-10 (state.change.logger) policy-apex-pdp | internal.leave.group.on.close = true kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-33 (state.change.logger) policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-48 (state.change.logger) policy-apex-pdp | isolation.level = read_uncommitted kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-19 (state.change.logger) policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-34 (state.change.logger) policy-apex-pdp | max.partition.fetch.bytes = 1048576 kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-4 (state.change.logger) policy-apex-pdp | max.poll.interval.ms = 300000 kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-11 (state.change.logger) policy-apex-pdp | max.poll.records = 500 kafka | [2024-02-28 10:53:53,209] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-26 (state.change.logger) policy-apex-pdp | metadata.max.age.ms = 300000 kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-49 (state.change.logger) policy-apex-pdp | metric.reporters = [] kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-39 (state.change.logger) policy-apex-pdp | metrics.num.samples = 2 policy-apex-pdp | metrics.recording.level = INFO kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-9 (state.change.logger) policy-apex-pdp | metrics.sample.window.ms = 30000 kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-24 (state.change.logger) policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-31 (state.change.logger) policy-apex-pdp | receive.buffer.bytes = 65536 kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-46 (state.change.logger) policy-apex-pdp | reconnect.backoff.max.ms = 1000 kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-1 (state.change.logger) policy-apex-pdp | reconnect.backoff.ms = 50 kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-16 (state.change.logger) kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-2 (state.change.logger) policy-apex-pdp | request.timeout.ms = 30000 kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-25 (state.change.logger) policy-apex-pdp | retry.backoff.ms = 100 kafka | [2024-02-28 10:53:53,210] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-40 (state.change.logger) policy-apex-pdp | sasl.client.callback.handler.class = null kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-47 (state.change.logger) policy-apex-pdp | sasl.jaas.config = null kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-17 (state.change.logger) policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-32 (state.change.logger) policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-37 (state.change.logger) policy-apex-pdp | sasl.kerberos.service.name = null kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-7 (state.change.logger) policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-22 (state.change.logger) policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-29 (state.change.logger) policy-apex-pdp | sasl.login.callback.handler.class = null kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-44 (state.change.logger) policy-apex-pdp | sasl.login.class = null kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-14 (state.change.logger) policy-apex-pdp | sasl.login.connect.timeout.ms = null kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-23 (state.change.logger) policy-apex-pdp | sasl.login.read.timeout.ms = null kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-38 (state.change.logger) policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 kafka | [2024-02-28 10:53:53,211] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-8 (state.change.logger) policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 kafka | [2024-02-28 10:53:53,212] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition policy-pdp-pap-0 (state.change.logger) policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 kafka | [2024-02-28 10:53:53,212] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-45 (state.change.logger) policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 kafka | [2024-02-28 10:53:53,212] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-15 (state.change.logger) policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 kafka | [2024-02-28 10:53:53,212] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-30 (state.change.logger) policy-apex-pdp | sasl.login.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:53,212] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-0 (state.change.logger) policy-apex-pdp | sasl.mechanism = GSSAPI kafka | [2024-02-28 10:53:53,212] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-35 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 kafka | [2024-02-28 10:53:53,212] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-5 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.expected.audience = null kafka | [2024-02-28 10:53:53,212] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-20 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.expected.issuer = null kafka | [2024-02-28 10:53:53,212] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-27 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 kafka | [2024-02-28 10:53:53,212] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-42 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 kafka | [2024-02-28 10:53:53,213] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-12 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:53,213] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-21 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null kafka | [2024-02-28 10:53:53,213] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-36 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope kafka | [2024-02-28 10:53:53,213] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-6 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub kafka | [2024-02-28 10:53:53,213] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-43 (state.change.logger) policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null policy-apex-pdp | security.protocol = PLAINTEXT kafka | [2024-02-28 10:53:53,213] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-13 (state.change.logger) policy-apex-pdp | security.providers = null kafka | [2024-02-28 10:53:53,213] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 1 from controller 1 epoch 1 for the become-leader transition for partition __consumer_offsets-28 (state.change.logger) policy-apex-pdp | send.buffer.bytes = 131072 kafka | [2024-02-28 10:53:53,218] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 3 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | session.timeout.ms = 30000 kafka | [2024-02-28 10:53:53,220] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-3 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 kafka | [2024-02-28 10:53:53,243] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 18 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 kafka | [2024-02-28 10:53:53,243] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-18 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,243] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 41 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | ssl.cipher.suites = null kafka | [2024-02-28 10:53:53,243] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-41 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] kafka | [2024-02-28 10:53:53,244] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 10 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | ssl.endpoint.identification.algorithm = https kafka | [2024-02-28 10:53:53,244] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-10 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.engine.factory.class = null kafka | [2024-02-28 10:53:53,244] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 33 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | ssl.key.password = null kafka | [2024-02-28 10:53:53,244] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-33 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.keymanager.algorithm = SunX509 kafka | [2024-02-28 10:53:53,244] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 48 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | ssl.keystore.certificate.chain = null kafka | [2024-02-28 10:53:53,244] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-48 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.keystore.key = null kafka | [2024-02-28 10:53:53,244] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 19 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | ssl.keystore.location = null kafka | [2024-02-28 10:53:53,245] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-19 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.keystore.password = null policy-apex-pdp | ssl.keystore.type = JKS policy-apex-pdp | ssl.protocol = TLSv1.3 kafka | [2024-02-28 10:53:53,245] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 34 in epoch 0 (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:53,245] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-34 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.provider = null kafka | [2024-02-28 10:53:53,245] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 4 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | ssl.secure.random.implementation = null kafka | [2024-02-28 10:53:53,245] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-4 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.trustmanager.algorithm = PKIX kafka | [2024-02-28 10:53:53,245] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 11 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | ssl.truststore.certificates = null kafka | [2024-02-28 10:53:53,245] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-11 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.truststore.location = null kafka | [2024-02-28 10:53:53,246] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 26 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | ssl.truststore.password = null kafka | [2024-02-28 10:53:53,246] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-26 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.truststore.type = JKS kafka | [2024-02-28 10:53:53,246] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 49 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer kafka | [2024-02-28 10:53:53,246] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-49 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | kafka | [2024-02-28 10:53:53,246] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 39 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:34.114+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka version: 3.6.1 kafka | [2024-02-28 10:53:53,246] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-39 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:34.114+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka commitId: 5e3c2b738d253ff5 kafka | [2024-02-28 10:53:53,246] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 9 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:34.114+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka startTimeMs: 1709117674114 kafka | [2024-02-28 10:53:53,246] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-9 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:34.114+00:00|INFO|KafkaConsumer|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Subscribed to topic(s): unauthenticated.dcae_cl_output kafka | [2024-02-28 10:53:53,246] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 24 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:34.117+00:00|INFO|Metadata|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Cluster ID: 3b1G6bkCSIKYhpM8tpXBxQ kafka | [2024-02-28 10:53:53,247] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-24 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:34.117+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) kafka | [2024-02-28 10:53:53,247] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 31 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:34.124+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] (Re-)joining group kafka | [2024-02-28 10:53:53,247] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-31 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:34.126+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Request joining group due to: need to re-join with the given member-id: consumer-apex-grp2-4-687fba26-bea1-4d6e-ac21-0c015bdfa491 kafka | [2024-02-28 10:53:53,247] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 46 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:34.126+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException) kafka | [2024-02-28 10:53:53,247] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-46 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:34.126+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] (Re-)joining group kafka | [2024-02-28 10:53:53,247] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 1 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:34.129+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:53,247] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-1 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"},{"name":"onap.policies.apex.pnf.Test","version":"1.0.0"},{"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0"}],"response":{"responseTo":"4b71daa5-04fc-4ba8-b9e7-825aadae0ce5","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"acce6743-7a31-46b7-b66a-8835654b846a","timestampMs":1709117674128,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:53,247] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 16 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:34.138+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-02-28 10:53:53,248] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-16 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"},{"name":"onap.policies.apex.pnf.Test","version":"1.0.0"},{"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0"}],"response":{"responseTo":"4b71daa5-04fc-4ba8-b9e7-825aadae0ce5","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"acce6743-7a31-46b7-b66a-8835654b846a","timestampMs":1709117674128,"name":"apex-753a69e1-2710-489c-b4f4-872ec07cb271","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-02-28 10:53:53,248] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 2 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:34.138+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS kafka | [2024-02-28 10:53:53,248] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-2 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:37.129+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Successfully joined group with generation Generation{generationId=1, memberId='consumer-apex-grp2-4-687fba26-bea1-4d6e-ac21-0c015bdfa491', protocol='range'} kafka | [2024-02-28 10:53:53,248] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 25 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:37.131+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Finished assignment for group at generation 1: {consumer-apex-grp2-4-687fba26-bea1-4d6e-ac21-0c015bdfa491=Assignment(partitions=[unauthenticated.dcae_cl_output-0])} kafka | [2024-02-28 10:53:53,248] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-25 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:37.134+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Successfully synced group in generation Generation{generationId=1, memberId='consumer-apex-grp2-4-687fba26-bea1-4d6e-ac21-0c015bdfa491', protocol='range'} kafka | [2024-02-28 10:53:53,248] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 40 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:37.135+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Notifying assignor about the new Assignment(partitions=[unauthenticated.dcae_cl_output-0]) kafka | [2024-02-28 10:53:53,248] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-40 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:37.135+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Adding newly assigned partitions: unauthenticated.dcae_cl_output-0 kafka | [2024-02-28 10:53:53,248] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 47 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:37.136+00:00|INFO|ConsumerCoordinator|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Found no committed offset for partition unauthenticated.dcae_cl_output-0 kafka | [2024-02-28 10:53:53,248] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-47 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:37.140+00:00|INFO|SubscriptionState|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] [Consumer clientId=consumer-apex-grp2-4, groupId=apex-grp2] Resetting offset for partition unauthenticated.dcae_cl_output-0 to position FetchPosition{offset=2, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka:9092 (id: 1 rack: null)], epoch=0}}. kafka | [2024-02-28 10:53:53,249] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 17 in epoch 0 (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:53,249] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-3 in 28 milliseconds for epoch 0, of which 24 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,249] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-17 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:39.376+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] HandleVesEventTask processing VES event - {"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1597953057126, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}} kafka | [2024-02-28 10:53:53,249] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 32 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:39.377+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] HandleVesEventTask storing context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117679376, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} kafka | [2024-02-28 10:53:53,249] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-18 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:39.378+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] HandleVesEventTask processing VES event - {"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1597953057126, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}} kafka | [2024-02-28 10:53:53,250] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-32 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:39.379+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] HandleVesEventTask storing context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117679378, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} kafka | [2024-02-28 10:53:53,250] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-41 in 7 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:39.379+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117679377, "status": "ACTIVE", "message": "VES event has been received. Going to fetch details from AAI.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop2", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] kafka | [2024-02-28 10:53:53,250] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 37 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | [2024-02-28T10:54:39.381+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117679379, "status": "ACTIVE", "message": "VES event has been received. Going to fetch details from AAI.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] kafka | [2024-02-28 10:53:53,250] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-10 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:39.382+00:00|INFO|ProducerConfig|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Idempotence will be disabled because retries is set to 0. kafka | [2024-02-28 10:53:53,250] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-37 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | [2024-02-28T10:54:39.383+00:00|INFO|ProducerConfig|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] ProducerConfig values: kafka | [2024-02-28 10:53:53,250] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-33 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | acks = -1 kafka | [2024-02-28 10:53:53,250] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-48 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | auto.include.jmx.reporter = true kafka | [2024-02-28 10:53:53,250] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 7 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | batch.size = 16384 kafka | [2024-02-28 10:53:53,250] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-19 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | bootstrap.servers = [kafka:9092] kafka | [2024-02-28 10:53:53,251] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-7 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | buffer.memory = 33554432 kafka | [2024-02-28 10:53:53,251] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-34 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | client.dns.lookup = use_all_dns_ips kafka | [2024-02-28 10:53:53,251] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 22 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | client.id = producer-3 kafka | [2024-02-28 10:53:53,251] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-4 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | compression.type = none kafka | [2024-02-28 10:53:53,251] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-22 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | connections.max.idle.ms = 540000 kafka | [2024-02-28 10:53:53,251] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-11 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | delivery.timeout.ms = 120000 kafka | [2024-02-28 10:53:53,251] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-26 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,251] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 29 in epoch 0 (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:53,252] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-49 in 6 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,252] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-29 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,252] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-39 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,252] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 44 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | enable.idempotence = false kafka | [2024-02-28 10:53:53,252] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-9 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | interceptor.classes = [] kafka | [2024-02-28 10:53:53,252] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-44 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer kafka | [2024-02-28 10:53:53,252] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 14 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | linger.ms = 1 kafka | [2024-02-28 10:53:53,252] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-24 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | max.block.ms = 60000 kafka | [2024-02-28 10:53:53,252] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-14 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | max.in.flight.requests.per.connection = 5 kafka | [2024-02-28 10:53:53,253] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 23 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | max.request.size = 1048576 kafka | [2024-02-28 10:53:53,253] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-31 in 6 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | metadata.max.age.ms = 300000 kafka | [2024-02-28 10:53:53,253] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-23 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | metadata.max.idle.ms = 300000 kafka | [2024-02-28 10:53:53,253] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 38 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | metric.reporters = [] kafka | [2024-02-28 10:53:53,253] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-38 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | metrics.num.samples = 2 kafka | [2024-02-28 10:53:53,253] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 8 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | metrics.recording.level = INFO kafka | [2024-02-28 10:53:53,253] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-46 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | metrics.sample.window.ms = 30000 kafka | [2024-02-28 10:53:53,253] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-8 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | partitioner.adaptive.partitioning.enable = true kafka | [2024-02-28 10:53:53,253] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 45 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | partitioner.availability.timeout.ms = 0 kafka | [2024-02-28 10:53:53,253] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-1 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | partitioner.class = null kafka | [2024-02-28 10:53:53,253] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-45 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | partitioner.ignore.keys = false kafka | [2024-02-28 10:53:53,253] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 15 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | receive.buffer.bytes = 32768 kafka | [2024-02-28 10:53:53,253] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-16 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | reconnect.backoff.max.ms = 1000 kafka | [2024-02-28 10:53:53,253] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-15 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | reconnect.backoff.ms = 50 kafka | [2024-02-28 10:53:53,253] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-2 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | request.timeout.ms = 30000 kafka | [2024-02-28 10:53:53,254] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 30 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | retries = 0 kafka | [2024-02-28 10:53:53,254] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-25 in 6 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | retry.backoff.ms = 100 kafka | [2024-02-28 10:53:53,254] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-30 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.client.callback.handler.class = null kafka | [2024-02-28 10:53:53,254] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 0 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.jaas.config = null kafka | [2024-02-28 10:53:53,254] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-40 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit kafka | [2024-02-28 10:53:53,254] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-0 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 kafka | [2024-02-28 10:53:53,254] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 35 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.kerberos.service.name = null kafka | [2024-02-28 10:53:53,254] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-35 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 kafka | [2024-02-28 10:53:53,254] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-47 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 kafka | [2024-02-28 10:53:53,254] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 5 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.login.callback.handler.class = null kafka | [2024-02-28 10:53:53,254] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-5 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.login.class = null kafka | [2024-02-28 10:53:53,254] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 20 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.login.connect.timeout.ms = null kafka | [2024-02-28 10:53:53,254] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-20 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.login.read.timeout.ms = null kafka | [2024-02-28 10:53:53,254] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 27 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 kafka | [2024-02-28 10:53:53,255] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-27 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 kafka | [2024-02-28 10:53:53,254] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-17 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 kafka | [2024-02-28 10:53:53,255] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 42 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 kafka | [2024-02-28 10:53:53,255] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-42 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,255] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 12 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 kafka | [2024-02-28 10:53:53,255] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-32 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.login.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:53,255] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-12 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.mechanism = GSSAPI kafka | [2024-02-28 10:53:53,255] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 21 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 policy-apex-pdp | sasl.oauthbearer.expected.audience = null kafka | [2024-02-28 10:53:53,255] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-21 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.oauthbearer.expected.issuer = null kafka | [2024-02-28 10:53:53,255] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 36 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 kafka | [2024-02-28 10:53:53,255] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-36 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 kafka | [2024-02-28 10:53:53,255] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-37 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 kafka | [2024-02-28 10:53:53,255] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 6 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null kafka | [2024-02-28 10:53:53,255] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-6 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope kafka | [2024-02-28 10:53:53,256] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 43 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub kafka | [2024-02-28 10:53:53,256] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-43 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null kafka | [2024-02-28 10:53:53,256] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 13 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | security.protocol = PLAINTEXT kafka | [2024-02-28 10:53:53,256] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-7 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | security.providers = null kafka | [2024-02-28 10:53:53,256] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-13 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | send.buffer.bytes = 131072 kafka | [2024-02-28 10:53:53,256] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 28 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 kafka | [2024-02-28 10:53:53,256] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-22 in 5 milliseconds for epoch 0, of which 5 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 kafka | [2024-02-28 10:53:53,256] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-28 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.cipher.suites = null kafka | [2024-02-28 10:53:53,256] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-29 in 4 milliseconds for epoch 0, of which 4 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] kafka | [2024-02-28 10:53:53,256] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-44 in 4 milliseconds for epoch 0, of which 4 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.endpoint.identification.algorithm = https kafka | [2024-02-28 10:53:53,256] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-14 in 3 milliseconds for epoch 0, of which 3 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.engine.factory.class = null kafka | [2024-02-28 10:53:53,256] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-23 in 3 milliseconds for epoch 0, of which 3 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.key.password = null kafka | [2024-02-28 10:53:53,256] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-38 in 3 milliseconds for epoch 0, of which 3 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | ssl.keymanager.algorithm = SunX509 kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-8 in 4 milliseconds for epoch 0, of which 3 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-45 in 4 milliseconds for epoch 0, of which 4 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-15 in 4 milliseconds for epoch 0, of which 4 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-30 in 3 milliseconds for epoch 0, of which 3 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-0 in 3 milliseconds for epoch 0, of which 3 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-35 in 3 milliseconds for epoch 0, of which 3 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-5 in 3 milliseconds for epoch 0, of which 3 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-20 in 3 milliseconds for epoch 0, of which 3 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-27 in 2 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-42 in 2 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-12 in 2 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,257] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-21 in 2 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,258] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-36 in 3 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,258] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-6 in 2 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,258] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-43 in 2 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,258] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-13 in 2 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,258] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-28 in 2 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) kafka | [2024-02-28 10:53:53,262] INFO [Broker id=1] Finished LeaderAndIsr request in 2300ms correlationId 1 from controller 1 for 51 partitions (state.change.logger) kafka | [2024-02-28 10:53:53,265] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=Ey4TyWC9Sh6MBJu_-LUKog, partitionErrors=[LeaderAndIsrPartitionError(topicName='', partitionIndex=13, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=46, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=9, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=42, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=21, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=17, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=30, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=26, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=5, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=38, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=1, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=34, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=16, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=45, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=12, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=41, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=24, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=20, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=49, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=0, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=29, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=25, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=8, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=37, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=4, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=33, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=15, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=48, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=11, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=44, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=23, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=19, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=32, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=28, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=7, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=40, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=3, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=36, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=47, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=14, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=43, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=10, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=22, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=18, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=31, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=27, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=39, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=6, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=35, errorCode=0), LeaderAndIsrPartitionError(topicName='', partitionIndex=2, errorCode=0)]), LeaderAndIsrTopicError(topicId=k_vUPjabS_WEWPkCX1oT1A, partitionErrors=[LeaderAndIsrPartitionError(topicName='', partitionIndex=0, errorCode=0)])]) for request LEADER_AND_ISR with correlation id 1 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='policy-pdp-pap', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition policy-pdp-pap-0 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=13, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-13 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=46, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-46 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=9, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-9 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=42, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-42 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=21, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-21 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=17, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-17 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) policy-apex-pdp | ssl.keystore.certificate.chain = null policy-apex-pdp | ssl.keystore.key = null policy-apex-pdp | ssl.keystore.location = null policy-apex-pdp | ssl.keystore.password = null policy-apex-pdp | ssl.keystore.type = JKS policy-apex-pdp | ssl.protocol = TLSv1.3 policy-apex-pdp | ssl.provider = null policy-apex-pdp | ssl.secure.random.implementation = null policy-apex-pdp | ssl.trustmanager.algorithm = PKIX policy-apex-pdp | ssl.truststore.certificates = null policy-apex-pdp | ssl.truststore.location = null policy-apex-pdp | ssl.truststore.password = null policy-apex-pdp | ssl.truststore.type = JKS policy-apex-pdp | transaction.timeout.ms = 60000 policy-apex-pdp | transactional.id = null policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:39.384+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", policy-apex-pdp | "version": "0.0.1", policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", policy-apex-pdp | "source": "APEX", policy-apex-pdp | "target": "AAI", policy-apex-pdp | "toscaPolicyState": "", policy-apex-pdp | "aaifield": null policy-apex-pdp | } policy-apex-pdp | [2024-02-28T10:54:39.406+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka version: 3.6.1 policy-apex-pdp | [2024-02-28T10:54:39.406+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka commitId: 5e3c2b738d253ff5 policy-apex-pdp | [2024-02-28T10:54:39.406+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka startTimeMs: 1709117679406 policy-apex-pdp | [2024-02-28T10:54:39.407+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] policy-apex-pdp | { policy-apex-pdp | "equip-vendor":"Vendor-A", policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", policy-apex-pdp | "in-maint":false, policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", policy-apex-pdp | "resource-version":"1570746989505", policy-apex-pdp | "nf-role":"ToR DC101", policy-apex-pdp | "equip-type":"Router", policy-apex-pdp | "equip-model":"model-123456", policy-apex-pdp | "frame-id":"3", policy-apex-pdp | "pnf-name":"demo-pnf" policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:39.419+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] HandleAAISuccessResponseTask extracted context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117679378, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} policy-apex-pdp | [2024-02-28T10:54:39.426+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-3] [Producer clientId=producer-3] Error while fetching metadata with correlation id 1 : {apex-cl-mgt2=LEADER_NOT_AVAILABLE} policy-apex-pdp | [2024-02-28T10:54:39.426+00:00|INFO|Metadata|kafka-producer-network-thread | producer-3] [Producer clientId=producer-3] Cluster ID: 3b1G6bkCSIKYhpM8tpXBxQ policy-apex-pdp | [2024-02-28T10:54:39.427+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] [{actionIdentifiers={"actionName": "update-config", "blueprintName": "controlloop-hostname-update", "blueprintVersion": "1.0.4", "mode": "sync"}, commonHeader={"originatorId": "POLICY", "requestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "subRequestId": "927b2580-36d9-4f13-8421-3c9d43b7a57e"}, payload={update_DasH_config_DasH_request={"hostname": "hostr2lwz", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117679422, "status": "SUCCESS", "message": "Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:39.433+00:00|INFO|CdsProcessorHandler|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] Processing blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:39.434+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-apex-pdp | originatorId: "POLICY" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-request" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "hostname" policy-apex-pdp | value { policy-apex-pdp | string_value: "hostr2lwz" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "IP" policy-apex-pdp | value { policy-apex-pdp | string_value: "10.10.10.10" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "pnfName" policy-apex-pdp | value { policy-apex-pdp | string_value: "demo-pnf" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:39.444+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=30, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-30 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=26, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-26 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=5, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-5 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,269] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=38, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-38 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=1, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-1 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=34, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-34 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=16, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-16 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=45, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-45 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=12, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-12 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=41, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-41 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=24, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-24 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=20, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-20 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=49, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-49 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-0 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=29, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-29 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=25, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-25 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=8, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-8 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=37, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-37 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=4, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-4 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=33, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-33 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) policy-apex-pdp | commonHeader { policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" policy-apex-pdp | requestId: "123456" policy-apex-pdp | subRequestId: "123-123" policy-apex-pdp | originatorId: "CDS" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | status { policy-apex-pdp | code: 200 policy-apex-pdp | message: "success" policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-response" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "execute-command-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:configuring Device...." policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "prepare-environment-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:39.444+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:39.450+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", policy-apex-pdp | "version": "0.0.1", policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", policy-apex-pdp | "source": "APEX", policy-apex-pdp | "target": "AAI", policy-apex-pdp | "toscaPolicyState": "", policy-apex-pdp | "aaifield": null policy-apex-pdp | } policy-apex-pdp | [2024-02-28T10:54:39.457+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] policy-apex-pdp | { policy-apex-pdp | "equip-vendor":"Vendor-A", policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", policy-apex-pdp | "in-maint":false, policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", policy-apex-pdp | "resource-version":"1570746989505", policy-apex-pdp | "nf-role":"ToR DC101", policy-apex-pdp | "equip-type":"Router", policy-apex-pdp | "equip-model":"model-123456", policy-apex-pdp | "frame-id":"3", policy-apex-pdp | "pnf-name":"demo-pnf" policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:39.457+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117679452, "status": "FINAL_SUCCESS", "message": "Successfully processed the VES event. Hostname is updated.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:39.461+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:1] HandleAAISuccessResponseTask extracted context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117679378, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": {"targetType": "PNF", "entityInfo": {"name": "demo-pnf"}}, "generatedHostname": "hostr2lwz"} policy-apex-pdp | [2024-02-28T10:54:39.465+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:1] [{actionIdentifiers={"actionName": "update-config", "blueprintName": "controlloop-hostname-update", "blueprintVersion": "1.0.4", "mode": "sync"}, commonHeader={"originatorId": "POLICY", "requestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "subRequestId": "927b2580-36d9-4f13-8421-3c9d43b7a57e"}, payload={update_DasH_config_DasH_request={"hostname": "hostc5yoxd", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117679464, "status": "SUCCESS", "message": "Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop2", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:39.469+00:00|INFO|CdsProcessorHandler|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] Processing blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:39.470+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] [OUT|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-apex-pdp | originatorId: "POLICY" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-request" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "hostname" policy-apex-pdp | value { policy-apex-pdp | string_value: "hostc5yoxd" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "IP" policy-apex-pdp | value { policy-apex-pdp | string_value: "10.10.10.10" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "pnfName" policy-apex-pdp | value { policy-apex-pdp | string_value: "demo-pnf" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:39.488+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" policy-apex-pdp | requestId: "123456" policy-apex-pdp | subRequestId: "123-123" policy-apex-pdp | originatorId: "CDS" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | status { policy-apex-pdp | code: 200 policy-apex-pdp | message: "success" policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-response" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "execute-command-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:configuring Device...." policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "prepare-environment-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=15, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-15 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=48, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-48 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=11, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-11 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=44, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-44 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=23, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-23 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=19, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-19 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=32, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-32 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=28, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-28 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=7, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-7 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=40, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-40 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=3, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-3 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=36, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-36 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=47, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-47 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=14, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-14 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=43, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-43 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=10, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-10 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=22, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-22 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=18, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-18 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=31, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-31 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=27, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-27 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=39, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-39 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=6, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-6 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=35, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-35 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,270] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='__consumer_offsets', partitionIndex=2, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition __consumer_offsets-2 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,271] INFO [Broker id=1] Add 51 partitions and deleted 0 partitions from metadata cache in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 2 (state.change.logger) kafka | [2024-02-28 10:53:53,271] TRACE [Controller id=1 epoch=1] Received response UpdateMetadataResponseData(errorCode=0) for request UPDATE_METADATA with correlation id 2 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:53:53,333] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group policy-pap in Empty state. Created a new member id consumer-policy-pap-4-c8b3d240-312c-466e-bfae-b6e7f4d01a97 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:53,336] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group bc28eae0-8287-4c0f-b48b-1b3f1373e7bf in Empty state. Created a new member id consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2-b1b323aa-c212-4d44-8d95-d285c7f256d1 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:53,348] INFO [GroupCoordinator 1]: Preparing to rebalance group policy-pap in state PreparingRebalance with old generation 0 (__consumer_offsets-24) (reason: Adding new member consumer-policy-pap-4-c8b3d240-312c-466e-bfae-b6e7f4d01a97 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:53,348] INFO [GroupCoordinator 1]: Preparing to rebalance group bc28eae0-8287-4c0f-b48b-1b3f1373e7bf in state PreparingRebalance with old generation 0 (__consumer_offsets-28) (reason: Adding new member consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2-b1b323aa-c212-4d44-8d95-d285c7f256d1 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:53,368] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group 24e9b3a0-4ba6-4104-9c94-cd2ff4944c99 in Empty state. Created a new member id consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3-d2c35aaf-81a0-461f-b451-29911b4acc46 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:53,371] INFO [GroupCoordinator 1]: Preparing to rebalance group 24e9b3a0-4ba6-4104-9c94-cd2ff4944c99 in state PreparingRebalance with old generation 0 (__consumer_offsets-6) (reason: Adding new member consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3-d2c35aaf-81a0-461f-b451-29911b4acc46 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:56,356] INFO [GroupCoordinator 1]: Stabilized group policy-pap generation 1 (__consumer_offsets-24) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:56,360] INFO [GroupCoordinator 1]: Stabilized group bc28eae0-8287-4c0f-b48b-1b3f1373e7bf generation 1 (__consumer_offsets-28) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:56,373] INFO [GroupCoordinator 1]: Assignment received from leader consumer-bc28eae0-8287-4c0f-b48b-1b3f1373e7bf-2-b1b323aa-c212-4d44-8d95-d285c7f256d1 for group bc28eae0-8287-4c0f-b48b-1b3f1373e7bf for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:56,373] INFO [GroupCoordinator 1]: Stabilized group 24e9b3a0-4ba6-4104-9c94-cd2ff4944c99 generation 1 (__consumer_offsets-6) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:56,379] INFO [GroupCoordinator 1]: Assignment received from leader consumer-policy-pap-4-c8b3d240-312c-466e-bfae-b6e7f4d01a97 for group policy-pap for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:53:56,379] INFO [GroupCoordinator 1]: Assignment received from leader consumer-24e9b3a0-4ba6-4104-9c94-cd2ff4944c99-3-d2c35aaf-81a0-461f-b451-29911b4acc46 for group 24e9b3a0-4ba6-4104-9c94-cd2ff4944c99 for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:10,862] INFO Creating topic policy-notification with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) kafka | [2024-02-28 10:54:10,946] INFO [Controller id=1] New topics: [Set(policy-notification)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(policy-notification,Some(Y8ZEivyQTNWA6idpcY20aw),Map(policy-notification-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) kafka | [2024-02-28 10:54:10,947] INFO [Controller id=1] New partition creation callback for policy-notification-0 (kafka.controller.KafkaController) kafka | [2024-02-28 10:54:10,947] INFO [Controller id=1 epoch=1] Changed partition policy-notification-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-02-28 10:54:10,947] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:10,947] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-notification-0 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-02-28 10:54:10,947] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:11,020] INFO [Controller id=1 epoch=1] Changed partition policy-notification-0 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) kafka | [2024-02-28 10:54:11,021] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='policy-notification', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition policy-notification-0 (state.change.logger) kafka | [2024-02-28 10:54:11,021] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:39.488+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:39.501+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117679499, "status": "FINAL_SUCCESS", "message": "Successfully processed the VES event. Hostname is updated.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop2", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:44.474+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] HandleVesEventTask processing VES event - {"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1597953057126, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}} policy-apex-pdp | [2024-02-28T10:54:44.475+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] HandleVesEventTask storing context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117684474, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} policy-apex-pdp | [2024-02-28T10:54:44.476+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117684475, "status": "ACTIVE", "message": "VES event has been received. Going to fetch details from AAI.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:44.482+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:3] HandleVesEventTask processing VES event - {"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1597953057126, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}} policy-apex-pdp | [2024-02-28T10:54:44.482+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:3] HandleVesEventTask storing context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117684482, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} policy-apex-pdp | [2024-02-28T10:54:44.484+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:3] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117684482, "status": "ACTIVE", "message": "VES event has been received. Going to fetch details from AAI.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop2", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:44.486+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", policy-apex-pdp | "version": "0.0.1", policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", policy-apex-pdp | "source": "APEX", policy-apex-pdp | "target": "AAI", policy-apex-pdp | "toscaPolicyState": "", policy-apex-pdp | "aaifield": null policy-apex-pdp | } policy-apex-pdp | [2024-02-28T10:54:44.495+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] policy-apex-pdp | { policy-apex-pdp | "equip-vendor":"Vendor-A", policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", policy-apex-pdp | "in-maint":false, policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", policy-apex-pdp | "resource-version":"1570746989505", policy-apex-pdp | "nf-role":"ToR DC101", policy-apex-pdp | "equip-type":"Router", policy-apex-pdp | "equip-model":"model-123456", policy-apex-pdp | "frame-id":"3", policy-apex-pdp | "pnf-name":"demo-pnf" policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:44.497+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", policy-apex-pdp | "version": "0.0.1", policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", kafka | [2024-02-28 10:54:11,021] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:11,021] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-notification-0 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-02-28 10:54:11,021] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:11,022] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 3 from controller 1 for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:11,022] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='policy-notification', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 3 from controller 1 epoch 1 (state.change.logger) kafka | [2024-02-28 10:54:11,023] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 3 from controller 1 epoch 1 starting the become-leader transition for partition policy-notification-0 (state.change.logger) kafka | [2024-02-28 10:54:11,023] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(policy-notification-0) (kafka.server.ReplicaFetcherManager) kafka | [2024-02-28 10:54:11,023] INFO [Broker id=1] Stopped fetchers as part of LeaderAndIsr request correlationId 3 from controller 1 epoch 1 as part of the become-leader transition for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:11,031] INFO [LogLoader partition=policy-notification-0, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) kafka | [2024-02-28 10:54:11,032] INFO Created log for partition policy-notification-0 in /var/lib/kafka/data/policy-notification-0 with properties {} (kafka.log.LogManager) kafka | [2024-02-28 10:54:11,032] INFO [Partition policy-notification-0 broker=1] No checkpointed highwatermark is found for partition policy-notification-0 (kafka.cluster.Partition) kafka | [2024-02-28 10:54:11,033] INFO [Partition policy-notification-0 broker=1] Log loaded for partition policy-notification-0 with initial high watermark 0 (kafka.cluster.Partition) kafka | [2024-02-28 10:54:11,033] INFO [Broker id=1] Leader policy-notification-0 with topic id Some(Y8ZEivyQTNWA6idpcY20aw) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) kafka | [2024-02-28 10:54:11,113] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 3 from controller 1 epoch 1 for the become-leader transition for partition policy-notification-0 (state.change.logger) kafka | [2024-02-28 10:54:11,113] INFO [Broker id=1] Finished LeaderAndIsr request in 91ms correlationId 3 from controller 1 for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:11,114] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=Y8ZEivyQTNWA6idpcY20aw, partitionErrors=[LeaderAndIsrPartitionError(topicName='', partitionIndex=0, errorCode=0)])]) for request LEADER_AND_ISR with correlation id 3 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:54:11,115] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='policy-notification', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition policy-notification-0 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 4 (state.change.logger) kafka | [2024-02-28 10:54:11,115] INFO [Broker id=1] Add 1 partitions and deleted 0 partitions from metadata cache in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 4 (state.change.logger) kafka | [2024-02-28 10:54:11,116] TRACE [Controller id=1 epoch=1] Received response UpdateMetadataResponseData(errorCode=0) for request UPDATE_METADATA with correlation id 4 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:54:13,685] INFO Creating topic unauthenticated.dcae_cl_output with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) kafka | [2024-02-28 10:54:13,698] INFO [Controller id=1] New topics: [Set(unauthenticated.dcae_cl_output)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(unauthenticated.dcae_cl_output,Some(JxfCC2LbS-eREtPLXOx2yQ),Map(unauthenticated.dcae_cl_output-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) kafka | [2024-02-28 10:54:13,698] INFO [Controller id=1] New partition creation callback for unauthenticated.dcae_cl_output-0 (kafka.controller.KafkaController) kafka | [2024-02-28 10:54:13,698] INFO [Controller id=1 epoch=1] Changed partition unauthenticated.dcae_cl_output-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-02-28 10:54:13,699] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:13,699] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition unauthenticated.dcae_cl_output-0 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-02-28 10:54:13,699] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:13,704] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group apex-grp in Empty state. Created a new member id consumer-apex-grp-3-2c76cb1d-9b40-4641-a57c-4d619b8b1448 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:13,704] INFO [Controller id=1 epoch=1] Changed partition unauthenticated.dcae_cl_output-0 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) kafka | [2024-02-28 10:54:13,704] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='unauthenticated.dcae_cl_output', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition unauthenticated.dcae_cl_output-0 (state.change.logger) kafka | [2024-02-28 10:54:13,704] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) kafka | [2024-02-28 10:54:13,705] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:13,705] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition unauthenticated.dcae_cl_output-0 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-02-28 10:54:13,705] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:13,705] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 5 from controller 1 for 1 partitions (state.change.logger) policy-apex-pdp | "source": "APEX", policy-apex-pdp | "target": "AAI", policy-apex-pdp | "toscaPolicyState": "", policy-apex-pdp | "aaifield": null policy-apex-pdp | } policy-apex-pdp | [2024-02-28T10:54:44.502+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] HandleAAISuccessResponseTask extracted context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117684482, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} policy-apex-pdp | [2024-02-28T10:54:44.504+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] policy-apex-pdp | { policy-apex-pdp | "equip-vendor":"Vendor-A", policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", policy-apex-pdp | "in-maint":false, policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", policy-apex-pdp | "resource-version":"1570746989505", policy-apex-pdp | "nf-role":"ToR DC101", policy-apex-pdp | "equip-type":"Router", policy-apex-pdp | "equip-model":"model-123456", kafka | [2024-02-28 10:54:13,705] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='unauthenticated.dcae_cl_output', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 5 from controller 1 epoch 1 (state.change.logger) kafka | [2024-02-28 10:54:13,706] INFO [GroupCoordinator 1]: Preparing to rebalance group apex-grp in state PreparingRebalance with old generation 0 (__consumer_offsets-14) (reason: Adding new member consumer-apex-grp-3-2c76cb1d-9b40-4641-a57c-4d619b8b1448 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:13,707] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 5 from controller 1 epoch 1 starting the become-leader transition for partition unauthenticated.dcae_cl_output-0 (state.change.logger) kafka | [2024-02-28 10:54:13,707] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(unauthenticated.dcae_cl_output-0) (kafka.server.ReplicaFetcherManager) kafka | [2024-02-28 10:54:13,707] INFO [Broker id=1] Stopped fetchers as part of LeaderAndIsr request correlationId 5 from controller 1 epoch 1 as part of the become-leader transition for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:13,710] INFO [LogLoader partition=unauthenticated.dcae_cl_output-0, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) kafka | [2024-02-28 10:54:13,710] INFO Created log for partition unauthenticated.dcae_cl_output-0 in /var/lib/kafka/data/unauthenticated.dcae_cl_output-0 with properties {} (kafka.log.LogManager) kafka | [2024-02-28 10:54:13,711] INFO [Partition unauthenticated.dcae_cl_output-0 broker=1] No checkpointed highwatermark is found for partition unauthenticated.dcae_cl_output-0 (kafka.cluster.Partition) kafka | [2024-02-28 10:54:13,711] INFO [Partition unauthenticated.dcae_cl_output-0 broker=1] Log loaded for partition unauthenticated.dcae_cl_output-0 with initial high watermark 0 (kafka.cluster.Partition) kafka | [2024-02-28 10:54:13,711] INFO [Broker id=1] Leader unauthenticated.dcae_cl_output-0 with topic id Some(JxfCC2LbS-eREtPLXOx2yQ) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) kafka | [2024-02-28 10:54:13,716] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 5 from controller 1 epoch 1 for the become-leader transition for partition unauthenticated.dcae_cl_output-0 (state.change.logger) kafka | [2024-02-28 10:54:13,717] INFO [Broker id=1] Finished LeaderAndIsr request in 12ms correlationId 5 from controller 1 for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:13,717] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=JxfCC2LbS-eREtPLXOx2yQ, partitionErrors=[LeaderAndIsrPartitionError(topicName='', partitionIndex=0, errorCode=0)])]) for request LEADER_AND_ISR with correlation id 5 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:54:13,718] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='unauthenticated.dcae_cl_output', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition unauthenticated.dcae_cl_output-0 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 6 (state.change.logger) kafka | [2024-02-28 10:54:13,718] INFO [Broker id=1] Add 1 partitions and deleted 0 partitions from metadata cache in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 6 (state.change.logger) kafka | [2024-02-28 10:54:13,719] TRACE [Controller id=1 epoch=1] Received response UpdateMetadataResponseData(errorCode=0) for request UPDATE_METADATA with correlation id 6 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:54:16,707] INFO [GroupCoordinator 1]: Stabilized group apex-grp generation 1 (__consumer_offsets-14) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:16,711] INFO [GroupCoordinator 1]: Assignment received from leader consumer-apex-grp-3-2c76cb1d-9b40-4641-a57c-4d619b8b1448 for group apex-grp for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:18,518] INFO Creating topic apex-cl-mgt with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) kafka | [2024-02-28 10:54:18,529] INFO [Controller id=1] New topics: [HashSet(apex-cl-mgt)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(apex-cl-mgt,Some(89-DfgKZQ1qw9IS6ZltMRA),Map(apex-cl-mgt-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) kafka | [2024-02-28 10:54:18,529] INFO [Controller id=1] New partition creation callback for apex-cl-mgt-0 (kafka.controller.KafkaController) kafka | [2024-02-28 10:54:18,529] INFO [Controller id=1 epoch=1] Changed partition apex-cl-mgt-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-02-28 10:54:18,529] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:18,529] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt-0 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-02-28 10:54:18,529] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:18,533] INFO [Controller id=1 epoch=1] Changed partition apex-cl-mgt-0 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) kafka | [2024-02-28 10:54:18,533] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='apex-cl-mgt', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition apex-cl-mgt-0 (state.change.logger) kafka | [2024-02-28 10:54:18,533] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) kafka | [2024-02-28 10:54:18,534] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:18,534] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt-0 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-02-28 10:54:18,534] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:18,535] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 7 from controller 1 for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:18,535] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='apex-cl-mgt', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 7 from controller 1 epoch 1 (state.change.logger) policy-apex-pdp | "frame-id":"3", policy-apex-pdp | "pnf-name":"demo-pnf" policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:44.506+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{actionIdentifiers={"actionName": "update-config", "blueprintName": "controlloop-hostname-update", "blueprintVersion": "1.0.4", "mode": "sync"}, commonHeader={"originatorId": "POLICY", "requestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "subRequestId": "927b2580-36d9-4f13-8421-3c9d43b7a57e"}, payload={update_DasH_config_DasH_request={"hostname": "hostnaqrbt", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117684505, "status": "SUCCESS", "message": "Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:44.510+00:00|INFO|CdsProcessorHandler|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] Processing blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:44.511+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-apex-pdp | originatorId: "POLICY" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-request" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "hostname" policy-apex-pdp | value { policy-apex-pdp | string_value: "hostnaqrbt" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "IP" policy-apex-pdp | value { policy-apex-pdp | string_value: "10.10.10.10" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "pnfName" policy-apex-pdp | value { policy-apex-pdp | string_value: "demo-pnf" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:44.511+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] HandleAAISuccessResponseTask extracted context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117684482, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": {"targetType": "PNF", "entityInfo": {"name": "demo-pnf"}}, "generatedHostname": "hostnaqrbt"} policy-apex-pdp | [2024-02-28T10:54:44.516+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] [{actionIdentifiers={"actionName": "update-config", "blueprintName": "controlloop-hostname-update", "blueprintVersion": "1.0.4", "mode": "sync"}, commonHeader={"originatorId": "POLICY", "requestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "subRequestId": "927b2580-36d9-4f13-8421-3c9d43b7a57e"}, payload={update_DasH_config_DasH_request={"hostname": "host3u26og", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117684514, "status": "SUCCESS", "message": "Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop2", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:44.521+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" policy-apex-pdp | requestId: "123456" policy-apex-pdp | subRequestId: "123-123" policy-apex-pdp | originatorId: "CDS" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | status { policy-apex-pdp | code: 200 policy-apex-pdp | message: "success" policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-response" kafka | [2024-02-28 10:54:18,535] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 7 from controller 1 epoch 1 starting the become-leader transition for partition apex-cl-mgt-0 (state.change.logger) kafka | [2024-02-28 10:54:18,535] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(apex-cl-mgt-0) (kafka.server.ReplicaFetcherManager) kafka | [2024-02-28 10:54:18,535] INFO [Broker id=1] Stopped fetchers as part of LeaderAndIsr request correlationId 7 from controller 1 epoch 1 as part of the become-leader transition for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:18,537] INFO [LogLoader partition=apex-cl-mgt-0, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) kafka | [2024-02-28 10:54:18,538] INFO Created log for partition apex-cl-mgt-0 in /var/lib/kafka/data/apex-cl-mgt-0 with properties {} (kafka.log.LogManager) kafka | [2024-02-28 10:54:18,538] INFO [Partition apex-cl-mgt-0 broker=1] No checkpointed highwatermark is found for partition apex-cl-mgt-0 (kafka.cluster.Partition) kafka | [2024-02-28 10:54:18,538] INFO [Partition apex-cl-mgt-0 broker=1] Log loaded for partition apex-cl-mgt-0 with initial high watermark 0 (kafka.cluster.Partition) kafka | [2024-02-28 10:54:18,539] INFO [Broker id=1] Leader apex-cl-mgt-0 with topic id Some(89-DfgKZQ1qw9IS6ZltMRA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) kafka | [2024-02-28 10:54:18,546] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 7 from controller 1 epoch 1 for the become-leader transition for partition apex-cl-mgt-0 (state.change.logger) kafka | [2024-02-28 10:54:18,546] INFO [Broker id=1] Finished LeaderAndIsr request in 11ms correlationId 7 from controller 1 for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:18,547] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=89-DfgKZQ1qw9IS6ZltMRA, partitionErrors=[LeaderAndIsrPartitionError(topicName='', partitionIndex=0, errorCode=0)])]) for request LEADER_AND_ISR with correlation id 7 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:54:18,548] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='apex-cl-mgt', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition apex-cl-mgt-0 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 8 (state.change.logger) kafka | [2024-02-28 10:54:18,548] INFO [Broker id=1] Add 1 partitions and deleted 0 partitions from metadata cache in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 8 (state.change.logger) kafka | [2024-02-28 10:54:18,549] TRACE [Controller id=1 epoch=1] Received response UpdateMetadataResponseData(errorCode=0) for request UPDATE_METADATA with correlation id 8 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:54:23,590] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-2d61de50-2ec3-4ee5-a65b-dc1e10889c0f and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:23,593] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 0 (__consumer_offsets-3) (reason: Adding new member rdkafka-2d61de50-2ec3-4ee5-a65b-dc1e10889c0f with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:26,594] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 1 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:26,597] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-2d61de50-2ec3-4ee5-a65b-dc1e10889c0f for group testgrp for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:26,722] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 1 (__consumer_offsets-3) (reason: Removing member rdkafka-2d61de50-2ec3-4ee5-a65b-dc1e10889c0f on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:26,724] INFO [GroupCoordinator 1]: Group testgrp with generation 2 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:26,726] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-2d61de50-2ec3-4ee5-a65b-dc1e10889c0f, groupInstanceId=None, clientId=rdkafka, clientHost=/172.17.0.1, sessionTimeoutMs=45000, rebalanceTimeoutMs=300000, supportedProtocols=List(range, roundrobin)) has left group testgrp through explicit `LeaveGroup`; client reason: not provided (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:26,780] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-799e51eb-d63e-42a2-96db-bea145c9564c and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:26,781] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 2 (__consumer_offsets-3) (reason: Adding new member rdkafka-799e51eb-d63e-42a2-96db-bea145c9564c with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:29,781] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 3 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:29,784] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-799e51eb-d63e-42a2-96db-bea145c9564c for group testgrp for generation 3. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:29,792] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 3 (__consumer_offsets-3) (reason: Removing member rdkafka-799e51eb-d63e-42a2-96db-bea145c9564c on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:29,793] INFO [GroupCoordinator 1]: Group testgrp with generation 4 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:29,794] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-799e51eb-d63e-42a2-96db-bea145c9564c, groupInstanceId=None, clientId=rdkafka, clientHost=/172.17.0.1, sessionTimeoutMs=45000, rebalanceTimeoutMs=300000, supportedProtocols=List(range, roundrobin)) has left group testgrp through explicit `LeaveGroup`; client reason: not provided (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:29,848] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-9d31d4c5-6a48-4622-acb0-271417b48931 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:29,849] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 4 (__consumer_offsets-3) (reason: Adding new member rdkafka-9d31d4c5-6a48-4622-acb0-271417b48931 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:32,850] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 5 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "execute-command-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:configuring Device...." policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "prepare-environment-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:44.521+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:44.525+00:00|INFO|CdsProcessorHandler|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] Processing blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:44.526+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] [OUT|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-apex-pdp | originatorId: "POLICY" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-request" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "hostname" policy-apex-pdp | value { policy-apex-pdp | string_value: "host3u26og" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "IP" policy-apex-pdp | value { policy-apex-pdp | string_value: "10.10.10.10" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "pnfName" policy-apex-pdp | value { policy-apex-pdp | string_value: "demo-pnf" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:44.531+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117684530, "status": "FINAL_SUCCESS", "message": "Successfully processed the VES event. Hostname is updated.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:44.537+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" policy-apex-pdp | requestId: "123456" policy-apex-pdp | subRequestId: "123-123" policy-apex-pdp | originatorId: "CDS" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | status { policy-apex-pdp | code: 200 policy-apex-pdp | message: "success" policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-response" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "execute-command-logs" policy-apex-pdp | value { kafka | [2024-02-28 10:54:32,853] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-9d31d4c5-6a48-4622-acb0-271417b48931 for group testgrp for generation 5. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:32,859] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 5 (__consumer_offsets-3) (reason: Removing member rdkafka-9d31d4c5-6a48-4622-acb0-271417b48931 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:32,859] INFO [GroupCoordinator 1]: Group testgrp with generation 6 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:32,860] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-9d31d4c5-6a48-4622-acb0-271417b48931, groupInstanceId=None, clientId=rdkafka, clientHost=/172.17.0.1, sessionTimeoutMs=45000, rebalanceTimeoutMs=300000, supportedProtocols=List(range, roundrobin)) has left group testgrp through explicit `LeaveGroup`; client reason: not provided (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:34,126] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group apex-grp2 in Empty state. Created a new member id consumer-apex-grp2-4-687fba26-bea1-4d6e-ac21-0c015bdfa491 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:34,127] INFO [GroupCoordinator 1]: Preparing to rebalance group apex-grp2 in state PreparingRebalance with old generation 0 (__consumer_offsets-8) (reason: Adding new member consumer-apex-grp2-4-687fba26-bea1-4d6e-ac21-0c015bdfa491 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:37,128] INFO [GroupCoordinator 1]: Stabilized group apex-grp2 generation 1 (__consumer_offsets-8) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:37,132] INFO [GroupCoordinator 1]: Assignment received from leader consumer-apex-grp2-4-687fba26-bea1-4d6e-ac21-0c015bdfa491 for group apex-grp2 for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:39,418] INFO Creating topic apex-cl-mgt2 with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) kafka | [2024-02-28 10:54:39,427] INFO [Controller id=1] New topics: [HashSet(apex-cl-mgt2)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(apex-cl-mgt2,Some(yjs81SGqSCG35Pb2RdbqOw),Map(apex-cl-mgt2-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) kafka | [2024-02-28 10:54:39,427] INFO [Controller id=1] New partition creation callback for apex-cl-mgt2-0 (kafka.controller.KafkaController) kafka | [2024-02-28 10:54:39,427] INFO [Controller id=1 epoch=1] Changed partition apex-cl-mgt2-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-02-28 10:54:39,427] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:39,428] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt2-0 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-02-28 10:54:39,428] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:39,434] INFO [Controller id=1 epoch=1] Changed partition apex-cl-mgt2-0 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) kafka | [2024-02-28 10:54:39,434] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='apex-cl-mgt2', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition apex-cl-mgt2-0 (state.change.logger) kafka | [2024-02-28 10:54:39,434] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) kafka | [2024-02-28 10:54:39,434] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:39,435] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt2-0 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-02-28 10:54:39,435] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:39,436] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 9 from controller 1 for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:39,436] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='apex-cl-mgt2', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 9 from controller 1 epoch 1 (state.change.logger) kafka | [2024-02-28 10:54:39,437] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 9 from controller 1 epoch 1 starting the become-leader transition for partition apex-cl-mgt2-0 (state.change.logger) kafka | [2024-02-28 10:54:39,437] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(apex-cl-mgt2-0) (kafka.server.ReplicaFetcherManager) kafka | [2024-02-28 10:54:39,437] INFO [Broker id=1] Stopped fetchers as part of LeaderAndIsr request correlationId 9 from controller 1 epoch 1 as part of the become-leader transition for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:39,440] INFO [LogLoader partition=apex-cl-mgt2-0, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) kafka | [2024-02-28 10:54:39,441] INFO Created log for partition apex-cl-mgt2-0 in /var/lib/kafka/data/apex-cl-mgt2-0 with properties {} (kafka.log.LogManager) kafka | [2024-02-28 10:54:39,442] INFO [Partition apex-cl-mgt2-0 broker=1] No checkpointed highwatermark is found for partition apex-cl-mgt2-0 (kafka.cluster.Partition) kafka | [2024-02-28 10:54:39,442] INFO [Partition apex-cl-mgt2-0 broker=1] Log loaded for partition apex-cl-mgt2-0 with initial high watermark 0 (kafka.cluster.Partition) kafka | [2024-02-28 10:54:39,442] INFO [Broker id=1] Leader apex-cl-mgt2-0 with topic id Some(yjs81SGqSCG35Pb2RdbqOw) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) kafka | [2024-02-28 10:54:39,448] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 9 from controller 1 epoch 1 for the become-leader transition for partition apex-cl-mgt2-0 (state.change.logger) kafka | [2024-02-28 10:54:39,448] INFO [Broker id=1] Finished LeaderAndIsr request in 12ms correlationId 9 from controller 1 for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:39,449] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=yjs81SGqSCG35Pb2RdbqOw, partitionErrors=[LeaderAndIsrPartitionError(topicName='', partitionIndex=0, errorCode=0)])]) for request LEADER_AND_ISR with correlation id 9 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:54:39,451] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='apex-cl-mgt2', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition apex-cl-mgt2-0 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 10 (state.change.logger) kafka | [2024-02-28 10:54:39,451] INFO [Broker id=1] Add 1 partitions and deleted 0 partitions from metadata cache in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 10 (state.change.logger) kafka | [2024-02-28 10:54:39,451] TRACE [Controller id=1 epoch=1] Received response UpdateMetadataResponseData(errorCode=0) for request UPDATE_METADATA with correlation id 10 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:54:44,522] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-9a40154a-a91f-42d7-98c7-99ef4c8c8388 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:44,523] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 6 (__consumer_offsets-3) (reason: Adding new member rdkafka-9a40154a-a91f-42d7-98c7-99ef4c8c8388 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:47,524] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 7 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:47,527] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-9a40154a-a91f-42d7-98c7-99ef4c8c8388 for group testgrp for generation 7. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:47,638] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 7 (__consumer_offsets-3) (reason: Removing member rdkafka-9a40154a-a91f-42d7-98c7-99ef4c8c8388 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:47,638] INFO [GroupCoordinator 1]: Group testgrp with generation 8 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:47,639] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-9a40154a-a91f-42d7-98c7-99ef4c8c8388, groupInstanceId=None, clientId=rdkafka, clientHost=/172.17.0.1, sessionTimeoutMs=45000, rebalanceTimeoutMs=300000, supportedProtocols=List(range, roundrobin)) has left group testgrp through explicit `LeaveGroup`; client reason: not provided (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:47,696] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-2a13a602-259b-414d-9b0c-bba472ab629f and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:47,698] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 8 (__consumer_offsets-3) (reason: Adding new member rdkafka-2a13a602-259b-414d-9b0c-bba472ab629f with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:50,699] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 9 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:50,702] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-2a13a602-259b-414d-9b0c-bba472ab629f for group testgrp for generation 9. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:50,710] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 9 (__consumer_offsets-3) (reason: Removing member rdkafka-2a13a602-259b-414d-9b0c-bba472ab629f on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:50,710] INFO [GroupCoordinator 1]: Group testgrp with generation 10 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:50,712] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-2a13a602-259b-414d-9b0c-bba472ab629f, groupInstanceId=None, clientId=rdkafka, clientHost=/172.17.0.1, sessionTimeoutMs=45000, rebalanceTimeoutMs=300000, supportedProtocols=List(range, roundrobin)) has left group testgrp through explicit `LeaveGroup`; client reason: not provided (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:50,763] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-7b67da30-1433-4dcf-be57-9f33f88ec513 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:50,764] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 10 (__consumer_offsets-3) (reason: Adding new member rdkafka-7b67da30-1433-4dcf-be57-9f33f88ec513 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:53,765] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 11 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:53,768] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-7b67da30-1433-4dcf-be57-9f33f88ec513 for group testgrp for generation 11. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:53,775] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 11 (__consumer_offsets-3) (reason: Removing member rdkafka-7b67da30-1433-4dcf-be57-9f33f88ec513 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:53,775] INFO [GroupCoordinator 1]: Group testgrp with generation 12 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:53,776] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-7b67da30-1433-4dcf-be57-9f33f88ec513, groupInstanceId=None, clientId=rdkafka, clientHost=/172.17.0.1, sessionTimeoutMs=45000, rebalanceTimeoutMs=300000, supportedProtocols=List(range, roundrobin)) has left group testgrp through explicit `LeaveGroup`; client reason: not provided (kafka.coordinator.group.GroupCoordinator) kafka | [2024-02-28 10:54:56,213] INFO Creating topic unauthenticated.dcae_policy_example_output with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) kafka | [2024-02-28 10:54:56,223] INFO [Controller id=1] New topics: [HashSet(unauthenticated.dcae_policy_example_output)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(unauthenticated.dcae_policy_example_output,Some(P2DqfwMvQgmwJYuHHth0Cw),Map(unauthenticated.dcae_policy_example_output-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) kafka | [2024-02-28 10:54:56,223] INFO [Controller id=1] New partition creation callback for unauthenticated.dcae_policy_example_output-0 (kafka.controller.KafkaController) kafka | [2024-02-28 10:54:56,223] INFO [Controller id=1 epoch=1] Changed partition unauthenticated.dcae_policy_example_output-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-02-28 10:54:56,223] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:56,224] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition unauthenticated.dcae_policy_example_output-0 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-02-28 10:54:56,224] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:56,231] INFO [Controller id=1 epoch=1] Changed partition unauthenticated.dcae_policy_example_output-0 from NewPartition to OnlinePartition with state LeaderAndIsr(leader=1, leaderEpoch=0, isrWithBrokerEpoch=List(BrokerState(brokerId=1, brokerEpoch=-1)), leaderRecoveryState=RECOVERED, partitionEpoch=0) (state.change.logger) kafka | [2024-02-28 10:54:56,231] TRACE [Controller id=1 epoch=1] Sending become-leader LeaderAndIsr request LeaderAndIsrPartitionState(topicName='unauthenticated.dcae_policy_example_output', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) to broker 1 for partition unauthenticated.dcae_policy_example_output-0 (state.change.logger) kafka | [2024-02-28 10:54:56,231] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) kafka | [2024-02-28 10:54:56,232] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:56,232] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition unauthenticated.dcae_policy_example_output-0 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-02-28 10:54:56,232] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-02-28 10:54:56,232] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 11 from controller 1 for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:56,232] TRACE [Broker id=1] Received LeaderAndIsr request LeaderAndIsrPartitionState(topicName='unauthenticated.dcae_policy_example_output', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], partitionEpoch=0, replicas=[1], addingReplicas=[], removingReplicas=[], isNew=true, leaderRecoveryState=0) correlation id 11 from controller 1 epoch 1 (state.change.logger) kafka | [2024-02-28 10:54:56,233] TRACE [Broker id=1] Handling LeaderAndIsr request correlationId 11 from controller 1 epoch 1 starting the become-leader transition for partition unauthenticated.dcae_policy_example_output-0 (state.change.logger) kafka | [2024-02-28 10:54:56,233] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(unauthenticated.dcae_policy_example_output-0) (kafka.server.ReplicaFetcherManager) kafka | [2024-02-28 10:54:56,233] INFO [Broker id=1] Stopped fetchers as part of LeaderAndIsr request correlationId 11 from controller 1 epoch 1 as part of the become-leader transition for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:56,237] INFO [LogLoader partition=unauthenticated.dcae_policy_example_output-0, dir=/var/lib/kafka/data] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$) kafka | [2024-02-28 10:54:56,238] INFO Created log for partition unauthenticated.dcae_policy_example_output-0 in /var/lib/kafka/data/unauthenticated.dcae_policy_example_output-0 with properties {} (kafka.log.LogManager) kafka | [2024-02-28 10:54:56,239] INFO [Partition unauthenticated.dcae_policy_example_output-0 broker=1] No checkpointed highwatermark is found for partition unauthenticated.dcae_policy_example_output-0 (kafka.cluster.Partition) kafka | [2024-02-28 10:54:56,239] INFO [Partition unauthenticated.dcae_policy_example_output-0 broker=1] Log loaded for partition unauthenticated.dcae_policy_example_output-0 with initial high watermark 0 (kafka.cluster.Partition) kafka | [2024-02-28 10:54:56,239] INFO [Broker id=1] Leader unauthenticated.dcae_policy_example_output-0 with topic id Some(P2DqfwMvQgmwJYuHHth0Cw) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) kafka | [2024-02-28 10:54:56,242] TRACE [Broker id=1] Completed LeaderAndIsr request correlationId 11 from controller 1 epoch 1 for the become-leader transition for partition unauthenticated.dcae_policy_example_output-0 (state.change.logger) kafka | [2024-02-28 10:54:56,243] INFO [Broker id=1] Finished LeaderAndIsr request in 11ms correlationId 11 from controller 1 for 1 partitions (state.change.logger) kafka | [2024-02-28 10:54:56,243] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=P2DqfwMvQgmwJYuHHth0Cw, partitionErrors=[LeaderAndIsrPartitionError(topicName='', partitionIndex=0, errorCode=0)])]) for request LEADER_AND_ISR with correlation id 11 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) kafka | [2024-02-28 10:54:56,244] TRACE [Broker id=1] Cached leader info UpdateMetadataPartitionState(topicName='unauthenticated.dcae_policy_example_output', partitionIndex=0, controllerEpoch=1, leader=1, leaderEpoch=0, isr=[1], zkVersion=0, replicas=[1], offlineReplicas=[]) for partition unauthenticated.dcae_policy_example_output-0 in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 12 (state.change.logger) kafka | [2024-02-28 10:54:56,244] INFO [Broker id=1] Add 1 partitions and deleted 0 partitions from metadata cache in response to UpdateMetadata request sent by controller 1 epoch 1 with correlation id 12 (state.change.logger) kafka | [2024-02-28 10:54:56,245] TRACE [Controller id=1 epoch=1] Received response UpdateMetadataResponseData(errorCode=0) for request UPDATE_METADATA with correlation id 12 sent to broker kafka:9092 (id: 1 rack: null) (state.change.logger) policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:configuring Device...." policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "prepare-environment-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:44.537+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:44.547+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:1] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117684545, "status": "FINAL_SUCCESS", "message": "Successfully processed the VES event. Hostname is updated.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop2", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:53.811+00:00|INFO|RequestLog|qtp1068445309-26] 172.17.0.1 - policyadmin [28/Feb/2024:10:54:53 +0000] "GET /metrics?null HTTP/1.1" 200 23782 "-" "python-requests/2.27.1" policy-apex-pdp | [2024-02-28T10:54:53.849+00:00|INFO|RequestLog|qtp1068445309-27] 172.17.0.1 - policyadmin [28/Feb/2024:10:54:53 +0000] "GET /policy/apex-pdp/v1/healthcheck?null HTTP/1.1" 200 109 "-" "python-requests/2.27.1" policy-apex-pdp | [2024-02-28T10:54:54.516+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:2] HandleVesEventTask processing VES event - {"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1597953057126, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}} policy-apex-pdp | [2024-02-28T10:54:54.516+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:2] HandleVesEventTask storing context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117694516, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} policy-apex-pdp | [2024-02-28T10:54:54.517+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] HandleVesEventTask processing VES event - {"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1597953057126, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}} policy-apex-pdp | [2024-02-28T10:54:54.518+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:2] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117694517, "status": "ACTIVE", "message": "VES event has been received. Going to fetch details from AAI.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop2", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:54.518+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] HandleVesEventTask storing context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117694517, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} policy-apex-pdp | [2024-02-28T10:54:54.519+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117694518, "status": "ACTIVE", "message": "VES event has been received. Going to fetch details from AAI.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:54.520+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", policy-apex-pdp | "version": "0.0.1", policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", policy-apex-pdp | "source": "APEX", policy-apex-pdp | "target": "AAI", policy-apex-pdp | "toscaPolicyState": "", policy-apex-pdp | "aaifield": null policy-apex-pdp | } policy-apex-pdp | [2024-02-28T10:54:54.522+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", policy-apex-pdp | "version": "0.0.1", policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", policy-apex-pdp | "source": "APEX", policy-apex-pdp | "target": "AAI", policy-apex-pdp | "toscaPolicyState": "", policy-apex-pdp | "aaifield": null policy-apex-pdp | } policy-apex-pdp | [2024-02-28T10:54:54.532+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] policy-apex-pdp | { policy-apex-pdp | "equip-vendor":"Vendor-A", policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", policy-apex-pdp | "in-maint":false, policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", policy-apex-pdp | "resource-version":"1570746989505", policy-apex-pdp | "nf-role":"ToR DC101", policy-apex-pdp | "equip-type":"Router", policy-apex-pdp | "equip-model":"model-123456", policy-apex-pdp | "frame-id":"3", policy-apex-pdp | "pnf-name":"demo-pnf" policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:54.532+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] policy-apex-pdp | { policy-apex-pdp | "equip-vendor":"Vendor-A", policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", policy-apex-pdp | "in-maint":false, policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", policy-apex-pdp | "resource-version":"1570746989505", policy-apex-pdp | "nf-role":"ToR DC101", policy-apex-pdp | "equip-type":"Router", policy-apex-pdp | "equip-model":"model-123456", policy-apex-pdp | "frame-id":"3", policy-apex-pdp | "pnf-name":"demo-pnf" policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:54.538+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] HandleAAISuccessResponseTask extracted context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117694517, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": null, "generatedHostname": null} policy-apex-pdp | [2024-02-28T10:54:54.542+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] [{actionIdentifiers={"actionName": "update-config", "blueprintName": "controlloop-hostname-update", "blueprintVersion": "1.0.4", "mode": "sync"}, commonHeader={"originatorId": "POLICY", "requestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "subRequestId": "927b2580-36d9-4f13-8421-3c9d43b7a57e"}, payload={update_DasH_config_DasH_request={"hostname": "host5v157p", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117694540, "status": "SUCCESS", "message": "Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:54.547+00:00|INFO|CdsProcessorHandler|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] Processing blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:54.548+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-apex-pdp | originatorId: "POLICY" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-request" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "hostname" policy-apex-pdp | value { policy-apex-pdp | string_value: "host5v157p" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "IP" policy-apex-pdp | value { policy-apex-pdp | string_value: "10.10.10.10" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "pnfName" policy-apex-pdp | value { policy-apex-pdp | string_value: "demo-pnf" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:54.553+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:3] HandleAAISuccessResponseTask extracted context album - 927b2580-36d9-4f13-8421-3c9d43b7a57e::{"commonEventHeader": {"domain": "other", "eventId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "eventName": "Report hostname & IP", "lastEpochMicrosec": 1597952499468, "priority": "Normal", "reportingEntityName": "DCAE", "sequence": 1, "sourceId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "sourceName": "demo-pnf", "startEpochMicrosec": 1709117694517, "version": "4.0.1", "internalHeaderFields": {}, "vesEventListenerVersion": "7.1"}, "otherFields": {"hashMap": {"hostname": "UNDEFINED", "pnfName": "demo-pnf", "pnfId": "927b2580-36d9-4f13-8421-3c9d43b7a57e", "ip": "10.101.200.10"}, "otherFieldsVersion": "3.0"}, "target": {"targetType": "PNF", "entityInfo": {"name": "demo-pnf"}}, "generatedHostname": "host5v157p"} policy-apex-pdp | [2024-02-28T10:54:54.560+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" policy-apex-pdp | requestId: "123456" policy-apex-pdp | subRequestId: "123-123" policy-apex-pdp | originatorId: "CDS" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | status { policy-apex-pdp | code: 200 policy-apex-pdp | message: "success" policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-response" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "execute-command-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:configuring Device...." policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "prepare-environment-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:54.561+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:54.561+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:3] [{actionIdentifiers={"actionName": "update-config", "blueprintName": "controlloop-hostname-update", "blueprintVersion": "1.0.4", "mode": "sync"}, commonHeader={"originatorId": "POLICY", "requestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", "subRequestId": "927b2580-36d9-4f13-8421-3c9d43b7a57e"}, payload={update_DasH_config_DasH_request={"hostname": "hostwgwus4", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117694559, "status": "SUCCESS", "message": "Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop2", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:54.575+00:00|INFO|CdsProcessorHandler|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] Processing blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:54.575+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] [OUT|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-apex-pdp | originatorId: "POLICY" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-request" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "hostname" policy-apex-pdp | value { policy-apex-pdp | string_value: "hostwgwus4" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "IP" policy-apex-pdp | value { policy-apex-pdp | string_value: "10.10.10.10" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "pnfName" policy-apex-pdp | value { policy-apex-pdp | string_value: "demo-pnf" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:54.582+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117694581, "status": "FINAL_SUCCESS", "message": "Successfully processed the VES event. Hostname is updated.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:54.585+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] policy-apex-pdp | commonHeader { policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" policy-apex-pdp | requestId: "123456" policy-apex-pdp | subRequestId: "123-123" policy-apex-pdp | originatorId: "CDS" policy-apex-pdp | } policy-apex-pdp | actionIdentifiers { policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-apex-pdp | blueprintVersion: "1.0.4" policy-apex-pdp | actionName: "update-config" policy-apex-pdp | mode: "sync" policy-apex-pdp | } policy-apex-pdp | status { policy-apex-pdp | code: 200 policy-apex-pdp | message: "success" policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" policy-apex-pdp | } policy-apex-pdp | payload { policy-apex-pdp | fields { policy-apex-pdp | key: "update-config-response" policy-apex-pdp | value { policy-apex-pdp | struct_value { policy-apex-pdp | fields { policy-apex-pdp | key: "execute-command-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:configuring Device...." policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount" policy-apex-pdp | } policy-apex-pdp | values { policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | fields { policy-apex-pdp | key: "prepare-environment-logs" policy-apex-pdp | value { policy-apex-pdp | list_value { policy-apex-pdp | values { policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | } policy-apex-pdp | policy-apex-pdp | [2024-02-28T10:54:54.586+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-apex-pdp | [2024-02-28T10:54:54.594+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1709117694593, "status": "FINAL_SUCCESS", "message": "Successfully processed the VES event. Hostname is updated.", "artifacts": {"policyName": "onap.policies.apex.Simplecontrolloop2", "policyVersion": "1.0.0"}}, id=8c7935a4-79d8-4ec0-b661-dcca3cd68006, otherFields={"useCaseName": "simple-controlloop-usecase"}, target={"targetType": "PNF", "entityInfo": {"pnf_DasH_name": "demo-pnf"}}}] policy-apex-pdp | [2024-02-28T10:54:55.147+00:00|INFO|RequestLog|qtp330283164-56] 172.17.0.1 - - [28/Feb/2024:10:54:55 +0000] "PUT /apex/FirstConsumer/EventIn HTTP/1.1" 200 588 "-" "python-requests/2.27.1" policy-apex-pdp | [2024-02-28T10:54:56.088+00:00|INFO|RequestLog|qtp1068445309-31] 172.17.0.2 - policyadmin [28/Feb/2024:10:54:56 +0000] "GET /metrics HTTP/1.1" 200 24774 "-" "Prometheus/2.50.1" policy-apex-pdp | [2024-02-28T10:55:56.085+00:00|INFO|RequestLog|qtp1068445309-28] 172.17.0.2 - policyadmin [28/Feb/2024:10:55:56 +0000] "GET /metrics HTTP/1.1" 200 24778 "-" "Prometheus/2.50.1" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-apex-pdp ... Stopping policy-pap ... Stopping policy-api ... Stopping kafka ... Stopping grafana ... Stopping simulator ... Stopping mariadb ... Stopping prometheus ... Stopping compose_zookeeper_1 ... Stopping grafana ... done Stopping prometheus ... done Stopping policy-apex-pdp ... done Stopping simulator ... done Stopping policy-pap ... done Stopping mariadb ... done Stopping kafka ... done Stopping compose_zookeeper_1 ... done Stopping policy-api ... done Removing policy-apex-pdp ... Removing policy-pap ... Removing policy-api ... Removing kafka ... Removing grafana ... Removing policy-db-migrator ... Removing simulator ... Removing mariadb ... Removing prometheus ... Removing compose_zookeeper_1 ... Removing compose_zookeeper_1 ... done Removing policy-apex-pdp ... done Removing policy-db-migrator ... done Removing simulator ... done Removing kafka ... done Removing prometheus ... done Removing policy-api ... done Removing grafana ... done Removing policy-pap ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.SyOmmCuGnM ]] + rsync -av /tmp/tmp.SyOmmCuGnM/ /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/archives/apex-pdp sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,727,527 bytes received 95 bytes 3,455,244.00 bytes/sec total size is 1,726,781 speedup is 1.00 + rm -rf /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2158 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins9906794384842033528.sh ---> sysstat.sh [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins3045447903487852939.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' + mkdir -p /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/archives/ [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins9850921968082500541.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-c9m6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-c9m6/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins3020664638612833547.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp@tmp/config1735954074882699902tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins9279124135019019896.sh ---> create-netrc.sh [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins3192211065978769398.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-c9m6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-c9m6/bin to PATH [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins17158426083905373513.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins11182575425188976971.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-c9m6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-c9m6/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash -l /tmp/jenkins49815767410120624.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-c9m6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-c9m6/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-apex-pdp-master-project-csit-verify-apex-pdp/511 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-9420 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 14G 142G 9% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 865 25088 0 6212 30845 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:84:2f:d6 brd ff:ff:ff:ff:ff:ff inet 10.30.107.247/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85832sec preferred_lft 85832sec inet6 fe80::f816:3eff:fe84:2fd6/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:97:a5:43:70 brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-9420) 02/28/24 _x86_64_ (8 CPU) 10:48:16 LINUX RESTART (8 CPU) 10:49:01 tps rtps wtps bread/s bwrtn/s 10:50:01 210.52 39.59 170.93 1792.71 17499.32 10:51:01 114.20 13.83 100.37 1123.81 22665.96 10:52:01 125.83 9.53 116.30 1677.85 53438.83 10:53:01 141.76 0.08 141.68 7.73 96356.61 10:54:01 308.28 12.95 295.33 794.10 22837.34 10:55:01 17.71 0.00 17.71 0.00 11156.56 10:56:01 10.21 0.02 10.20 0.53 10878.85 10:57:01 69.41 1.33 68.07 104.78 14265.04 Average: 124.75 9.67 115.08 687.81 31135.19 10:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:50:01 30174612 31731656 2764608 8.39 66720 1802456 1387624 4.08 839592 1638744 143364 10:51:01 29828128 31702616 3111092 9.44 85096 2085864 1419392 4.18 882732 1909112 142828 10:52:01 26806260 31653880 6132960 18.62 131316 4890276 1445452 4.25 1024652 4626764 1679636 10:53:01 25781608 31657784 7157612 21.73 140684 5863740 1478220 4.35 1034508 5598940 39776 10:54:01 23372684 29415988 9566536 29.04 156728 5994628 8988460 26.45 3454992 5506660 1928 10:55:01 23111396 29163340 9827824 29.84 157168 6001924 9257476 27.24 3722628 5496148 1580 10:56:01 23100932 29154864 9838288 29.87 157288 6003620 9305864 27.38 3729588 5496940 896 10:57:01 25688052 31579336 7251168 22.01 160164 5856648 1547316 4.55 1358388 5351104 42236 Average: 25982959 30757433 6956261 21.12 131896 4812394 4353726 12.81 2005885 4453052 256530 10:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:50:01 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 10:50:01 ens3 132.00 91.21 973.72 30.04 0.00 0.00 0.00 0.00 10:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:51:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 10:51:01 ens3 54.84 39.78 762.56 8.06 0.00 0.00 0.00 0.00 10:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:52:01 lo 10.13 10.13 1.00 1.00 0.00 0.00 0.00 0.00 10:52:01 ens3 750.79 378.69 21039.64 29.07 0.00 0.00 0.00 0.00 10:52:01 br-34c0b2308c76 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:53:01 lo 2.33 2.33 0.21 0.21 0.00 0.00 0.00 0.00 10:53:01 ens3 303.88 151.96 10516.31 10.65 0.00 0.00 0.00 0.00 10:53:01 br-34c0b2308c76 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:54:01 veth19bf187 15.86 12.93 2.48 10.39 0.00 0.00 0.00 0.00 10:54:01 veth23a4d31 9.77 11.10 1.33 1.43 0.00 0.00 0.00 0.00 10:54:01 veth4cbd899 16.90 19.11 2.22 2.34 0.00 0.00 0.00 0.00 10:54:01 lo 3.40 3.40 9.31 9.31 0.00 0.00 0.00 0.00 10:55:01 veth19bf187 91.47 79.41 26.66 135.44 0.00 0.00 0.00 0.01 10:55:01 veth23a4d31 1.13 1.42 0.17 0.19 0.00 0.00 0.00 0.00 10:55:01 veth4cbd899 31.16 26.42 24.28 10.70 0.00 0.00 0.00 0.00 10:55:01 lo 18.24 18.24 27.89 27.89 0.00 0.00 0.00 0.00 10:56:01 veth19bf187 7.08 10.00 1.60 0.83 0.00 0.00 0.00 0.00 10:56:01 veth23a4d31 0.17 0.37 0.01 0.03 0.00 0.00 0.00 0.00 10:56:01 veth4cbd899 24.53 18.68 1.94 2.55 0.00 0.00 0.00 0.00 10:56:01 lo 8.23 8.23 0.55 0.55 0.00 0.00 0.00 0.00 10:57:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 10:57:01 ens3 1529.05 886.64 33975.96 197.96 0.00 0.00 0.00 0.00 10:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.76 5.76 4.92 4.92 0.00 0.00 0.00 0.00 Average: ens3 166.23 91.56 4171.21 20.58 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-9420) 02/28/24 _x86_64_ (8 CPU) 10:48:16 LINUX RESTART (8 CPU) 10:49:01 CPU %user %nice %system %iowait %steal %idle 10:50:01 all 8.49 0.00 0.83 4.52 0.03 86.14 10:50:01 0 1.58 0.00 0.43 0.08 0.02 97.88 10:50:01 1 15.49 0.00 0.85 2.38 0.03 81.25 10:50:01 2 15.77 0.00 1.62 22.72 0.03 59.86 10:50:01 3 15.31 0.00 1.09 0.72 0.02 82.87 10:50:01 4 4.18 0.00 0.60 0.33 0.02 94.87 10:50:01 5 1.70 0.00 0.33 3.91 0.05 94.01 10:50:01 6 5.39 0.00 0.48 0.85 0.03 93.25 10:50:01 7 8.49 0.00 1.17 5.16 0.03 85.15 10:51:01 all 9.45 0.00 0.64 3.69 0.03 86.19 10:51:01 0 4.40 0.00 0.43 0.57 0.02 94.58 10:51:01 1 4.84 0.00 0.40 0.20 0.00 94.56 10:51:01 2 4.96 0.00 0.48 13.26 0.03 81.27 10:51:01 3 22.35 0.00 1.04 3.52 0.05 73.04 10:51:01 4 11.20 0.00 0.73 0.92 0.02 87.13 10:51:01 5 0.63 0.00 0.23 3.80 0.03 95.30 10:51:01 6 4.94 0.00 0.25 0.30 0.00 94.51 10:51:01 7 22.40 0.00 1.57 7.02 0.07 68.94 10:52:01 all 10.73 0.00 4.03 6.53 0.08 78.64 10:52:01 0 9.45 0.00 4.91 28.88 0.07 56.68 10:52:01 1 12.44 0.00 3.82 2.16 0.17 81.42 10:52:01 2 10.84 0.00 3.43 10.35 0.07 75.31 10:52:01 3 12.08 0.00 3.15 4.16 0.08 80.52 10:52:01 4 11.66 0.00 4.34 0.25 0.07 83.67 10:52:01 5 10.88 0.00 4.51 1.22 0.07 83.32 10:52:01 6 10.68 0.00 4.37 0.05 0.07 84.83 10:52:01 7 7.75 0.00 3.68 5.21 0.07 83.29 10:53:01 all 3.67 0.00 1.75 13.24 0.03 81.31 10:53:01 0 3.83 0.00 2.85 40.07 0.05 53.21 10:53:01 1 3.59 0.00 1.73 22.04 0.03 72.61 10:53:01 2 4.23 0.00 1.71 1.46 0.05 92.55 10:53:01 3 3.18 0.00 1.60 0.20 0.02 95.01 10:53:01 4 3.26 0.00 1.78 24.10 0.03 70.82 10:53:01 5 2.97 0.00 1.61 17.01 0.03 78.37 10:53:01 6 5.15 0.00 0.94 0.10 0.02 93.79 10:53:01 7 3.12 0.00 1.77 0.83 0.03 94.25 10:54:01 all 28.52 0.00 3.96 4.68 0.11 62.73 10:54:01 0 25.26 0.00 4.08 1.96 0.08 68.62 10:54:01 1 32.20 0.00 4.66 6.98 0.12 56.04 10:54:01 2 30.91 0.00 4.14 9.75 0.10 55.10 10:54:01 3 23.30 0.00 3.81 10.53 0.12 62.25 10:54:01 4 25.62 0.00 3.50 2.62 0.08 68.18 10:54:01 5 33.12 0.00 3.63 2.89 0.10 60.25 10:54:01 6 27.10 0.00 3.65 0.96 0.10 68.20 10:54:01 7 30.78 0.00 4.18 1.82 0.13 63.08 10:55:01 all 8.59 0.00 0.94 0.91 0.07 89.48 10:55:01 0 7.83 0.00 0.92 0.03 0.07 91.15 10:55:01 1 8.26 0.00 0.85 0.05 0.08 90.76 10:55:01 2 8.50 0.00 0.75 0.07 0.07 90.61 10:55:01 3 8.32 0.00 1.07 6.83 0.07 83.72 10:55:01 4 7.33 0.00 0.82 0.00 0.07 91.78 10:55:01 5 9.33 0.00 0.97 0.28 0.07 89.35 10:55:01 6 9.41 0.00 1.09 0.05 0.08 89.37 10:55:01 7 9.78 0.00 1.05 0.00 0.08 89.08 10:56:01 all 1.39 0.00 0.36 0.94 0.07 97.24 10:56:01 0 1.22 0.00 0.37 0.00 0.10 98.31 10:56:01 1 0.89 0.00 0.45 0.03 0.08 98.54 10:56:01 2 1.40 0.00 0.40 0.00 0.05 98.14 10:56:01 3 2.06 0.00 0.39 7.32 0.07 90.17 10:56:01 4 1.29 0.00 0.28 0.08 0.05 98.30 10:56:01 5 2.18 0.00 0.27 0.12 0.07 97.37 10:56:01 6 1.05 0.00 0.38 0.02 0.07 98.48 10:56:01 7 1.04 0.00 0.30 0.00 0.05 98.61 10:57:01 all 5.28 0.00 0.74 2.25 0.05 91.69 10:57:01 0 7.44 0.00 0.79 2.41 0.03 89.33 10:57:01 1 4.11 0.00 0.67 0.18 0.07 94.97 10:57:01 2 2.37 0.00 0.67 1.19 0.05 95.72 10:57:01 3 4.14 0.00 0.62 13.31 0.05 81.88 10:57:01 4 18.04 0.00 1.15 0.47 0.05 80.28 10:57:01 5 1.65 0.00 0.62 0.12 0.03 97.58 10:57:01 6 3.29 0.00 0.65 0.33 0.07 95.66 10:57:01 7 1.23 0.00 0.75 0.03 0.03 97.95 Average: all 9.50 0.00 1.65 4.59 0.06 84.20 Average: 0 7.61 0.00 1.84 9.21 0.05 81.28 Average: 1 10.20 0.00 1.67 4.24 0.07 83.82 Average: 2 9.85 0.00 1.64 7.35 0.06 81.10 Average: 3 11.34 0.00 1.60 5.82 0.06 81.18 Average: 4 10.32 0.00 1.65 3.58 0.05 84.40 Average: 5 7.77 0.00 1.51 3.67 0.06 86.99 Average: 6 8.36 0.00 1.47 0.33 0.05 89.78 Average: 7 10.56 0.00 1.80 2.50 0.06 85.07