Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/docker/+/137060 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-14305 (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-uaFSGlDBgKrN/agent.2113 SSH_AGENT_PID=2115 [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_15539762250796547180.key (/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp@tmp/private_key_15539762250796547180.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/60/137060/4 # timeout=30 > git rev-parse 31c61d495474985b8cc3460464f888651d0919ed^{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 31c61d495474985b8cc3460464f888651d0919ed (refs/changes/60/137060/4) > git config core.sparsecheckout # timeout=10 > git checkout -f 31c61d495474985b8cc3460464f888651d0919ed # timeout=30 Commit message: "Add kafka support in K8s CSIT" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk caa7adc30ed054d2a5cfea4a1b9a265d5cfb6785 # 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/jenkins15510965276370359256.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-kwJj 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-kwJj/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-kwJj/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.23 botocore==1.34.23 bs4==0.0.2 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 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.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.4 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.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.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 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.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 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.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 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/jenkins3184482496415151541.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/jenkins12828957052764780090.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.jPx8TLCF6E ++ echo ROBOT_VENV=/tmp/tmp.jPx8TLCF6E +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.jPx8TLCF6E ++ source /tmp/tmp.jPx8TLCF6E/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.jPx8TLCF6E +++ 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.jPx8TLCF6E/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.jPx8TLCF6E) ' '!=' x ']' +++ PS1='(tmp.jPx8TLCF6E) ' +++ 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==2023.11.17 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.jPx8TLCF6E/src/onap ++ rm -rf /tmp/tmp.jPx8TLCF6E/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==2023.11.17 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==0.18.3 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.jPx8TLCF6E/bin/activate + '[' -z /tmp/tmp.jPx8TLCF6E/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.jPx8TLCF6E/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.jPx8TLCF6E ++ 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.jPx8TLCF6E/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.jPx8TLCF6E) ' ++ '[' 'x(tmp.jPx8TLCF6E) ' '!=' x ']' ++ PS1='(tmp.jPx8TLCF6E) (tmp.jPx8TLCF6E) ' ++ 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.2JIdXhmFAK + cd /tmp/tmp.2JIdXhmFAK + 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:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 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:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 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.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-models-simulator Digest: sha256:09b9abb94ede918d748d5f6ffece2e7592c9941527c37f3d00df286ee158ae05 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-models-simulator:3.1.1-SNAPSHOT Pulling zookeeper (confluentinc/cp-zookeeper:latest)... latest: Pulling from confluentinc/cp-zookeeper Digest: sha256:000f1d11090f49fa8f67567e633bab4fea5dbd7d9119e7ee2ef259c509063593 Status: Downloaded newer image for confluentinc/cp-zookeeper:latest Pulling kafka (confluentinc/cp-kafka:latest)... latest: Pulling from confluentinc/cp-kafka Digest: sha256:51145a40d23336a11085ca695d02bdeee66fe01b582837c6d223384952226be9 Status: Downloaded newer image for confluentinc/cp-kafka:latest Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:eb47623eeab9aad8524ecc877b6708ae74b57f9f3cfe77554ad0d1521491cb5d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:bbf3044dd101de99d940093be953f041397d02b2f17a70f8da7719c160735c2e Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.1-SNAPSHOT Pulling pap (nexus3.onap.org:10001/onap/policy-pap:3.1.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-pap Digest: sha256:8a0432281bb5edb6d25e3d0e62d78b6aebc2875f52ecd11259251b497208c04e Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-pap:3.1.1-SNAPSHOT Pulling apex-pdp (nexus3.onap.org:10001/onap/policy-apex-pdp:3.1.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-apex-pdp Digest: sha256:0fdae8f3a73915cdeb896f38ac7d5b74e658832fd10929dcf3fe68219098b89b Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-apex-pdp:3.1.1-SNAPSHOT Creating mariadb ... Creating compose_zookeeper_1 ... Creating simulator ... Creating prometheus ... Creating compose_zookeeper_1 ... done Creating kafka ... Creating mariadb ... done Creating policy-db-migrator ... Creating prometheus ... done Creating grafana ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating grafana ... done Creating kafka ... done Creating policy-pap ... Creating policy-pap ... done Creating simulator ... 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 12 seconds policy-api Up 15 seconds grafana Up 14 seconds kafka Up 13 seconds prometheus Up 17 seconds simulator Up 11 seconds compose_zookeeper_1 Up 19 seconds mariadb Up 18 seconds NAMES STATUS policy-apex-pdp Up 15 seconds policy-pap Up 17 seconds policy-api Up 20 seconds grafana Up 19 seconds kafka Up 18 seconds prometheus Up 22 seconds simulator Up 16 seconds compose_zookeeper_1 Up 24 seconds mariadb Up 23 seconds NAMES STATUS policy-apex-pdp Up 20 seconds policy-pap Up 22 seconds policy-api Up 25 seconds grafana Up 24 seconds kafka Up 23 seconds prometheus Up 27 seconds simulator Up 21 seconds compose_zookeeper_1 Up 29 seconds mariadb Up 28 seconds NAMES STATUS policy-apex-pdp Up 25 seconds policy-pap Up 27 seconds policy-api Up 30 seconds grafana Up 29 seconds kafka Up 28 seconds prometheus Up 32 seconds simulator Up 26 seconds compose_zookeeper_1 Up 34 seconds mariadb Up 33 seconds NAMES STATUS policy-apex-pdp Up 30 seconds policy-pap Up 32 seconds policy-api Up 35 seconds grafana Up 34 seconds kafka Up 33 seconds prometheus Up 37 seconds simulator Up 31 seconds compose_zookeeper_1 Up 39 seconds mariadb Up 38 seconds NAMES STATUS policy-apex-pdp Up 35 seconds policy-pap Up 37 seconds policy-api Up 40 seconds grafana Up 39 seconds kafka Up 38 seconds prometheus Up 42 seconds simulator Up 36 seconds compose_zookeeper_1 Up 44 seconds mariadb 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 37 seconds policy-api Up 40 seconds grafana Up 39 seconds kafka Up 38 seconds prometheus Up 42 seconds simulator Up 36 seconds compose_zookeeper_1 Up 44 seconds mariadb 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 ++ 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 + 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 - 15:04:33 up 5 min, 0 users, load average: 3.10, 1.57, 0.65 Tasks: 203 total, 1 running, 131 sleeping, 0 stopped, 0 zombie %Cpu(s): 12.0 us, 2.6 sy, 0.0 ni, 79.4 id, 5.8 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.8G 22G 1.3M 6.5G 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 40 seconds grafana Up 39 seconds kafka Up 39 seconds prometheus Up 42 seconds simulator Up 36 seconds compose_zookeeper_1 Up 44 seconds mariadb Up 43 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 6de63e19261e policy-apex-pdp 12.25% 188MiB / 31.41GiB 0.58% 9.38kB / 9.44kB 0B / 0B 49 aa6558ab4c66 policy-pap 39.82% 532MiB / 31.41GiB 1.65% 30.4kB / 33.2kB 0B / 180MB 61 383e4fcf4961 policy-api 0.14% 512.7MiB / 31.41GiB 1.59% 999kB / 710kB 0B / 0B 52 c15675f755c5 grafana 0.06% 54.15MiB / 31.41GiB 0.17% 20.3kB / 3.53kB 0B / 23.9MB 14 4d2f58024a80 kafka 0.59% 387.8MiB / 31.41GiB 1.21% 72.8kB / 74.1kB 0B / 508kB 81 35cdb833f737 prometheus 0.00% 18.95MiB / 31.41GiB 0.06% 1.27kB / 0B 98.3kB / 0B 12 5747bb9ef4bc simulator 0.10% 123.7MiB / 31.41GiB 0.38% 1.1kB / 0B 0B / 0B 76 acbd8262b047 compose_zookeeper_1 0.13% 97.94MiB / 31.41GiB 0.30% 57.9kB / 52kB 4.1kB / 401kB 60 e63f3fdebb5e mariadb 0.02% 101MiB / 31.41GiB 0.31% 995kB / 1.19MB 11MB / 68.2MB 36 + echo + cd /tmp/tmp.2JIdXhmFAK + echo 'Reading the testplan:' Reading the testplan: + echo 'apex-pdp-test.robot apex-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + 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.2JIdXhmFAK/output.xml Log: /tmp/tmp.2JIdXhmFAK/log.html Report: /tmp/tmp.2JIdXhmFAK/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 grafana Up 2 minutes kafka Up 2 minutes prometheus Up 2 minutes simulator Up 2 minutes compose_zookeeper_1 Up 2 minutes mariadb Up 2 minutes + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 15:06:39 up 7 min, 0 users, load average: 0.95, 1.29, 0.66 Tasks: 196 total, 1 running, 129 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.4 us, 2.0 sy, 0.0 ni, 82.9 id, 4.6 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.1G 21G 1.3M 6.5G 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 grafana Up 2 minutes kafka Up 2 minutes prometheus Up 2 minutes simulator Up 2 minutes compose_zookeeper_1 Up 2 minutes mariadb Up 2 minutes + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 6de63e19261e policy-apex-pdp 2.42% 333MiB / 31.41GiB 1.04% 485kB / 312kB 0B / 401kB 107 aa6558ab4c66 policy-pap 17.52% 603.3MiB / 31.41GiB 1.88% 8.74MB / 1.78MB 0B / 180MB 64 383e4fcf4961 policy-api 0.16% 580.1MiB / 31.41GiB 1.80% 7.91MB / 2.83MB 0B / 0B 54 c15675f755c5 grafana 0.04% 55.98MiB / 31.41GiB 0.17% 21.6kB / 4.52kB 0B / 23.9MB 14 4d2f58024a80 kafka 4.05% 396MiB / 31.41GiB 1.23% 765kB / 1.3MB 0B / 672kB 83 35cdb833f737 prometheus 0.22% 23.59MiB / 31.41GiB 0.07% 269kB / 10.5kB 98.3kB / 0B 12 5747bb9ef4bc simulator 0.10% 159.7MiB / 31.41GiB 0.50% 11.8kB / 14.8kB 0B / 0B 80 acbd8262b047 compose_zookeeper_1 0.12% 97.92MiB / 31.41GiB 0.30% 71.9kB / 63.4kB 4.1kB / 528kB 60 e63f3fdebb5e mariadb 0.03% 103.6MiB / 31.41GiB 0.32% 3.55MB / 14.6MB 11MB / 69.1MB 28 + 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, grafana, policy-db-migrator, kafka, prometheus, simulator, compose_zookeeper_1, mariadb grafana | logger=settings t=2024-01-22T15:03:53.353875061Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2024-01-22T15:03:53.354208155Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-22T15:03:53.354224156Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-22T15:03:53.354228336Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-22T15:03:53.354231566Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-22T15:03:53.354234206Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-22T15:03:53.354237136Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-22T15:03:53.354240366Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-22T15:03:53.354243436Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-22T15:03:53.354246706Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-22T15:03:53.354250086Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-22T15:03:53.354252896Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-22T15:03:53.354284466Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-22T15:03:53.354297966Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-22T15:03:53.354303146Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-22T15:03:53.354309587Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-22T15:03:53.354313637Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-22T15:03:53.354318537Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-22T15:03:53.354323237Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-22T15:03:53.354705351Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-22T15:03:53.354731142Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-22T15:03:53.355499331Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-22T15:03:53.356568855Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-22T15:03:53.357462676Z level=info msg="Migration successfully executed" id="create migration_log table" duration=893.531µs grafana | logger=migrator t=2024-01-22T15:03:53.432247236Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-22T15:03:53.433737084Z level=info msg="Migration successfully executed" id="create user table" duration=1.499759ms grafana | logger=migrator t=2024-01-22T15:03:53.43908551Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-22T15:03:53.439974971Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=888.631µs grafana | logger=migrator t=2024-01-22T15:03:53.445290357Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-22T15:03:53.446386751Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.095884ms grafana | logger=migrator t=2024-01-22T15:03:53.449961215Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-22T15:03:53.451048849Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.087414ms grafana | logger=migrator t=2024-01-22T15:03:53.455501874Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-22T15:03:53.456225153Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=723.479µs grafana | logger=migrator t=2024-01-22T15:03:53.459685156Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-22T15:03:53.464742018Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=5.061492ms grafana | logger=migrator t=2024-01-22T15:03:53.468334143Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-22T15:03:53.469121003Z level=info msg="Migration successfully executed" id="create user table v2" duration=786.37µs grafana | logger=migrator t=2024-01-22T15:03:53.473882442Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-22T15:03:53.474673982Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=791.66µs grafana | logger=migrator t=2024-01-22T15:03:53.477864921Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-22T15:03:53.478688901Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=822.88µs grafana | logger=migrator t=2024-01-22T15:03:53.483564192Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-22T15:03:53.484615455Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=1.055183ms grafana | logger=migrator t=2024-01-22T15:03:53.490126954Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-22T15:03:53.491176237Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.007732ms grafana | logger=migrator t=2024-01-22T15:03:53.496219039Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-22T15:03:53.497736128Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.514249ms grafana | logger=migrator t=2024-01-22T15:03:53.500983808Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-22T15:03:53.50111055Z level=info msg="Migration successfully executed" id="Update user table charset" duration=125.892µs grafana | logger=migrator t=2024-01-22T15:03:53.504640474Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-22T15:03:53.506533637Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.892853ms grafana | logger=migrator t=2024-01-22T15:03:53.511899014Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-22T15:03:53.512335529Z level=info msg="Migration successfully executed" id="Add missing user data" duration=436.405µs grafana | logger=migrator t=2024-01-22T15:03:53.515646741Z level=info msg="Executing migration" id="Add is_disabled column to user" 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-01-22 15:03:51,820] INFO Reading configuration from: /etc/kafka/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-01-22 15:03:51,828] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-01-22 15:03:51,828] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-01-22 15:03:51,828] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-01-22 15:03:51,829] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-01-22 15:03:51,832] INFO autopurge.snapRetainCount set to 3 (org.apache.zookeeper.server.DatadirCleanupManager) zookeeper_1 | [2024-01-22 15:03:51,832] INFO autopurge.purgeInterval set to 0 (org.apache.zookeeper.server.DatadirCleanupManager) zookeeper_1 | [2024-01-22 15:03:51,833] INFO Purge task is not scheduled. (org.apache.zookeeper.server.DatadirCleanupManager) zookeeper_1 | [2024-01-22 15:03:51,833] WARN Either no config or no quorum defined in config, running in standalone mode (org.apache.zookeeper.server.quorum.QuorumPeerMain) zookeeper_1 | [2024-01-22 15:03:51,835] INFO Log4j 1.2 jmx support not found; jmx disabled. (org.apache.zookeeper.jmx.ManagedUtil) zookeeper_1 | [2024-01-22 15:03:51,836] INFO Reading configuration from: /etc/kafka/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-01-22 15:03:51,836] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-01-22 15:03:51,836] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-01-22 15:03:51,836] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-01-22 15:03:51,837] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig) zookeeper_1 | [2024-01-22 15:03:51,837] INFO Starting server (org.apache.zookeeper.server.ZooKeeperServerMain) zookeeper_1 | [2024-01-22 15:03:51,847] INFO ServerMetrics initialized with provider org.apache.zookeeper.metrics.impl.DefaultMetricsProvider@5fa07e12 (org.apache.zookeeper.server.ServerMetrics) zookeeper_1 | [2024-01-22 15:03:51,850] INFO ACL digest algorithm is: SHA1 (org.apache.zookeeper.server.auth.DigestAuthenticationProvider) zookeeper_1 | [2024-01-22 15:03:51,850] INFO zookeeper.DigestAuthenticationProvider.enabled = true (org.apache.zookeeper.server.auth.DigestAuthenticationProvider) zookeeper_1 | [2024-01-22 15:03:51,853] INFO zookeeper.snapshot.trust.empty : false (org.apache.zookeeper.server.persistence.FileTxnSnapLog) zookeeper_1 | [2024-01-22 15:03:51,863] INFO (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,863] INFO ______ _ (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,863] INFO |___ / | | (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,863] INFO / / ___ ___ | | __ ___ ___ _ __ ___ _ __ (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,864] INFO / / / _ \ / _ \ | |/ / / _ \ / _ \ | '_ \ / _ \ | '__| (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,864] INFO / /__ | (_) | | (_) | | < | __/ | __/ | |_) | | __/ | | (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,864] INFO /_____| \___/ \___/ |_|\_\ \___| \___| | .__/ \___| |_| (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,864] INFO | | (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,864] INFO |_| (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,864] INFO (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,865] 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-01-22 15:03:51,865] INFO Server environment:host.name=acbd8262b047 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,865] INFO Server environment:java.version=11.0.21 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.server.ZooKeeperServer) grafana | logger=migrator t=2024-01-22T15:03:53.516942497Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.294896ms grafana | logger=migrator t=2024-01-22T15:03:53.519893903Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-22T15:03:53.520930806Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.037153ms grafana | logger=migrator t=2024-01-22T15:03:53.523945553Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-22T15:03:53.525231709Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.287336ms grafana | logger=migrator t=2024-01-22T15:03:53.530039109Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-22T15:03:53.540660611Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.621162ms grafana | logger=migrator t=2024-01-22T15:03:53.543999373Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-22T15:03:53.544855653Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=855.43µs grafana | logger=migrator t=2024-01-22T15:03:53.548133644Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-22T15:03:53.549067265Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=927.641µs grafana | logger=migrator t=2024-01-22T15:03:53.554326821Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-22T15:03:53.555294803Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=967.832µs grafana | logger=migrator t=2024-01-22T15:03:53.558352081Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-22T15:03:53.559323223Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=970.902µs grafana | logger=migrator t=2024-01-22T15:03:53.562580923Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-22T15:03:53.563597156Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.015713ms grafana | logger=migrator t=2024-01-22T15:03:53.568501797Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-22T15:03:53.568547957Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=62.14µs grafana | logger=migrator t=2024-01-22T15:03:53.572096271Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-22T15:03:53.573478109Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.381978ms grafana | logger=migrator t=2024-01-22T15:03:53.657036609Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-22T15:03:53.658950962Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.921134ms grafana | logger=migrator t=2024-01-22T15:03:53.665085188Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-22T15:03:53.666740409Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.659551ms grafana | logger=migrator t=2024-01-22T15:03:53.670358414Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-22T15:03:53.671626449Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.268525ms grafana | logger=migrator t=2024-01-22T15:03:53.67491178Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-22T15:03:53.678729487Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.814997ms grafana | logger=migrator t=2024-01-22T15:03:53.683857381Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-22T15:03:53.684682431Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=817.29µs grafana | logger=migrator t=2024-01-22T15:03:53.694451532Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-22T15:03:53.69585737Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.408608ms grafana | logger=migrator t=2024-01-22T15:03:53.72655767Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-22T15:03:53.727998068Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.439548ms grafana | logger=migrator t=2024-01-22T15:03:53.735625533Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-22T15:03:53.737157732Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.531889ms grafana | logger=migrator t=2024-01-22T15:03:53.801479151Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-22T15:03:53.802476183Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.001922ms grafana | logger=migrator t=2024-01-22T15:03:53.807369384Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-22T15:03:53.808521188Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=1.151564ms grafana | logger=migrator t=2024-01-22T15:03:53.81268262Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-22T15:03:53.813647992Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=961.681µs grafana | logger=migrator t=2024-01-22T15:03:53.819815298Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-22T15:03:53.820326185Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=510.667µs grafana | logger=migrator t=2024-01-22T15:03:53.824228333Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-22T15:03:53.825326257Z level=info msg="Migration successfully executed" id="create star table" duration=1.097064ms grafana | logger=migrator t=2024-01-22T15:03:53.829997135Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-22T15:03:53.831377992Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.385567ms grafana | logger=migrator t=2024-01-22T15:03:53.837801932Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-22T15:03:53.838551691Z level=info msg="Migration successfully executed" id="create org table v1" duration=749.149µs zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:java.class.path=/usr/bin/../share/java/kafka/kafka-metadata-7.5.3-ccs.jar:/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/connect-mirror-client-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/connect-runtime-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jose4j-0.9.3.jar:/usr/bin/../share/java/kafka/connect-api-7.5.3-ccs.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/kafka_2.13-7.5.3-ccs.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/kafka-server-common-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/scala-library-2.13.10.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/commons-cli-1.4.jar:/usr/bin/../share/java/kafka/slf4j-reload4j-1.7.36.jar:/usr/bin/../share/java/kafka/reflections-0.9.12.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/trogdor-7.5.3-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/kafka-raft-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jetty-servlets-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jakarta.inject-2.6.1.jar:/usr/bin/../share/java/kafka/connect-basic-auth-extension-7.5.3-ccs.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/kafka-storage-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/hk2-locator-2.6.1.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/kafka-tools-api-7.5.3-ccs.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/reload4j-1.2.25.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/kafka-streams-7.5.3-ccs.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/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/audience-annotations-0.12.0.jar:/usr/bin/../share/java/kafka/kafka-tools-7.5.3-ccs.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-clients-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-storage-api-7.5.3-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/jakarta.validation-api-2.0.2.jar:/usr/bin/../share/java/kafka/kafka-shell-7.5.3-ccs.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/jopt-simple-5.0.4.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/connect-mirror-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-test-utils-7.5.3-ccs.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/connect-json-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jetty-util-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/kafka-group-coordinator-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-examples-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/scala-reflect-2.13.10.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/netty-handler-4.1.100.Final.jar:/usr/bin/../share/java/kafka/javassist-3.29.2-GA.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/kafka-log4j-appender-7.5.3-ccs.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/connect-transforms-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-scala_2.13-7.5.3-ccs.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-01-22 15:03:51,866] INFO Server environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:java.io.tmpdir=/tmp (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:java.compiler= (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:os.name=Linux (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:os.arch=amd64 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:os.version=4.15.0-192-generic (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:user.name=appuser (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:user.home=/home/appuser (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,866] INFO Server environment:user.dir=/home/appuser (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,867] INFO Server environment:os.memory.free=490MB (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,867] INFO Server environment:os.memory.max=512MB (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,867] INFO Server environment:os.memory.total=512MB (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,867] INFO zookeeper.enableEagerACLCheck = false (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,867] INFO zookeeper.digest.enabled = true (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,867] INFO zookeeper.closeSessionTxn.enabled = true (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,867] INFO zookeeper.flushDelay = 0 ms (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,867] INFO zookeeper.maxWriteQueuePollTime = 0 ms (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,868] INFO zookeeper.maxBatchSize=1000 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,868] INFO zookeeper.intBufferStartingSizeBytes = 1024 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,868] INFO Weighed connection throttling is disabled (org.apache.zookeeper.server.BlueThrottle) zookeeper_1 | [2024-01-22 15:03:51,869] INFO minSessionTimeout set to 4000 ms (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,870] INFO maxSessionTimeout set to 40000 ms (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,870] INFO getData response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache) zookeeper_1 | [2024-01-22 15:03:51,871] INFO getChildren response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache) zookeeper_1 | [2024-01-22 15:03:51,871] INFO zookeeper.pathStats.slotCapacity = 60 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-01-22 15:03:51,872] INFO zookeeper.pathStats.slotDuration = 15 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-01-22 15:03:51,872] INFO zookeeper.pathStats.maxDepth = 6 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-01-22 15:03:51,872] INFO zookeeper.pathStats.initialDelay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-01-22 15:03:51,872] INFO zookeeper.pathStats.delay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-01-22 15:03:51,872] INFO zookeeper.pathStats.enabled = false (org.apache.zookeeper.server.util.RequestPathMetricsCollector) zookeeper_1 | [2024-01-22 15:03:51,874] INFO The max bytes for all large requests are set to 104857600 (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:51,874] INFO The large request threshold is set to -1 (org.apache.zookeeper.server.ZooKeeperServer) grafana | logger=migrator t=2024-01-22T15:03:53.843492223Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 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 | [2024-01-22 15:03:58,365] INFO Client environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:host.name=4d2f58024a80 (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:java.version=11.0.21 (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:java.class.path=/usr/share/java/cp-base-new/kafka-metadata-7.5.3-ccs.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/logredactor-1.0.12.jar:/usr/share/java/cp-base-new/kafka_2.13-7.5.3-ccs.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/kafka-server-common-7.5.3-ccs.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/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/kafka-raft-7.5.3-ccs.jar:/usr/share/java/cp-base-new/utility-belt-7.5.3.jar:/usr/share/java/cp-base-new/jackson-dataformat-yaml-2.14.2.jar:/usr/share/java/cp-base-new/disk-usage-agent-7.5.3.jar:/usr/share/java/cp-base-new/kafka-storage-7.5.3-ccs.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/kafka-tools-api-7.5.3-ccs.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/argparse4j-0.7.0.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-clients-7.5.3-ccs.jar:/usr/share/java/cp-base-new/kafka-storage-api-7.5.3-ccs.jar:/usr/share/java/cp-base-new/common-utils-7.5.3.jar:/usr/share/java/cp-base-new/jopt-simple-5.0.4.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/kafka-group-coordinator-7.5.3-ccs.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/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-01-22 15:03:58,366] INFO Client environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:java.io.tmpdir=/tmp (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:java.compiler= (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:os.name=Linux (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:os.version=4.15.0-192-generic (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:user.name=appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:user.home=/home/appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:user.dir=/home/appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:os.memory.free=494MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:os.memory.max=8042MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,366] INFO Client environment:os.memory.total=504MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,370] INFO Initiating client connection, connectString=zookeeper:2181 sessionTimeout=40000 watcher=io.confluent.admin.utils.ZookeeperConnectionWatcher@23a5fd2 (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:58,374] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util) kafka | [2024-01-22 15:03:58,378] INFO jute.maxbuffer value is 1048575 Bytes (org.apache.zookeeper.ClientCnxnSocket) grafana | logger=migrator t=2024-01-22T15:03:53.84493901Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.446648ms grafana | logger=migrator t=2024-01-22T15:03:53.850878684Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-22T15:03:53.852794758Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.920744ms grafana | logger=migrator t=2024-01-22T15:03:53.884072827Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-22T15:03:53.885767508Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.685781ms grafana | logger=migrator t=2024-01-22T15:03:53.891218315Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-22T15:03:53.89243298Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.214775ms grafana | logger=migrator t=2024-01-22T15:03:53.896007505Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-22T15:03:53.896932586Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=932.992µs grafana | logger=migrator t=2024-01-22T15:03:53.901317101Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-22T15:03:53.901346681Z level=info msg="Migration successfully executed" id="Update org table charset" duration=30.71µs grafana | logger=migrator t=2024-01-22T15:03:53.903600459Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-22T15:03:53.903628199Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=29.34µs grafana | logger=migrator t=2024-01-22T15:03:53.910045439Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-22T15:03:53.910340773Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=296.804µs grafana | logger=migrator t=2024-01-22T15:03:53.913624373Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-22T15:03:53.9149772Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.353037ms grafana | logger=migrator t=2024-01-22T15:03:53.919888801Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-22T15:03:53.921220038Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.331107ms grafana | logger=migrator t=2024-01-22T15:03:53.925782235Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-22T15:03:53.927390705Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.603159ms grafana | logger=migrator t=2024-01-22T15:03:53.933159916Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-22T15:03:53.933977876Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=804.76µs grafana | logger=migrator t=2024-01-22T15:03:53.938554103Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-22T15:03:53.939427414Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=874.351µs grafana | logger=migrator t=2024-01-22T15:03:53.942725885Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-22T15:03:53.943551835Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=825.83µs grafana | logger=migrator t=2024-01-22T15:03:53.949992825Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-22T15:03:53.956560847Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.566872ms grafana | logger=migrator t=2024-01-22T15:03:53.960373234Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-22T15:03:53.961202934Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=829.38µs grafana | logger=migrator t=2024-01-22T15:03:53.964582746Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-22T15:03:53.965438257Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=855.671µs grafana | logger=migrator t=2024-01-22T15:03:53.971438112Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-22T15:03:53.972327263Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=887.922µs grafana | logger=migrator t=2024-01-22T15:03:53.978305137Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-22T15:03:53.978961425Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=656.808µs grafana | logger=migrator t=2024-01-22T15:03:53.982256646Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-22T15:03:53.983800845Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.543079ms grafana | logger=migrator t=2024-01-22T15:03:53.990449548Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-22T15:03:53.990589249Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=140.711µs grafana | logger=migrator t=2024-01-22T15:03:53.996179789Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-22T15:03:53.999363778Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.175569ms grafana | logger=migrator t=2024-01-22T15:03:54.003725492Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-22T15:03:54.005640966Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.914784ms grafana | logger=migrator t=2024-01-22T15:03:54.011909204Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-22T15:03:54.014144262Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.234638ms grafana | logger=migrator t=2024-01-22T15:03:54.017869548Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-22T15:03:54.018736359Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=867.091µs grafana | logger=migrator t=2024-01-22T15:03:54.022203502Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-22T15:03:54.024688883Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.484751ms grafana | logger=migrator t=2024-01-22T15:03:54.031776861Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" zookeeper_1 | [2024-01-22 15:03:51,875] INFO zookeeper.enforce.auth.enabled = false (org.apache.zookeeper.server.AuthenticationHelper) zookeeper_1 | [2024-01-22 15:03:51,875] INFO zookeeper.enforce.auth.schemes = [] (org.apache.zookeeper.server.AuthenticationHelper) zookeeper_1 | [2024-01-22 15:03:51,875] 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-01-22 15:03:51,895] INFO Logging initialized @526ms to org.eclipse.jetty.util.log.Slf4jLog (org.eclipse.jetty.util.log) zookeeper_1 | [2024-01-22 15:03:51,986] WARN o.e.j.s.ServletContextHandler@45385f75{/,null,STOPPED} contextPath ends with /* (org.eclipse.jetty.server.handler.ContextHandler) zookeeper_1 | [2024-01-22 15:03:51,986] WARN Empty contextPath (org.eclipse.jetty.server.handler.ContextHandler) zookeeper_1 | [2024-01-22 15:03:52,009] 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-01-22 15:03:52,035] INFO DefaultSessionIdManager workerName=node0 (org.eclipse.jetty.server.session) zookeeper_1 | [2024-01-22 15:03:52,036] INFO No SessionScavenger set, using defaults (org.eclipse.jetty.server.session) zookeeper_1 | [2024-01-22 15:03:52,037] INFO node0 Scavenging every 660000ms (org.eclipse.jetty.server.session) zookeeper_1 | [2024-01-22 15:03:52,040] WARN ServletContext@o.e.j.s.ServletContextHandler@45385f75{/,null,STARTING} has uncovered http methods for path: /* (org.eclipse.jetty.security.SecurityHandler) zookeeper_1 | [2024-01-22 15:03:52,047] INFO Started o.e.j.s.ServletContextHandler@45385f75{/,null,AVAILABLE} (org.eclipse.jetty.server.handler.ContextHandler) zookeeper_1 | [2024-01-22 15:03:52,062] INFO Started ServerConnector@304bb45b{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} (org.eclipse.jetty.server.AbstractConnector) zookeeper_1 | [2024-01-22 15:03:52,062] INFO Started @694ms (org.eclipse.jetty.server.Server) zookeeper_1 | [2024-01-22 15:03:52,063] INFO Started AdminServer on address 0.0.0.0, port 8080 and command URL /commands (org.apache.zookeeper.server.admin.JettyAdminServer) zookeeper_1 | [2024-01-22 15:03:52,068] INFO Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory (org.apache.zookeeper.server.ServerCnxnFactory) zookeeper_1 | [2024-01-22 15:03:52,070] WARN maxCnxns is not configured, using default value 0. (org.apache.zookeeper.server.ServerCnxnFactory) zookeeper_1 | [2024-01-22 15:03:52,071] 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-01-22 15:03:52,072] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory) zookeeper_1 | [2024-01-22 15:03:52,086] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory) zookeeper_1 | [2024-01-22 15:03:52,086] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory) zookeeper_1 | [2024-01-22 15:03:52,087] INFO zookeeper.snapshotSizeFactor = 0.33 (org.apache.zookeeper.server.ZKDatabase) zookeeper_1 | [2024-01-22 15:03:52,087] INFO zookeeper.commitLogCount=500 (org.apache.zookeeper.server.ZKDatabase) zookeeper_1 | [2024-01-22 15:03:52,092] INFO zookeeper.snapshot.compression.method = CHECKED (org.apache.zookeeper.server.persistence.SnapStream) zookeeper_1 | [2024-01-22 15:03:52,092] INFO Snapshotting: 0x0 to /var/lib/zookeeper/data/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) zookeeper_1 | [2024-01-22 15:03:52,094] INFO Snapshot loaded in 7 ms, highest zxid is 0x0, digest is 1371985504 (org.apache.zookeeper.server.ZKDatabase) zookeeper_1 | [2024-01-22 15:03:52,095] INFO Snapshotting: 0x0 to /var/lib/zookeeper/data/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) zookeeper_1 | [2024-01-22 15:03:52,096] INFO Snapshot taken in 1 ms (org.apache.zookeeper.server.ZooKeeperServer) zookeeper_1 | [2024-01-22 15:03:52,104] INFO zookeeper.request_throttler.shutdownTimeout = 10000 ms (org.apache.zookeeper.server.RequestThrottler) zookeeper_1 | [2024-01-22 15:03:52,108] INFO PrepRequestProcessor (sid:0) started, reconfigEnabled=false (org.apache.zookeeper.server.PrepRequestProcessor) kafka | [2024-01-22 15:03:58,385] INFO zookeeper.request.timeout value is 0. feature enabled=false (org.apache.zookeeper.ClientCnxn) kafka | [2024-01-22 15:03:58,398] INFO Opening socket connection to server zookeeper/172.17.0.3:2181. (org.apache.zookeeper.ClientCnxn) kafka | [2024-01-22 15:03:58,398] INFO SASL config status: Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn) kafka | [2024-01-22 15:03:58,407] INFO Socket connection established, initiating session, client: /172.17.0.6:58826, server: zookeeper/172.17.0.3:2181 (org.apache.zookeeper.ClientCnxn) kafka | [2024-01-22 15:03:58,445] INFO Session establishment complete on server zookeeper/172.17.0.3:2181, session id = 0x10000046a860000, negotiated timeout = 40000 (org.apache.zookeeper.ClientCnxn) kafka | [2024-01-22 15:03:58,577] INFO Session: 0x10000046a860000 closed (org.apache.zookeeper.ZooKeeper) kafka | Using log4j config /etc/kafka/log4j.properties kafka | ===> Launching ... kafka | ===> Launching kafka ... kafka | [2024-01-22 15:03:59,340] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$) kafka | [2024-01-22 15:03:59,646] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util) kafka | [2024-01-22 15:03:59,721] INFO Registered signal handlers for TERM, INT, HUP (org.apache.kafka.common.utils.LoggingSignalHandler) kafka | [2024-01-22 15:03:59,722] INFO starting (kafka.server.KafkaServer) kafka | [2024-01-22 15:03:59,722] INFO Connecting to zookeeper on zookeeper:2181 (kafka.server.KafkaServer) kafka | [2024-01-22 15:03:59,737] INFO [ZooKeeperClient Kafka server] Initializing a new session to zookeeper:2181. (kafka.zookeeper.ZooKeeperClient) kafka | [2024-01-22 15:03:59,741] INFO Client environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:host.name=4d2f58024a80 (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:java.version=11.0.21 (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:java.class.path=/usr/bin/../share/java/kafka/kafka-metadata-7.5.3-ccs.jar:/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/connect-mirror-client-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/connect-runtime-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jose4j-0.9.3.jar:/usr/bin/../share/java/kafka/connect-api-7.5.3-ccs.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/kafka_2.13-7.5.3-ccs.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/kafka-server-common-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/scala-library-2.13.10.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/commons-cli-1.4.jar:/usr/bin/../share/java/kafka/slf4j-reload4j-1.7.36.jar:/usr/bin/../share/java/kafka/reflections-0.9.12.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/trogdor-7.5.3-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/kafka-raft-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jetty-servlets-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jakarta.inject-2.6.1.jar:/usr/bin/../share/java/kafka/connect-basic-auth-extension-7.5.3-ccs.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/kafka-storage-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/hk2-locator-2.6.1.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/kafka-tools-api-7.5.3-ccs.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/reload4j-1.2.25.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/kafka-streams-7.5.3-ccs.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/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/audience-annotations-0.12.0.jar:/usr/bin/../share/java/kafka/kafka-tools-7.5.3-ccs.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-clients-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-storage-api-7.5.3-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/jakarta.validation-api-2.0.2.jar:/usr/bin/../share/java/kafka/kafka-shell-7.5.3-ccs.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/jopt-simple-5.0.4.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/connect-mirror-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-test-utils-7.5.3-ccs.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/connect-json-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jetty-util-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/kafka-group-coordinator-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-examples-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/scala-reflect-2.13.10.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/netty-handler-4.1.100.Final.jar:/usr/bin/../share/java/kafka/javassist-3.29.2-GA.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/kafka-log4j-appender-7.5.3-ccs.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/connect-transforms-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-scala_2.13-7.5.3-ccs.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-01-22 15:03:59,741] INFO Client environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:java.io.tmpdir=/tmp (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:java.compiler= (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:os.name=Linux (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:os.version=4.15.0-192-generic (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:user.name=appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:user.home=/home/appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:user.dir=/home/appuser (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:os.memory.free=1009MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,741] INFO Client environment:os.memory.max=1024MB (org.apache.zookeeper.ZooKeeper) grafana | logger=migrator t=2024-01-22T15:03:54.033022037Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.243935ms grafana | logger=migrator t=2024-01-22T15:03:54.079897559Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-22T15:03:54.08165507Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.762731ms grafana | logger=migrator t=2024-01-22T15:03:54.087685495Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-22T15:03:54.087729436Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=46.191µs grafana | logger=migrator t=2024-01-22T15:03:54.104357162Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-22T15:03:54.104439683Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=84.961µs grafana | logger=migrator t=2024-01-22T15:03:54.112785917Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-22T15:03:54.120793487Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=8.01053ms grafana | logger=migrator t=2024-01-22T15:03:54.126225654Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-22T15:03:54.127643402Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.417577ms grafana | logger=migrator t=2024-01-22T15:03:54.13071106Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-22T15:03:54.133518844Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.805454ms grafana | logger=migrator t=2024-01-22T15:03:54.145892188Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-22T15:03:54.150377604Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=4.482776ms grafana | logger=migrator t=2024-01-22T15:03:54.152991386Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-22T15:03:54.153154068Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=162.682µs grafana | logger=migrator t=2024-01-22T15:03:54.158326572Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-22T15:03:54.15893995Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=613.038µs grafana | logger=migrator t=2024-01-22T15:03:54.167218223Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-22T15:03:54.168243866Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.022483ms grafana | logger=migrator t=2024-01-22T15:03:54.171395605Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-22T15:03:54.171425395Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=30.71µs grafana | logger=migrator t=2024-01-22T15:03:54.174352382Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-22T15:03:54.175432215Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.079703ms grafana | logger=migrator t=2024-01-22T15:03:54.224615126Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-22T15:03:54.225626248Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.010352ms grafana | logger=migrator t=2024-01-22T15:03:54.229048151Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-22T15:03:54.24270002Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=13.648469ms grafana | logger=migrator t=2024-01-22T15:03:54.248532003Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-22T15:03:54.249244332Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=712.009µs grafana | logger=migrator t=2024-01-22T15:03:54.255430829Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-22T15:03:54.256583713Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.152764ms grafana | logger=migrator t=2024-01-22T15:03:54.263021873Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-22T15:03:54.26438639Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.363917ms grafana | logger=migrator t=2024-01-22T15:03:54.269953029Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-22T15:03:54.270456905Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=504.056µs grafana | logger=migrator t=2024-01-22T15:03:54.275863652Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-22T15:03:54.276715453Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=852.161µs grafana | logger=migrator t=2024-01-22T15:03:54.282644466Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-22T15:03:54.284779563Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.141977ms grafana | logger=migrator t=2024-01-22T15:03:54.291278374Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-22T15:03:54.292086264Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=807.46µs grafana | logger=migrator t=2024-01-22T15:03:54.302447492Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-22T15:03:54.302764266Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=318.244µs grafana | logger=migrator t=2024-01-22T15:03:54.307601076Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-22T15:03:54.307797749Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=193.343µs grafana | logger=migrator t=2024-01-22T15:03:54.313222056Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-22T15:03:54.314550613Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.328976ms grafana | logger=migrator t=2024-01-22T15:03:54.325057262Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-22T15:03:54.327352001Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.292999ms grafana | logger=migrator t=2024-01-22T15:03:54.330673632Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-01-22T15:03:54.333318505Z level=info msg="Migration successfully executed" id="create data_source table" duration=2.631182ms grafana | logger=migrator t=2024-01-22T15:03:54.340874729Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-22T15:03:54.342371047Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.497598ms grafana | logger=migrator t=2024-01-22T15:03:54.347488141Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-22T15:03:54.348329071Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=841.96µs grafana | logger=migrator t=2024-01-22T15:03:54.357367103Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-22T15:03:54.359349108Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.986435ms grafana | logger=migrator t=2024-01-22T15:03:54.370032121Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-22T15:03:54.372214268Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=2.186577ms grafana | logger=migrator t=2024-01-22T15:03:54.377410522Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-22T15:03:54.385075538Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.664756ms grafana | logger=migrator t=2024-01-22T15:03:54.393250689Z level=info msg="Executing migration" id="create data_source table v2" zookeeper_1 | [2024-01-22 15:03:52,123] INFO Using checkIntervalMs=60000 maxPerMinute=10000 maxNeverUsedIntervalMs=0 (org.apache.zookeeper.server.ContainerManager) zookeeper_1 | [2024-01-22 15:03:52,125] INFO ZooKeeper audit is disabled. (org.apache.zookeeper.audit.ZKAuditProvider) zookeeper_1 | [2024-01-22 15:03:58,424] INFO Creating new log file: log.1 (org.apache.zookeeper.server.persistence.FileTxnLog) kafka | [2024-01-22 15:03:59,741] INFO Client environment:os.memory.total=1024MB (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,744] INFO Initiating client connection, connectString=zookeeper:2181 sessionTimeout=18000 watcher=kafka.zookeeper.ZooKeeperClient$ZooKeeperClientWatcher$@32193bea (org.apache.zookeeper.ZooKeeper) kafka | [2024-01-22 15:03:59,748] INFO jute.maxbuffer value is 4194304 Bytes (org.apache.zookeeper.ClientCnxnSocket) kafka | [2024-01-22 15:03:59,755] INFO zookeeper.request.timeout value is 0. feature enabled=false (org.apache.zookeeper.ClientCnxn) kafka | [2024-01-22 15:03:59,757] INFO [ZooKeeperClient Kafka server] Waiting until connected. (kafka.zookeeper.ZooKeeperClient) kafka | [2024-01-22 15:03:59,762] INFO Opening socket connection to server zookeeper/172.17.0.3:2181. (org.apache.zookeeper.ClientCnxn) kafka | [2024-01-22 15:03:59,770] INFO Socket connection established, initiating session, client: /172.17.0.6:58828, server: zookeeper/172.17.0.3:2181 (org.apache.zookeeper.ClientCnxn) kafka | [2024-01-22 15:03:59,781] INFO Session establishment complete on server zookeeper/172.17.0.3:2181, session id = 0x10000046a860001, negotiated timeout = 18000 (org.apache.zookeeper.ClientCnxn) kafka | [2024-01-22 15:03:59,785] INFO [ZooKeeperClient Kafka server] Connected. (kafka.zookeeper.ZooKeeperClient) kafka | [2024-01-22 15:04:00,153] INFO Cluster ID = 0l0tf6rdRCWCkmNbCC3tmw (kafka.server.KafkaServer) kafka | [2024-01-22 15:04:00,158] WARN No meta.properties file under dir /var/lib/kafka/data/meta.properties (kafka.server.BrokerMetadataCheckpoint) kafka | [2024-01-22 15:04:00,203] 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 = [] 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.5-IV2 kafka | kafka.metrics.polling.interval.secs = 10 kafka | kafka.metrics.reporters = [] kafka | leader.imbalance.check.interval.seconds = 300 kafka | leader.imbalance.per.broker.percentage = 10 kafka | listener.security.protocol.map = PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT kafka | listeners = PLAINTEXT://0.0.0.0:9092,PLAINTEXT_HOST://0.0.0.0:29092 kafka | log.cleaner.backoff.ms = 15000 kafka | log.cleaner.dedupe.buffer.size = 134217728 kafka | log.cleaner.delete.retention.ms = 86400000 kafka | log.cleaner.enable = true kafka | log.cleaner.io.buffer.load.factor = 0.9 kafka | log.cleaner.io.buffer.size = 524288 kafka | log.cleaner.io.max.bytes.per.second = 1.7976931348623157E308 kafka | log.cleaner.max.compaction.lag.ms = 9223372036854775807 kafka | log.cleaner.min.cleanable.ratio = 0.5 kafka | log.cleaner.min.compaction.lag.ms = 0 kafka | log.cleaner.threads = 1 kafka | log.cleanup.policy = [delete] kafka | log.dir = /tmp/kafka-logs kafka | log.dirs = /var/lib/kafka/data kafka | log.flush.interval.messages = 9223372036854775807 kafka | log.flush.interval.ms = null kafka | log.flush.offset.checkpoint.interval.ms = 60000 kafka | log.flush.scheduler.interval.ms = 9223372036854775807 kafka | log.flush.start.offset.checkpoint.interval.ms = 60000 kafka | log.index.interval.bytes = 4096 kafka | log.index.size.max.bytes = 10485760 kafka | log.message.downconversion.enable = true kafka | log.message.format.version = 3.0-IV1 kafka | log.message.timestamp.difference.max.ms = 9223372036854775807 kafka | log.message.timestamp.type = CreateTime kafka | log.preallocate = false kafka | log.retention.bytes = -1 kafka | log.retention.check.interval.ms = 300000 kafka | log.retention.hours = 168 kafka | log.retention.minutes = null kafka | log.retention.ms = null kafka | log.roll.hours = 168 kafka | log.roll.jitter.hours = 0 kafka | log.roll.jitter.ms = null grafana | logger=migrator t=2024-01-22T15:03:54.394521185Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.270846ms grafana | logger=migrator t=2024-01-22T15:03:54.398445714Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-22T15:03:54.399436716Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=998.383µs grafana | logger=migrator t=2024-01-22T15:03:54.40541079Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-22T15:03:54.40620807Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=797.21µs grafana | logger=migrator t=2024-01-22T15:03:54.413545881Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-22T15:03:54.414065088Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=515.507µs grafana | logger=migrator t=2024-01-22T15:03:54.430192778Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-22T15:03:54.434100277Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.906648ms grafana | logger=migrator t=2024-01-22T15:03:54.441437477Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-22T15:03:54.443733866Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.302639ms grafana | logger=migrator t=2024-01-22T15:03:54.446388559Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-22T15:03:54.446420269Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=32.18µs grafana | logger=migrator t=2024-01-22T15:03:54.457602878Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-22T15:03:54.457913082Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=311.354µs grafana | logger=migrator t=2024-01-22T15:03:54.464653816Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-22T15:03:54.466945004Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.291168ms grafana | logger=migrator t=2024-01-22T15:03:54.473476785Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-22T15:03:54.473680788Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=204.043µs grafana | logger=migrator t=2024-01-22T15:03:54.478893793Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-22T15:03:54.479091435Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=188.602µs grafana | logger=migrator t=2024-01-22T15:03:54.488524442Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-22T15:03:54.492262199Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.737507ms grafana | logger=migrator t=2024-01-22T15:03:54.498596368Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-22T15:03:54.49881267Z level=info msg="Migration successfully executed" id="Update uid value" duration=217.072µs grafana | logger=migrator t=2024-01-22T15:03:54.506908391Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-22T15:03:54.510234632Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=3.325111ms grafana | logger=migrator t=2024-01-22T15:03:54.518734078Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-01-22T15:03:54.519627509Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=893.121µs grafana | logger=migrator t=2024-01-22T15:03:54.527060331Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-22T15:03:54.528260756Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.200265ms grafana | logger=migrator t=2024-01-22T15:03:54.537846895Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-22T15:03:54.538788707Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=946.802µs grafana | logger=migrator t=2024-01-22T15:03:54.543257652Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-22T15:03:54.544130003Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=872.381µs grafana | logger=migrator t=2024-01-22T15:03:54.550959938Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-01-22T15:03:54.552416346Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.456468ms grafana | logger=migrator t=2024-01-22T15:03:54.559361532Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-01-22T15:03:54.560626728Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.265306ms grafana | logger=migrator t=2024-01-22T15:03:54.565516959Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-01-22T15:03:54.566947466Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.430307ms grafana | logger=migrator t=2024-01-22T15:03:54.571511283Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-01-22T15:03:54.572944091Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.432068ms grafana | logger=migrator t=2024-01-22T15:03:54.582421469Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-22T15:03:54.592650515Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.227976ms grafana | logger=migrator t=2024-01-22T15:03:54.598305576Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-22T15:03:54.599173676Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=867.49µs grafana | logger=migrator t=2024-01-22T15:03:54.604486702Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-22T15:03:54.605718168Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.229826ms grafana | logger=migrator t=2024-01-22T15:03:54.611072624Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-22T15:03:54.612489472Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.410688ms grafana | logger=migrator t=2024-01-22T15:03:54.61800409Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-22T15:03:54.619170895Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.165945ms grafana | logger=migrator t=2024-01-22T15:03:54.626114841Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-22T15:03:54.626772219Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=658.188µs grafana | logger=migrator t=2024-01-22T15:03:54.63408701Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-22T15:03:54.635282115Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.194945ms grafana | logger=migrator t=2024-01-22T15:03:54.641463632Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-22T15:03:54.641503942Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=41.55µs grafana | logger=migrator t=2024-01-22T15:03:54.647362695Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-22T15:03:54.651542847Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.181492ms grafana | logger=migrator t=2024-01-22T15:03:54.659631247Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-22T15:03:54.663627757Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.99829ms grafana | logger=migrator t=2024-01-22T15:03:54.700270082Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-22T15:03:54.700792189Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=525.057µs grafana | logger=migrator t=2024-01-22T15:03:54.709089821Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-22T15:03:54.713501416Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=4.410725ms grafana | logger=migrator t=2024-01-22T15:03:54.719406Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-22T15:03:54.723667173Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.260553ms grafana | logger=migrator t=2024-01-22T15:03:54.728419772Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-22T15:03:54.729517645Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.096543ms grafana | logger=migrator t=2024-01-22T15:03:54.73310643Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-22T15:03:54.733763168Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=656.358µs grafana | logger=migrator t=2024-01-22T15:03:54.740695014Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-22T15:03:54.742149202Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.454738ms grafana | logger=migrator t=2024-01-22T15:03:54.749666235Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-22T15:03:54.750633237Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=967.642µs grafana | logger=migrator t=2024-01-22T15:03:54.756328598Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-22T15:03:54.757743576Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.415268ms grafana | logger=migrator t=2024-01-22T15:03:54.765123958Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-01-22T15:03:54.766562985Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.439347ms grafana | logger=migrator t=2024-01-22T15:03:54.772839883Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-22T15:03:54.773150457Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=309.964µs grafana | logger=migrator t=2024-01-22T15:03:54.811633385Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-22T15:03:54.81198651Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=144.532µs grafana | logger=migrator t=2024-01-22T15:03:54.819853137Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-22T15:03:54.823396701Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.546194ms grafana | logger=migrator t=2024-01-22T15:03:54.829862362Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-22T15:03:54.83293209Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.066898ms grafana | logger=migrator t=2024-01-22T15:03:54.838191015Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-22T15:03:54.838305486Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=114.101µs grafana | logger=migrator t=2024-01-22T15:03:54.84341471Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-22T15:03:54.844604034Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.188344ms kafka | log.roll.ms = null kafka | log.segment.bytes = 1073741824 kafka | log.segment.delete.delay.ms = 60000 kafka | max.connection.creation.rate = 2147483647 kafka | max.connections = 2147483647 kafka | max.connections.per.ip = 2147483647 kafka | max.connections.per.ip.overrides = kafka | max.incremental.fetch.session.cache.slots = 1000 kafka | message.max.bytes = 1048588 kafka | metadata.log.dir = null kafka | metadata.log.max.record.bytes.between.snapshots = 20971520 kafka | metadata.log.max.snapshot.interval.ms = 3600000 kafka | metadata.log.segment.bytes = 1073741824 kafka | metadata.log.segment.min.bytes = 8388608 kafka | metadata.log.segment.ms = 604800000 kafka | metadata.max.idle.interval.ms = 500 kafka | metadata.max.retention.bytes = 104857600 kafka | metadata.max.retention.ms = 604800000 grafana | logger=migrator t=2024-01-22T15:03:54.850226214Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-01-22T15:03:54.851971106Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.745012ms grafana | logger=migrator t=2024-01-22T15:03:54.857708217Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-22T15:03:54.857754128Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=50.661µs grafana | logger=migrator t=2024-01-22T15:03:54.862505547Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-22T15:03:54.864097177Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.593759ms grafana | logger=migrator t=2024-01-22T15:03:54.873070198Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-22T15:03:54.874740419Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.673211ms grafana | logger=migrator t=2024-01-22T15:03:54.881680215Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-22T15:03:54.886683777Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.999802ms grafana | logger=migrator t=2024-01-22T15:03:54.893509132Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-22T15:03:54.893596773Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=85.841µs grafana | logger=migrator t=2024-01-22T15:03:54.905314728Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-22T15:03:54.906711946Z level=info msg="Migration successfully executed" id="create session table" duration=1.399668ms grafana | logger=migrator t=2024-01-22T15:03:54.912959343Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-22T15:03:54.913285088Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=327.804µs grafana | logger=migrator t=2024-01-22T15:03:54.91827848Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-22T15:03:54.918565763Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=286.063µs grafana | logger=migrator t=2024-01-22T15:03:54.924366155Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-22T15:03:54.925289627Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=923.422µs grafana | logger=migrator t=2024-01-22T15:03:54.935557264Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-22T15:03:54.93764224Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=2.092686ms grafana | logger=migrator t=2024-01-22T15:03:54.943385741Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-22T15:03:54.943542013Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=117.582µs grafana | logger=migrator t=2024-01-22T15:03:54.951219289Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-22T15:03:54.95134403Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=120.242µs grafana | logger=migrator t=2024-01-22T15:03:54.957314134Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-22T15:03:54.960594685Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.280221ms grafana | logger=migrator t=2024-01-22T15:03:54.964419863Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-22T15:03:54.970326736Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.930174ms grafana | logger=migrator t=2024-01-22T15:03:54.975874545Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-22T15:03:54.976207829Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=333.124µs grafana | logger=migrator t=2024-01-22T15:03:54.982349975Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-22T15:03:54.982614539Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=264.994µs grafana | logger=migrator t=2024-01-22T15:03:54.988879426Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-22T15:03:54.990696219Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.816453ms grafana | logger=migrator t=2024-01-22T15:03:54.99558576Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-22T15:03:54.995768132Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=182.873µs grafana | logger=migrator t=2024-01-22T15:03:55.000367519Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-22T15:03:55.002743469Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=2.37549ms grafana | logger=migrator t=2024-01-22T15:03:55.007391986Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-22T15:03:55.007615899Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=223.413µs grafana | logger=migrator t=2024-01-22T15:03:55.010871449Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-22T15:03:55.014256851Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.384812ms grafana | logger=migrator t=2024-01-22T15:03:55.018294922Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-22T15:03:55.021664283Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.368801ms grafana | logger=migrator t=2024-01-22T15:03:55.026629075Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-22T15:03:55.026811258Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=182.683µs grafana | logger=migrator t=2024-01-22T15:03:55.030188159Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-22T15:03:55.031518326Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.330177ms grafana | logger=migrator t=2024-01-22T15:03:55.035302783Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-22T15:03:55.036305625Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.002812ms grafana | logger=migrator t=2024-01-22T15:03:55.041153985Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-01-22T15:03:55.042116727Z level=info msg="Migration successfully executed" id="create alert table v1" duration=962.092µs grafana | logger=migrator t=2024-01-22T15:03:55.045284527Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-22T15:03:55.046323469Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.038562ms grafana | logger=migrator t=2024-01-22T15:03:55.050888077Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-22T15:03:55.051867379Z level=info msg="Migration successfully executed" id="add index alert state" duration=979.713µs grafana | logger=migrator t=2024-01-22T15:03:55.055404073Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-22T15:03:55.056594187Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.240255ms grafana | logger=migrator t=2024-01-22T15:03:55.059857158Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-22T15:03:55.060557636Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=700.228µs grafana | logger=migrator t=2024-01-22T15:03:55.063656635Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-apex-pdp | Waiting for mariadb port 3306... policy-apex-pdp | mariadb (172.17.0.4:3306) open policy-apex-pdp | Waiting for kafka port 9092... policy-apex-pdp | kafka (172.17.0.6:9092) open policy-apex-pdp | Waiting for pap port 6969... policy-apex-pdp | pap (172.17.0.10:6969) open 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' policy-apex-pdp | [2024-01-22T15:04:31.198+00:00|INFO|ApexStarterMain|main] In ApexStarter with parameters [-c, /opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json] policy-apex-pdp | [2024-01-22T15:04:31.420+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: policy-apex-pdp | allow.auto.create.topics = true policy-apex-pdp | auto.commit.interval.ms = 5000 policy-apex-pdp | auto.include.jmx.reporter = true policy-apex-pdp | auto.offset.reset = latest policy-apex-pdp | bootstrap.servers = [kafka:9092] policy-apex-pdp | check.crcs = true policy-apex-pdp | client.dns.lookup = use_all_dns_ips policy-apex-pdp | client.id = consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-1 policy-apex-pdp | client.rack = policy-apex-pdp | connections.max.idle.ms = 540000 policy-apex-pdp | default.api.timeout.ms = 60000 policy-apex-pdp | enable.auto.commit = true policy-apex-pdp | exclude.internal.topics = true policy-apex-pdp | fetch.max.bytes = 52428800 policy-apex-pdp | fetch.max.wait.ms = 500 policy-apex-pdp | fetch.min.bytes = 1 policy-apex-pdp | group.id = 42dc174d-ec44-49ed-8258-1b0a49d03f03 policy-apex-pdp | group.instance.id = null policy-apex-pdp | heartbeat.interval.ms = 3000 policy-apex-pdp | interceptor.classes = [] policy-apex-pdp | internal.leave.group.on.close = true policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false policy-apex-pdp | isolation.level = read_uncommitted policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-apex-pdp | max.partition.fetch.bytes = 1048576 policy-apex-pdp | max.poll.interval.ms = 300000 policy-apex-pdp | max.poll.records = 500 policy-apex-pdp | metadata.max.age.ms = 300000 policy-apex-pdp | metric.reporters = [] policy-apex-pdp | metrics.num.samples = 2 policy-apex-pdp | metrics.recording.level = INFO policy-apex-pdp | metrics.sample.window.ms = 30000 policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] policy-apex-pdp | receive.buffer.bytes = 65536 policy-apex-pdp | reconnect.backoff.max.ms = 1000 policy-apex-pdp | reconnect.backoff.ms = 50 policy-apex-pdp | request.timeout.ms = 30000 kafka | metric.reporters = [] kafka | metrics.num.samples = 2 kafka | metrics.recording.level = INFO kafka | metrics.sample.window.ms = 30000 kafka | min.insync.replicas = 1 kafka | node.id = 1 kafka | num.io.threads = 8 kafka | num.network.threads = 3 kafka | num.partitions = 1 kafka | num.recovery.threads.per.data.dir = 1 kafka | num.replica.alter.log.dirs.threads = null kafka | num.replica.fetchers = 1 kafka | offset.metadata.max.bytes = 4096 kafka | offsets.commit.required.acks = -1 kafka | offsets.commit.timeout.ms = 5000 kafka | offsets.load.buffer.size = 5242880 kafka | offsets.retention.check.interval.ms = 600000 kafka | offsets.retention.minutes = 10080 kafka | offsets.topic.compression.codec = 0 kafka | offsets.topic.num.partitions = 50 kafka | offsets.topic.replication.factor = 1 kafka | offsets.topic.segment.bytes = 104857600 kafka | password.encoder.cipher.algorithm = AES/CBC/PKCS5Padding kafka | password.encoder.iterations = 4096 kafka | password.encoder.key.length = 128 kafka | password.encoder.keyfactory.algorithm = null kafka | password.encoder.old.secret = null kafka | password.encoder.secret = null kafka | principal.builder.class = class org.apache.kafka.common.security.authenticator.DefaultKafkaPrincipalBuilder kafka | process.roles = [] kafka | producer.id.expiration.check.interval.ms = 600000 kafka | producer.id.expiration.ms = 86400000 kafka | producer.purgatory.purge.interval.requests = 1000 kafka | queued.max.request.bytes = -1 kafka | queued.max.requests = 500 kafka | quota.window.num = 11 kafka | quota.window.size.seconds = 1 kafka | remote.log.index.file.cache.total.size.bytes = 1073741824 kafka | remote.log.manager.task.interval.ms = 30000 kafka | remote.log.manager.task.retry.backoff.max.ms = 30000 kafka | remote.log.manager.task.retry.backoff.ms = 500 kafka | remote.log.manager.task.retry.jitter = 0.2 kafka | remote.log.manager.thread.pool.size = 10 kafka | remote.log.metadata.manager.class.name = null kafka | remote.log.metadata.manager.class.path = null kafka | remote.log.metadata.manager.impl.prefix = null kafka | remote.log.metadata.manager.listener.name = null kafka | remote.log.reader.max.pending.tasks = 100 kafka | remote.log.reader.threads = 10 kafka | remote.log.storage.manager.class.name = null kafka | remote.log.storage.manager.class.path = null kafka | remote.log.storage.manager.impl.prefix = null kafka | remote.log.storage.system.enable = false kafka | replica.fetch.backoff.ms = 1000 kafka | replica.fetch.max.bytes = 1048576 kafka | replica.fetch.min.bytes = 1 kafka | replica.fetch.response.max.bytes = 10485760 kafka | replica.fetch.wait.max.ms = 500 kafka | replica.high.watermark.checkpoint.interval.ms = 5000 kafka | replica.lag.time.max.ms = 30000 kafka | replica.selector.class = null kafka | replica.socket.receive.buffer.bytes = 65536 kafka | replica.socket.timeout.ms = 30000 kafka | replication.quota.window.num = 11 kafka | replication.quota.window.size.seconds = 1 kafka | request.timeout.ms = 30000 kafka | reserved.broker.max.id = 1000 kafka | sasl.client.callback.handler.class = null kafka | sasl.enabled.mechanisms = [GSSAPI] kafka | sasl.jaas.config = null kafka | sasl.kerberos.kinit.cmd = /usr/bin/kinit kafka | sasl.kerberos.min.time.before.relogin = 60000 kafka | sasl.kerberos.principal.to.local.rules = [DEFAULT] kafka | sasl.kerberos.service.name = null kafka | sasl.kerberos.ticket.renew.jitter = 0.05 kafka | sasl.kerberos.ticket.renew.window.factor = 0.8 kafka | sasl.login.callback.handler.class = null kafka | sasl.login.class = null kafka | sasl.login.connect.timeout.ms = null kafka | sasl.login.read.timeout.ms = null kafka | sasl.login.refresh.buffer.seconds = 300 kafka | sasl.login.refresh.min.period.seconds = 60 kafka | sasl.login.refresh.window.factor = 0.8 kafka | sasl.login.refresh.window.jitter = 0.05 kafka | sasl.login.retry.backoff.max.ms = 10000 kafka | sasl.login.retry.backoff.ms = 100 kafka | sasl.mechanism.controller.protocol = GSSAPI kafka | sasl.mechanism.inter.broker.protocol = GSSAPI kafka | sasl.oauthbearer.clock.skew.seconds = 30 mariadb | 2024-01-22 15:03:49+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-22 15:03:49+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-22 15:03:49+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-22 15:03:49+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-22 15:03:49 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-22 15:03:49 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-22 15:03:49 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-01-22 15:03:51+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-22 15:03:51+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-22 15:03:51+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-22 15:03:51 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-01-22 15:03:51 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-22 15:03:51 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-22 15:03:51 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions kafka | sasl.oauthbearer.expected.audience = null kafka | sasl.oauthbearer.expected.issuer = null kafka | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 kafka | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 kafka | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 kafka | sasl.oauthbearer.jwks.endpoint.url = null kafka | sasl.oauthbearer.scope.claim.name = scope kafka | sasl.oauthbearer.sub.claim.name = sub kafka | sasl.oauthbearer.token.endpoint.url = null kafka | sasl.server.callback.handler.class = null kafka | sasl.server.max.receive.size = 524288 kafka | security.inter.broker.protocol = PLAINTEXT kafka | security.providers = null kafka | server.max.startup.time.ms = 9223372036854775807 kafka | socket.connection.setup.timeout.max.ms = 30000 kafka | socket.connection.setup.timeout.ms = 10000 kafka | socket.listen.backlog.size = 50 kafka | socket.receive.buffer.bytes = 102400 kafka | socket.request.max.bytes = 104857600 kafka | socket.send.buffer.bytes = 102400 kafka | ssl.cipher.suites = [] kafka | ssl.client.auth = none kafka | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] kafka | ssl.endpoint.identification.algorithm = https kafka | ssl.engine.factory.class = null kafka | ssl.key.password = null kafka | ssl.keymanager.algorithm = SunX509 kafka | ssl.keystore.certificate.chain = null kafka | ssl.keystore.key = null kafka | ssl.keystore.location = null kafka | ssl.keystore.password = null kafka | ssl.keystore.type = JKS kafka | ssl.principal.mapping.rules = DEFAULT kafka | ssl.protocol = TLSv1.3 kafka | ssl.provider = null kafka | ssl.secure.random.implementation = null kafka | ssl.trustmanager.algorithm = PKIX kafka | ssl.truststore.certificates = null kafka | ssl.truststore.location = null grafana | logger=migrator t=2024-01-22T15:03:55.064700448Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.042963ms grafana | logger=migrator t=2024-01-22T15:03:55.06971636Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-22T15:03:55.070855284Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.137704ms grafana | logger=migrator t=2024-01-22T15:03:55.074354968Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-22T15:03:55.08981423Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.456102ms grafana | logger=migrator t=2024-01-22T15:03:55.093145881Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-22T15:03:55.093719358Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=573.707µs grafana | logger=migrator t=2024-01-22T15:03:55.099556921Z 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-01-22T15:03:55.100372271Z 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=811.29µs grafana | logger=migrator t=2024-01-22T15:03:55.105889089Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-22T15:03:55.106235674Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=346.045µs grafana | logger=migrator t=2024-01-22T15:03:55.109385663Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-22T15:03:55.10997162Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=584.217µs grafana | logger=migrator t=2024-01-22T15:03:55.114975432Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-22T15:03:55.11641885Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.443278ms grafana | logger=migrator t=2024-01-22T15:03:55.119911493Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-22T15:03:55.123472688Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.565615ms grafana | logger=migrator t=2024-01-22T15:03:55.12765604Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-22T15:03:55.13248224Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.82556ms grafana | logger=migrator t=2024-01-22T15:03:55.137145167Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-22T15:03:55.142295661Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=5.151204ms grafana | logger=migrator t=2024-01-22T15:03:55.218932233Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-22T15:03:55.22671032Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=7.782547ms grafana | logger=migrator t=2024-01-22T15:03:55.234894891Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-22T15:03:55.236509681Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.61453ms grafana | logger=migrator t=2024-01-22T15:03:55.245651705Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-22T15:03:55.245921688Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=270.343µs grafana | logger=migrator t=2024-01-22T15:03:55.255200063Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-22T15:03:55.255310395Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=109.872µs grafana | logger=migrator t=2024-01-22T15:03:55.265836206Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-22T15:03:55.267562047Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.725601ms grafana | logger=migrator t=2024-01-22T15:03:55.278639874Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-22T15:03:55.281218996Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=2.580032ms grafana | logger=migrator t=2024-01-22T15:03:55.288488427Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-22T15:03:55.289419579Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=930.061µs grafana | logger=migrator t=2024-01-22T15:03:55.31373286Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-22T15:03:55.315832476Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=2.081036ms grafana | logger=migrator t=2024-01-22T15:03:55.322348797Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-22T15:03:55.324253241Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.903914ms grafana | logger=migrator t=2024-01-22T15:03:55.328735286Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-22T15:03:55.332644125Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.910299ms grafana | logger=migrator t=2024-01-22T15:03:55.337277103Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-22T15:03:55.341156331Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.878728ms grafana | logger=migrator t=2024-01-22T15:03:55.346402446Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-22T15:03:55.346595938Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=193.322µs grafana | logger=migrator t=2024-01-22T15:03:55.350822771Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-22T15:03:55.351621441Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=797.72µs grafana | logger=migrator t=2024-01-22T15:03:55.356469131Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-22T15:03:55.357630915Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.161584ms grafana | logger=migrator t=2024-01-22T15:03:55.36285821Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-22T15:03:55.367567829Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.756129ms grafana | logger=migrator t=2024-01-22T15:03:55.371906833Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-22T15:03:55.372094085Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=186.892µs grafana | logger=migrator t=2024-01-22T15:03:55.376992546Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-22T15:03:55.378068099Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.074403ms grafana | logger=migrator t=2024-01-22T15:03:55.382598786Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-22T15:03:55.383667439Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.068893ms grafana | logger=migrator t=2024-01-22T15:03:55.387283334Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-22T15:03:55.387461466Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=174.902µs grafana | logger=migrator t=2024-01-22T15:03:55.391286143Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-22T15:03:55.392224385Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=938.162µs grafana | logger=migrator t=2024-01-22T15:03:55.39749428Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-22T15:03:55.399349593Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.855663ms grafana | logger=migrator t=2024-01-22T15:03:55.404738481Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-22T15:03:55.405922355Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.184754ms grafana | logger=migrator t=2024-01-22T15:03:55.409814064Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-22T15:03:55.410833846Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.020653ms grafana | logger=migrator t=2024-01-22T15:03:55.417005443Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-22T15:03:55.418354879Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.350166ms grafana | logger=migrator t=2024-01-22T15:03:55.455780264Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-22T15:03:55.458347706Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=2.570172ms grafana | logger=migrator t=2024-01-22T15:03:55.462450837Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-22T15:03:55.462552678Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=102.301µs grafana | logger=migrator t=2024-01-22T15:03:55.469538085Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.476195888Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.656973ms grafana | logger=migrator t=2024-01-22T15:03:55.480477451Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-22T15:03:55.481649686Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.168854ms grafana | logger=migrator t=2024-01-22T15:03:55.485740856Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.491099023Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.386727ms grafana | logger=migrator t=2024-01-22T15:03:55.496150055Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-22T15:03:55.496849654Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=701.999µs grafana | logger=migrator t=2024-01-22T15:03:55.503493077Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-22T15:03:55.504432238Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=938.591µs grafana | logger=migrator t=2024-01-22T15:03:55.508423308Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-22T15:03:55.510655286Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=2.235978ms grafana | logger=migrator t=2024-01-22T15:03:55.516602039Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-22T15:03:55.533304397Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.701698ms grafana | logger=migrator t=2024-01-22T15:03:55.537040433Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-22T15:03:55.537661201Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=621.618µs grafana | logger=migrator t=2024-01-22T15:03:55.541102934Z 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-01-22T15:03:55.541861893Z 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=758.769µs grafana | logger=migrator t=2024-01-22T15:03:55.54724266Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-22T15:03:55.547854908Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=612.478µs kafka | ssl.truststore.password = null kafka | ssl.truststore.type = JKS kafka | transaction.abort.timed.out.transaction.cleanup.interval.ms = 10000 kafka | transaction.max.timeout.ms = 900000 kafka | transaction.remove.expired.transaction.cleanup.interval.ms = 3600000 kafka | transaction.state.log.load.buffer.size = 5242880 kafka | transaction.state.log.min.isr = 2 kafka | transaction.state.log.num.partitions = 50 kafka | transaction.state.log.replication.factor = 3 kafka | transaction.state.log.segment.bytes = 104857600 kafka | transactional.id.expiration.ms = 604800000 kafka | unclean.leader.election.enable = false kafka | unstable.api.versions.enable = false kafka | zookeeper.clientCnxnSocket = null kafka | zookeeper.connect = zookeeper:2181 kafka | zookeeper.connection.timeout.ms = null kafka | zookeeper.max.in.flight.requests = 10 kafka | zookeeper.metadata.migration.enable = false kafka | zookeeper.session.timeout.ms = 18000 kafka | zookeeper.set.acl = false kafka | zookeeper.ssl.cipher.suites = null kafka | zookeeper.ssl.client.enable = false kafka | zookeeper.ssl.crl.enable = false kafka | zookeeper.ssl.enabled.protocols = null kafka | zookeeper.ssl.endpoint.identification.algorithm = HTTPS kafka | zookeeper.ssl.keystore.location = null kafka | zookeeper.ssl.keystore.password = null kafka | zookeeper.ssl.keystore.type = null kafka | zookeeper.ssl.ocsp.enable = false kafka | zookeeper.ssl.protocol = TLSv1.2 kafka | zookeeper.ssl.truststore.location = null kafka | zookeeper.ssl.truststore.password = null kafka | zookeeper.ssl.truststore.type = null kafka | (kafka.server.KafkaConfig) kafka | [2024-01-22 15:04:00,230] INFO [ThrottledChannelReaper-Fetch]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) kafka | [2024-01-22 15:04:00,230] INFO [ThrottledChannelReaper-Produce]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) kafka | [2024-01-22 15:04:00,232] INFO [ThrottledChannelReaper-Request]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) kafka | [2024-01-22 15:04:00,235] INFO [ThrottledChannelReaper-ControllerMutation]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) kafka | [2024-01-22 15:04:00,261] INFO Loading logs from log dirs ArraySeq(/var/lib/kafka/data) (kafka.log.LogManager) kafka | [2024-01-22 15:04:00,265] INFO No logs found to be loaded in /var/lib/kafka/data (kafka.log.LogManager) kafka | [2024-01-22 15:04:00,276] INFO Loaded 0 logs in 14ms (kafka.log.LogManager) kafka | [2024-01-22 15:04:00,277] INFO Starting log cleanup with a period of 300000 ms. (kafka.log.LogManager) kafka | [2024-01-22 15:04:00,279] INFO Starting log flusher with a default period of 9223372036854775807 ms. (kafka.log.LogManager) kafka | [2024-01-22 15:04:00,289] INFO Starting the log cleaner (kafka.log.LogCleaner) kafka | [2024-01-22 15:04:00,334] INFO [kafka-log-cleaner-thread-0]: Starting (kafka.log.LogCleaner$CleanerThread) kafka | [2024-01-22 15:04:00,350] INFO [feature-zk-node-event-process-thread]: Starting (kafka.server.FinalizedFeatureChangeListener$ChangeNotificationProcessorThread) kafka | [2024-01-22 15:04:00,361] INFO Feature ZK node at path: /feature does not exist (kafka.server.FinalizedFeatureChangeListener) kafka | [2024-01-22 15:04:00,409] INFO [zk-broker-1-to-controller-forwarding-channel-manager]: Starting (kafka.server.BrokerToControllerRequestThread) kafka | [2024-01-22 15:04:00,768] INFO Updated connection-accept-rate max connection creation rate to 2147483647 (kafka.network.ConnectionQuotas) kafka | [2024-01-22 15:04:00,793] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Created data-plane acceptor and processors for endpoint : ListenerName(PLAINTEXT) (kafka.network.SocketServer) kafka | [2024-01-22 15:04:00,794] INFO Updated connection-accept-rate max connection creation rate to 2147483647 (kafka.network.ConnectionQuotas) kafka | [2024-01-22 15:04:00,799] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Created data-plane acceptor and processors for endpoint : ListenerName(PLAINTEXT_HOST) (kafka.network.SocketServer) kafka | [2024-01-22 15:04:00,803] INFO [zk-broker-1-to-controller-alter-partition-channel-manager]: Starting (kafka.server.BrokerToControllerRequestThread) kafka | [2024-01-22 15:04:00,822] INFO [ExpirationReaper-1-Produce]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) kafka | [2024-01-22 15:04:00,823] INFO [ExpirationReaper-1-Fetch]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) kafka | [2024-01-22 15:04:00,826] INFO [ExpirationReaper-1-DeleteRecords]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) kafka | [2024-01-22 15:04:00,827] INFO [ExpirationReaper-1-ElectLeader]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) kafka | [2024-01-22 15:04:00,840] INFO [LogDirFailureHandler]: Starting (kafka.server.ReplicaManager$LogDirFailureHandler) kafka | [2024-01-22 15:04:00,862] INFO Creating /brokers/ids/1 (is it secure? false) (kafka.zk.KafkaZkClient) kafka | [2024-01-22 15:04:00,884] INFO Stat of the created znode at /brokers/ids/1 is: 27,27,1705935840875,1705935840875,1,0,0,72057613004963841,258,0,27 kafka | (kafka.zk.KafkaZkClient) kafka | [2024-01-22 15:04:00,885] 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) mariadb | 2024-01-22 15:03:51 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-22 15:03:51 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-22 15:03:51 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-22 15:03:51 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-22 15:03:51 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-22 15:03:51 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-22 15:03:51 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-22 15:03:51 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-22 15:03:51 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-22 15:03:51 0 [Note] InnoDB: log sequence number 46606; transaction id 14 mariadb | 2024-01-22 15:03:51 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-22 15:03:51 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-22 15:03:51 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-22 15:03:51 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-22 15:03:51 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-01-22 15:03:52+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-22 15:03:53+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-22 15:03:53+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-01-22 15:03:53+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-01-22 15:03:53+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" kafka | [2024-01-22 15:04:00,960] INFO [ControllerEventThread controllerId=1] Starting (kafka.controller.ControllerEventManager$ControllerEventThread) kafka | [2024-01-22 15:04:00,966] INFO [ExpirationReaper-1-topic]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) kafka | [2024-01-22 15:04:00,973] INFO [ExpirationReaper-1-Heartbeat]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) kafka | [2024-01-22 15:04:00,974] INFO [ExpirationReaper-1-Rebalance]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) kafka | [2024-01-22 15:04:00,984] INFO Successfully created /controller_epoch with initial epoch 0 (kafka.zk.KafkaZkClient) kafka | [2024-01-22 15:04:01,002] INFO [Controller id=1] 1 successfully elected as the controller. Epoch incremented to 1 and epoch zk version is now 1 (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,004] INFO [GroupCoordinator 1]: Starting up. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-01-22 15:04:01,006] INFO [Controller id=1] Creating FeatureZNode at path: /feature with contents: FeatureZNode(2,Enabled,Map()) (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,010] INFO [GroupCoordinator 1]: Startup complete. (kafka.coordinator.group.GroupCoordinator) kafka | [2024-01-22 15:04:01,013] INFO Feature ZK node created at path: /feature (kafka.server.FinalizedFeatureChangeListener) kafka | [2024-01-22 15:04:01,032] INFO [TransactionCoordinator id=1] Starting up. (kafka.coordinator.transaction.TransactionCoordinator) kafka | [2024-01-22 15:04:01,036] INFO [TxnMarkerSenderThread-1]: Starting (kafka.coordinator.transaction.TransactionMarkerChannelManager) kafka | [2024-01-22 15:04:01,036] INFO [TransactionCoordinator id=1] Startup complete. (kafka.coordinator.transaction.TransactionCoordinator) kafka | [2024-01-22 15:04:01,048] INFO [MetadataCache brokerId=1] Updated cache from existing to latest FinalizedFeaturesAndEpoch(features=Map(), epoch=0). (kafka.server.metadata.ZkMetadataCache) kafka | [2024-01-22 15:04:01,048] INFO [Controller id=1] Registering handlers (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,056] INFO [Controller id=1] Deleting log dir event notifications (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,060] INFO [Controller id=1] Deleting isr change notifications (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,063] INFO [Controller id=1] Initializing controller context (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,068] INFO [ExpirationReaper-1-AlterAcls]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) kafka | [2024-01-22 15:04:01,082] INFO [Controller id=1] Initialized broker epochs cache: HashMap(1 -> 27) (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,086] DEBUG [Controller id=1] Register BrokerModifications handler for Set(1) (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,091] DEBUG [Channel manager on controller 1]: Controller 1 trying to connect to broker 1 (kafka.controller.ControllerChannelManager) kafka | [2024-01-22 15:04:01,103] INFO [RequestSendThread controllerId=1] Starting (kafka.controller.RequestSendThread) kafka | [2024-01-22 15:04:01,105] INFO [Controller id=1] Currently active brokers in the cluster: Set(1) (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,103] INFO [/config/changes-event-process-thread]: Starting (kafka.common.ZkNodeChangeNotificationListener$ChangeEventProcessThread) policy-apex-pdp | retry.backoff.ms = 100 policy-apex-pdp | sasl.client.callback.handler.class = null policy-apex-pdp | sasl.jaas.config = null policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 policy-apex-pdp | sasl.kerberos.service.name = null policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-apex-pdp | sasl.login.callback.handler.class = null policy-apex-pdp | sasl.login.class = null policy-apex-pdp | sasl.login.connect.timeout.ms = null policy-apex-pdp | sasl.login.read.timeout.ms = null policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 policy-apex-pdp | sasl.mechanism = GSSAPI policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 policy-apex-pdp | sasl.oauthbearer.expected.audience = null policy-apex-pdp | sasl.oauthbearer.expected.issuer = null policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null policy-apex-pdp | security.protocol = PLAINTEXT policy-apex-pdp | security.providers = null policy-apex-pdp | send.buffer.bytes = 131072 policy-apex-pdp | session.timeout.ms = 45000 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 policy-apex-pdp | ssl.cipher.suites = null kafka | [2024-01-22 15:04:01,108] INFO [Controller id=1] Currently shutting brokers in the cluster: HashSet() (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,108] INFO [Controller id=1] Current list of topics in the cluster: HashSet() (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,108] INFO [Controller id=1] Fetching topic deletions in progress (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,113] INFO [Controller id=1] List of topics to be deleted: (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,114] INFO [Controller id=1] List of topics ineligible for deletion: (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,114] INFO [Controller id=1] Initializing topic deletion manager (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,115] INFO [Topic Deletion Manager 1] Initializing manager with initial deletions: Set(), initial ineligible deletions: HashSet() (kafka.controller.TopicDeletionManager) kafka | [2024-01-22 15:04:01,116] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Enabling request processing. (kafka.network.SocketServer) kafka | [2024-01-22 15:04:01,116] INFO [Controller id=1] Sending update metadata request (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,120] INFO Awaiting socket connections on 0.0.0.0:29092. (kafka.network.DataPlaneAcceptor) kafka | [2024-01-22 15:04:01,120] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 0 partitions (state.change.logger) kafka | [2024-01-22 15:04:01,123] INFO Awaiting socket connections on 0.0.0.0:9092. (kafka.network.DataPlaneAcceptor) kafka | [2024-01-22 15:04:01,126] INFO [ReplicaStateMachine controllerId=1] Initializing replica state (kafka.controller.ZkReplicaStateMachine) kafka | [2024-01-22 15:04:01,127] INFO [ReplicaStateMachine controllerId=1] Triggering online replica state changes (kafka.controller.ZkReplicaStateMachine) kafka | [2024-01-22 15:04:01,131] INFO [ReplicaStateMachine controllerId=1] Triggering offline replica state changes (kafka.controller.ZkReplicaStateMachine) kafka | [2024-01-22 15:04:01,131] DEBUG [ReplicaStateMachine controllerId=1] Started replica state machine with initial state -> HashMap() (kafka.controller.ZkReplicaStateMachine) kafka | [2024-01-22 15:04:01,131] INFO [PartitionStateMachine controllerId=1] Initializing partition state (kafka.controller.ZkPartitionStateMachine) kafka | [2024-01-22 15:04:01,133] INFO [PartitionStateMachine controllerId=1] Triggering online partition state changes (kafka.controller.ZkPartitionStateMachine) kafka | [2024-01-22 15:04:01,134] INFO Kafka version: 7.5.3-ccs (org.apache.kafka.common.utils.AppInfoParser) kafka | [2024-01-22 15:04:01,134] INFO Kafka commitId: 9090b26369455a2f335fbb5487fb89675ee406ab (org.apache.kafka.common.utils.AppInfoParser) kafka | [2024-01-22 15:04:01,134] INFO Kafka startTimeMs: 1705935841126 (org.apache.kafka.common.utils.AppInfoParser) kafka | [2024-01-22 15:04:01,136] DEBUG [PartitionStateMachine controllerId=1] Started partition state machine with initial state -> HashMap() (kafka.controller.ZkPartitionStateMachine) kafka | [2024-01-22 15:04:01,136] INFO [KafkaServer id=1] started (kafka.server.KafkaServer) kafka | [2024-01-22 15:04:01,137] INFO [Controller id=1] Ready to serve as the new controller with epoch 1 (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,147] INFO [Controller id=1] Partitions undergoing preferred replica election: (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,148] INFO [Controller id=1] Partitions that completed preferred replica election: (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,148] INFO [Controller id=1] Skipping preferred replica election for partitions due to topic deletion: (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,148] INFO [Controller id=1] Resuming preferred replica election for partitions: (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,151] INFO [Controller id=1] Starting replica leader election (PREFERRED) for partitions triggered by ZkTriggered (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,153] INFO [RequestSendThread controllerId=1] Controller 1 connected to kafka:9092 (id: 1 rack: null) for sending state change requests (kafka.controller.RequestSendThread) kafka | [2024-01-22 15:04:01,177] INFO [Controller id=1] Starting the controller scheduler (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:01,236] 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) kafka | [2024-01-22 15:04:01,243] 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) kafka | [2024-01-22 15:04:01,316] 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) kafka | [2024-01-22 15:04:06,179] INFO [Controller id=1] Processing automatic preferred replica leader election (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:06,179] TRACE [Controller id=1] Checking need to trigger auto leader balancing (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:30,174] DEBUG [Controller id=1] There is no producerId block yet (Zk path version 0), creating the first block (kafka.controller.KafkaController) kafka | [2024-01-22 15:04:30,179] 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) kafka | [2024-01-22 15:04:30,185] 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) kafka | [2024-01-22 15:04:30,186] INFO Creating topic policy-pdp-pap with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-apex-pdp | ssl.endpoint.identification.algorithm = https policy-apex-pdp | ssl.engine.factory.class = null policy-apex-pdp | ssl.key.password = null policy-apex-pdp | ssl.keymanager.algorithm = SunX509 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 | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-apex-pdp | policy-apex-pdp | [2024-01-22T15:04:31.592+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 policy-apex-pdp | [2024-01-22T15:04:31.592+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a policy-apex-pdp | [2024-01-22T15:04:31.592+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705935871590 policy-apex-pdp | [2024-01-22T15:04:31.594+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-1, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Subscribed to topic(s): policy-pdp-pap policy-apex-pdp | [2024-01-22T15:04:31.608+00:00|INFO|ServiceManager|main] service manager starting policy-apex-pdp | [2024-01-22T15:04:31.608+00:00|INFO|ServiceManager|main] service manager starting topics policy-apex-pdp | [2024-01-22T15:04:31.614+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=42dc174d-ec44-49ed-8258-1b0a49d03f03, 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 policy-apex-pdp | [2024-01-22T15:04:31.635+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: policy-apex-pdp | allow.auto.create.topics = true policy-apex-pdp | auto.commit.interval.ms = 5000 policy-apex-pdp | auto.include.jmx.reporter = true policy-apex-pdp | auto.offset.reset = latest policy-apex-pdp | bootstrap.servers = [kafka:9092] policy-apex-pdp | check.crcs = true policy-apex-pdp | client.dns.lookup = use_all_dns_ips policy-apex-pdp | client.id = consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2 policy-apex-pdp | client.rack = grafana | logger=migrator t=2024-01-22T15:03:55.55203787Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-22T15:03:55.552984301Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=947.001µs grafana | logger=migrator t=2024-01-22T15:03:55.557987283Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-22T15:03:55.558441889Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=454.136µs grafana | logger=migrator t=2024-01-22T15:03:55.565248013Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.570508609Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.257226ms grafana | logger=migrator t=2024-01-22T15:03:55.606227992Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.614233562Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=8.00506ms grafana | logger=migrator t=2024-01-22T15:03:55.617947738Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.618642077Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=692.009µs grafana | logger=migrator t=2024-01-22T15:03:55.623083822Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.623809601Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=723.869µs grafana | logger=migrator t=2024-01-22T15:03:55.627270304Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-22T15:03:55.62781033Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=539.416µs grafana | logger=migrator t=2024-01-22T15:03:55.631904971Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-22T15:03:55.637048645Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.145674ms grafana | logger=migrator t=2024-01-22T15:03:55.64066439Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-22T15:03:55.641642542Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=971.772µs grafana | logger=migrator t=2024-01-22T15:03:55.645830554Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-22T15:03:55.646072577Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=241.293µs grafana | logger=migrator t=2024-01-22T15:03:55.649470249Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-22T15:03:55.649955595Z level=info msg="Migration successfully executed" id="Move region to single row" duration=484.926µs grafana | logger=migrator t=2024-01-22T15:03:55.674177446Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.67687647Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=2.706574ms grafana | logger=migrator t=2024-01-22T15:03:55.681876952Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.683441931Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.564859ms grafana | logger=migrator t=2024-01-22T15:03:55.687297299Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.688353392Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.055233ms grafana | logger=migrator t=2024-01-22T15:03:55.691885696Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.692832768Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=946.592µs grafana | logger=migrator t=2024-01-22T15:03:55.698106453Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.699084365Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=976.682µs grafana | logger=migrator t=2024-01-22T15:03:55.703777474Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-22T15:03:55.705588656Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.817212ms grafana | logger=migrator t=2024-01-22T15:03:55.710800251Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-22T15:03:55.711199686Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=404.415µs grafana | logger=migrator t=2024-01-22T15:03:55.715681332Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-22T15:03:55.717325392Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.64341ms grafana | logger=migrator t=2024-01-22T15:03:55.72198216Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-22T15:03:55.723490099Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.507778ms grafana | logger=migrator t=2024-01-22T15:03:55.727565929Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-22T15:03:55.728796064Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.231395ms grafana | logger=migrator t=2024-01-22T15:03:55.733195489Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-22T15:03:55.734353964Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.157445ms grafana | logger=migrator t=2024-01-22T15:03:55.737983229Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-22T15:03:55.738237542Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=254.243µs grafana | logger=migrator t=2024-01-22T15:03:55.741438072Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-22T15:03:55.741771906Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=333.834µs grafana | logger=migrator t=2024-01-22T15:03:55.74612066Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-01-22T15:03:55.746354242Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=233.502µs grafana | logger=migrator t=2024-01-22T15:03:55.750325502Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-22T15:03:55.751664018Z level=info msg="Migration successfully executed" id="create team table" duration=1.337256ms grafana | logger=migrator t=2024-01-22T15:03:55.755637818Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-22T15:03:55.757004885Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.369477ms grafana | logger=migrator t=2024-01-22T15:03:55.767573096Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-22T15:03:55.769021004Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.452478ms grafana | logger=migrator t=2024-01-22T15:03:55.773695792Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-22T15:03:55.778165657Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.469525ms grafana | logger=migrator t=2024-01-22T15:03:55.782017755Z level=info msg="Executing migration" id="Update uid column values in team" policy-pap | Waiting for mariadb port 3306... policy-pap | Waiting for kafka port 9092... policy-pap | mariadb (172.17.0.4:3306) open policy-pap | kafka (172.17.0.6:9092) open policy-pap | Waiting for api port 6969... policy-pap | api (172.17.0.9:6969) open policy-pap | Policy pap config file: /opt/app/policy/pap/etc/papParameters.yaml policy-pap | PDP group configuration file: /opt/app/policy/pap/etc/mounted/groups.json policy-pap | policy-pap | . ____ _ __ _ _ policy-pap | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-pap | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-pap | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-pap | ' |____| .__|_| |_|_| |_\__, | / / / / policy-pap | =========|_|==============|___/=/_/_/_/ policy-pap | :: Spring Boot :: (v3.1.7) policy-pap | policy-pap | [2024-01-22T15:04:19.750+00:00|INFO|PolicyPapApplication|main] Starting PolicyPapApplication using Java 17.0.9 with PID 35 (/app/pap.jar started by policy in /opt/app/policy/pap/bin) policy-pap | [2024-01-22T15:04:19.752+00:00|INFO|PolicyPapApplication|main] No active profile set, falling back to 1 default profile: "default" policy-pap | [2024-01-22T15:04:21.620+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-pap | [2024-01-22T15:04:21.743+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 112 ms. Found 7 JPA repository interfaces. policy-pap | [2024-01-22T15:04:22.144+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-pap | [2024-01-22T15:04:22.145+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-pap | [2024-01-22T15:04:22.815+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-pap | [2024-01-22T15:04:22.825+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-pap | [2024-01-22T15:04:22.827+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-pap | [2024-01-22T15:04:22.827+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] policy-pap | [2024-01-22T15:04:22.943+00:00|INFO|[/policy/pap/v1]|main] Initializing Spring embedded WebApplicationContext policy-pap | [2024-01-22T15:04:22.943+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3106 ms policy-pap | [2024-01-22T15:04:23.384+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-pap | [2024-01-22T15:04:23.482+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-pap | [2024-01-22T15:04:23.489+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-pap | [2024-01-22T15:04:23.542+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-pap | [2024-01-22T15:04:23.942+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-pap | [2024-01-22T15:04:23.963+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-pap | [2024-01-22T15:04:24.108+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@4068102e policy-pap | [2024-01-22T15:04:24.110+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-pap | [2024-01-22T15:04:24.147+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) mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-01-22 15:03:54+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-22 15:03:54 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-22 15:03:54 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-22 15:03:54 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-22 15:03:54 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-22 15:03:54 0 [Note] InnoDB: Buffer pool(s) dump completed at 240122 15:03:54 mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: Shutdown completed; log sequence number 332243; transaction id 298 mariadb | 2024-01-22 15:03:55 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-22 15:03:55+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-22 15:03:55+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-22 15:03:55 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-pap | [2024-01-22T15:04:24.149+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-pap | [2024-01-22T15:04:26.131+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-pap | [2024-01-22T15:04:26.135+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-pap | [2024-01-22T15:04:26.764+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-pap | [2024-01-22T15:04:27.327+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-pap | [2024-01-22T15:04:27.430+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-pap | [2024-01-22T15:04:27.695+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: policy-pap | allow.auto.create.topics = true policy-pap | auto.commit.interval.ms = 5000 policy-pap | auto.include.jmx.reporter = true policy-pap | auto.offset.reset = latest policy-pap | bootstrap.servers = [kafka:9092] policy-pap | check.crcs = true policy-pap | client.dns.lookup = use_all_dns_ips policy-pap | client.id = consumer-c676d884-f554-487a-8e53-52e0dae36e61-1 policy-pap | client.rack = policy-pap | connections.max.idle.ms = 540000 policy-pap | default.api.timeout.ms = 60000 policy-pap | enable.auto.commit = true policy-pap | exclude.internal.topics = true policy-pap | fetch.max.bytes = 52428800 policy-pap | fetch.max.wait.ms = 500 policy-pap | fetch.min.bytes = 1 policy-pap | group.id = c676d884-f554-487a-8e53-52e0dae36e61 policy-pap | group.instance.id = null policy-pap | heartbeat.interval.ms = 3000 policy-pap | interceptor.classes = [] policy-pap | internal.leave.group.on.close = true policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false policy-pap | isolation.level = read_uncommitted policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-pap | max.partition.fetch.bytes = 1048576 policy-pap | max.poll.interval.ms = 300000 policy-pap | max.poll.records = 500 policy-pap | metadata.max.age.ms = 300000 policy-pap | metric.reporters = [] policy-pap | metrics.num.samples = 2 policy-pap | metrics.recording.level = INFO policy-pap | metrics.sample.window.ms = 30000 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] policy-pap | receive.buffer.bytes = 65536 policy-pap | reconnect.backoff.max.ms = 1000 policy-pap | reconnect.backoff.ms = 50 policy-pap | request.timeout.ms = 30000 policy-pap | retry.backoff.ms = 100 policy-pap | sasl.client.callback.handler.class = null policy-pap | sasl.jaas.config = null policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-pap | sasl.kerberos.min.time.before.relogin = 60000 policy-pap | sasl.kerberos.service.name = null policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-pap | sasl.login.callback.handler.class = null policy-pap | sasl.login.class = null policy-pap | sasl.login.connect.timeout.ms = null policy-apex-pdp | connections.max.idle.ms = 540000 policy-apex-pdp | default.api.timeout.ms = 60000 policy-apex-pdp | enable.auto.commit = true policy-apex-pdp | exclude.internal.topics = true policy-apex-pdp | fetch.max.bytes = 52428800 policy-apex-pdp | fetch.max.wait.ms = 500 policy-apex-pdp | fetch.min.bytes = 1 policy-apex-pdp | group.id = 42dc174d-ec44-49ed-8258-1b0a49d03f03 policy-apex-pdp | group.instance.id = null policy-apex-pdp | heartbeat.interval.ms = 3000 policy-apex-pdp | interceptor.classes = [] policy-apex-pdp | internal.leave.group.on.close = true policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false policy-apex-pdp | isolation.level = read_uncommitted policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-apex-pdp | max.partition.fetch.bytes = 1048576 policy-apex-pdp | max.poll.interval.ms = 300000 policy-apex-pdp | max.poll.records = 500 policy-apex-pdp | metadata.max.age.ms = 300000 policy-apex-pdp | metric.reporters = [] policy-apex-pdp | metrics.num.samples = 2 policy-apex-pdp | metrics.recording.level = INFO policy-apex-pdp | metrics.sample.window.ms = 30000 policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] policy-pap | sasl.login.read.timeout.ms = null policy-pap | sasl.login.refresh.buffer.seconds = 300 policy-pap | sasl.login.refresh.min.period.seconds = 60 policy-pap | sasl.login.refresh.window.factor = 0.8 policy-pap | sasl.login.refresh.window.jitter = 0.05 policy-pap | sasl.login.retry.backoff.max.ms = 10000 policy-pap | sasl.login.retry.backoff.ms = 100 policy-pap | sasl.mechanism = GSSAPI policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 policy-pap | sasl.oauthbearer.expected.audience = null policy-pap | sasl.oauthbearer.expected.issuer = null policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null policy-pap | sasl.oauthbearer.scope.claim.name = scope policy-pap | sasl.oauthbearer.sub.claim.name = sub policy-pap | sasl.oauthbearer.token.endpoint.url = null policy-pap | security.protocol = PLAINTEXT policy-pap | security.providers = null policy-pap | send.buffer.bytes = 131072 policy-pap | session.timeout.ms = 45000 policy-pap | socket.connection.setup.timeout.max.ms = 30000 policy-pap | socket.connection.setup.timeout.ms = 10000 policy-pap | ssl.cipher.suites = null policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-pap | ssl.endpoint.identification.algorithm = https policy-pap | ssl.engine.factory.class = null policy-pap | ssl.key.password = null policy-pap | ssl.keymanager.algorithm = SunX509 policy-pap | ssl.keystore.certificate.chain = null policy-pap | ssl.keystore.key = null policy-pap | ssl.keystore.location = null policy-pap | ssl.keystore.password = null policy-pap | ssl.keystore.type = JKS policy-pap | ssl.protocol = TLSv1.3 policy-pap | ssl.provider = null policy-pap | ssl.secure.random.implementation = null policy-pap | ssl.trustmanager.algorithm = PKIX policy-pap | ssl.truststore.certificates = null policy-pap | ssl.truststore.location = null policy-pap | ssl.truststore.password = null policy-pap | ssl.truststore.type = JKS policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-pap | policy-pap | [2024-01-22T15:04:27.873+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 policy-pap | [2024-01-22T15:04:27.873+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a policy-pap | [2024-01-22T15:04:27.873+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705935867871 policy-pap | [2024-01-22T15:04:27.876+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-1, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Subscribed to topic(s): policy-pdp-pap policy-pap | [2024-01-22T15:04:27.877+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: policy-pap | allow.auto.create.topics = true policy-pap | auto.commit.interval.ms = 5000 policy-pap | auto.include.jmx.reporter = true policy-pap | auto.offset.reset = latest policy-pap | bootstrap.servers = [kafka:9092] policy-pap | check.crcs = true policy-pap | client.dns.lookup = use_all_dns_ips policy-pap | client.id = consumer-policy-pap-2 policy-pap | client.rack = policy-pap | connections.max.idle.ms = 540000 policy-pap | default.api.timeout.ms = 60000 policy-pap | enable.auto.commit = true policy-pap | exclude.internal.topics = true policy-pap | fetch.max.bytes = 52428800 policy-pap | fetch.max.wait.ms = 500 policy-pap | fetch.min.bytes = 1 grafana | logger=migrator t=2024-01-22T15:03:55.782263398Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=245.213µs grafana | logger=migrator t=2024-01-22T15:03:55.786221628Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-22T15:03:55.787573035Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.350497ms grafana | logger=migrator t=2024-01-22T15:03:55.792907191Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-22T15:03:55.793756131Z level=info msg="Migration successfully executed" id="create team member table" duration=848.69µs grafana | logger=migrator t=2024-01-22T15:03:55.797449597Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-22T15:03:55.798161586Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=711.739µs grafana | logger=migrator t=2024-01-22T15:03:55.801532488Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-22T15:03:55.802234836Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=702.008µs grafana | logger=migrator t=2024-01-22T15:03:55.806787673Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-22T15:03:55.808280541Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.492918ms grafana | logger=migrator t=2024-01-22T15:03:55.812491324Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-22T15:03:55.819306548Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.816184ms grafana | logger=migrator t=2024-01-22T15:03:55.823308388Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-22T15:03:55.83151084Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=8.203132ms grafana | logger=migrator t=2024-01-22T15:03:55.835924765Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-22T15:03:55.841018938Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.092053ms grafana | logger=migrator t=2024-01-22T15:03:55.844840265Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-22T15:03:55.845874268Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.033553ms grafana | logger=migrator t=2024-01-22T15:03:55.849547444Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-22T15:03:55.850613897Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.066323ms grafana | logger=migrator t=2024-01-22T15:03:55.855122073Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-22T15:03:55.856515641Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.389408ms grafana | logger=migrator t=2024-01-22T15:03:55.860284187Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-22T15:03:55.861933798Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.646111ms grafana | logger=migrator t=2024-01-22T15:03:55.865559963Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-22T15:03:55.867068172Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.509108ms grafana | logger=migrator t=2024-01-22T15:03:55.872324597Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-22T15:03:55.873542182Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.217455ms grafana | logger=migrator t=2024-01-22T15:03:55.877102486Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-22T15:03:55.87820471Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.101904ms grafana | logger=migrator t=2024-01-22T15:03:55.881771804Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-22T15:03:55.88305738Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.285776ms grafana | logger=migrator t=2024-01-22T15:03:55.887825129Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-22T15:03:55.888386346Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=560.367µs grafana | logger=migrator t=2024-01-22T15:03:55.892436236Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-22T15:03:55.893197156Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=767.21µs grafana | logger=migrator t=2024-01-22T15:03:55.897827843Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-22T15:03:55.898823626Z level=info msg="Migration successfully executed" id="create tag table" duration=995.843µs grafana | logger=migrator t=2024-01-22T15:03:55.902428621Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-22T15:03:55.903508504Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.079513ms grafana | logger=migrator t=2024-01-22T15:03:55.906851096Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-22T15:03:55.907732177Z level=info msg="Migration successfully executed" id="create login attempt table" duration=880.091µs policy-pap | group.id = policy-pap policy-pap | group.instance.id = null policy-pap | heartbeat.interval.ms = 3000 policy-pap | interceptor.classes = [] policy-pap | internal.leave.group.on.close = true policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false policy-pap | isolation.level = read_uncommitted policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-pap | max.partition.fetch.bytes = 1048576 policy-pap | max.poll.interval.ms = 300000 policy-pap | max.poll.records = 500 policy-pap | metadata.max.age.ms = 300000 policy-pap | metric.reporters = [] policy-pap | metrics.num.samples = 2 policy-pap | metrics.recording.level = INFO policy-pap | metrics.sample.window.ms = 30000 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] policy-pap | receive.buffer.bytes = 65536 policy-pap | reconnect.backoff.max.ms = 1000 policy-pap | reconnect.backoff.ms = 50 policy-pap | request.timeout.ms = 30000 policy-pap | retry.backoff.ms = 100 policy-pap | sasl.client.callback.handler.class = null policy-pap | sasl.jaas.config = null policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-pap | sasl.kerberos.min.time.before.relogin = 60000 policy-pap | sasl.kerberos.service.name = null policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-pap | sasl.login.callback.handler.class = null policy-pap | sasl.login.class = null policy-pap | sasl.login.connect.timeout.ms = null policy-pap | sasl.login.read.timeout.ms = null policy-pap | sasl.login.refresh.buffer.seconds = 300 policy-pap | sasl.login.refresh.min.period.seconds = 60 policy-pap | sasl.login.refresh.window.factor = 0.8 policy-pap | sasl.login.refresh.window.jitter = 0.05 policy-pap | sasl.login.retry.backoff.max.ms = 10000 policy-pap | sasl.login.retry.backoff.ms = 100 policy-pap | sasl.mechanism = GSSAPI policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 policy-pap | sasl.oauthbearer.expected.audience = null policy-pap | sasl.oauthbearer.expected.issuer = null policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null policy-pap | sasl.oauthbearer.scope.claim.name = scope policy-pap | sasl.oauthbearer.sub.claim.name = sub policy-pap | sasl.oauthbearer.token.endpoint.url = null policy-pap | security.protocol = PLAINTEXT policy-pap | security.providers = null policy-pap | send.buffer.bytes = 131072 policy-pap | session.timeout.ms = 45000 policy-pap | socket.connection.setup.timeout.max.ms = 30000 policy-pap | socket.connection.setup.timeout.ms = 10000 policy-pap | ssl.cipher.suites = null policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-22 15:03:55 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-22 15:03:55 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-22 15:03:55 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: log sequence number 332243; transaction id 299 mariadb | 2024-01-22 15:03:55 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-22 15:03:55 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-22 15:03:55 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-01-22 15:03:55 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-22 15:03:55 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-22 15:03:55 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-01-22 15:03:55 0 [Note] InnoDB: Buffer pool(s) load completed at 240122 15:03:55 mariadb | 2024-01-22 15:03:56 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.10' (This connection closed normally without authentication) mariadb | 2024-01-22 15:03:56 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.7' (This connection closed normally without authentication) mariadb | 2024-01-22 15:03:56 5 [Warning] Aborted connection 5 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.9' (This connection closed normally without authentication) mariadb | 2024-01-22 15:03:57 52 [Warning] Aborted connection 52 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.11' (This connection closed normally without authentication) kafka | [2024-01-22 15:04:30,229] 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(empYbNBmRw-qobOEm0sYBQ),Map(policy-pdp-pap-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))), TopicIdReplicaAssignment(__consumer_offsets,Some(AbqY1ihrRl6TJWpzLYOLdA),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) kafka | [2024-01-22 15:04:30,230] 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) kafka | [2024-01-22 15:04:30,233] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-22 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,233] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-30 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,233] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-25 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,233] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-35 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,233] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-38 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,233] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-13 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,233] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-8 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,233] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-21 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,233] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-4 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-27 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-7 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-9 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:55.912357694Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-01-22T15:03:55.913950884Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.59146ms grafana | logger=migrator t=2024-01-22T15:03:55.918059095Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-22T15:03:55.919674465Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.61569ms grafana | logger=migrator t=2024-01-22T15:03:55.923060607Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-22T15:03:55.940824347Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.76255ms grafana | logger=migrator t=2024-01-22T15:03:55.945163811Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-22T15:03:55.94587187Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=709.289µs grafana | logger=migrator t=2024-01-22T15:03:55.948848017Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-22T15:03:55.949683757Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=835.36µs grafana | logger=migrator t=2024-01-22T15:03:55.954016111Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-22T15:03:55.954419516Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=405.015µs grafana | logger=migrator t=2024-01-22T15:03:55.958841411Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-22T15:03:55.959608631Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=766.93µs grafana | logger=migrator t=2024-01-22T15:03:56.018155678Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-22T15:03:56.020613618Z level=info msg="Migration successfully executed" id="create user auth table" duration=2.481891ms grafana | logger=migrator t=2024-01-22T15:03:56.024666859Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-22T15:03:56.025822503Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.155194ms grafana | logger=migrator t=2024-01-22T15:03:56.030754214Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-22T15:03:56.030926886Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=171.732µs grafana | logger=migrator t=2024-01-22T15:03:56.034743004Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-22T15:03:56.046851464Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=12.10277ms grafana | logger=migrator t=2024-01-22T15:03:56.051198368Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-22T15:03:56.055124017Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.926599ms grafana | logger=migrator t=2024-01-22T15:03:56.059771064Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-22T15:03:56.063662023Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.891169ms grafana | logger=migrator t=2024-01-22T15:03:56.067275987Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-22T15:03:56.074158053Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.876156ms grafana | logger=migrator t=2024-01-22T15:03:56.079731032Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-22T15:03:56.081200661Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.470358ms grafana | logger=migrator t=2024-01-22T15:03:56.08598697Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-22T15:03:56.09080995Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=4.81796ms grafana | logger=migrator t=2024-01-22T15:03:56.094791949Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-22T15:03:56.095815582Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.022663ms grafana | logger=migrator t=2024-01-22T15:03:56.100242187Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-22T15:03:56.101946918Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.704921ms grafana | logger=migrator t=2024-01-22T15:03:56.108921305Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-22T15:03:56.109949927Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.027852ms grafana | logger=migrator t=2024-01-22T15:03:56.113627503Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-22T15:03:56.114413993Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=786.26µs grafana | logger=migrator t=2024-01-22T15:03:56.117701444Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-22T15:03:56.118672446Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=969.632µs grafana | logger=migrator t=2024-01-22T15:03:56.123493206Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-01-22T15:03:56.124700011Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.207045ms grafana | logger=migrator t=2024-01-22T15:03:56.130226409Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-22T15:03:56.141024213Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=10.788984ms grafana | logger=migrator t=2024-01-22T15:03:56.261655731Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-22T15:03:56.263390863Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.736112ms grafana | logger=migrator t=2024-01-22T15:03:56.275787127Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-22T15:03:56.276935301Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.151454ms grafana | logger=migrator t=2024-01-22T15:03:56.282015304Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-22T15:03:56.282990746Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=971.782µs grafana | logger=migrator t=2024-01-22T15:03:56.286488869Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-01-22T15:03:56.287783055Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=986.683µs grafana | logger=migrator t=2024-01-22T15:03:56.294416818Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-22T15:03:56.296433783Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=2.016155ms grafana | logger=migrator t=2024-01-22T15:03:56.305377564Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-22T15:03:56.305692108Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=319.374µs grafana | logger=migrator t=2024-01-22T15:03:56.310035272Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-22T15:03:56.310335076Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=300.294µs grafana | logger=migrator t=2024-01-22T15:03:56.316972928Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-22T15:03:56.319501609Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=2.535421ms kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-46 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-41 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-33 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-23 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-49 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-47 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-16 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-28 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-31 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,234] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-36 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-42 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-3 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-18 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-37 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition policy-pdp-pap-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-15 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-24 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-17 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-48 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-19 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,235] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-11 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-2 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-43 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-6 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-14 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-20 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-44 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-39 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-12 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-45 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,236] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-1 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,237] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-5 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,237] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-26 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,237] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-29 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,237] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-34 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,237] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-10 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,237] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-32 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,237] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-40 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) kafka | [2024-01-22 15:04:30,237] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-pap | ssl.endpoint.identification.algorithm = https policy-pap | ssl.engine.factory.class = null policy-pap | ssl.key.password = null policy-pap | ssl.keymanager.algorithm = SunX509 policy-pap | ssl.keystore.certificate.chain = null policy-pap | ssl.keystore.key = null policy-pap | ssl.keystore.location = null policy-pap | ssl.keystore.password = null policy-pap | ssl.keystore.type = JKS policy-pap | ssl.protocol = TLSv1.3 policy-pap | ssl.provider = null policy-pap | ssl.secure.random.implementation = null policy-pap | ssl.trustmanager.algorithm = PKIX policy-pap | ssl.truststore.certificates = null policy-pap | ssl.truststore.location = null policy-pap | ssl.truststore.password = null policy-pap | ssl.truststore.type = JKS policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-pap | policy-pap | [2024-01-22T15:04:27.885+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 policy-pap | [2024-01-22T15:04:27.885+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a policy-pap | [2024-01-22T15:04:27.885+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705935867885 policy-pap | [2024-01-22T15:04:27.885+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-policy-pap-2, groupId=policy-pap] Subscribed to topic(s): policy-pdp-pap kafka | [2024-01-22 15:04:30,243] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-32 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-5 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-44 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-48 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-46 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-20 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-pdp-pap-0 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-43 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-24 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-6 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-18 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,244] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-21 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,245] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-1 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,245] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-14 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,245] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-34 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,245] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-16 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,245] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-29 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,245] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-11 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,245] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-0 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,245] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-22 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,245] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-47 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,246] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-36 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,246] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-28 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,246] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-42 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,246] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-9 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,246] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-37 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,246] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-13 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,246] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-30 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,246] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-35 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,247] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-39 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,247] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-12 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,247] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-27 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,247] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-45 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,247] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-19 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,247] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-49 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,247] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-40 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,248] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-41 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,248] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-38 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,248] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-8 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,248] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-7 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,248] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-33 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,248] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-25 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,248] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-31 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,248] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-23 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,249] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-10 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,249] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-2 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,249] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-17 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,249] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-4 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,249] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-15 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,249] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-26 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,249] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-3 from NonExistentReplica to NewReplica (state.change.logger) kafka | [2024-01-22 15:04:30,249] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-01-22 15:04:30,462] 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) kafka | [2024-01-22 15:04:30,462] 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) kafka | [2024-01-22 15:04:30,462] 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) kafka | [2024-01-22 15:04:30,462] 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) kafka | [2024-01-22 15:04:30,462] 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) kafka | [2024-01-22 15:04:30,462] 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) kafka | [2024-01-22 15:04:30,463] 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) kafka | [2024-01-22 15:04:30,463] 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) kafka | [2024-01-22 15:04:30,463] 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) kafka | [2024-01-22 15:04:30,463] 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) kafka | [2024-01-22 15:04:30,463] 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) kafka | [2024-01-22 15:04:30,463] 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) kafka | [2024-01-22 15:04:30,463] 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-pap | [2024-01-22T15:04:28.247+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-01-22T15:04:28.429+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-pap | [2024-01-22T15:04:28.670+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@3ba8ef4e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6d0bcf8c, org.springframework.security.web.context.SecurityContextHolderFilter@50caeb4b, org.springframework.security.web.header.HeaderWriterFilter@7169d668, org.springframework.security.web.authentication.logout.LogoutFilter@161c9468, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@34d5eac, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@c7c07ff, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@a302f30, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@a1a72d4, org.springframework.security.web.access.ExceptionTranslationFilter@78f4d15d, org.springframework.security.web.access.intercept.AuthorizationFilter@5a07ae2f] policy-pap | [2024-01-22T15:04:29.513+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-pap | [2024-01-22T15:04:29.607+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-pap | [2024-01-22T15:04:29.631+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/pap/v1' policy-pap | [2024-01-22T15:04:29.649+00:00|INFO|ServiceManager|main] Policy PAP starting policy-pap | [2024-01-22T15:04:29.650+00:00|INFO|ServiceManager|main] Policy PAP starting Meter Registry policy-pap | [2024-01-22T15:04:29.650+00:00|INFO|ServiceManager|main] Policy PAP starting PAP parameters policy-pap | [2024-01-22T15:04:29.651+00:00|INFO|ServiceManager|main] Policy PAP starting Pdp Heartbeat Listener policy-pap | [2024-01-22T15:04:29.651+00:00|INFO|ServiceManager|main] Policy PAP starting Response Request ID Dispatcher policy-pap | [2024-01-22T15:04:29.651+00:00|INFO|ServiceManager|main] Policy PAP starting Heartbeat Request ID Dispatcher policy-pap | [2024-01-22T15:04:29.651+00:00|INFO|ServiceManager|main] Policy PAP starting Response Message Dispatcher policy-pap | [2024-01-22T15:04:29.657+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=c676d884-f554-487a-8e53-52e0dae36e61, 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@5c8d631 policy-pap | [2024-01-22T15:04:29.669+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=c676d884-f554-487a-8e53-52e0dae36e61, 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-pap | [2024-01-22T15:04:29.669+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: policy-pap | allow.auto.create.topics = true policy-pap | auto.commit.interval.ms = 5000 policy-pap | auto.include.jmx.reporter = true policy-pap | auto.offset.reset = latest policy-pap | bootstrap.servers = [kafka:9092] policy-pap | check.crcs = true policy-pap | client.dns.lookup = use_all_dns_ips policy-pap | client.id = consumer-c676d884-f554-487a-8e53-52e0dae36e61-3 policy-pap | client.rack = policy-pap | connections.max.idle.ms = 540000 policy-pap | default.api.timeout.ms = 60000 policy-pap | enable.auto.commit = true policy-pap | exclude.internal.topics = true policy-pap | fetch.max.bytes = 52428800 policy-pap | fetch.max.wait.ms = 500 policy-pap | fetch.min.bytes = 1 policy-pap | group.id = c676d884-f554-487a-8e53-52e0dae36e61 policy-pap | group.instance.id = null policy-pap | heartbeat.interval.ms = 3000 policy-pap | interceptor.classes = [] policy-pap | internal.leave.group.on.close = true policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false policy-pap | isolation.level = read_uncommitted policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-pap | max.partition.fetch.bytes = 1048576 policy-pap | max.poll.interval.ms = 300000 policy-pap | max.poll.records = 500 policy-pap | metadata.max.age.ms = 300000 policy-pap | metric.reporters = [] policy-pap | metrics.num.samples = 2 policy-pap | metrics.recording.level = INFO policy-pap | metrics.sample.window.ms = 30000 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] policy-pap | receive.buffer.bytes = 65536 policy-pap | reconnect.backoff.max.ms = 1000 policy-pap | reconnect.backoff.ms = 50 policy-pap | request.timeout.ms = 30000 policy-pap | retry.backoff.ms = 100 policy-pap | sasl.client.callback.handler.class = null policy-pap | sasl.jaas.config = null policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-pap | sasl.kerberos.min.time.before.relogin = 60000 policy-pap | sasl.kerberos.service.name = null policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-pap | sasl.login.callback.handler.class = null policy-apex-pdp | receive.buffer.bytes = 65536 policy-apex-pdp | reconnect.backoff.max.ms = 1000 policy-apex-pdp | reconnect.backoff.ms = 50 policy-apex-pdp | request.timeout.ms = 30000 policy-apex-pdp | retry.backoff.ms = 100 policy-apex-pdp | sasl.client.callback.handler.class = null policy-apex-pdp | sasl.jaas.config = null policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 policy-apex-pdp | sasl.kerberos.service.name = null policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-apex-pdp | sasl.login.callback.handler.class = null policy-apex-pdp | sasl.login.class = null policy-apex-pdp | sasl.login.connect.timeout.ms = null policy-apex-pdp | sasl.login.read.timeout.ms = null policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 policy-apex-pdp | sasl.mechanism = GSSAPI policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 policy-apex-pdp | sasl.oauthbearer.expected.audience = null policy-apex-pdp | sasl.oauthbearer.expected.issuer = null policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null policy-apex-pdp | security.protocol = PLAINTEXT policy-apex-pdp | security.providers = null policy-apex-pdp | send.buffer.bytes = 131072 policy-apex-pdp | session.timeout.ms = 45000 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 policy-apex-pdp | ssl.cipher.suites = null policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-apex-pdp | ssl.endpoint.identification.algorithm = https policy-apex-pdp | ssl.engine.factory.class = null policy-apex-pdp | ssl.key.password = null policy-apex-pdp | ssl.keymanager.algorithm = SunX509 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 | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-apex-pdp | policy-apex-pdp | [2024-01-22T15:04:31.643+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 policy-apex-pdp | [2024-01-22T15:04:31.643+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a policy-apex-pdp | [2024-01-22T15:04:31.643+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705935871643 policy-apex-pdp | [2024-01-22T15:04:31.644+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Subscribed to topic(s): policy-pdp-pap policy-apex-pdp | [2024-01-22T15:04:31.644+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=821dad8f-8553-459d-bec7-7128fb1f81ae, alive=false, publisher=null]]: starting policy-apex-pdp | [2024-01-22T15:04:31.658+00:00|INFO|ProducerConfig|main] ProducerConfig values: policy-apex-pdp | acks = -1 policy-apex-pdp | auto.include.jmx.reporter = true policy-apex-pdp | batch.size = 16384 policy-apex-pdp | bootstrap.servers = [kafka:9092] policy-apex-pdp | buffer.memory = 33554432 policy-apex-pdp | client.dns.lookup = use_all_dns_ips policy-apex-pdp | client.id = producer-1 policy-apex-pdp | compression.type = none policy-apex-pdp | connections.max.idle.ms = 540000 policy-apex-pdp | delivery.timeout.ms = 120000 policy-apex-pdp | enable.idempotence = true policy-apex-pdp | interceptor.classes = [] policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer policy-apex-pdp | linger.ms = 0 policy-apex-pdp | max.block.ms = 60000 policy-apex-pdp | max.in.flight.requests.per.connection = 5 policy-apex-pdp | max.request.size = 1048576 policy-apex-pdp | metadata.max.age.ms = 300000 policy-apex-pdp | metadata.max.idle.ms = 300000 policy-apex-pdp | metric.reporters = [] policy-apex-pdp | metrics.num.samples = 2 policy-apex-pdp | metrics.recording.level = INFO policy-apex-pdp | metrics.sample.window.ms = 30000 policy-apex-pdp | partitioner.adaptive.partitioning.enable = true policy-apex-pdp | partitioner.availability.timeout.ms = 0 policy-apex-pdp | partitioner.class = null policy-apex-pdp | partitioner.ignore.keys = false policy-apex-pdp | receive.buffer.bytes = 32768 policy-apex-pdp | reconnect.backoff.max.ms = 1000 policy-apex-pdp | reconnect.backoff.ms = 50 policy-apex-pdp | request.timeout.ms = 30000 policy-apex-pdp | retries = 2147483647 policy-apex-pdp | retry.backoff.ms = 100 policy-apex-pdp | sasl.client.callback.handler.class = null policy-apex-pdp | sasl.jaas.config = null policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 policy-apex-pdp | sasl.kerberos.service.name = null policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-apex-pdp | sasl.login.callback.handler.class = null policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.4:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.7: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.4) policy-api | policy-api | [2024-01-22T15:04:05.657+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-22T15:04:05.658+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-22T15:04:07.665+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-22T15:04:07.768+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 92 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-22T15:04:08.208+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-01-22T15:04:08.208+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-01-22T15:04:08.972+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-22T15:04:08.984+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-22T15:04:08.986+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-22T15:04:08.986+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.16] policy-api | [2024-01-22T15:04:09.088+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-22T15:04:09.089+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3352 ms policy-api | [2024-01-22T15:04:09.573+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-22T15:04:09.658+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-01-22T15:04:09.661+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-01-22T15:04:09.710+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-01-22T15:04:10.121+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-01-22T15:04:10.147+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-22T15:04:10.275+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@750ff7d3 policy-api | [2024-01-22T15:04:10.278+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-22T15:04:10.314+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-01-22T15:04:10.316+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-01-22T15:04:12.387+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-01-22T15:04:12.390+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-22T15:04:13.714+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-22T15:04:14.611+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-22T15:04:15.800+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-01-22T15:04:16.018+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@d181ca3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@78b9d614, org.springframework.security.web.context.SecurityContextHolderFilter@fb74661, org.springframework.security.web.header.HeaderWriterFilter@22ccd80f, org.springframework.security.web.authentication.logout.LogoutFilter@17d90f81, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@19e86461, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6e04275e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@453ef145, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@63f95ac1, org.springframework.security.web.access.ExceptionTranslationFilter@680f7a5e, org.springframework.security.web.access.intercept.AuthorizationFilter@631f188a] policy-api | [2024-01-22T15:04:16.961+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-22T15:04:17.032+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-22T15:04:17.055+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-22T15:04:17.075+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.231 seconds (process running for 12.918) policy-api | [2024-01-22T15:04:36.169+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-22T15:04:36.170+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-22T15:04:36.171+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-01-22T15:04:36.473+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-2] ***** OrderedServiceImpl implementers: policy-api | [] kafka | [2024-01-22 15:04:30,463] 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) kafka | [2024-01-22 15:04:30,463] 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) kafka | [2024-01-22 15:04:30,463] 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) kafka | [2024-01-22 15:04:30,464] 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) kafka | [2024-01-22 15:04:30,464] 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) kafka | [2024-01-22 15:04:30,464] 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) kafka | [2024-01-22 15:04:30,464] 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) kafka | [2024-01-22 15:04:30,464] 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) kafka | [2024-01-22 15:04:30,464] 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) kafka | [2024-01-22 15:04:30,464] 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) kafka | [2024-01-22 15:04:30,464] 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) kafka | [2024-01-22 15:04:30,464] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,465] 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) kafka | [2024-01-22 15:04:30,466] 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) kafka | [2024-01-22 15:04:30,466] 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) kafka | [2024-01-22 15:04:30,466] 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) kafka | [2024-01-22 15:04:30,466] 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) kafka | [2024-01-22 15:04:30,466] 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) kafka | [2024-01-22 15:04:30,466] 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) kafka | [2024-01-22 15:04:30,466] 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) kafka | [2024-01-22 15:04:30,466] 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) kafka | [2024-01-22 15:04:30,466] 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) kafka | [2024-01-22 15:04:30,466] 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) kafka | [2024-01-22 15:04:30,467] 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) kafka | [2024-01-22 15:04:30,467] 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) kafka | [2024-01-22 15:04:30,467] 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) kafka | [2024-01-22 15:04:30,467] 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) kafka | [2024-01-22 15:04:30,467] 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) kafka | [2024-01-22 15:04:30,469] 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) kafka | [2024-01-22 15:04:30,469] 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) kafka | [2024-01-22 15:04:30,469] 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) kafka | [2024-01-22 15:04:30,470] 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) kafka | [2024-01-22 15:04:30,470] 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) kafka | [2024-01-22 15:04:30,470] 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) kafka | [2024-01-22 15:04:30,470] 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) kafka | [2024-01-22 15:04:30,470] 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) kafka | [2024-01-22 15:04:30,470] 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) kafka | [2024-01-22 15:04:30,470] 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) kafka | [2024-01-22 15:04:30,470] 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) kafka | [2024-01-22 15:04:30,470] 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) kafka | [2024-01-22 15:04:30,470] 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) kafka | [2024-01-22 15:04:30,471] 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) kafka | [2024-01-22 15:04:30,471] 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) kafka | [2024-01-22 15:04:30,471] 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) kafka | [2024-01-22 15:04:30,471] 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) kafka | [2024-01-22 15:04:30,471] 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-01-22T15:03:56.32514433Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-22T15:03:56.326494736Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.354876ms grafana | logger=migrator t=2024-01-22T15:03:56.337491233Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-22T15:03:56.338590196Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.100463ms grafana | logger=migrator t=2024-01-22T15:03:56.343365996Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-22T15:03:56.343433146Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=65.16µs grafana | logger=migrator t=2024-01-22T15:03:56.346622506Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-22T15:03:56.347697099Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.072073ms grafana | logger=migrator t=2024-01-22T15:03:56.360362527Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-22T15:03:56.361517641Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.157674ms grafana | logger=migrator t=2024-01-22T15:03:56.369298328Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-22T15:03:56.370222849Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=925.192µs grafana | logger=migrator t=2024-01-22T15:03:56.374051107Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-22T15:03:56.375013769Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=961.582µs grafana | logger=migrator t=2024-01-22T15:03:56.42020122Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-22T15:03:56.428994419Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.79516ms grafana | logger=migrator t=2024-01-22T15:03:56.432723105Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-22T15:03:56.433978811Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.254786ms grafana | logger=migrator t=2024-01-22T15:03:56.439838193Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-22T15:03:56.439935485Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=98.282µs grafana | logger=migrator t=2024-01-22T15:03:56.447083333Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-22T15:03:56.448107196Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.022173ms grafana | logger=migrator t=2024-01-22T15:03:56.458790339Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-01-22T15:03:56.460137286Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.347447ms grafana | logger=migrator t=2024-01-22T15:03:56.469204338Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-01-22T15:03:56.470886409Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.683741ms grafana | logger=migrator t=2024-01-22T15:03:56.474367612Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-22T15:03:56.474466494Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=100.282µs grafana | logger=migrator t=2024-01-22T15:03:56.479091351Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-22T15:03:56.480183925Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.092454ms grafana | logger=migrator t=2024-01-22T15:03:56.484785742Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-22T15:03:56.485666123Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=880.481µs grafana | logger=migrator t=2024-01-22T15:03:56.489940466Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-01-22T15:03:56.490992159Z 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.051583ms grafana | logger=migrator t=2024-01-22T15:03:56.495411033Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-01-22T15:03:56.496398086Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=986.633µs grafana | logger=migrator t=2024-01-22T15:03:56.499738038Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-22T15:03:56.505718782Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.979005ms policy-apex-pdp | sasl.login.class = null policy-apex-pdp | sasl.login.connect.timeout.ms = null policy-apex-pdp | sasl.login.read.timeout.ms = null policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 policy-apex-pdp | sasl.mechanism = GSSAPI policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 policy-apex-pdp | sasl.oauthbearer.expected.audience = null policy-apex-pdp | sasl.oauthbearer.expected.issuer = null policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null kafka | [2024-01-22 15:04:30,471] 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) kafka | [2024-01-22 15:04:30,471] 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) kafka | [2024-01-22 15:04:30,471] 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) kafka | [2024-01-22 15:04:30,471] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,472] 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) kafka | [2024-01-22 15:04:30,473] 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-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,473] 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) kafka | [2024-01-22 15:04:30,474] 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) kafka | [2024-01-22 15:04:30,474] 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) kafka | [2024-01-22 15:04:30,474] 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) kafka | [2024-01-22 15:04:30,474] 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) kafka | [2024-01-22 15:04:30,474] 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) kafka | [2024-01-22 15:04:30,474] 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) kafka | [2024-01-22 15:04:30,475] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 51 become-leader and 0 become-follower partitions (state.change.logger) kafka | [2024-01-22 15:04:30,477] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 51 partitions (state.change.logger) policy-apex-pdp | security.protocol = PLAINTEXT policy-apex-pdp | security.providers = null policy-apex-pdp | send.buffer.bytes = 131072 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 policy-apex-pdp | ssl.cipher.suites = null policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-apex-pdp | ssl.endpoint.identification.algorithm = https policy-apex-pdp | ssl.engine.factory.class = null policy-apex-pdp | ssl.key.password = null policy-apex-pdp | ssl.keymanager.algorithm = SunX509 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-01-22T15:04:31.675+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-1] Instantiated an idempotent producer. policy-apex-pdp | [2024-01-22T15:04:31.690+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 policy-apex-pdp | [2024-01-22T15:04:31.690+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-32 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-5 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-44 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-48 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-46 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-20 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-pdp-pap-0 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-43 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-24 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-6 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-18 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-21 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-1 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,479] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-14 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-34 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-16 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-29 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-11 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-0 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-22 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-47 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-36 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-28 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-42 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-9 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-37 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,480] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-13 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-30 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-35 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] 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-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-12 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-27 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-45 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-19 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-49 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-40 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-41 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-38 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-8 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-7 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,481] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-33 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-25 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-31 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-23 from NewReplica to OnlineReplica (state.change.logger) policy-pap | sasl.login.class = null policy-pap | sasl.login.connect.timeout.ms = null policy-pap | sasl.login.read.timeout.ms = null policy-pap | sasl.login.refresh.buffer.seconds = 300 policy-pap | sasl.login.refresh.min.period.seconds = 60 policy-pap | sasl.login.refresh.window.factor = 0.8 policy-pap | sasl.login.refresh.window.jitter = 0.05 policy-pap | sasl.login.retry.backoff.max.ms = 10000 policy-pap | sasl.login.retry.backoff.ms = 100 policy-pap | sasl.mechanism = GSSAPI policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 policy-pap | sasl.oauthbearer.expected.audience = null policy-pap | sasl.oauthbearer.expected.issuer = null policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null policy-pap | sasl.oauthbearer.scope.claim.name = scope policy-pap | sasl.oauthbearer.sub.claim.name = sub policy-pap | sasl.oauthbearer.token.endpoint.url = null policy-pap | security.protocol = PLAINTEXT policy-pap | security.providers = null policy-pap | send.buffer.bytes = 131072 policy-pap | session.timeout.ms = 45000 policy-pap | socket.connection.setup.timeout.max.ms = 30000 policy-pap | socket.connection.setup.timeout.ms = 10000 grafana | logger=migrator t=2024-01-22T15:03:56.509202295Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-22T15:03:56.510174047Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=970.712µs grafana | logger=migrator t=2024-01-22T15:03:56.51686836Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-22T15:03:56.518165086Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.302366ms grafana | logger=migrator t=2024-01-22T15:03:56.522815774Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-01-22T15:03:56.567058573Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=44.235939ms grafana | logger=migrator t=2024-01-22T15:03:56.573710616Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-01-22T15:03:56.607920741Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=34.211435ms grafana | logger=migrator t=2024-01-22T15:03:56.618407441Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-22T15:03:56.619471234Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.064733ms grafana | logger=migrator t=2024-01-22T15:03:56.624500146Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-22T15:03:56.625855283Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.358917ms grafana | logger=migrator t=2024-01-22T15:03:56.63282933Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-01-22T15:03:56.637964274Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.136514ms grafana | logger=migrator t=2024-01-22T15:03:56.645539787Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-22T15:03:56.646654791Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.119834ms grafana | logger=migrator t=2024-01-22T15:03:56.652833318Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-01-22T15:03:56.653894192Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.064224ms grafana | logger=migrator t=2024-01-22T15:03:56.657068491Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-01-22T15:03:56.657957122Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=889.861µs grafana | logger=migrator t=2024-01-22T15:03:56.667338128Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-01-22T15:03:56.668592884Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.257746ms grafana | logger=migrator t=2024-01-22T15:03:56.674353225Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-22T15:03:56.674436556Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=87.331µs grafana | logger=migrator t=2024-01-22T15:03:56.678104612Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-22T15:03:56.68279218Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=4.686128ms grafana | logger=migrator t=2024-01-22T15:03:56.686948772Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-22T15:03:56.691466888Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.517586ms grafana | logger=migrator t=2024-01-22T15:03:56.695036532Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-22T15:03:56.699581948Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=4.544166ms grafana | logger=migrator t=2024-01-22T15:03:56.707921562Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-22T15:03:56.708971425Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.054583ms grafana | logger=migrator t=2024-01-22T15:03:56.75926822Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-01-22T15:03:56.760597106Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.331226ms grafana | logger=migrator t=2024-01-22T15:03:56.796239429Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-22T15:03:56.802574868Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.334179ms grafana | logger=migrator t=2024-01-22T15:03:56.80839266Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-22T15:03:56.81568759Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=7.29049ms grafana | logger=migrator t=2024-01-22T15:03:56.81967062Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-01-22T15:03:56.821117018Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.448188ms grafana | logger=migrator t=2024-01-22T15:03:56.827791691Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-22T15:03:56.834235041Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.43866ms grafana | logger=migrator t=2024-01-22T15:03:56.837679893Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-22T15:03:56.845128316Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=7.449873ms grafana | logger=migrator t=2024-01-22T15:03:56.849125885Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-22T15:03:56.849218316Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=95.441µs policy-pap | ssl.cipher.suites = null policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-pap | ssl.endpoint.identification.algorithm = https policy-pap | ssl.engine.factory.class = null policy-pap | ssl.key.password = null policy-pap | ssl.keymanager.algorithm = SunX509 policy-pap | ssl.keystore.certificate.chain = null policy-pap | ssl.keystore.key = null policy-pap | ssl.keystore.location = null policy-pap | ssl.keystore.password = null policy-pap | ssl.keystore.type = JKS policy-pap | ssl.protocol = TLSv1.3 policy-pap | ssl.provider = null policy-pap | ssl.secure.random.implementation = null policy-pap | ssl.trustmanager.algorithm = PKIX policy-pap | ssl.truststore.certificates = null policy-pap | ssl.truststore.location = null policy-pap | ssl.truststore.password = null policy-pap | ssl.truststore.type = JKS policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-pap | policy-pap | [2024-01-22T15:04:29.674+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 policy-pap | [2024-01-22T15:04:29.674+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a policy-pap | [2024-01-22T15:04:29.674+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705935869674 policy-pap | [2024-01-22T15:04:29.675+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Subscribed to topic(s): policy-pdp-pap policy-pap | [2024-01-22T15:04:29.675+00:00|INFO|ServiceManager|main] Policy PAP starting Heartbeat Message Dispatcher policy-pap | [2024-01-22T15:04:29.675+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=aaecd216-4170-45f8-8f23-3d6f70fb0e22, 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@48cbe1c9 policy-pap | [2024-01-22T15:04:29.675+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=aaecd216-4170-45f8-8f23-3d6f70fb0e22, 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-pap | [2024-01-22T15:04:29.676+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: policy-pap | allow.auto.create.topics = true policy-pap | auto.commit.interval.ms = 5000 policy-pap | auto.include.jmx.reporter = true policy-pap | auto.offset.reset = latest policy-pap | bootstrap.servers = [kafka:9092] policy-pap | check.crcs = true policy-pap | client.dns.lookup = use_all_dns_ips policy-pap | client.id = consumer-policy-pap-4 policy-pap | client.rack = kafka | [2024-01-22 15:04:30,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-10 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-2 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-17 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-4 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-15 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-26 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-3 from NewReplica to OnlineReplica (state.change.logger) kafka | [2024-01-22 15:04:30,482] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) kafka | [2024-01-22 15:04:30,488] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 for 51 partitions (state.change.logger) kafka | [2024-01-22 15:04:30,492] 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) kafka | [2024-01-22 15:04:30,493] 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) kafka | [2024-01-22 15:04:30,493] 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) kafka | [2024-01-22 15:04:30,493] 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) kafka | [2024-01-22 15:04:30,493] 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) kafka | [2024-01-22 15:04:30,493] 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) kafka | [2024-01-22 15:04:30,493] 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) kafka | [2024-01-22 15:04:30,493] 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) kafka | [2024-01-22 15:04:30,493] 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) kafka | [2024-01-22 15:04:30,493] 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) kafka | [2024-01-22 15:04:30,493] 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) kafka | [2024-01-22 15:04:30,494] 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) kafka | [2024-01-22 15:04:30,494] 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) kafka | [2024-01-22 15:04:30,494] 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) kafka | [2024-01-22 15:04:30,494] 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) kafka | [2024-01-22 15:04:30,494] 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) kafka | [2024-01-22 15:04:30,494] 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) kafka | [2024-01-22 15:04:30,494] 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) kafka | [2024-01-22 15:04:30,494] 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) kafka | [2024-01-22 15:04:30,494] 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) kafka | [2024-01-22 15:04:30,494] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,495] 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) kafka | [2024-01-22 15:04:30,496] 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) kafka | [2024-01-22 15:04:30,496] 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) kafka | [2024-01-22 15:04:30,496] 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) kafka | [2024-01-22 15:04:30,496] 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) kafka | [2024-01-22 15:04:30,496] 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) kafka | [2024-01-22 15:04:30,496] 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) kafka | [2024-01-22 15:04:30,496] 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) kafka | [2024-01-22 15:04:30,496] 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) kafka | [2024-01-22 15:04:30,496] 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) kafka | [2024-01-22 15:04:30,496] 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) kafka | [2024-01-22 15:04:30,497] 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) kafka | [2024-01-22 15:04:30,497] 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) kafka | [2024-01-22 15:04:30,497] 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) kafka | [2024-01-22 15:04:30,497] 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) kafka | [2024-01-22 15:04:30,497] 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) kafka | [2024-01-22 15:04:30,497] 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) kafka | [2024-01-22 15:04:30,497] 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) kafka | [2024-01-22 15:04:30,497] 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-apex-pdp | [2024-01-22T15:04:31.690+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705935871690 policy-apex-pdp | [2024-01-22T15:04:31.691+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=821dad8f-8553-459d-bec7-7128fb1f81ae, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created policy-apex-pdp | [2024-01-22T15:04:31.691+00:00|INFO|ServiceManager|main] service manager starting set alive policy-apex-pdp | [2024-01-22T15:04:31.691+00:00|INFO|ServiceManager|main] service manager starting register pdp status context object policy-apex-pdp | [2024-01-22T15:04:31.693+00:00|INFO|ServiceManager|main] service manager starting topic sinks policy-apex-pdp | [2024-01-22T15:04:31.693+00:00|INFO|ServiceManager|main] service manager starting Pdp Status publisher policy-apex-pdp | [2024-01-22T15:04:31.696+00:00|INFO|ServiceManager|main] service manager starting Register pdp update listener policy-apex-pdp | [2024-01-22T15:04:31.696+00:00|INFO|ServiceManager|main] service manager starting Register pdp state change request dispatcher policy-apex-pdp | [2024-01-22T15:04:31.696+00:00|INFO|ServiceManager|main] service manager starting Message Dispatcher policy-apex-pdp | [2024-01-22T15:04:31.696+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=42dc174d-ec44-49ed-8258-1b0a49d03f03, 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@4ee37ca3 policy-apex-pdp | [2024-01-22T15:04:31.696+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=42dc174d-ec44-49ed-8258-1b0a49d03f03, 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 policy-apex-pdp | [2024-01-22T15:04:31.696+00:00|INFO|ServiceManager|main] service manager starting Create REST server policy-apex-pdp | [2024-01-22T15:04:31.711+00:00|INFO|OrderedServiceImpl|Timer-0] ***** OrderedServiceImpl implementers: policy-apex-pdp | [] policy-apex-pdp | [2024-01-22T15:04:31.713+00:00|INFO|network|Timer-0] [OUT|KAFKA|policy-pdp-pap] policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"fde5bfa9-865d-44df-b843-51a7cc11a498","timestampMs":1705935871697,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup"} policy-apex-pdp | [2024-01-22T15:04:31.857+00:00|INFO|ServiceManager|main] service manager starting Rest Server policy-apex-pdp | [2024-01-22T15:04:31.857+00:00|INFO|ServiceManager|main] service manager starting policy-apex-pdp | [2024-01-22T15:04:31.857+00:00|INFO|ServiceManager|main] service manager starting REST RestServerParameters policy-apex-pdp | [2024-01-22T15:04:31.857+00:00|INFO|JettyServletServer|main] JettyJerseyServer [Jerseyservlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-2755d705==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@5eb35687{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-18cc679e==org.glassfish.jersey.servlet.ServletContainer@fbed57a2{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@71a9b4c7{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@4628b1d3{/,null,STOPPED}, connector=RestServerParameters@6a1d204a{HTTP/1.1, (http/1.1)}{0.0.0.0:6969}, jettyThread=null, servlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-2755d705==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@5eb35687{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-18cc679e==org.glassfish.jersey.servlet.ServletContainer@fbed57a2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING policy-apex-pdp | [2024-01-22T15:04:31.868+00:00|INFO|ServiceManager|main] service manager started policy-apex-pdp | [2024-01-22T15:04:31.869+00:00|INFO|ServiceManager|main] service manager started policy-apex-pdp | [2024-01-22T15:04:31.869+00:00|INFO|ApexStarterMain|main] Started policy-apex-pdp service successfully. simulator | Policy simulator config file: /opt/app/policy/simulators/etc/mounted/simParameters.json simulator | overriding logback.xml simulator | 2024-01-22 15:03:56,933 INFO replacing 'HOST_NAME' with simulator in /opt/app/policy/simulators/etc/mounted/simParameters.json simulator | 2024-01-22 15:03:57,033 INFO org.onap.policy.models.simulators starting simulator | 2024-01-22 15:03:57,034 INFO org.onap.policy.models.simulators starting CDS gRPC Server Properties simulator | 2024-01-22 15:03:57,266 INFO org.onap.policy.models.simulators starting org.onap.policy.simulators.AaiSimulatorJaxRs_RESOURCE_LOCATION simulator | 2024-01-22 15:03:57,268 INFO org.onap.policy.models.simulators starting A&AI simulator simulator | 2024-01-22 15:03:57,399 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{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@16746061{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@57fd91c9{/,null,STOPPED}, connector=A&AI simulator@53dacd14{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START simulator | 2024-01-22 15:03:57,413 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{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@16746061{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@57fd91c9{/,null,STOPPED}, connector=A&AI simulator@53dacd14{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING simulator | 2024-01-22 15:03:57,418 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{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@16746061{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@57fd91c9{/,null,STOPPED}, connector=A&AI simulator@53dacd14{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-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING simulator | 2024-01-22 15:03:57,422 INFO jetty-11.0.18; built: 2023-10-27T02:14:36.036Z; git: 5a9a771a9fbcb9d36993630850f612581b78c13f; jvm 17.0.9+8-alpine-r0 simulator | 2024-01-22 15:03:57,483 INFO Session workerName=node0 simulator | 2024-01-22 15:03:58,084 INFO Using GSON for REST calls simulator | 2024-01-22 15:03:58,175 INFO Started o.e.j.s.ServletContextHandler@57fd91c9{/,null,AVAILABLE} simulator | 2024-01-22 15:03:58,183 INFO Started A&AI simulator@53dacd14{HTTP/1.1, (http/1.1)}{0.0.0.0:6666} simulator | 2024-01-22 15:03:58,190 INFO Started Server@16746061{STARTING}[11.0.18,sto=0] @1897ms simulator | 2024-01-22 15:03:58,190 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{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@16746061{STARTED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@57fd91c9{/,null,AVAILABLE}, connector=A&AI simulator@53dacd14{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-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4228 ms. simulator | 2024-01-22 15:03:58,200 INFO org.onap.policy.models.simulators starting SDNC simulator simulator | 2024-01-22 15:03:58,204 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{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@75459c75{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@183e8023{/,null,STOPPED}, connector=SDNC simulator@63b1d4fa{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START simulator | 2024-01-22 15:03:58,205 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{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@75459c75{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@183e8023{/,null,STOPPED}, connector=SDNC simulator@63b1d4fa{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING simulator | 2024-01-22 15:03:58,208 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{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@75459c75{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@183e8023{/,null,STOPPED}, connector=SDNC simulator@63b1d4fa{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=Thread[SDNC simulator-6668,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING simulator | 2024-01-22 15:03:58,209 INFO jetty-11.0.18; built: 2023-10-27T02:14:36.036Z; git: 5a9a771a9fbcb9d36993630850f612581b78c13f; jvm 17.0.9+8-alpine-r0 simulator | 2024-01-22 15:03:58,215 INFO Session workerName=node0 simulator | 2024-01-22 15:03:58,301 INFO Using GSON for REST calls simulator | 2024-01-22 15:03:58,326 INFO Started o.e.j.s.ServletContextHandler@183e8023{/,null,AVAILABLE} simulator | 2024-01-22 15:03:58,329 INFO Started SDNC simulator@63b1d4fa{HTTP/1.1, (http/1.1)}{0.0.0.0:6668} simulator | 2024-01-22 15:03:58,329 INFO Started Server@75459c75{STARTING}[11.0.18,sto=0] @2036ms simulator | 2024-01-22 15:03:58,329 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{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@75459c75{STARTED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@183e8023{/,null,AVAILABLE}, connector=SDNC simulator@63b1d4fa{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=Thread[SDNC simulator-6668,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4879 ms. simulator | 2024-01-22 15:03:58,330 INFO org.onap.policy.models.simulators starting SO simulator simulator | 2024-01-22 15:03:58,332 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{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@30bcf3c1{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@2a3c96e3{/,null,STOPPED}, connector=SO simulator@3e5499cc{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START simulator | 2024-01-22 15:03:58,333 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{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@30bcf3c1{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@2a3c96e3{/,null,STOPPED}, connector=SO simulator@3e5499cc{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING simulator | 2024-01-22 15:03:58,334 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{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@30bcf3c1{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@2a3c96e3{/,null,STOPPED}, connector=SO simulator@3e5499cc{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=Thread[SO simulator-6669,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING simulator | 2024-01-22 15:03:58,335 INFO jetty-11.0.18; built: 2023-10-27T02:14:36.036Z; git: 5a9a771a9fbcb9d36993630850f612581b78c13f; jvm 17.0.9+8-alpine-r0 simulator | 2024-01-22 15:03:58,337 INFO Session workerName=node0 simulator | 2024-01-22 15:03:58,408 INFO Using GSON for REST calls simulator | 2024-01-22 15:03:58,431 INFO Started o.e.j.s.ServletContextHandler@2a3c96e3{/,null,AVAILABLE} simulator | 2024-01-22 15:03:58,433 INFO Started SO simulator@3e5499cc{HTTP/1.1, (http/1.1)}{0.0.0.0:6669} simulator | 2024-01-22 15:03:58,433 INFO Started Server@30bcf3c1{STARTING}[11.0.18,sto=0] @2141ms simulator | 2024-01-22 15:03:58,433 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{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@30bcf3c1{STARTED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@2a3c96e3{/,null,AVAILABLE}, connector=SO simulator@3e5499cc{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=Thread[SO simulator-6669,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4901 ms. simulator | 2024-01-22 15:03:58,434 INFO org.onap.policy.models.simulators starting VFC simulator policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.4) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.4) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.4) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.4) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.4) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.4) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- 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-01-22 15:03:58,437 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{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@a776e{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@792bbc74{/,null,STOPPED}, connector=VFC simulator@5b444398{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START simulator | 2024-01-22 15:03:58,438 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{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@a776e{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@792bbc74{/,null,STOPPED}, connector=VFC simulator@5b444398{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING simulator | 2024-01-22 15:03:58,441 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{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@a776e{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@792bbc74{/,null,STOPPED}, connector=VFC simulator@5b444398{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=Thread[VFC simulator-6670,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING simulator | 2024-01-22 15:03:58,442 INFO jetty-11.0.18; built: 2023-10-27T02:14:36.036Z; git: 5a9a771a9fbcb9d36993630850f612581b78c13f; jvm 17.0.9+8-alpine-r0 simulator | 2024-01-22 15:03:58,445 INFO Session workerName=node0 simulator | 2024-01-22 15:03:58,491 INFO Using GSON for REST calls simulator | 2024-01-22 15:03:58,500 INFO Started o.e.j.s.ServletContextHandler@792bbc74{/,null,AVAILABLE} simulator | 2024-01-22 15:03:58,502 INFO Started VFC simulator@5b444398{HTTP/1.1, (http/1.1)}{0.0.0.0:6670} simulator | 2024-01-22 15:03:58,502 INFO Started Server@a776e{STARTING}[11.0.18,sto=0] @2209ms kafka | [2024-01-22 15:04:30,497] 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) kafka | [2024-01-22 15:04:30,535] 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) kafka | [2024-01-22 15:04:30,535] 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) kafka | [2024-01-22 15:04:30,535] 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) kafka | [2024-01-22 15:04:30,535] 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) kafka | [2024-01-22 15:04:30,535] 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) kafka | [2024-01-22 15:04:30,535] 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) kafka | [2024-01-22 15:04:30,535] 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) kafka | [2024-01-22 15:04:30,535] 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) kafka | [2024-01-22 15:04:30,535] 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-01-22 15:04:30,535] 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) kafka | [2024-01-22 15:04:30,535] 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) kafka | [2024-01-22 15:04:30,535] 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-apex-pdp | [2024-01-22T15:04:31.869+00:00|INFO|JettyServletServer|RestServerParameters-6969] JettyJerseyServer [Jerseyservlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-2755d705==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@5eb35687{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-18cc679e==org.glassfish.jersey.servlet.ServletContainer@fbed57a2{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@71a9b4c7{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@4628b1d3{/,null,STOPPED}, connector=RestServerParameters@6a1d204a{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-2755d705==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@5eb35687{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-18cc679e==org.glassfish.jersey.servlet.ServletContainer@fbed57a2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING policy-apex-pdp | [2024-01-22T15:04:32.026+00:00|INFO|Metadata|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Cluster ID: 0l0tf6rdRCWCkmNbCC3tmw policy-apex-pdp | [2024-01-22T15:04:32.027+00:00|INFO|Metadata|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Cluster ID: 0l0tf6rdRCWCkmNbCC3tmw policy-apex-pdp | [2024-01-22T15:04:32.028+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) policy-apex-pdp | [2024-01-22T15:04:32.029+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] ProducerId set to 2 with epoch 0 policy-apex-pdp | [2024-01-22T15:04:32.043+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] (Re-)joining group policy-apex-pdp | [2024-01-22T15:04:32.066+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Request joining group due to: need to re-join with the given member-id: consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2-d110b790-ed14-4804-b71d-1fe7b2f4e4a7 policy-apex-pdp | [2024-01-22T15:04:32.066+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] 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-apex-pdp | [2024-01-22T15:04:32.066+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] (Re-)joining group policy-apex-pdp | [2024-01-22T15:04:32.563+00:00|INFO|GsonMessageBodyHandler|RestServerParameters-6969] Using GSON for REST calls policy-apex-pdp | [2024-01-22T15:04:32.565+00:00|INFO|YamlMessageBodyHandler|RestServerParameters-6969] Accepting YAML for REST calls policy-apex-pdp | [2024-01-22T15:04:32.849+00:00|INFO|RequestLog|qtp830863979-33] 172.17.0.1 - - [22/Jan/2024:15:04:32 +0000] "GET / HTTP/1.1" 401 497 "-" "curl/7.58.0" policy-apex-pdp | [2024-01-22T15:04:35.072+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Successfully joined group with generation Generation{generationId=1, memberId='consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2-d110b790-ed14-4804-b71d-1fe7b2f4e4a7', protocol='range'} policy-apex-pdp | [2024-01-22T15:04:35.081+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Finished assignment for group at generation 1: {consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2-d110b790-ed14-4804-b71d-1fe7b2f4e4a7=Assignment(partitions=[policy-pdp-pap-0])} policy-apex-pdp | [2024-01-22T15:04:35.091+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Successfully synced group in generation Generation{generationId=1, memberId='consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2-d110b790-ed14-4804-b71d-1fe7b2f4e4a7', protocol='range'} policy-apex-pdp | [2024-01-22T15:04:35.092+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Notifying assignor about the new Assignment(partitions=[policy-pdp-pap-0]) policy-apex-pdp | [2024-01-22T15:04:35.093+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Adding newly assigned partitions: policy-pdp-pap-0 policy-apex-pdp | [2024-01-22T15:04:35.101+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] Found no committed offset for partition policy-pdp-pap-0 policy-apex-pdp | [2024-01-22T15:04:35.116+00:00|INFO|SubscriptionState|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2, groupId=42dc174d-ec44-49ed-8258-1b0a49d03f03] 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-apex-pdp | [2024-01-22T15:04:36.117+00:00|INFO|RequestLog|qtp830863979-27] 172.17.0.1 - policyadmin [22/Jan/2024:15:04:36 +0000] "GET /policy/apex-pdp/v1/healthcheck?null HTTP/1.1" 200 109 "-" "python-requests/2.27.1" policy-apex-pdp | [2024-01-22T15:04:51.697+00:00|INFO|network|Timer-0] [OUT|KAFKA|policy-pdp-pap] policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"fe167202-e21e-4b4e-a54a-7355e83a2aaf","timestampMs":1705935891697,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup"} policy-apex-pdp | [2024-01-22T15:04:51.720+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"fe167202-e21e-4b4e-a54a-7355e83a2aaf","timestampMs":1705935891697,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup"} policy-apex-pdp | [2024-01-22T15:04:51.723+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS policy-apex-pdp | [2024-01-22T15:04:52.187+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-pap | connections.max.idle.ms = 540000 simulator | 2024-01-22 15:03:58,502 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{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@a776e{STARTED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@792bbc74{/,null,AVAILABLE}, connector=VFC simulator@5b444398{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=Thread[VFC simulator-6670,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4939 ms. grafana | logger=migrator t=2024-01-22T15:03:56.853743323Z level=info msg="Executing migration" id="create alert_rule_version table" kafka | [2024-01-22 15:04:30,535] 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 | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"75d218f5-8efe-48fa-9736-5c9c2eca8c7d","timestampMs":1705935892081,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | policy-pap | default.api.timeout.ms = 60000 simulator | 2024-01-22 15:03:58,503 INFO org.onap.policy.models.simulators started prometheus | ts=2024-01-22T15:03:50.201Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d grafana | logger=migrator t=2024-01-22T15:03:56.854899507Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.159844ms kafka | [2024-01-22 15:04:30,535] 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 | [2024-01-22T15:04:52.243+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:pdp/status/publisher policy-db-migrator | policy-pap | enable.auto.commit = true simulator | 2024-01-22 15:05:00,730 INFO 172.17.0.11 - - [22/Jan/2024:15:05:00 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" prometheus | ts=2024-01-22T15:03:50.201Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" kafka | [2024-01-22 15:04:30,535] 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) grafana | logger=migrator t=2024-01-22T15:03:56.859531335Z 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 | [2024-01-22T15:04:52.244+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-pap | exclude.internal.topics = true simulator | 2024-01-22 15:05:01,274 INFO Received request input to CDS: commonHeader { prometheus | ts=2024-01-22T15:03:50.201Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" kafka | [2024-01-22 15:04:30,535] 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) grafana | logger=migrator t=2024-01-22T15:03:56.86078098Z 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.250205ms 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":"75d218f5-8efe-48fa-9736-5c9c2eca8c7d","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"59844b2d-0577-42ec-a6bd-35b815c67c00","timestampMs":1705935892244,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | -------------- policy-pap | fetch.max.bytes = 52428800 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" prometheus | ts=2024-01-22T15:03:50.201Z caller=main.go:594 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))" grafana | logger=migrator t=2024-01-22T15:03:56.864242013Z 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 | [2024-01-22T15:04:52.245+00:00|INFO|network|Timer-1] [OUT|KAFKA|policy-pdp-pap] policy-pap | fetch.max.wait.ms = 500 kafka | [2024-01-22 15:04:30,535] 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) simulator | originatorId: "POLICY" 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) prometheus | ts=2024-01-22T15:03:50.201Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" grafana | logger=migrator t=2024-01-22T15:03:56.865840613Z 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.59937ms policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"messageName":"PDP_STATUS","requestId":"51207ff0-d6ea-48ba-8198-c98bbffe1947","timestampMs":1705935892244,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | fetch.min.bytes = 1 kafka | [2024-01-22 15:04:30,535] 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) simulator | } simulator | actionIdentifiers { policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:56.872099821Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-apex-pdp | [2024-01-22T15:04:52.270+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-pap | group.id = policy-pap kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.201Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" simulator | blueprintName: "controlloop-hostname-update" policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:56.872284523Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=188.992µs 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":"75d218f5-8efe-48fa-9736-5c9c2eca8c7d","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"59844b2d-0577-42ec-a6bd-35b815c67c00","timestampMs":1705935892244,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | group.instance.id = null kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.206Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 simulator | blueprintVersion: "1.0.4" policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:56.876925021Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-apex-pdp | [2024-01-22T15:04:52.270+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS policy-pap | heartbeat.interval.ms = 3000 kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.208Z caller=main.go:1039 level=info msg="Starting TSDB ..." simulator | actionName: "update-config" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-01-22T15:03:56.885651549Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.708978ms policy-apex-pdp | [2024-01-22T15:04:52.277+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-pap | interceptor.classes = [] kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.210Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 simulator | mode: "sync" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:56.889542327Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"messageName":"PDP_STATUS","requestId":"51207ff0-d6ea-48ba-8198-c98bbffe1947","timestampMs":1705935892244,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | internal.leave.group.on.close = true kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.210Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 simulator | } 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-01-22T15:03:56.896307781Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.762214ms policy-apex-pdp | [2024-01-22T15:04:52.278+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.211Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" simulator | payload { policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:56.900697406Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-apex-pdp | [2024-01-22T15:04:52.289+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-pap | isolation.level = read_uncommitted kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.211Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.76µs simulator | fields { policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:56.907304838Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.604632ms policy-apex-pdp | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"f35541c4-470f-43f0-9792-fd444249c3a5","timestampMs":1705935892082,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.211Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" simulator | key: "update-config-request" policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:56.91388156Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-apex-pdp | [2024-01-22T15:04:52.358+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.native.apex.Sampledomain 1.0.0 policy-pap | max.partition.fetch.bytes = 1048576 kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.211Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 simulator | value { policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-22T15:03:56.923838573Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.956104ms policy-apex-pdp | [2024-01-22T15:04:52.471+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-0:0.0.1 . policy-pap | max.poll.interval.ms = 300000 kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.211Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=165.272µs wal_replay_duration=265.334µs wbl_replay_duration=280ns total_replay_duration=456.896µs simulator | struct_value { policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:56.928099886Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-apex-pdp | [2024-01-22T15:04:52.471+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-1:0.0.1 . policy-pap | max.poll.records = 500 kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.215Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC simulator | fields { policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-01-22T15:03:56.935732111Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.630205ms policy-apex-pdp | [2024-01-22T15:04:52.472+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-2:0.0.1 . policy-pap | metadata.max.age.ms = 300000 kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.215Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-01-22T15:03:50.215Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-22T15:03:50.222Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=7.444702ms db_storage=2.63µs remote_storage=2.99µs web_handler=960ns query_engine=1.7µs scrape=6.115425ms scrape_sd=375.225µs notify=43.531µs notify_sd=50.97µs rules=3.5µs tracing=9.55µs grafana | logger=migrator t=2024-01-22T15:03:56.940806074Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-apex-pdp | [2024-01-22T15:04:52.472+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-3:0.0.1 . policy-pap | metric.reporters = [] kafka | [2024-01-22 15:04:30,535] 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) prometheus | ts=2024-01-22T15:03:50.222Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-22T15:03:50.222Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-01-22T15:03:56.940943756Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=141.482µs policy-apex-pdp | [2024-01-22T15:04:52.472+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. policy-pap | metrics.num.samples = 2 kafka | [2024-01-22 15:04:30,535] 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-db-migrator | -------------- simulator | key: "hostname" policy-apex-pdp | [2024-01-22T15:04:52.672+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-0:0.0.1 policy-pap | metrics.recording.level = INFO kafka | [2024-01-22 15:04:30,535] 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) grafana | logger=migrator t=2024-01-22T15:03:56.949901567Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | simulator | value { policy-apex-pdp | [2024-01-22T15:04:52.708+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-1:0.0.1 policy-pap | metrics.sample.window.ms = 30000 kafka | [2024-01-22 15:04:30,535] 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) grafana | logger=migrator t=2024-01-22T15:03:56.951586478Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.689501ms policy-db-migrator | simulator | string_value: "hostnzzktg" policy-apex-pdp | [2024-01-22T15:04:52.712+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-2:0.0.1 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] kafka | [2024-01-22 15:04:30,535] 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) grafana | logger=migrator t=2024-01-22T15:03:56.958120519Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql simulator | } policy-apex-pdp | [2024-01-22T15:04:52.747+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-3:0.0.1 policy-pap | receive.buffer.bytes = 65536 kafka | [2024-01-22 15:04:30,535] 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) grafana | logger=migrator t=2024-01-22T15:03:56.964818882Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.697703ms policy-db-migrator | -------------- simulator | } policy-apex-pdp | [2024-01-22T15:04:53.133+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine policy-pap | reconnect.backoff.max.ms = 1000 kafka | [2024-01-22 15:04:30,535] 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) grafana | logger=migrator t=2024-01-22T15:03:56.969558271Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 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 | fields { policy-apex-pdp | [2024-01-22T15:04:53.136+00:00|INFO|ApexRestServerConsumer|KAFKA-source-policy-pdp-pap] Creating the Apex Rest Server policy-pap | reconnect.backoff.ms = 50 kafka | [2024-01-22 15:04:30,535] 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) grafana | logger=migrator t=2024-01-22T15:03:56.969707233Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=148.812µs policy-db-migrator | -------------- simulator | key: "IP" policy-apex-pdp | [2024-01-22T15:04:53.138+00:00|INFO|JettyServletServer|KAFKA-source-policy-pdp-pap] JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-19829407==org.glassfish.jersey.servlet.ServletContainer@e4c20112{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@f016d72{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@2aee239{/,null,STOPPED}, connector=RESTSERVER@38d667ba{HTTP/1.1, (http/1.1)}{0.0.0.0:23324}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-19829407==org.glassfish.jersey.servlet.ServletContainer@e4c20112{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING policy-pap | request.timeout.ms = 30000 kafka | [2024-01-22 15:04:30,535] 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) grafana | logger=migrator t=2024-01-22T15:03:56.973245366Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | simulator | value { policy-apex-pdp | [2024-01-22T15:04:53.143+00:00|INFO|JettyServletServer|RESTSERVER-23324] JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-19829407==org.glassfish.jersey.servlet.ServletContainer@e4c20112{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@f016d72{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@2aee239{/,null,STOPPED}, connector=RESTSERVER@38d667ba{HTTP/1.1, (http/1.1)}{0.0.0.0:23324}, jettyThread=Thread[RESTSERVER-23324,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-19829407==org.glassfish.jersey.servlet.ServletContainer@e4c20112{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING policy-pap | retry.backoff.ms = 100 kafka | [2024-01-22 15:04:30,535] 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) grafana | logger=migrator t=2024-01-22T15:03:56.979836679Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.584193ms policy-db-migrator | simulator | string_value: "10.10.10.10" policy-apex-pdp | [2024-01-22T15:04:53.155+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] policy-pap | sasl.client.callback.handler.class = null kafka | [2024-01-22 15:04:30,536] 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) grafana | logger=migrator t=2024-01-22T15:03:56.983519484Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql simulator | } 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":"f35541c4-470f-43f0-9792-fd444249c3a5","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"58f49ba2-3ebe-4178-a4f0-908f95c5a7b2","timestampMs":1705935893153,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | sasl.jaas.config = null kafka | [2024-01-22 15:04:30,536] 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) grafana | logger=migrator t=2024-01-22T15:03:56.984899491Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.383307ms policy-db-migrator | -------------- simulator | } policy-apex-pdp | [2024-01-22T15:04:53.186+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit kafka | [2024-01-22 15:04:30,536] 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) grafana | logger=migrator t=2024-01-22T15:03:56.991059058Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 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 | fields { 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":"f35541c4-470f-43f0-9792-fd444249c3a5","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"58f49ba2-3ebe-4178-a4f0-908f95c5a7b2","timestampMs":1705935893153,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | sasl.kerberos.min.time.before.relogin = 60000 kafka | [2024-01-22 15:04:30,536] 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) grafana | logger=migrator t=2024-01-22T15:03:56.995852737Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=4.792909ms policy-db-migrator | -------------- simulator | key: "pnfName" policy-apex-pdp | [2024-01-22T15:04:53.186+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS policy-pap | sasl.kerberos.service.name = null kafka | [2024-01-22 15:04:30,536] 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) grafana | logger=migrator t=2024-01-22T15:03:57.001400866Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | simulator | value { policy-apex-pdp | [2024-01-22T15:04:53.186+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 kafka | [2024-01-22 15:04:30,536] 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) grafana | logger=migrator t=2024-01-22T15:03:57.002355518Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=954.012µs policy-db-migrator | simulator | string_value: "demo-pnf" policy-apex-pdp | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"e8524144-7f88-499b-869c-d52e75be9ca9","timestampMs":1705935892692,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 kafka | [2024-01-22 15:04:30,536] 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) grafana | logger=migrator t=2024-01-22T15:03:57.005918312Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql simulator | } policy-apex-pdp | [2024-01-22T15:04:53.187+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] policy-pap | sasl.login.callback.handler.class = null kafka | [2024-01-22 15:04:30,536] 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) grafana | logger=migrator t=2024-01-22T15:03:57.007283919Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.365827ms simulator | } 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":"e8524144-7f88-499b-869c-d52e75be9ca9","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"55610254-d893-4fed-a9d6-392f83afc6b1","timestampMs":1705935893187,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | sasl.login.class = null grafana | logger=migrator t=2024-01-22T15:03:57.010660201Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- kafka | [2024-01-22 15:04:30,536] 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-apex-pdp | [2024-01-22T15:04:53.197+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-pap | sasl.login.connect.timeout.ms = null grafana | logger=migrator t=2024-01-22T15:03:57.018470408Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.810237ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) simulator | } 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":"e8524144-7f88-499b-869c-d52e75be9ca9","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"55610254-d893-4fed-a9d6-392f83afc6b1","timestampMs":1705935893187,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-pap | sasl.login.read.timeout.ms = null grafana | logger=migrator t=2024-01-22T15:03:57.023959626Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- kafka | [2024-01-22 15:04:30,536] 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) simulator | } policy-apex-pdp | [2024-01-22T15:04:53.198+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS policy-pap | sasl.login.refresh.buffer.seconds = 300 grafana | logger=migrator t=2024-01-22T15:03:57.024533073Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=573.227µs policy-db-migrator | kafka | [2024-01-22 15:04:30,536] 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) simulator | } policy-apex-pdp | [2024-01-22T15:04:53.281+00:00|INFO|GsonMessageBodyHandler|RESTSERVER-23324] Using GSON for REST calls policy-pap | sasl.login.refresh.min.period.seconds = 60 grafana | logger=migrator t=2024-01-22T15:03:57.027860405Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | kafka | [2024-01-22 15:04:30,537] 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) simulator | } policy-apex-pdp | [2024-01-22T15:04:53.982+00:00|INFO|RequestLog|qtp178659859-59] 172.17.0.1 - - [22/Jan/2024:15:04:53 +0000] "PUT /apex/FirstConsumer/EventIn HTTP/1.1" 200 588 "-" "python-requests/2.27.1" policy-pap | sasl.login.refresh.window.factor = 0.8 grafana | logger=migrator t=2024-01-22T15:03:57.028937968Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.077183ms policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- simulator | policy-apex-pdp | [2024-01-22T15:04:54.803+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-pap | sasl.login.refresh.window.jitter = 0.05 grafana | logger=migrator t=2024-01-22T15:03:57.035263507Z level=info msg="Executing migration" id="create alert_image table" kafka | [2024-01-22 15:04:30,537] 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-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) simulator | 2024-01-22 15:05:01,299 INFO Fetching response from controlloop-hostname-update-update-config.json policy-pap | sasl.login.retry.backoff.max.ms = 10000 policy-apex-pdp | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"38cc834b-b4ac-4cc8-a081-43328d852c90","timestampMs":1705935894724,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:30,613] 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-db-migrator | -------------- simulator | 2024-01-22 15:05:05,302 INFO 172.17.0.11 - - [22/Jan/2024:15:05:05 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" policy-pap | sasl.login.retry.backoff.ms = 100 grafana | logger=migrator t=2024-01-22T15:03:57.03715819Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.915554ms kafka | [2024-01-22 15:04:30,627] 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-db-migrator | simulator | 2024-01-22 15:05:05,327 INFO Received request input to CDS: commonHeader { policy-pap | sasl.mechanism = GSSAPI policy-apex-pdp | [2024-01-22T15:04:54.808+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:apex/tosca/policy/list kafka | [2024-01-22 15:04:30,637] INFO [Partition __consumer_offsets-3 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-3 (kafka.cluster.Partition) policy-db-migrator | simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 grafana | logger=migrator t=2024-01-22T15:03:57.043441358Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-apex-pdp | [2024-01-22T15:04:54.825+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.apex.pnf.Test 1.0.0 kafka | [2024-01-22 15:04:30,638] INFO [Partition __consumer_offsets-3 broker=1] Log loaded for partition __consumer_offsets-3 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-pap | sasl.oauthbearer.expected.audience = null grafana | logger=migrator t=2024-01-22T15:03:57.044909076Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.469078ms policy-apex-pdp | [2024-01-22T15:04:54.852+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-0:0.0.1 . kafka | [2024-01-22 15:04:30,642] INFO [Broker id=1] Leader __consumer_offsets-3 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | -------------- simulator | originatorId: "POLICY" policy-pap | sasl.oauthbearer.expected.issuer = null grafana | logger=migrator t=2024-01-22T15:03:57.048665793Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-apex-pdp | [2024-01-22T15:04:54.852+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-1:0.0.1 . kafka | [2024-01-22 15:04:30,662] 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-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 | } policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 grafana | logger=migrator t=2024-01-22T15:03:57.048840035Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=175.162µs policy-apex-pdp | [2024-01-22T15:04:54.852+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-2:0.0.1 . kafka | [2024-01-22 15:04:30,664] 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-db-migrator | -------------- simulator | actionIdentifiers { policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 grafana | logger=migrator t=2024-01-22T15:03:57.051718511Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-apex-pdp | [2024-01-22T15:04:54.852+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-3:0.0.1 . kafka | [2024-01-22 15:04:30,664] INFO [Partition __consumer_offsets-18 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-18 (kafka.cluster.Partition) policy-db-migrator | simulator | blueprintName: "controlloop-hostname-update" policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 grafana | logger=migrator t=2024-01-22T15:03:57.052985716Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.266455ms policy-apex-pdp | [2024-01-22T15:04:54.852+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. kafka | [2024-01-22 15:04:30,664] INFO [Partition __consumer_offsets-18 broker=1] Log loaded for partition __consumer_offsets-18 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | simulator | blueprintVersion: "1.0.4" policy-pap | sasl.oauthbearer.jwks.endpoint.url = null policy-apex-pdp | [2024-01-22T15:04:54.906+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-01-22 15:04:30,664] INFO [Broker id=1] Leader __consumer_offsets-18 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:57.05808411Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql simulator | actionName: "update-config" policy-pap | sasl.oauthbearer.scope.claim.name = scope policy-apex-pdp | [2024-01-22T15:04:54.906+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-0:0.0.1 kafka | [2024-01-22 15:04:30,671] 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$) grafana | logger=migrator t=2024-01-22T15:03:57.059333716Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.248546ms policy-db-migrator | -------------- simulator | mode: "sync" policy-pap | sasl.oauthbearer.sub.claim.name = sub policy-apex-pdp | [2024-01-22T15:04:54.906+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-01-22 15:04:30,672] 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) grafana | logger=migrator t=2024-01-22T15:03:57.064176106Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 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 | } policy-pap | sasl.oauthbearer.token.endpoint.url = null policy-apex-pdp | [2024-01-22T15:04:55.095+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-1:0.0.1 kafka | [2024-01-22 15:04:30,672] INFO [Partition __consumer_offsets-41 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-41 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.064661102Z 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 | -------------- simulator | payload { policy-pap | security.protocol = PLAINTEXT policy-apex-pdp | [2024-01-22T15:04:55.097+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-2:0.0.1 kafka | [2024-01-22 15:04:30,672] INFO [Partition __consumer_offsets-41 broker=1] Log loaded for partition __consumer_offsets-41 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.06774149Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | simulator | fields { policy-pap | security.providers = null policy-apex-pdp | [2024-01-22T15:04:55.097+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-3:0.0.1 kafka | [2024-01-22 15:04:30,672] INFO [Broker id=1] Leader __consumer_offsets-41 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:57.068243856Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=502.016µs policy-db-migrator | simulator | key: "update-config-request" policy-pap | send.buffer.bytes = 131072 policy-apex-pdp | [2024-01-22T15:04:55.174+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-01-22 15:04:30,680] 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$) grafana | logger=migrator t=2024-01-22T15:03:57.071379485Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql simulator | value { policy-pap | session.timeout.ms = 45000 policy-apex-pdp | [2024-01-22T15:04:55.350+00:00|INFO|CdsProcessorGrpcClient|KAFKA-source-policy-pdp-pap] CdsProcessorListener started kafka | [2024-01-22 15:04:30,680] 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) grafana | logger=migrator t=2024-01-22T15:03:57.072481759Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.102594ms policy-db-migrator | -------------- simulator | struct_value { policy-pap | socket.connection.setup.timeout.max.ms = 30000 policy-apex-pdp | [2024-01-22T15:04:55.351+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-01-22 15:04:30,680] INFO [Partition __consumer_offsets-10 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-10 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.080369486Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 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 | fields { policy-pap | socket.connection.setup.timeout.ms = 10000 policy-apex-pdp | [2024-01-22T15:04:55.351+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-01-22 15:04:30,681] INFO [Partition __consumer_offsets-10 broker=1] Log loaded for partition __consumer_offsets-10 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.089650992Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.281886ms policy-db-migrator | -------------- simulator | key: "hostname" policy-pap | ssl.cipher.suites = null policy-apex-pdp | [2024-01-22T15:04:55.369+00:00|INFO|ConsumerConfig|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] ConsumerConfig values: kafka | [2024-01-22 15:04:30,681] INFO [Broker id=1] Leader __consumer_offsets-10 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:57.093307017Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | simulator | value { policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-apex-pdp | allow.auto.create.topics = true kafka | [2024-01-22 15:04:30,689] 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$) grafana | logger=migrator t=2024-01-22T15:03:57.094198838Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=893.181µs policy-db-migrator | simulator | string_value: "host1y6twn" policy-pap | ssl.endpoint.identification.algorithm = https policy-apex-pdp | auto.commit.interval.ms = 1000 kafka | [2024-01-22 15:04:30,689] 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) grafana | logger=migrator t=2024-01-22T15:03:57.097336777Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql simulator | } policy-pap | ssl.engine.factory.class = null policy-apex-pdp | auto.include.jmx.reporter = true kafka | [2024-01-22 15:04:30,690] INFO [Partition __consumer_offsets-33 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-33 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.098431391Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.093734ms policy-db-migrator | -------------- simulator | } policy-pap | ssl.key.password = null policy-apex-pdp | auto.offset.reset = latest kafka | [2024-01-22 15:04:30,690] INFO [Partition __consumer_offsets-33 broker=1] Log loaded for partition __consumer_offsets-33 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.105062893Z level=info msg="Executing migration" id="create library_element_connection table v1" 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) simulator | fields { policy-pap | ssl.keymanager.algorithm = SunX509 policy-apex-pdp | bootstrap.servers = [kafka:9092] kafka | [2024-01-22 15:04:30,690] INFO [Broker id=1] Leader __consumer_offsets-33 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:57.106735714Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.672801ms policy-db-migrator | -------------- simulator | key: "IP" policy-pap | ssl.keystore.certificate.chain = null policy-apex-pdp | check.crcs = true kafka | [2024-01-22 15:04:30,700] 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$) grafana | logger=migrator t=2024-01-22T15:03:57.111109048Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | simulator | value { policy-pap | ssl.keystore.key = null policy-apex-pdp | client.dns.lookup = use_all_dns_ips grafana | logger=migrator t=2024-01-22T15:03:57.113283875Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.174197ms kafka | [2024-01-22 15:04:30,701] 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-db-migrator | simulator | string_value: "10.10.10.10" policy-pap | ssl.keystore.location = null policy-apex-pdp | client.id = consumer-apex-grp-3 grafana | logger=migrator t=2024-01-22T15:03:57.118959976Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" kafka | [2024-01-22 15:04:30,701] INFO [Partition __consumer_offsets-48 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-48 (kafka.cluster.Partition) policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql simulator | } policy-pap | ssl.keystore.password = null grafana | logger=migrator t=2024-01-22T15:03:57.120210411Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.251135ms grafana | logger=migrator t=2024-01-22T15:03:57.128820058Z level=info msg="Executing migration" id="increase max description length to 2048" policy-apex-pdp | client.rack = policy-db-migrator | -------------- simulator | } policy-pap | ssl.keystore.type = JKS kafka | [2024-01-22 15:04:30,701] INFO [Partition __consumer_offsets-48 broker=1] Log loaded for partition __consumer_offsets-48 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.128862649Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=44.571µs policy-apex-pdp | connections.max.idle.ms = 540000 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) simulator | fields { policy-pap | ssl.protocol = TLSv1.3 kafka | [2024-01-22 15:04:30,701] INFO [Broker id=1] Leader __consumer_offsets-48 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:57.134808392Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-apex-pdp | default.api.timeout.ms = 60000 policy-db-migrator | -------------- simulator | key: "pnfName" policy-pap | ssl.provider = null kafka | [2024-01-22 15:04:30,711] 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$) grafana | logger=migrator t=2024-01-22T15:03:57.134912514Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=139.442µs policy-apex-pdp | enable.auto.commit = true policy-db-migrator | simulator | value { policy-pap | ssl.secure.random.implementation = null kafka | [2024-01-22 15:04:30,712] 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) grafana | logger=migrator t=2024-01-22T15:03:57.138405737Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-apex-pdp | exclude.internal.topics = true policy-db-migrator | simulator | string_value: "demo-pnf" policy-pap | ssl.trustmanager.algorithm = PKIX kafka | [2024-01-22 15:04:30,712] INFO [Partition __consumer_offsets-19 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-19 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.138886473Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=480.156µs policy-apex-pdp | fetch.max.bytes = 52428800 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql simulator | } simulator | } grafana | logger=migrator t=2024-01-22T15:03:57.142467308Z level=info msg="Executing migration" id="create data_keys table" policy-apex-pdp | fetch.max.wait.ms = 500 policy-db-migrator | -------------- policy-pap | ssl.truststore.certificates = null simulator | } simulator | } grafana | logger=migrator t=2024-01-22T15:03:57.143692813Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.226925ms policy-apex-pdp | fetch.min.bytes = 1 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-pap | ssl.truststore.location = null simulator | } simulator | } grafana | logger=migrator t=2024-01-22T15:03:57.17244794Z level=info msg="Executing migration" id="create secrets table" policy-apex-pdp | group.id = apex-grp policy-db-migrator | -------------- policy-pap | ssl.truststore.password = null simulator | simulator | 2024-01-22 15:05:05,328 INFO Fetching response from controlloop-hostname-update-update-config.json grafana | logger=migrator t=2024-01-22T15:03:57.174438275Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.994685ms policy-apex-pdp | group.instance.id = null policy-db-migrator | policy-pap | ssl.truststore.type = JKS simulator | 2024-01-22 15:05:21,333 INFO 172.17.0.11 - - [22/Jan/2024:15:05:21 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" simulator | 2024-01-22 15:05:21,351 INFO Received request input to CDS: commonHeader { grafana | logger=migrator t=2024-01-22T15:03:57.178388114Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-apex-pdp | heartbeat.interval.ms = 3000 policy-db-migrator | policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" grafana | logger=migrator t=2024-01-22T15:03:57.225395067Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.999933ms policy-apex-pdp | interceptor.classes = [] policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-pap | simulator | originatorId: "POLICY" kafka | [2024-01-22 15:04:30,712] INFO [Partition __consumer_offsets-19 broker=1] Log loaded for partition __consumer_offsets-19 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.261378994Z level=info msg="Executing migration" id="add name column into data_keys" policy-apex-pdp | internal.leave.group.on.close = true policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:29.680+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 simulator | } kafka | [2024-01-22 15:04:30,713] INFO [Broker id=1] Leader __consumer_offsets-19 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:57.26994887Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=8.571236ms policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false 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-pap | [2024-01-22T15:04:29.680+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a simulator | actionIdentifiers { kafka | [2024-01-22 15:04:30,729] 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$) grafana | logger=migrator t=2024-01-22T15:03:57.275044574Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-apex-pdp | isolation.level = read_uncommitted policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:29.680+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705935869680 simulator | blueprintName: "controlloop-hostname-update" kafka | [2024-01-22 15:04:30,730] 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) grafana | logger=migrator t=2024-01-22T15:03:57.275404578Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=360.894µs policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer policy-db-migrator | simulator | blueprintVersion: "1.0.4" kafka | [2024-01-22 15:04:30,730] INFO [Partition __consumer_offsets-34 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-34 (kafka.cluster.Partition) policy-pap | [2024-01-22T15:04:29.680+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-01-22T15:03:57.281421473Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-apex-pdp | max.partition.fetch.bytes = 1048576 policy-db-migrator | simulator | actionName: "update-config" kafka | [2024-01-22 15:04:30,730] INFO [Partition __consumer_offsets-34 broker=1] Log loaded for partition __consumer_offsets-34 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-01-22T15:04:29.682+00:00|INFO|ServiceManager|main] Policy PAP starting topics grafana | logger=migrator t=2024-01-22T15:03:57.331259852Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=49.836419ms policy-apex-pdp | max.poll.interval.ms = 300000 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql simulator | mode: "sync" kafka | [2024-01-22 15:04:30,730] INFO [Broker id=1] Leader __consumer_offsets-34 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-pap | [2024-01-22T15:04:29.682+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=aaecd216-4170-45f8-8f23-3d6f70fb0e22, 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-01-22T15:03:57.334870316Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-apex-pdp | max.poll.records = 500 policy-db-migrator | -------------- simulator | } kafka | [2024-01-22 15:04:30,742] 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-pap | [2024-01-22T15:04:29.682+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=c676d884-f554-487a-8e53-52e0dae36e61, 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-01-22T15:03:57.382176864Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=47.306218ms policy-apex-pdp | metadata.max.age.ms = 300000 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) simulator | payload { kafka | [2024-01-22 15:04:30,744] 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-pap | [2024-01-22T15:04:29.682+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=65fb1387-f83e-46fd-8624-7f584edeeaad, alive=false, publisher=null]]: starting grafana | logger=migrator t=2024-01-22T15:03:57.386226894Z level=info msg="Executing migration" id="create kv_store table v1" policy-apex-pdp | metric.reporters = [] simulator | fields { kafka | [2024-01-22 15:04:30,744] INFO [Partition __consumer_offsets-4 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-4 (kafka.cluster.Partition) policy-pap | [2024-01-22T15:04:29.695+00:00|INFO|ProducerConfig|main] ProducerConfig values: grafana | logger=migrator t=2024-01-22T15:03:57.387002954Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=775.46µs policy-apex-pdp | metrics.num.samples = 2 policy-db-migrator | -------------- simulator | key: "update-config-request" kafka | [2024-01-22 15:04:30,744] INFO [Partition __consumer_offsets-4 broker=1] Log loaded for partition __consumer_offsets-4 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | acks = -1 grafana | logger=migrator t=2024-01-22T15:03:57.392301939Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-apex-pdp | metrics.recording.level = INFO policy-db-migrator | simulator | value { kafka | [2024-01-22 15:04:30,744] INFO [Broker id=1] Leader __consumer_offsets-4 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-pap | auto.include.jmx.reporter = true grafana | logger=migrator t=2024-01-22T15:03:57.393315202Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.012633ms policy-apex-pdp | metrics.sample.window.ms = 30000 policy-db-migrator | simulator | struct_value { kafka | [2024-01-22 15:04:30,753] 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-pap | batch.size = 16384 grafana | logger=migrator t=2024-01-22T15:03:57.396547472Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql simulator | fields { kafka | [2024-01-22 15:04:30,755] 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-pap | bootstrap.servers = [kafka:9092] grafana | logger=migrator t=2024-01-22T15:03:57.396864396Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=315.464µs policy-apex-pdp | receive.buffer.bytes = 65536 policy-db-migrator | -------------- simulator | key: "hostname" kafka | [2024-01-22 15:04:30,755] INFO [Partition __consumer_offsets-11 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-11 (kafka.cluster.Partition) policy-pap | buffer.memory = 33554432 grafana | logger=migrator t=2024-01-22T15:03:57.39963051Z level=info msg="Executing migration" id="create permission table" policy-apex-pdp | reconnect.backoff.max.ms = 1000 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) simulator | value { kafka | [2024-01-22 15:04:30,755] INFO [Partition __consumer_offsets-11 broker=1] Log loaded for partition __consumer_offsets-11 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | client.dns.lookup = use_all_dns_ips grafana | logger=migrator t=2024-01-22T15:03:57.400929846Z level=info msg="Migration successfully executed" id="create permission table" duration=1.299056ms policy-apex-pdp | reconnect.backoff.ms = 50 policy-db-migrator | -------------- simulator | string_value: "hostf0txd" kafka | [2024-01-22 15:04:30,756] INFO [Broker id=1] Leader __consumer_offsets-11 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-pap | client.id = producer-1 grafana | logger=migrator t=2024-01-22T15:03:57.409498973Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-apex-pdp | request.timeout.ms = 30000 policy-db-migrator | simulator | } kafka | [2024-01-22 15:04:30,764] 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-pap | compression.type = none grafana | logger=migrator t=2024-01-22T15:03:57.410581476Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.082343ms policy-apex-pdp | retry.backoff.ms = 100 policy-db-migrator | simulator | } kafka | [2024-01-22 15:04:30,765] 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-pap | connections.max.idle.ms = 540000 policy-apex-pdp | sasl.client.callback.handler.class = null grafana | logger=migrator t=2024-01-22T15:03:57.417880517Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql simulator | fields { kafka | [2024-01-22 15:04:30,766] INFO [Partition __consumer_offsets-26 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-26 (kafka.cluster.Partition) policy-pap | delivery.timeout.ms = 120000 policy-apex-pdp | sasl.jaas.config = null grafana | logger=migrator t=2024-01-22T15:03:57.41974678Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.867903ms policy-db-migrator | -------------- simulator | key: "IP" kafka | [2024-01-22 15:04:30,766] INFO [Partition __consumer_offsets-26 broker=1] Log loaded for partition __consumer_offsets-26 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | enable.idempotence = true policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit grafana | logger=migrator t=2024-01-22T15:03:57.423272624Z level=info msg="Executing migration" id="create role table" 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)) simulator | value { kafka | [2024-01-22 15:04:30,767] INFO [Broker id=1] Leader __consumer_offsets-26 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-pap | interceptor.classes = [] policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 grafana | logger=migrator t=2024-01-22T15:03:57.424301577Z level=info msg="Migration successfully executed" id="create role table" duration=1.026993ms policy-db-migrator | -------------- simulator | string_value: "10.10.10.10" kafka | [2024-01-22 15:04:30,779] 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-pap | key.serializer = class org.apache.kafka.common.serialization.StringSerializer policy-apex-pdp | sasl.kerberos.service.name = null grafana | logger=migrator t=2024-01-22T15:03:57.42779664Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | simulator | } kafka | [2024-01-22 15:04:30,780] 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 | linger.ms = 0 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 grafana | logger=migrator t=2024-01-22T15:03:57.435262603Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.465202ms policy-db-migrator | simulator | } kafka | [2024-01-22 15:04:30,781] INFO [Partition __consumer_offsets-49 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-49 (kafka.cluster.Partition) policy-pap | max.block.ms = 60000 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 grafana | logger=migrator t=2024-01-22T15:03:57.440466187Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | > upgrade 0450-pdpgroup.sql simulator | fields { kafka | [2024-01-22 15:04:30,781] INFO [Partition __consumer_offsets-49 broker=1] Log loaded for partition __consumer_offsets-49 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | max.in.flight.requests.per.connection = 5 policy-apex-pdp | sasl.login.callback.handler.class = null grafana | logger=migrator t=2024-01-22T15:03:57.448199423Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.701606ms policy-db-migrator | -------------- simulator | key: "pnfName" kafka | [2024-01-22 15:04:30,781] INFO [Broker id=1] Leader __consumer_offsets-49 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-pap | max.request.size = 1048576 policy-apex-pdp | sasl.login.class = null grafana | logger=migrator t=2024-01-22T15:03:57.455554075Z level=info msg="Executing migration" id="add index role.org_id" 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)) simulator | value { kafka | [2024-01-22 15:04:30,788] 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-pap | metadata.max.age.ms = 300000 policy-apex-pdp | sasl.login.connect.timeout.ms = null grafana | logger=migrator t=2024-01-22T15:03:57.456661748Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.107673ms policy-db-migrator | -------------- simulator | string_value: "demo-pnf" policy-pap | metadata.max.idle.ms = 300000 kafka | [2024-01-22 15:04:30,788] 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 | sasl.login.read.timeout.ms = null grafana | logger=migrator t=2024-01-22T15:03:57.463304531Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | simulator | } policy-pap | metric.reporters = [] kafka | [2024-01-22 15:04:30,788] INFO [Partition __consumer_offsets-39 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-39 (kafka.cluster.Partition) policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 grafana | logger=migrator t=2024-01-22T15:03:57.465103133Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.798322ms policy-db-migrator | simulator | } policy-pap | metrics.num.samples = 2 kafka | [2024-01-22 15:04:30,789] 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 | sasl.login.refresh.min.period.seconds = 60 grafana | logger=migrator t=2024-01-22T15:03:57.469104013Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql simulator | } policy-pap | metrics.recording.level = INFO kafka | [2024-01-22 15:04:30,789] INFO [Broker id=1] Leader __consumer_offsets-39 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 grafana | logger=migrator t=2024-01-22T15:03:57.470365699Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.257376ms policy-db-migrator | -------------- simulator | } policy-pap | metrics.sample.window.ms = 30000 kafka | [2024-01-22 15:04:30,800] 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 | sasl.login.refresh.window.jitter = 0.05 grafana | logger=migrator t=2024-01-22T15:03:57.475564223Z level=info msg="Executing migration" id="create team role table" 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)) simulator | } policy-pap | partitioner.adaptive.partitioning.enable = true kafka | [2024-01-22 15:04:30,801] 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) policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 grafana | logger=migrator t=2024-01-22T15:03:57.476354633Z level=info msg="Migration successfully executed" id="create team role table" duration=788.66µs policy-db-migrator | -------------- simulator | } policy-pap | partitioner.availability.timeout.ms = 0 kafka | [2024-01-22 15:04:30,801] INFO [Partition __consumer_offsets-9 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-9 (kafka.cluster.Partition) policy-apex-pdp | sasl.login.retry.backoff.ms = 100 grafana | logger=migrator t=2024-01-22T15:03:57.480477134Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | simulator | policy-pap | partitioner.class = null kafka | [2024-01-22 15:04:30,801] INFO [Partition __consumer_offsets-9 broker=1] Log loaded for partition __consumer_offsets-9 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | sasl.mechanism = GSSAPI grafana | logger=migrator t=2024-01-22T15:03:57.481614558Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.138134ms policy-db-migrator | simulator | 2024-01-22 15:05:21,352 INFO Fetching response from controlloop-hostname-update-update-config.json policy-pap | partitioner.ignore.keys = false kafka | [2024-01-22 15:04:30,801] INFO [Broker id=1] Leader __consumer_offsets-9 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 grafana | logger=migrator t=2024-01-22T15:03:57.494877563Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0470-pdp.sql simulator | 2024-01-22 15:05:21,378 INFO 172.17.0.11 - - [22/Jan/2024:15:05:21 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" policy-pap | receive.buffer.bytes = 32768 kafka | [2024-01-22 15:04:30,809] 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 | sasl.oauthbearer.expected.audience = null grafana | logger=migrator t=2024-01-22T15:03:57.49626536Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.392797ms policy-db-migrator | -------------- simulator | 2024-01-22 15:05:21,413 INFO Received request input to CDS: commonHeader { policy-pap | reconnect.backoff.max.ms = 1000 kafka | [2024-01-22 15:04:30,809] 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 | sasl.oauthbearer.expected.issuer = null grafana | logger=migrator t=2024-01-22T15:03:57.500736516Z level=info msg="Executing migration" id="add index team_role.team_id" 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)) simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-pap | reconnect.backoff.ms = 50 kafka | [2024-01-22 15:04:30,809] INFO [Partition __consumer_offsets-24 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-24 (kafka.cluster.Partition) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 grafana | logger=migrator t=2024-01-22T15:03:57.501765198Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.028222ms policy-db-migrator | -------------- simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-pap | request.timeout.ms = 30000 kafka | [2024-01-22 15:04:30,809] 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 | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 grafana | logger=migrator t=2024-01-22T15:03:57.506064552Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | simulator | originatorId: "POLICY" policy-pap | retries = 2147483647 kafka | [2024-01-22 15:04:30,809] INFO [Broker id=1] Leader __consumer_offsets-24 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 grafana | logger=migrator t=2024-01-22T15:03:57.506857892Z level=info msg="Migration successfully executed" id="create user role table" duration=793.44µs policy-db-migrator | simulator | } policy-pap | retry.backoff.ms = 100 kafka | [2024-01-22 15:04:30,819] 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 | sasl.oauthbearer.jwks.endpoint.url = null grafana | logger=migrator t=2024-01-22T15:03:57.511308987Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | > upgrade 0480-pdpstatistics.sql simulator | actionIdentifiers { policy-pap | sasl.client.callback.handler.class = null kafka | [2024-01-22 15:04:30,820] 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 | sasl.oauthbearer.scope.claim.name = scope grafana | logger=migrator t=2024-01-22T15:03:57.512480381Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.171304ms policy-db-migrator | -------------- simulator | blueprintName: "controlloop-hostname-update" policy-pap | sasl.jaas.config = null kafka | [2024-01-22 15:04:30,820] INFO [Partition __consumer_offsets-31 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-31 (kafka.cluster.Partition) policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub grafana | logger=migrator t=2024-01-22T15:03:57.5164372Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 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)) simulator | blueprintVersion: "1.0.4" policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit kafka | [2024-01-22 15:04:30,821] 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 | sasl.oauthbearer.token.endpoint.url = null grafana | logger=migrator t=2024-01-22T15:03:57.518491506Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.059846ms policy-db-migrator | -------------- simulator | actionName: "update-config" policy-pap | sasl.kerberos.min.time.before.relogin = 60000 kafka | [2024-01-22 15:04:30,821] INFO [Broker id=1] Leader __consumer_offsets-31 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-apex-pdp | security.protocol = PLAINTEXT grafana | logger=migrator t=2024-01-22T15:03:57.521883868Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | simulator | mode: "sync" policy-pap | sasl.kerberos.service.name = null kafka | [2024-01-22 15:04:30,831] 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 | security.providers = null grafana | logger=migrator t=2024-01-22T15:03:57.522762199Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=878.901µs policy-db-migrator | simulator | } policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 kafka | [2024-01-22 15:04:30,833] 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 | send.buffer.bytes = 131072 grafana | logger=migrator t=2024-01-22T15:03:57.55904696Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql simulator | payload { policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 kafka | [2024-01-22 15:04:30,833] INFO [Partition __consumer_offsets-46 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-46 (kafka.cluster.Partition) policy-apex-pdp | session.timeout.ms = 30000 grafana | logger=migrator t=2024-01-22T15:03:57.560182814Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.137065ms policy-db-migrator | -------------- simulator | fields { policy-pap | sasl.login.callback.handler.class = null kafka | [2024-01-22 15:04:30,833] INFO [Partition __consumer_offsets-46 broker=1] Log loaded for partition __consumer_offsets-46 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 grafana | logger=migrator t=2024-01-22T15:03:57.566056226Z level=info msg="Executing migration" id="add index builtin_role.role_id" simulator | key: "update-config-request" 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-pap | sasl.login.class = null kafka | [2024-01-22 15:04:30,833] INFO [Broker id=1] Leader __consumer_offsets-46 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 grafana | logger=migrator t=2024-01-22T15:03:57.567249871Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.194685ms simulator | value { policy-db-migrator | -------------- policy-pap | sasl.login.connect.timeout.ms = null kafka | [2024-01-22 15:04:30,840] 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-apex-pdp | ssl.cipher.suites = null grafana | logger=migrator t=2024-01-22T15:03:57.571816588Z level=info msg="Executing migration" id="add index builtin_role.name" simulator | struct_value { policy-db-migrator | policy-pap | sasl.login.read.timeout.ms = null kafka | [2024-01-22 15:04:30,841] 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-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] grafana | logger=migrator t=2024-01-22T15:03:57.572949552Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.135374ms simulator | fields { policy-db-migrator | policy-pap | sasl.login.refresh.buffer.seconds = 300 kafka | [2024-01-22 15:04:30,841] INFO [Partition __consumer_offsets-1 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-1 (kafka.cluster.Partition) policy-apex-pdp | ssl.endpoint.identification.algorithm = https grafana | logger=migrator t=2024-01-22T15:03:57.57762242Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" simulator | key: "hostname" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-pap | sasl.login.refresh.min.period.seconds = 60 kafka | [2024-01-22 15:04:30,841] 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 | ssl.engine.factory.class = null grafana | logger=migrator t=2024-01-22T15:03:57.587435182Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.810542ms simulator | value { policy-db-migrator | -------------- policy-pap | sasl.login.refresh.window.factor = 0.8 kafka | [2024-01-22 15:04:30,841] INFO [Broker id=1] Leader __consumer_offsets-1 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-apex-pdp | ssl.key.password = null grafana | logger=migrator t=2024-01-22T15:03:57.591553983Z level=info msg="Executing migration" id="add index builtin_role.org_id" simulator | string_value: "hostqmgar4" 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-pap | sasl.login.refresh.window.jitter = 0.05 kafka | [2024-01-22 15:04:30,853] 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-apex-pdp | ssl.keymanager.algorithm = SunX509 grafana | logger=migrator t=2024-01-22T15:03:57.592695127Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.151614ms simulator | } policy-db-migrator | -------------- policy-pap | sasl.login.retry.backoff.max.ms = 10000 kafka | [2024-01-22 15:04:30,854] 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-apex-pdp | ssl.keystore.certificate.chain = null grafana | logger=migrator t=2024-01-22T15:03:57.595921007Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" simulator | } policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-01-22T15:03:57.597010841Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.090084ms simulator | fields { kafka | [2024-01-22 15:04:30,854] INFO [Partition __consumer_offsets-16 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-16 (kafka.cluster.Partition) policy-db-migrator | -------------- policy-pap | sasl.login.retry.backoff.ms = 100 policy-apex-pdp | ssl.keystore.key = null grafana | logger=migrator t=2024-01-22T15:03:57.601694709Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" simulator | key: "IP" kafka | [2024-01-22 15:04:30,854] 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 | 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)) policy-pap | sasl.mechanism = GSSAPI policy-apex-pdp | ssl.keystore.location = null grafana | logger=migrator t=2024-01-22T15:03:57.602744452Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.050963ms simulator | value { kafka | [2024-01-22 15:04:30,855] INFO [Broker id=1] Leader __consumer_offsets-16 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 policy-apex-pdp | ssl.keystore.password = null grafana | logger=migrator t=2024-01-22T15:03:57.607364939Z level=info msg="Executing migration" id="add unique index role.uid" simulator | string_value: "10.10.10.10" kafka | [2024-01-22 15:04:30,863] 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 | ssl.keystore.type = JKS grafana | logger=migrator t=2024-01-22T15:03:57.608807407Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.442938ms simulator | } policy-db-migrator | policy-pap | sasl.oauthbearer.expected.audience = null kafka | [2024-01-22 15:04:30,864] 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 | ssl.protocol = TLSv1.3 grafana | logger=migrator t=2024-01-22T15:03:57.616929748Z level=info msg="Executing migration" id="create seed assignment table" simulator | } policy-db-migrator | policy-pap | sasl.oauthbearer.expected.issuer = null kafka | [2024-01-22 15:04:30,864] INFO [Partition __consumer_offsets-2 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-2 (kafka.cluster.Partition) policy-apex-pdp | ssl.provider = null grafana | logger=migrator t=2024-01-22T15:03:57.619022524Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=2.093946ms simulator | fields { policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 kafka | [2024-01-22 15:04:30,864] 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 | ssl.secure.random.implementation = null grafana | logger=migrator t=2024-01-22T15:03:57.624091957Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" simulator | key: "pnfName" policy-db-migrator | -------------- 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)) policy-apex-pdp | ssl.trustmanager.algorithm = PKIX grafana | logger=migrator t=2024-01-22T15:03:57.625480394Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.388237ms simulator | value { kafka | [2024-01-22 15:04:30,864] INFO [Broker id=1] Leader __consumer_offsets-2 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-apex-pdp | ssl.truststore.certificates = null grafana | logger=migrator t=2024-01-22T15:03:57.630601688Z level=info msg="Executing migration" id="add column hidden to role table" simulator | string_value: "demo-pnf" policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 kafka | [2024-01-22 15:04:30,874] 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$) kafka | [2024-01-22 15:04:30,875] 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 | ssl.truststore.location = null grafana | logger=migrator t=2024-01-22T15:03:57.639052133Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.448225ms simulator | } policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 kafka | [2024-01-22 15:04:30,875] INFO [Partition __consumer_offsets-25 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-25 (kafka.cluster.Partition) kafka | [2024-01-22 15:04:30,875] 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 | ssl.truststore.password = null grafana | logger=migrator t=2024-01-22T15:03:57.643538758Z level=info msg="Executing migration" id="permission kind migration" simulator | } policy-pap | sasl.oauthbearer.jwks.endpoint.url = null kafka | [2024-01-22 15:04:30,875] INFO [Broker id=1] Leader __consumer_offsets-25 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) kafka | [2024-01-22 15:04:30,882] 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 | ssl.truststore.type = JKS grafana | logger=migrator t=2024-01-22T15:03:57.654986561Z level=info msg="Migration successfully executed" id="permission kind migration" duration=11.446273ms simulator | } policy-pap | sasl.oauthbearer.scope.claim.name = scope kafka | [2024-01-22 15:04:30,882] 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-db-migrator | -------------- policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer simulator | } grafana | logger=migrator t=2024-01-22T15:03:57.660787593Z level=info msg="Executing migration" id="permission attribute migration" policy-pap | sasl.oauthbearer.sub.claim.name = sub kafka | [2024-01-22 15:04:30,882] INFO [Partition __consumer_offsets-40 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-40 (kafka.cluster.Partition) policy-db-migrator | policy-apex-pdp | simulator | } grafana | logger=migrator t=2024-01-22T15:03:57.669112216Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.321013ms policy-pap | sasl.oauthbearer.token.endpoint.url = null kafka | [2024-01-22 15:04:30,883] INFO [Partition __consumer_offsets-40 broker=1] Log loaded for partition __consumer_offsets-40 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:04:55.377+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] simulator | } grafana | logger=migrator t=2024-01-22T15:03:57.673129636Z level=info msg="Executing migration" id="permission identifier migration" policy-pap | security.protocol = PLAINTEXT kafka | [2024-01-22 15:04:30,883] INFO [Broker id=1] Leader __consumer_offsets-40 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 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":"38cc834b-b4ac-4cc8-a081-43328d852c90","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"744993ec-c741-4719-9dcb-1a579527df8a","timestampMs":1705935895377,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} simulator | grafana | logger=migrator t=2024-01-22T15:03:57.682541833Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=9.407127ms policy-pap | security.providers = null kafka | [2024-01-22 15:04:30,888] 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-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:04:55.379+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka version: 3.6.0 simulator | 2024-01-22 15:05:21,414 INFO Fetching response from controlloop-hostname-update-update-config.json grafana | logger=migrator t=2024-01-22T15:03:57.686634234Z level=info msg="Executing migration" id="add permission identifier index" policy-pap | send.buffer.bytes = 131072 kafka | [2024-01-22 15:04:30,888] 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-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-apex-pdp | [2024-01-22T15:04:55.379+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka commitId: 60e845626d8a465a simulator | 2024-01-22 15:05:26,443 INFO 172.17.0.11 - - [22/Jan/2024:15:05:26 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" grafana | logger=migrator t=2024-01-22T15:03:57.687866959Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.237085ms kafka | [2024-01-22 15:04:30,888] INFO [Partition __consumer_offsets-47 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-47 (kafka.cluster.Partition) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:04:55.379+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka startTimeMs: 1705935895379 simulator | 2024-01-22 15:05:26,443 INFO 172.17.0.11 - - [22/Jan/2024:15:05:26 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" grafana | logger=migrator t=2024-01-22T15:03:57.695348512Z level=info msg="Executing migration" id="create query_history table v1" policy-pap | socket.connection.setup.timeout.max.ms = 30000 kafka | [2024-01-22 15:04:30,888] INFO [Partition __consumer_offsets-47 broker=1] Log loaded for partition __consumer_offsets-47 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:04:55.380+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 simulator | 2024-01-22 15:05:26,460 INFO Received request input to CDS: commonHeader { grafana | logger=migrator t=2024-01-22T15:03:57.696725199Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.375977ms policy-pap | socket.connection.setup.timeout.ms = 10000 kafka | [2024-01-22 15:04:30,888] INFO [Broker id=1] Leader __consumer_offsets-47 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:04:55.404+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" grafana | logger=migrator t=2024-01-22T15:03:57.723944837Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-pap | ssl.cipher.suites = null kafka | [2024-01-22 15:04:30,896] 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-db-migrator | > upgrade 0540-toscacapabilitytype.sql 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":"38cc834b-b4ac-4cc8-a081-43328d852c90","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"744993ec-c741-4719-9dcb-1a579527df8a","timestampMs":1705935895377,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" grafana | logger=migrator t=2024-01-22T15:03:57.726521319Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.630003ms policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] kafka | [2024-01-22 15:04:30,897] 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-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:04:55.405+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS simulator | originatorId: "POLICY" grafana | logger=migrator t=2024-01-22T15:03:57.731542611Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-pap | ssl.endpoint.identification.algorithm = https kafka | [2024-01-22 15:04:30,897] INFO [Partition __consumer_offsets-17 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-17 (kafka.cluster.Partition) 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-apex-pdp | [2024-01-22T15:04:55.415+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} simulator | } grafana | logger=migrator t=2024-01-22T15:03:57.731646532Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=105.331µs policy-pap | ssl.engine.factory.class = null kafka | [2024-01-22 15:04:30,897] INFO [Partition __consumer_offsets-17 broker=1] Log loaded for partition __consumer_offsets-17 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:04:55.415+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: 0l0tf6rdRCWCkmNbCC3tmw grafana | logger=migrator t=2024-01-22T15:03:57.736883518Z level=info msg="Executing migration" id="rbac disabled migrator" simulator | actionIdentifiers { kafka | [2024-01-22 15:04:30,897] INFO [Broker id=1] Leader __consumer_offsets-17 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-apex-pdp | [2024-01-22T15:04:55.416+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) grafana | logger=migrator t=2024-01-22T15:03:57.736924688Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=42.86µs simulator | blueprintName: "controlloop-hostname-update" policy-pap | ssl.key.password = null policy-db-migrator | kafka | [2024-01-22 15:04:30,903] 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 | [2024-01-22T15:04:55.423+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 grafana | logger=migrator t=2024-01-22T15:03:57.739832604Z level=info msg="Executing migration" id="teams permissions migration" simulator | blueprintVersion: "1.0.4" policy-pap | ssl.keymanager.algorithm = SunX509 policy-db-migrator | kafka | [2024-01-22 15:04:30,904] 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) grafana | logger=migrator t=2024-01-22T15:03:57.740607954Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=775.36µs simulator | actionName: "update-config" policy-apex-pdp | [2024-01-22T15:04:55.428+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-2777b0b8-f65e-4a6f-b5b7-294faa42478b policy-pap | ssl.keystore.certificate.chain = null policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql kafka | [2024-01-22 15:04:30,904] INFO [Partition __consumer_offsets-32 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-32 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.747308287Z level=info msg="Executing migration" id="dashboard permissions" simulator | mode: "sync" policy-apex-pdp | [2024-01-22T15:04:55.428+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-pap | ssl.keystore.key = null policy-db-migrator | -------------- kafka | [2024-01-22 15:04:30,904] INFO [Partition __consumer_offsets-32 broker=1] Log loaded for partition __consumer_offsets-32 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.747934905Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=627.838µs simulator | } policy-apex-pdp | [2024-01-22T15:04:55.428+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 | ssl.keystore.location = null 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)) kafka | [2024-01-22 15:04:30,904] INFO [Broker id=1] Leader __consumer_offsets-32 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:57.754085151Z level=info msg="Executing migration" id="dashboard permissions uid scopes" simulator | payload { policy-apex-pdp | [2024-01-22T15:04:55.526+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 7 : {unauthenticated.dcae_cl_output=LEADER_NOT_AVAILABLE} policy-pap | ssl.keystore.password = null policy-db-migrator | -------------- kafka | [2024-01-22 15:04:30,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$) grafana | logger=migrator t=2024-01-22T15:03:57.755136824Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.053993ms simulator | fields { policy-apex-pdp | [2024-01-22T15:04:56.092+00:00|INFO|RequestLog|qtp830863979-29] 172.17.0.2 - policyadmin [22/Jan/2024:15:04:56 +0000] "GET /metrics HTTP/1.1" 200 15051 "-" "Prometheus/2.49.1" policy-pap | ssl.keystore.type = JKS policy-db-migrator | kafka | [2024-01-22 15:04:30,911] 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) grafana | logger=migrator t=2024-01-22T15:03:57.760150876Z level=info msg="Executing migration" id="drop managed folder create actions" simulator | key: "update-config-request" policy-apex-pdp | [2024-01-22T15:04:58.432+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-2777b0b8-f65e-4a6f-b5b7-294faa42478b', protocol='range'} policy-pap | ssl.protocol = TLSv1.3 policy-db-migrator | kafka | [2024-01-22 15:04:30,912] INFO [Partition __consumer_offsets-37 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-37 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.76045999Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=307.754µs simulator | value { policy-apex-pdp | [2024-01-22T15:04:58.433+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-2777b0b8-f65e-4a6f-b5b7-294faa42478b=Assignment(partitions=[unauthenticated.dcae_cl_output-0])} policy-pap | ssl.provider = null policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql kafka | [2024-01-22 15:04:30,912] INFO [Partition __consumer_offsets-37 broker=1] Log loaded for partition __consumer_offsets-37 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.764401909Z level=info msg="Executing migration" id="alerting notification permissions" simulator | struct_value { policy-apex-pdp | [2024-01-22T15:04:58.437+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-2777b0b8-f65e-4a6f-b5b7-294faa42478b', protocol='range'} policy-pap | ssl.secure.random.implementation = null policy-db-migrator | -------------- kafka | [2024-01-22 15:04:30,912] INFO [Broker id=1] Leader __consumer_offsets-37 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:57.764836755Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=435.956µs simulator | fields { policy-apex-pdp | [2024-01-22T15:04:58.437+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]) policy-pap | ssl.trustmanager.algorithm = PKIX 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)) kafka | [2024-01-22 15:04:30,918] 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$) grafana | logger=migrator t=2024-01-22T15:03:57.77010252Z level=info msg="Executing migration" id="create query_history_star table v1" simulator | key: "hostname" policy-apex-pdp | [2024-01-22T15:04:58.437+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-pap | ssl.truststore.certificates = null policy-db-migrator | -------------- kafka | [2024-01-22 15:04:30,918] 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) grafana | logger=migrator t=2024-01-22T15:03:57.771239044Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.140094ms simulator | value { policy-apex-pdp | [2024-01-22T15:04:58.439+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-pap | ssl.truststore.location = null policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:57.777199528Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" kafka | [2024-01-22 15:04:30,918] INFO [Partition __consumer_offsets-7 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-7 (kafka.cluster.Partition) simulator | string_value: "host8jfvkk" policy-apex-pdp | [2024-01-22T15:04:58.441+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-pap | ssl.truststore.password = null policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:57.778507304Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.308356ms kafka | [2024-01-22 15:04:30,918] INFO [Partition __consumer_offsets-7 broker=1] Log loaded for partition __consumer_offsets-7 with initial high watermark 0 (kafka.cluster.Partition) simulator | } policy-apex-pdp | [2024-01-22T15:05:00.224+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-pap | ssl.truststore.type = JKS policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-01-22T15:03:57.782261331Z level=info msg="Executing migration" id="add column org_id in query_history_star" kafka | [2024-01-22 15:04:30,919] INFO [Broker id=1] Leader __consumer_offsets-7 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) simulator | } policy-apex-pdp | [2024-01-22T15:05:00.225+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": 1705935900224, "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 | transaction.timeout.ms = 60000 policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:57.7910036Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.738538ms kafka | [2024-01-22 15:04:30,924] 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$) simulator | fields { policy-apex-pdp | [2024-01-22T15:05:00.229+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935900226, "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 | transactional.id = null 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)) grafana | logger=migrator t=2024-01-22T15:03:57.798797206Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" kafka | [2024-01-22 15:04:30,925] 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) simulator | key: "IP" policy-pap | value.serializer = class org.apache.kafka.common.serialization.StringSerializer policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:57.798871067Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=75.591µs kafka | [2024-01-22 15:04:30,925] INFO [Partition __consumer_offsets-22 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-22 (kafka.cluster.Partition) policy-apex-pdp | [2024-01-22T15:05:00.253+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-pap | policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:57.803353453Z level=info msg="Executing migration" id="create correlation table v1" kafka | [2024-01-22 15:04:30,925] 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 | [2024-01-22T15:05:00.254+00:00|INFO|ProducerConfig|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] ProducerConfig values: policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:57.804336885Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=982.632µs kafka | [2024-01-22 15:04:30,925] INFO [Broker id=1] Leader __consumer_offsets-22 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) simulator | value { policy-pap | [2024-01-22T15:04:29.704+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-1] Instantiated an idempotent producer. policy-apex-pdp | acks = -1 grafana | logger=migrator t=2024-01-22T15:03:57.808280594Z level=info msg="Executing migration" id="add index correlations.uid" kafka | [2024-01-22 15:04:30,932] 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$) simulator | string_value: "10.10.10.10" policy-pap | [2024-01-22T15:04:29.718+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-01-22T15:03:57.809549229Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.269075ms kafka | [2024-01-22 15:04:30,933] 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) simulator | } policy-pap | [2024-01-22T15:04:29.718+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a policy-apex-pdp | auto.include.jmx.reporter = true grafana | logger=migrator t=2024-01-22T15:03:57.815720906Z level=info msg="Executing migration" id="add index correlations.source_uid" kafka | [2024-01-22 15:04:30,933] INFO [Partition __consumer_offsets-29 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-29 (kafka.cluster.Partition) simulator | } policy-pap | [2024-01-22T15:04:29.718+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705935869718 policy-db-migrator | -------------- policy-apex-pdp | batch.size = 16384 grafana | logger=migrator t=2024-01-22T15:03:57.816937362Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.217765ms kafka | [2024-01-22 15:04:30,933] INFO [Partition __consumer_offsets-29 broker=1] Log loaded for partition __consumer_offsets-29 with initial high watermark 0 (kafka.cluster.Partition) simulator | fields { policy-pap | [2024-01-22T15:04:29.718+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=65fb1387-f83e-46fd-8624-7f584edeeaad, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created 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)) policy-apex-pdp | bootstrap.servers = [kafka:9092] grafana | logger=migrator t=2024-01-22T15:03:57.821827272Z level=info msg="Executing migration" id="add correlation config column" kafka | [2024-01-22 15:04:30,933] INFO [Broker id=1] Leader __consumer_offsets-29 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) simulator | key: "pnfName" policy-pap | [2024-01-22T15:04:29.719+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=187c7da4-82c4-4ea0-adef-fa1544c2e71e, alive=false, publisher=null]]: starting policy-db-migrator | -------------- policy-apex-pdp | buffer.memory = 33554432 grafana | logger=migrator t=2024-01-22T15:03:57.832891789Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.065017ms kafka | [2024-01-22 15:04:30,942] 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$) simulator | value { policy-pap | [2024-01-22T15:04:29.719+00:00|INFO|ProducerConfig|main] ProducerConfig values: policy-db-migrator | policy-apex-pdp | client.dns.lookup = use_all_dns_ips grafana | logger=migrator t=2024-01-22T15:03:57.837109012Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" kafka | [2024-01-22 15:04:30,943] 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) simulator | string_value: "demo-pnf" policy-pap | acks = -1 policy-db-migrator | policy-apex-pdp | client.id = producer-2 grafana | logger=migrator t=2024-01-22T15:03:57.838252096Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.143424ms kafka | [2024-01-22 15:04:30,943] INFO [Partition __consumer_offsets-44 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-44 (kafka.cluster.Partition) simulator | } policy-pap | auto.include.jmx.reporter = true policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-apex-pdp | compression.type = none grafana | logger=migrator t=2024-01-22T15:03:57.841670418Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" kafka | [2024-01-22 15:04:30,943] INFO [Partition __consumer_offsets-44 broker=1] Log loaded for partition __consumer_offsets-44 with initial high watermark 0 (kafka.cluster.Partition) simulator | } policy-pap | batch.size = 16384 policy-db-migrator | -------------- policy-apex-pdp | connections.max.idle.ms = 540000 grafana | logger=migrator t=2024-01-22T15:03:57.842684701Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.014403ms kafka | [2024-01-22 15:04:30,944] INFO [Broker id=1] Leader __consumer_offsets-44 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) simulator | } policy-pap | bootstrap.servers = [kafka:9092] 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)) policy-apex-pdp | delivery.timeout.ms = 120000 grafana | logger=migrator t=2024-01-22T15:03:57.846909704Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" kafka | [2024-01-22 15:04:30,950] 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$) simulator | } policy-pap | buffer.memory = 33554432 policy-db-migrator | -------------- policy-apex-pdp | enable.idempotence = false grafana | logger=migrator t=2024-01-22T15:03:57.878345424Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.43153ms kafka | [2024-01-22 15:04:30,950] 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) simulator | } policy-pap | client.dns.lookup = use_all_dns_ips policy-db-migrator | policy-apex-pdp | interceptor.classes = [] grafana | logger=migrator t=2024-01-22T15:03:57.884741393Z level=info msg="Executing migration" id="create correlation v2" kafka | [2024-01-22 15:04:30,950] INFO [Partition __consumer_offsets-14 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-14 (kafka.cluster.Partition) simulator | } policy-pap | client.id = producer-2 policy-db-migrator | policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer grafana | logger=migrator t=2024-01-22T15:03:57.885421762Z level=info msg="Migration successfully executed" id="create correlation v2" duration=680.668µs kafka | [2024-01-22 15:04:30,951] INFO [Partition __consumer_offsets-14 broker=1] Log loaded for partition __consumer_offsets-14 with initial high watermark 0 (kafka.cluster.Partition) simulator | policy-pap | compression.type = none policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-apex-pdp | linger.ms = 1 grafana | logger=migrator t=2024-01-22T15:03:57.891235804Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" kafka | [2024-01-22 15:04:30,951] INFO [Broker id=1] Leader __consumer_offsets-14 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) simulator | 2024-01-22 15:05:26,461 INFO Fetching response from controlloop-hostname-update-update-config.json policy-pap | connections.max.idle.ms = 540000 policy-db-migrator | -------------- policy-apex-pdp | max.block.ms = 60000 grafana | logger=migrator t=2024-01-22T15:03:57.893095797Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.857123ms kafka | [2024-01-22 15:04:30,958] 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$) simulator | 2024-01-22 15:05:26,480 INFO Received request input to CDS: commonHeader { policy-pap | delivery.timeout.ms = 120000 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-apex-pdp | max.in.flight.requests.per.connection = 5 grafana | logger=migrator t=2024-01-22T15:03:57.897905917Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" kafka | [2024-01-22 15:04:30,959] 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) simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-pap | enable.idempotence = true policy-db-migrator | -------------- policy-apex-pdp | max.request.size = 1048576 grafana | logger=migrator t=2024-01-22T15:03:57.899192543Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.286926ms kafka | [2024-01-22 15:04:30,959] INFO [Partition __consumer_offsets-23 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-23 (kafka.cluster.Partition) simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-pap | interceptor.classes = [] policy-db-migrator | policy-apex-pdp | metadata.max.age.ms = 300000 kafka | [2024-01-22 15:04:30,959] INFO [Partition __consumer_offsets-23 broker=1] Log loaded for partition __consumer_offsets-23 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.903230942Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" simulator | originatorId: "POLICY" policy-pap | key.serializer = class org.apache.kafka.common.serialization.StringSerializer policy-db-migrator | policy-apex-pdp | metadata.max.idle.ms = 300000 kafka | [2024-01-22 15:04:30,959] INFO [Broker id=1] Leader __consumer_offsets-23 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:57.904242564Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.015592ms simulator | } policy-pap | linger.ms = 0 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-apex-pdp | metric.reporters = [] kafka | [2024-01-22 15:04:30,967] 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$) grafana | logger=migrator t=2024-01-22T15:03:57.908473367Z level=info msg="Executing migration" id="copy correlation v1 to v2" simulator | actionIdentifiers { policy-pap | max.block.ms = 60000 policy-db-migrator | -------------- policy-apex-pdp | metrics.num.samples = 2 kafka | [2024-01-22 15:04:30,968] 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) grafana | logger=migrator t=2024-01-22T15:03:57.908778331Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=304.544µs simulator | blueprintName: "controlloop-hostname-update" policy-pap | max.in.flight.requests.per.connection = 5 policy-pap | max.request.size = 1048576 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)) policy-apex-pdp | metrics.recording.level = INFO kafka | [2024-01-22 15:04:30,968] INFO [Partition __consumer_offsets-38 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-38 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.911329152Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" simulator | blueprintVersion: "1.0.4" policy-pap | metadata.max.age.ms = 300000 policy-db-migrator | -------------- policy-apex-pdp | metrics.sample.window.ms = 30000 kafka | [2024-01-22 15:04:30,968] INFO [Partition __consumer_offsets-38 broker=1] Log loaded for partition __consumer_offsets-38 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:57.912046841Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=717.209µs simulator | actionName: "update-config" policy-pap | metadata.max.idle.ms = 300000 policy-db-migrator | policy-apex-pdp | partitioner.adaptive.partitioning.enable = true kafka | [2024-01-22 15:04:30,968] INFO [Broker id=1] Leader __consumer_offsets-38 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:57.961190361Z level=info msg="Executing migration" id="add provisioning column" simulator | mode: "sync" policy-pap | metric.reporters = [] policy-db-migrator | policy-apex-pdp | partitioner.availability.timeout.ms = 0 kafka | [2024-01-22 15:04:30,976] 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$) grafana | logger=migrator t=2024-01-22T15:03:57.972905387Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.717225ms simulator | } policy-pap | metrics.num.samples = 2 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-apex-pdp | partitioner.class = null kafka | [2024-01-22 15:04:30,977] 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) grafana | logger=migrator t=2024-01-22T15:03:57.977390732Z level=info msg="Executing migration" id="create entity_events table" simulator | payload { policy-pap | metrics.recording.level = INFO policy-db-migrator | -------------- policy-apex-pdp | partitioner.ignore.keys = false grafana | logger=migrator t=2024-01-22T15:03:57.978048891Z level=info msg="Migration successfully executed" id="create entity_events table" duration=655.909µs simulator | fields { kafka | [2024-01-22 15:04:30,977] INFO [Partition __consumer_offsets-8 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-8 (kafka.cluster.Partition) kafka | [2024-01-22 15:04:30,977] 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 | 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)) policy-apex-pdp | receive.buffer.bytes = 32768 grafana | logger=migrator t=2024-01-22T15:03:57.981552134Z level=info msg="Executing migration" id="create dashboard public config v1" simulator | key: "update-config-request" policy-pap | metrics.sample.window.ms = 30000 kafka | [2024-01-22 15:04:30,977] INFO [Broker id=1] Leader __consumer_offsets-8 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | reconnect.backoff.max.ms = 1000 grafana | logger=migrator t=2024-01-22T15:03:57.982911401Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.358587ms simulator | value { policy-pap | partitioner.adaptive.partitioning.enable = true kafka | [2024-01-22 15:04:31,023] 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 | policy-apex-pdp | reconnect.backoff.ms = 50 grafana | logger=migrator t=2024-01-22T15:03:57.992109335Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" simulator | struct_value { kafka | [2024-01-22 15:04:31,025] INFO Created log for partition policy-pdp-pap-0 in /var/lib/kafka/data/policy-pdp-pap-0 with properties {} (kafka.log.LogManager) policy-db-migrator | policy-apex-pdp | request.timeout.ms = 30000 grafana | logger=migrator t=2024-01-22T15:03:57.992694732Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-pap | partitioner.availability.timeout.ms = 0 simulator | fields { kafka | [2024-01-22 15:04:31,025] INFO [Partition policy-pdp-pap-0 broker=1] No checkpointed highwatermark is found for partition policy-pdp-pap-0 (kafka.cluster.Partition) policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-apex-pdp | retries = 0 grafana | logger=migrator t=2024-01-22T15:03:57.997192348Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-pap | partitioner.class = null kafka | [2024-01-22 15:04:31,025] 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-db-migrator | -------------- policy-apex-pdp | retry.backoff.ms = 100 grafana | logger=migrator t=2024-01-22T15:03:57.997804946Z 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-pap | partitioner.ignore.keys = false simulator | key: "hostname" kafka | [2024-01-22 15:04:31,025] INFO [Broker id=1] Leader policy-pdp-pap-0 with topic id Some(empYbNBmRw-qobOEm0sYBQ) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 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)) policy-apex-pdp | sasl.client.callback.handler.class = null grafana | logger=migrator t=2024-01-22T15:03:58.005996538Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-pap | receive.buffer.bytes = 32768 simulator | value { kafka | [2024-01-22 15:04:31,035] 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-db-migrator | -------------- policy-apex-pdp | sasl.jaas.config = null grafana | logger=migrator t=2024-01-22T15:03:58.007292704Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.299726ms policy-pap | reconnect.backoff.max.ms = 1000 simulator | string_value: "host069xwb" kafka | [2024-01-22 15:04:31,036] 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-db-migrator | policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit grafana | logger=migrator t=2024-01-22T15:03:58.012481668Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-pap | reconnect.backoff.ms = 50 simulator | } kafka | [2024-01-22 15:04:31,036] INFO [Partition __consumer_offsets-45 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-45 (kafka.cluster.Partition) policy-db-migrator | policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 grafana | logger=migrator t=2024-01-22T15:03:58.013823385Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.345007ms policy-pap | request.timeout.ms = 30000 simulator | } kafka | [2024-01-22 15:04:31,036] INFO [Partition __consumer_offsets-45 broker=1] Log loaded for partition __consumer_offsets-45 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-apex-pdp | sasl.kerberos.service.name = null grafana | logger=migrator t=2024-01-22T15:03:58.022447972Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-pap | retries = 2147483647 simulator | fields { kafka | [2024-01-22 15:04:31,036] INFO [Broker id=1] Leader __consumer_offsets-45 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 grafana | logger=migrator t=2024-01-22T15:03:58.023868139Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.425277ms policy-pap | retry.backoff.ms = 100 simulator | key: "IP" kafka | [2024-01-22 15:04:31,046] 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-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-01-22T15:03:58.027879909Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-pap | sasl.client.callback.handler.class = null policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 simulator | value { simulator | string_value: "10.10.10.10" kafka | [2024-01-22 15:04:31,046] 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-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.029155305Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.274976ms policy-pap | sasl.jaas.config = null policy-apex-pdp | sasl.login.callback.handler.class = null simulator | } kafka | [2024-01-22 15:04:31,046] INFO [Partition __consumer_offsets-15 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-15 (kafka.cluster.Partition) kafka | [2024-01-22 15:04:31,047] INFO [Partition __consumer_offsets-15 broker=1] Log loaded for partition __consumer_offsets-15 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:58.034143607Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-apex-pdp | sasl.login.class = null simulator | } kafka | [2024-01-22 15:04:31,047] INFO [Broker id=1] Leader __consumer_offsets-15 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) kafka | [2024-01-22 15:04:31,053] 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-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:58.036438586Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=2.299789ms policy-pap | sasl.kerberos.min.time.before.relogin = 60000 policy-apex-pdp | sasl.login.connect.timeout.ms = null simulator | fields { kafka | [2024-01-22 15:04:31,053] 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) kafka | [2024-01-22 15:04:31,054] INFO [Partition __consumer_offsets-30 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-30 (kafka.cluster.Partition) policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-01-22T15:03:58.041119374Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-pap | sasl.kerberos.service.name = null policy-apex-pdp | sasl.login.read.timeout.ms = null simulator | key: "pnfName" kafka | [2024-01-22 15:04:31,054] INFO [Partition __consumer_offsets-30 broker=1] Log loaded for partition __consumer_offsets-30 with initial high watermark 0 (kafka.cluster.Partition) kafka | [2024-01-22 15:04:31,054] INFO [Broker id=1] Leader __consumer_offsets-30 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.042608162Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.488688ms policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 simulator | value { kafka | [2024-01-22 15:04:31,061] 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$) kafka | [2024-01-22 15:04:31,061] 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 | 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)) grafana | logger=migrator t=2024-01-22T15:03:58.049501468Z level=info msg="Executing migration" id="Drop public config table" policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 simulator | string_value: "demo-pnf" kafka | [2024-01-22 15:04:31,061] INFO [Partition __consumer_offsets-0 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-0 (kafka.cluster.Partition) kafka | [2024-01-22 15:04:31,061] 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 | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.050409839Z level=info msg="Migration successfully executed" id="Drop public config table" duration=908.511µs policy-pap | sasl.login.callback.handler.class = null policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 simulator | } kafka | [2024-01-22 15:04:31,062] INFO [Broker id=1] Leader __consumer_offsets-0 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) kafka | [2024-01-22 15:04:31,068] 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 | grafana | logger=migrator t=2024-01-22T15:03:58.059447401Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-pap | sasl.login.class = null policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 simulator | } kafka | [2024-01-22 15:04:31,068] 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) kafka | [2024-01-22 15:04:31,068] INFO [Partition __consumer_offsets-35 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-35 (kafka.cluster.Partition) policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:58.060682716Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.239295ms policy-pap | sasl.login.connect.timeout.ms = null policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 simulator | } kafka | [2024-01-22 15:04:31,069] INFO [Partition __consumer_offsets-35 broker=1] Log loaded for partition __consumer_offsets-35 with initial high watermark 0 (kafka.cluster.Partition) kafka | [2024-01-22 15:04:31,069] INFO [Broker id=1] Leader __consumer_offsets-35 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-01-22T15:03:58.064736897Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-pap | sasl.login.read.timeout.ms = null policy-apex-pdp | sasl.login.retry.backoff.ms = 100 simulator | } kafka | [2024-01-22 15:04:31,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-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.065879631Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.144094ms policy-pap | sasl.login.refresh.buffer.seconds = 300 policy-apex-pdp | sasl.mechanism = GSSAPI simulator | } simulator | } grafana | logger=migrator t=2024-01-22T15:03:58.070788302Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 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-pap | sasl.login.refresh.min.period.seconds = 60 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 kafka | [2024-01-22 15:04:31,102] 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) simulator | grafana | logger=migrator t=2024-01-22T15:03:58.072143309Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.333696ms policy-db-migrator | -------------- policy-pap | sasl.login.refresh.window.factor = 0.8 policy-apex-pdp | sasl.oauthbearer.expected.audience = null kafka | [2024-01-22 15:04:31,102] INFO [Partition __consumer_offsets-5 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-5 (kafka.cluster.Partition) simulator | 2024-01-22 15:05:26,481 INFO Fetching response from controlloop-hostname-update-update-config.json grafana | logger=migrator t=2024-01-22T15:03:58.078750911Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | policy-pap | sasl.login.refresh.window.jitter = 0.05 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null simulator | 2024-01-22 15:05:36,661 INFO 172.17.0.11 - - [22/Jan/2024:15:05:36 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" kafka | [2024-01-22 15:04:31,102] INFO [Partition __consumer_offsets-5 broker=1] Log loaded for partition __consumer_offsets-5 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:58.079906745Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.159424ms policy-db-migrator | policy-pap | sasl.login.retry.backoff.max.ms = 10000 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 simulator | 2024-01-22 15:05:36,665 INFO 172.17.0.11 - - [22/Jan/2024:15:05:36 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" kafka | [2024-01-22 15:04:31,102] INFO [Broker id=1] Leader __consumer_offsets-5 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:58.083208436Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-pap | sasl.login.retry.backoff.ms = 100 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 simulator | 2024-01-22 15:05:36,686 INFO Received request input to CDS: commonHeader { kafka | [2024-01-22 15:04:31,109] 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$) grafana | logger=migrator t=2024-01-22T15:03:58.114587175Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=31.376279ms policy-db-migrator | -------------- policy-pap | sasl.mechanism = GSSAPI policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" kafka | [2024-01-22 15:04:31,109] 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) grafana | logger=migrator t=2024-01-22T15:03:58.120913384Z level=info msg="Executing migration" id="add annotations_enabled column" 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-pap | sasl.oauthbearer.clock.skew.seconds = 30 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" kafka | [2024-01-22 15:04:31,109] INFO [Partition __consumer_offsets-20 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-20 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:58.127336544Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.42315ms policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.expected.audience = null policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope simulator | originatorId: "POLICY" kafka | [2024-01-22 15:04:31,109] INFO [Partition __consumer_offsets-20 broker=1] Log loaded for partition __consumer_offsets-20 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:58.13106611Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | policy-pap | sasl.oauthbearer.expected.issuer = null policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub simulator | } kafka | [2024-01-22 15:04:31,110] INFO [Broker id=1] Leader __consumer_offsets-20 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:58.137735193Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.667973ms policy-db-migrator | policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null simulator | actionIdentifiers { kafka | [2024-01-22 15:04:31,123] 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$) grafana | logger=migrator t=2024-01-22T15:03:58.143387453Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-apex-pdp | security.protocol = PLAINTEXT simulator | blueprintName: "controlloop-hostname-update" kafka | [2024-01-22 15:04:31,124] 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) grafana | logger=migrator t=2024-01-22T15:03:58.143681697Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=294.174µs policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-apex-pdp | security.providers = null simulator | blueprintVersion: "1.0.4" kafka | [2024-01-22 15:04:31,124] INFO [Partition __consumer_offsets-27 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-27 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:58.147536084Z level=info msg="Executing migration" id="add share column" 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 | sasl.oauthbearer.jwks.endpoint.url = null policy-apex-pdp | send.buffer.bytes = 131072 simulator | actionName: "update-config" kafka | [2024-01-22 15:04:31,124] INFO [Partition __consumer_offsets-27 broker=1] Log loaded for partition __consumer_offsets-27 with initial high watermark 0 (kafka.cluster.Partition) grafana | logger=migrator t=2024-01-22T15:03:58.156225363Z level=info msg="Migration successfully executed" id="add share column" duration=8.688489ms policy-db-migrator | -------------- policy-pap | sasl.oauthbearer.scope.claim.name = scope policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 simulator | mode: "sync" kafka | [2024-01-22 15:04:31,124] INFO [Broker id=1] Leader __consumer_offsets-27 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) grafana | logger=migrator t=2024-01-22T15:03:58.161391067Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | policy-pap | sasl.oauthbearer.sub.claim.name = sub policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 simulator | } kafka | [2024-01-22 15:04:31,218] 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-db-migrator | policy-pap | sasl.oauthbearer.token.endpoint.url = null grafana | logger=migrator t=2024-01-22T15:03:58.161711831Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=320.624µs policy-apex-pdp | ssl.cipher.suites = null simulator | payload { kafka | [2024-01-22 15:04:31,219] 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-db-migrator | > upgrade 0690-toscapolicy.sql policy-pap | security.protocol = PLAINTEXT grafana | logger=migrator t=2024-01-22T15:03:58.166325278Z level=info msg="Executing migration" id="create file table" policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] simulator | fields { kafka | [2024-01-22 15:04:31,219] INFO [Partition __consumer_offsets-42 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-42 (kafka.cluster.Partition) policy-db-migrator | -------------- policy-pap | security.providers = null grafana | logger=migrator t=2024-01-22T15:03:58.167661994Z level=info msg="Migration successfully executed" id="create file table" duration=1.337196ms policy-apex-pdp | ssl.endpoint.identification.algorithm = https simulator | key: "update-config-request" kafka | [2024-01-22 15:04:31,219] INFO [Partition __consumer_offsets-42 broker=1] Log loaded for partition __consumer_offsets-42 with initial high watermark 0 (kafka.cluster.Partition) 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 | send.buffer.bytes = 131072 grafana | logger=migrator t=2024-01-22T15:03:58.175197668Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-apex-pdp | ssl.engine.factory.class = null simulator | value { kafka | [2024-01-22 15:04:31,219] INFO [Broker id=1] Leader __consumer_offsets-42 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | -------------- policy-pap | socket.connection.setup.timeout.max.ms = 30000 grafana | logger=migrator t=2024-01-22T15:03:58.176883269Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.687631ms policy-apex-pdp | ssl.key.password = null simulator | struct_value { kafka | [2024-01-22 15:04:31,226] 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-db-migrator | policy-pap | socket.connection.setup.timeout.ms = 10000 grafana | logger=migrator t=2024-01-22T15:03:58.217122699Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-apex-pdp | ssl.keymanager.algorithm = SunX509 simulator | fields { kafka | [2024-01-22 15:04:31,227] 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-db-migrator | policy-pap | ssl.cipher.suites = null grafana | logger=migrator t=2024-01-22T15:03:58.218311213Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.193105ms policy-apex-pdp | ssl.keystore.certificate.chain = null simulator | key: "hostname" kafka | [2024-01-22 15:04:31,227] INFO [Partition __consumer_offsets-12 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-12 (kafka.cluster.Partition) policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] grafana | logger=migrator t=2024-01-22T15:03:58.224892385Z level=info msg="Executing migration" id="create file_meta table" policy-apex-pdp | ssl.keystore.key = null simulator | value { kafka | [2024-01-22 15:04:31,227] INFO [Partition __consumer_offsets-12 broker=1] Log loaded for partition __consumer_offsets-12 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | -------------- policy-pap | ssl.endpoint.identification.algorithm = https grafana | logger=migrator t=2024-01-22T15:03:58.226049109Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.159504ms policy-apex-pdp | ssl.keystore.location = null simulator | string_value: "hostvqvf4x" kafka | [2024-01-22 15:04:31,227] INFO [Broker id=1] Leader __consumer_offsets-12 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (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 | ssl.engine.factory.class = null grafana | logger=migrator t=2024-01-22T15:03:58.232948905Z level=info msg="Executing migration" id="file table idx: path key" policy-apex-pdp | ssl.keystore.password = null simulator | } kafka | [2024-01-22 15:04:31,234] 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-db-migrator | -------------- policy-pap | ssl.key.password = null grafana | logger=migrator t=2024-01-22T15:03:58.234571485Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.62511ms policy-apex-pdp | ssl.keystore.type = JKS simulator | } kafka | [2024-01-22 15:04:31,235] 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-db-migrator | policy-pap | ssl.keymanager.algorithm = SunX509 grafana | logger=migrator t=2024-01-22T15:03:58.240084934Z level=info msg="Executing migration" id="set path collation in file table" policy-apex-pdp | ssl.protocol = TLSv1.3 simulator | fields { kafka | [2024-01-22 15:04:31,235] INFO [Partition __consumer_offsets-21 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-21 (kafka.cluster.Partition) policy-db-migrator | policy-pap | ssl.keystore.certificate.chain = null grafana | logger=migrator t=2024-01-22T15:03:58.240251966Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=168.762µs policy-apex-pdp | ssl.provider = null simulator | key: "IP" kafka | [2024-01-22 15:04:31,235] INFO [Partition __consumer_offsets-21 broker=1] Log loaded for partition __consumer_offsets-21 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-pap | ssl.keystore.key = null grafana | logger=migrator t=2024-01-22T15:03:58.24544796Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-apex-pdp | ssl.secure.random.implementation = null simulator | value { kafka | [2024-01-22 15:04:31,235] INFO [Broker id=1] Leader __consumer_offsets-21 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | -------------- policy-pap | ssl.keystore.location = null grafana | logger=migrator t=2024-01-22T15:03:58.245621012Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=173.772µs policy-apex-pdp | ssl.trustmanager.algorithm = PKIX simulator | string_value: "10.10.10.10" kafka | [2024-01-22 15:04:31,244] 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-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-pap | ssl.keystore.password = null grafana | logger=migrator t=2024-01-22T15:03:58.25029962Z level=info msg="Executing migration" id="managed permissions migration" policy-apex-pdp | ssl.truststore.certificates = null simulator | } kafka | [2024-01-22 15:04:31,245] 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-db-migrator | -------------- policy-pap | ssl.keystore.type = JKS grafana | logger=migrator t=2024-01-22T15:03:58.250821797Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=521.527µs policy-apex-pdp | ssl.truststore.location = null simulator | } kafka | [2024-01-22 15:04:31,245] INFO [Partition __consumer_offsets-36 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-36 (kafka.cluster.Partition) policy-db-migrator | policy-pap | ssl.protocol = TLSv1.3 grafana | logger=migrator t=2024-01-22T15:03:58.254495792Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-apex-pdp | ssl.truststore.password = null simulator | fields { kafka | [2024-01-22 15:04:31,245] INFO [Partition __consumer_offsets-36 broker=1] Log loaded for partition __consumer_offsets-36 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | policy-apex-pdp | ssl.truststore.type = JKS simulator | key: "pnfName" kafka | [2024-01-22 15:04:31,245] INFO [Broker id=1] Leader __consumer_offsets-36 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-pap | ssl.provider = null grafana | logger=migrator t=2024-01-22T15:03:58.254680905Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=183.713µs policy-apex-pdp | transaction.timeout.ms = 60000 simulator | value { kafka | [2024-01-22 15:04:31,253] 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-db-migrator | -------------- policy-pap | ssl.secure.random.implementation = null grafana | logger=migrator t=2024-01-22T15:03:58.258769345Z level=info msg="Executing migration" id="RBAC action name migrator" policy-apex-pdp | transactional.id = null simulator | string_value: "demo-pnf" kafka | [2024-01-22 15:04:31,255] 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-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 | ssl.trustmanager.algorithm = PKIX grafana | logger=migrator t=2024-01-22T15:03:58.259420573Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=652.048µs policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer simulator | } kafka | [2024-01-22 15:04:31,255] INFO [Partition __consumer_offsets-6 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-6 (kafka.cluster.Partition) policy-db-migrator | -------------- policy-pap | ssl.truststore.certificates = null grafana | logger=migrator t=2024-01-22T15:03:58.265493519Z level=info msg="Executing migration" id="Add UID column to playlist" policy-apex-pdp | simulator | } kafka | [2024-01-22 15:04:31,255] INFO [Partition __consumer_offsets-6 broker=1] Log loaded for partition __consumer_offsets-6 with initial high watermark 0 (kafka.cluster.Partition) kafka | [2024-01-22 15:04:31,255] INFO [Broker id=1] Leader __consumer_offsets-6 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-pap | ssl.truststore.location = null grafana | logger=migrator t=2024-01-22T15:03:58.272159082Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=6.667553ms policy-apex-pdp | [2024-01-22T15:05:00.259+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka version: 3.6.0 simulator | } policy-db-migrator | kafka | [2024-01-22 15:04:31,267] 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-pap | ssl.truststore.password = null grafana | logger=migrator t=2024-01-22T15:03:58.278174916Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-apex-pdp | [2024-01-22T15:05:00.260+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka commitId: 60e845626d8a465a simulator | } policy-db-migrator | kafka | [2024-01-22 15:04:31,269] 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-pap | ssl.truststore.type = JKS grafana | logger=migrator t=2024-01-22T15:03:58.278351759Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=178.823µs policy-apex-pdp | [2024-01-22T15:05:00.260+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka startTimeMs: 1705935900259 simulator | } policy-db-migrator | > upgrade 0730-toscaproperty.sql kafka | [2024-01-22 15:04:31,269] INFO [Partition __consumer_offsets-43 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-43 (kafka.cluster.Partition) policy-pap | transaction.timeout.ms = 60000 grafana | logger=migrator t=2024-01-22T15:03:58.284752948Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-apex-pdp | [2024-01-22T15:05:00.274+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} simulator | } policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,269] INFO [Partition __consumer_offsets-43 broker=1] Log loaded for partition __consumer_offsets-43 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | transactional.id = null grafana | logger=migrator t=2024-01-22T15:03:58.286131835Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.377317ms policy-apex-pdp | [2024-01-22T15:05:00.274+00:00|INFO|Metadata|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Cluster ID: 0l0tf6rdRCWCkmNbCC3tmw simulator | 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)) kafka | [2024-01-22 15:04:31,269] INFO [Broker id=1] Leader __consumer_offsets-43 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-pap | value.serializer = class org.apache.kafka.common.serialization.StringSerializer grafana | logger=migrator t=2024-01-22T15:03:58.289966473Z level=info msg="Executing migration" id="update group index for alert rules" policy-apex-pdp | [2024-01-22T15:05:00.725+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] simulator | 2024-01-22 15:05:36,687 INFO Fetching response from controlloop-hostname-update-update-config.json policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,276] 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-pap | grafana | logger=migrator t=2024-01-22T15:03:58.290342827Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=379.064µs policy-apex-pdp | { simulator | 2024-01-22 15:05:36,691 INFO Received request input to CDS: commonHeader { policy-db-migrator | kafka | [2024-01-22 15:04:31,276] 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-pap | [2024-01-22T15:04:29.720+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-2] Instantiated an idempotent producer. grafana | logger=migrator t=2024-01-22T15:03:58.303214517Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-apex-pdp | "equip-vendor":"Vendor-A", simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-db-migrator | kafka | [2024-01-22 15:04:31,276] INFO [Partition __consumer_offsets-13 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-13 (kafka.cluster.Partition) policy-pap | [2024-01-22T15:04:29.723+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 grafana | logger=migrator t=2024-01-22T15:03:58.303516861Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=309.124µs policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql kafka | [2024-01-22 15:04:31,277] INFO [Partition __consumer_offsets-13 broker=1] Log loaded for partition __consumer_offsets-13 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-01-22T15:04:29.723+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a grafana | logger=migrator t=2024-01-22T15:03:58.308158379Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-apex-pdp | "in-maint":false, simulator | originatorId: "POLICY" policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,277] INFO [Broker id=1] Leader __consumer_offsets-13 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-pap | [2024-01-22T15:04:29.723+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705935869723 grafana | logger=migrator t=2024-01-22T15:03:58.308754236Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=595.887µs policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", simulator | } 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)) kafka | [2024-01-22 15:04:31,284] 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-pap | [2024-01-22T15:04:29.723+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=187c7da4-82c4-4ea0-adef-fa1544c2e71e, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created grafana | logger=migrator t=2024-01-22T15:03:58.31233256Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-apex-pdp | "resource-version":"1570746989505", simulator | actionIdentifiers { policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,285] 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-pap | [2024-01-22T15:04:29.723+00:00|INFO|ServiceManager|main] Policy PAP starting PAP Activator grafana | logger=migrator t=2024-01-22T15:03:58.321908549Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.574409ms policy-apex-pdp | "nf-role":"ToR DC101", simulator | blueprintName: "controlloop-hostname-update" policy-db-migrator | kafka | [2024-01-22 15:04:31,285] INFO [Partition __consumer_offsets-28 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-28 (kafka.cluster.Partition) policy-pap | [2024-01-22T15:04:29.723+00:00|INFO|ServiceManager|main] Policy PAP starting PDP publisher grafana | logger=migrator t=2024-01-22T15:03:58.326598998Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-apex-pdp | "equip-type":"Router", simulator | blueprintVersion: "1.0.4" policy-db-migrator | kafka | [2024-01-22 15:04:31,285] INFO [Partition __consumer_offsets-28 broker=1] Log loaded for partition __consumer_offsets-28 with initial high watermark 0 (kafka.cluster.Partition) policy-pap | [2024-01-22T15:04:29.725+00:00|INFO|ServiceManager|main] Policy PAP starting Policy Notification publisher grafana | logger=migrator t=2024-01-22T15:03:58.336400409Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.798741ms policy-apex-pdp | "equip-model":"model-123456", simulator | actionName: "update-config" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql kafka | [2024-01-22 15:04:31,285] INFO [Broker id=1] Leader __consumer_offsets-28 with topic id Some(AbqY1ihrRl6TJWpzLYOLdA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-pap | [2024-01-22T15:04:29.725+00:00|INFO|ServiceManager|main] Policy PAP starting PDP update timers grafana | logger=migrator t=2024-01-22T15:03:58.341217749Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-apex-pdp | "frame-id":"3", simulator | mode: "sync" policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:29.729+00:00|INFO|ServiceManager|main] Policy PAP starting PDP state-change timers grafana | logger=migrator t=2024-01-22T15:03:58.34208783Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=871.621µs policy-apex-pdp | "pnf-name":"demo-pnf" simulator | } 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)) kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:29.729+00:00|INFO|ServiceManager|main] Policy PAP starting PDP modification lock grafana | logger=migrator t=2024-01-22T15:03:58.348028583Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-apex-pdp | } simulator | payload { policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:29.729+00:00|INFO|ServiceManager|main] Policy PAP starting PDP modification requests grafana | logger=migrator t=2024-01-22T15:03:58.487614406Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=139.584443ms policy-apex-pdp | simulator | fields { policy-db-migrator | kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:29.731+00:00|INFO|TimerManager|Thread-10] timer manager state-change started grafana | logger=migrator t=2024-01-22T15:03:58.491435784Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-apex-pdp | [2024-01-22T15:05:00.732+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": 1705935900224, "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} simulator | key: "update-config-request" policy-db-migrator | kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:29.731+00:00|INFO|ServiceManager|main] Policy PAP starting PDP expiration timer grafana | logger=migrator t=2024-01-22T15:03:58.492803631Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.369977ms policy-apex-pdp | [2024-01-22T15:05:00.742+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": "hostnzzktg", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935900741, "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"}}}] simulator | value { policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:29.731+00:00|INFO|TimerManager|Thread-9] timer manager update started grafana | logger=migrator t=2024-01-22T15:03:58.496148392Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-apex-pdp | [2024-01-22T15:05:00.884+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) simulator | struct_value { policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:29.733+00:00|INFO|ServiceManager|main] Policy PAP started grafana | logger=migrator t=2024-01-22T15:03:58.497972475Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.827503ms policy-apex-pdp | [2024-01-22T15:05:00.914+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] simulator | fields { 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)) kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:29.734+00:00|INFO|PolicyPapApplication|main] Started PolicyPapApplication in 10.884 seconds (process running for 11.523) grafana | logger=migrator t=2024-01-22T15:03:58.503646816Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-apex-pdp | commonHeader { simulator | key: "hostname" policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.156+00:00|INFO|Metadata|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Cluster ID: 0l0tf6rdRCWCkmNbCC3tmw grafana | logger=migrator t=2024-01-22T15:03:58.54428066Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=40.626635ms policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" simulator | value { policy-db-migrator | kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.157+00:00|INFO|Metadata|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Cluster ID: 0l0tf6rdRCWCkmNbCC3tmw grafana | logger=migrator t=2024-01-22T15:03:58.549297052Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" policy-apex-pdp | originatorId: "POLICY" policy-db-migrator | kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.164+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 2 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} policy-pap | [2024-01-22T15:04:30.164+00:00|INFO|Metadata|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Cluster ID: 0l0tf6rdRCWCkmNbCC3tmw simulator | string_value: "hostxfh0b8" policy-apex-pdp | } policy-db-migrator | > upgrade 0770-toscarequirement.sql kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.189+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] ProducerId set to 1 with epoch 0 grafana | logger=migrator t=2024-01-22T15:03:58.549519435Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=223.703µs simulator | } policy-apex-pdp | actionIdentifiers { policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.199+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] ProducerId set to 0 with epoch 0 grafana | logger=migrator t=2024-01-22T15:03:58.556178807Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" simulator | } policy-apex-pdp | blueprintName: "controlloop-hostname-update" 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)) kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.220+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} grafana | logger=migrator t=2024-01-22T15:03:58.556669574Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=498.166µs simulator | fields { policy-apex-pdp | blueprintVersion: "1.0.4" policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.220+00:00|INFO|Metadata|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Cluster ID: 0l0tf6rdRCWCkmNbCC3tmw simulator | key: "IP" policy-apex-pdp | actionName: "update-config" grafana | logger=migrator t=2024-01-22T15:03:58.560272968Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.310+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 4 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} simulator | value { policy-apex-pdp | mode: "sync" grafana | logger=migrator t=2024-01-22T15:03:58.560515102Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=241.523µs policy-db-migrator | kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.383+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=LEADER_NOT_AVAILABLE} simulator | string_value: "10.10.10.10" policy-apex-pdp | } grafana | logger=migrator t=2024-01-22T15:03:58.56445096Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | > upgrade 0780-toscarequirements.sql kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.431+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 6 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} simulator | } policy-apex-pdp | payload { grafana | logger=migrator t=2024-01-22T15:03:58.565737416Z level=info msg="Migration successfully executed" id="create folder table" duration=1.290126ms policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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) simulator | } policy-pap | [2024-01-22T15:04:30.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 6 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | fields { grafana | logger=migrator t=2024-01-22T15:03:58.570696268Z level=info msg="Executing migration" id="Add index for parent_uid" 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)) simulator | fields { policy-pap | [2024-01-22T15:04:30.547+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 8 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | key: "update-config-request" grafana | logger=migrator t=2024-01-22T15:03:58.572079015Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.382227ms policy-db-migrator | -------------- simulator | key: "pnfName" kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.614+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 | value { grafana | logger=migrator t=2024-01-22T15:03:58.576255967Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | simulator | value { kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.662+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 10 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | struct_value { grafana | logger=migrator t=2024-01-22T15:03:58.577579323Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.323786ms policy-db-migrator | simulator | string_value: "demo-pnf" kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.720+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=LEADER_NOT_AVAILABLE} policy-apex-pdp | fields { grafana | logger=migrator t=2024-01-22T15:03:58.580780723Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql simulator | } kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.767+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 12 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | key: "hostname" grafana | logger=migrator t=2024-01-22T15:03:58.580813963Z level=info msg="Migration successfully executed" id="Update folder title length" duration=34.05µs policy-db-migrator | -------------- simulator | } kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.826+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 | value { grafana | logger=migrator t=2024-01-22T15:03:58.586532604Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 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)) kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.874+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 14 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | string_value: "hostnzzktg" grafana | logger=migrator t=2024-01-22T15:03:58.588887494Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.35532ms simulator | } policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.934+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 | } grafana | logger=migrator t=2024-01-22T15:03:58.593622592Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" simulator | } policy-db-migrator | kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:30.981+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 16 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | } grafana | logger=migrator t=2024-01-22T15:03:58.599541126Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=5.916274ms simulator | } policy-db-migrator | kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:31.040+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 | fields { grafana | logger=migrator t=2024-01-22T15:03:58.604439467Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" simulator | } policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:31.103+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 18 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | key: "IP" grafana | logger=migrator t=2024-01-22T15:03:58.605695242Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.255925ms simulator | policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:31.147+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 | value { grafana | logger=migrator t=2024-01-22T15:03:58.610322259Z level=info msg="Executing migration" id="create anon_device table" simulator | 2024-01-22 15:05:36,692 INFO Fetching response from controlloop-hostname-update-update-config.json 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)) kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:31.210+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 20 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | string_value: "10.10.10.10" grafana | logger=migrator t=2024-01-22T15:03:58.611232291Z level=info msg="Migration successfully executed" id="create anon_device table" duration=909.562µs policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:31.254+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=LEADER_NOT_AVAILABLE} policy-apex-pdp | } grafana | logger=migrator t=2024-01-22T15:03:58.615608935Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:31.330+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Error while fetching metadata with correlation id 22 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} policy-apex-pdp | } grafana | logger=migrator t=2024-01-22T15:03:58.61680254Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.193425ms policy-db-migrator | kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:31.372+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-apex-pdp | fields { grafana | logger=migrator t=2024-01-22T15:03:58.619904459Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:31.378+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] (Re-)joining group policy-apex-pdp | key: "pnfName" grafana | logger=migrator t=2024-01-22T15:03:58.620995312Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.090983ms policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:31.414+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-20514159-d349-4745-87aa-777bd70e2420 policy-apex-pdp | value { 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)) kafka | [2024-01-22 15:04:31,291] 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-pap | [2024-01-22T15:04:31.414+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) grafana | logger=migrator t=2024-01-22T15:03:58.624176172Z level=info msg="Executing migration" id="create signing_key table" policy-apex-pdp | string_value: "demo-pnf" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:58.624997042Z level=info msg="Migration successfully executed" id="create signing_key table" duration=820.53µs policy-apex-pdp | } kafka | [2024-01-22 15:04:31,291] 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-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.63212114Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-apex-pdp | } kafka | [2024-01-22 15:04:31,291] 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) grafana | logger=migrator t=2024-01-22T15:03:58.633205044Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.087114ms policy-apex-pdp | } 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)) policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,291] 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 | } policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:58.6377768Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" kafka | [2024-01-22 15:04:31,291] 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-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.639685214Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.908314ms policy-apex-pdp | } kafka | [2024-01-22 15:04:31,291] 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-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.643070706Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-apex-pdp | } kafka | [2024-01-22 15:04:31,291] 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-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:58.643626723Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=557.087µs policy-apex-pdp | kafka | [2024-01-22 15:04:31,291] 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-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.702602275Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-apex-pdp | [2024-01-22T15:05:01.376+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] kafka | [2024-01-22 15:04:31,291] 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-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.716033922Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=13.434577ms policy-apex-pdp | commonHeader { kafka | [2024-01-22 15:04:31,291] 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-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:58.723826739Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" kafka | [2024-01-22 15:04:31,291] 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-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.724959913Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=1.140955ms policy-apex-pdp | requestId: "123456" kafka | [2024-01-22 15:04:31,291] 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-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.731426193Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-apex-pdp | subRequestId: "123-123" kafka | [2024-01-22 15:04:31,292] 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-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-22T15:03:58.733137844Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.721521ms policy-apex-pdp | originatorId: "CDS" kafka | [2024-01-22 15:04:31,292] 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-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T15:03:58.738061586Z level=info msg="Executing migration" id="create sso_setting table" policy-apex-pdp | } kafka | [2024-01-22 15:04:31,292] 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-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-pap | [2024-01-22T15:04:31.414+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] (Re-)joining group grafana | logger=migrator t=2024-01-22T15:03:58.739541184Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.484279ms policy-apex-pdp | actionIdentifiers { kafka | [2024-01-22 15:04:31,301] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 3 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:31.435+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) grafana | logger=migrator t=2024-01-22T15:03:58.744700368Z level=info msg="Executing migration" id="copy kvstore migration status to each org" kafka | [2024-01-22 15:04:31,303] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-3 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-pap | [2024-01-22T15:04:31.438+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] (Re-)joining group grafana | logger=migrator t=2024-01-22T15:03:58.745868932Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.175524ms kafka | [2024-01-22 15:04:31,306] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 18 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | blueprintVersion: "1.0.4" policy-pap | [2024-01-22T15:04:31.444+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Request joining group due to: need to re-join with the given member-id: consumer-c676d884-f554-487a-8e53-52e0dae36e61-3-5f50e27b-b2b0-49f0-bf2e-fb8cab49e776 grafana | logger=migrator t=2024-01-22T15:03:58.749360136Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" kafka | [2024-01-22 15:04:31,306] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-18 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-pap | [2024-01-22T15:04:31.445+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] 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) grafana | logger=migrator t=2024-01-22T15:03:58.7497309Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=372.714µs kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 41 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:31.445+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] (Re-)joining group policy-apex-pdp | actionName: "update-config" grafana | logger=migrator t=2024-01-22T15:03:58.753980523Z level=info msg="migrations completed" performed=523 skipped=0 duration=5.397434809s kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-41 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-pap | [2024-01-22T15:04:34.443+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-20514159-d349-4745-87aa-777bd70e2420', protocol='range'} policy-apex-pdp | mode: "sync" grafana | logger=sqlstore t=2024-01-22T15:03:58.764873878Z level=info msg="Created default admin" user=admin policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:34.455+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-20514159-d349-4745-87aa-777bd70e2420=Assignment(partitions=[policy-pdp-pap-0])} policy-apex-pdp | } kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 10 in epoch 0 (kafka.coordinator.group.GroupCoordinator) grafana | logger=sqlstore t=2024-01-22T15:03:58.765322204Z level=info msg="Created default organization" policy-db-migrator | policy-pap | [2024-01-22T15:04:34.465+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Successfully joined group with generation Generation{generationId=1, memberId='consumer-c676d884-f554-487a-8e53-52e0dae36e61-3-5f50e27b-b2b0-49f0-bf2e-fb8cab49e776', protocol='range'} policy-apex-pdp | status { kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-10 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) grafana | logger=secrets t=2024-01-22T15:03:58.773634197Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | policy-apex-pdp | code: 200 policy-pap | [2024-01-22T15:04:34.466+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Finished assignment for group at generation 1: {consumer-c676d884-f554-487a-8e53-52e0dae36e61-3-5f50e27b-b2b0-49f0-bf2e-fb8cab49e776=Assignment(partitions=[policy-pdp-pap-0])} kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 33 in epoch 0 (kafka.coordinator.group.GroupCoordinator) grafana | logger=plugin.store t=2024-01-22T15:03:58.79480091Z level=info msg="Loading plugins..." policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-apex-pdp | message: "success" policy-pap | [2024-01-22T15:04:34.480+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Successfully synced group in generation Generation{generationId=1, memberId='consumer-c676d884-f554-487a-8e53-52e0dae36e61-3-5f50e27b-b2b0-49f0-bf2e-fb8cab49e776', protocol='range'} kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-33 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) grafana | logger=local.finder t=2024-01-22T15:03:58.83994442Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | -------------- policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED policy-pap | [2024-01-22T15:04:34.481+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Notifying assignor about the new Assignment(partitions=[policy-pdp-pap-0]) kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 48 in epoch 0 (kafka.coordinator.group.GroupCoordinator) grafana | logger=plugin.store t=2024-01-22T15:03:58.840036131Z level=info msg="Plugins loaded" count=55 duration=45.236851ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" policy-pap | [2024-01-22T15:04:34.482+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-20514159-d349-4745-87aa-777bd70e2420', protocol='range'} kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-48 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) grafana | logger=query_data t=2024-01-22T15:03:58.843868839Z level=info msg="Query Service initialization" policy-db-migrator | -------------- policy-apex-pdp | } policy-pap | [2024-01-22T15:04:34.482+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-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 19 in epoch 0 (kafka.coordinator.group.GroupCoordinator) grafana | logger=live.push_http t=2024-01-22T15:03:58.847636815Z level=info msg="Live Push Gateway initialization" policy-db-migrator | policy-apex-pdp | payload { policy-pap | [2024-01-22T15:04:34.486+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Adding newly assigned partitions: policy-pdp-pap-0 kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-19 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) grafana | logger=ngalert.migration t=2024-01-22T15:03:58.857294336Z level=info msg=Starting policy-db-migrator | policy-apex-pdp | fields { policy-pap | [2024-01-22T15:04:34.486+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 kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 34 in epoch 0 (kafka.coordinator.group.GroupCoordinator) grafana | logger=ngalert.migration orgID=1 t=2024-01-22T15:03:58.858172627Z level=info msg="Migrating alerts for organisation" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-apex-pdp | key: "update-config-response" policy-pap | [2024-01-22T15:04:34.544+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] Found no committed offset for partition policy-pdp-pap-0 kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-34 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) grafana | logger=ngalert.migration orgID=1 t=2024-01-22T15:03:58.858620652Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | -------------- policy-apex-pdp | value { policy-pap | [2024-01-22T15:04:34.545+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 kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 4 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=ngalert.migration orgID=1 t=2024-01-22T15:03:58.858999477Z level=warn msg="No available receivers" policy-apex-pdp | struct_value { policy-pap | [2024-01-22T15:04:34.574+00:00|INFO|SubscriptionState|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-c676d884-f554-487a-8e53-52e0dae36e61-3, groupId=c676d884-f554-487a-8e53-52e0dae36e61] 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-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-4 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-22T15:03:58.863382131Z level=info msg="Completed legacy migration" policy-apex-pdp | fields { policy-pap | [2024-01-22T15:04:34.574+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-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 11 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | grafana | logger=infra.usagestats.collector t=2024-01-22T15:03:58.895761783Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-apex-pdp | key: "execute-command-logs" policy-pap | [2024-01-22T15:04:37.223+00:00|INFO|[/policy/pap/v1]|http-nio-6969-exec-4] Initializing Spring DispatcherServlet 'dispatcherServlet' kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-11 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | grafana | logger=provisioning.datasources t=2024-01-22T15:03:58.897740048Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-apex-pdp | value { policy-pap | [2024-01-22T15:04:37.224+00:00|INFO|DispatcherServlet|http-nio-6969-exec-4] Initializing Servlet 'dispatcherServlet' kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 26 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=provisioning.alerting t=2024-01-22T15:03:58.911952924Z level=info msg="starting to provision alerting" policy-apex-pdp | list_value { policy-pap | [2024-01-22T15:04:37.225+00:00|INFO|DispatcherServlet|http-nio-6969-exec-4] Completed initialization in 1 ms kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-26 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- grafana | logger=provisioning.alerting t=2024-01-22T15:03:58.911969414Z level=info msg="finished to provision alerting" policy-apex-pdp | values { policy-pap | [2024-01-22T15:04:37.583+00:00|INFO|SessionData|http-nio-6969-exec-4] cache group defaultGroup kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 49 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=ngalert.state.manager t=2024-01-22T15:03:58.912277138Z level=info msg="Warming state cache for startup" policy-apex-pdp | string_value: "INFO:root:" policy-pap | [2024-01-22T15:04:38.288+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-4] Registering a deploy for policy onap.policies.native.apex.Sampledomain 1.0.0 kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-49 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- grafana | logger=ngalert.state.manager t=2024-01-22T15:03:58.913370582Z level=info msg="State cache has been initialized" states=0 duration=1.093604ms policy-apex-pdp | } policy-pap | [2024-01-22T15:04:38.289+00:00|INFO|SessionData|http-nio-6969-exec-4] update cached group defaultGroup kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 39 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | grafana | logger=grafanaStorageLogger t=2024-01-22T15:03:58.913575574Z level=info msg="Storage starting" policy-apex-pdp | values { policy-pap | [2024-01-22T15:04:38.290+00:00|INFO|SessionData|http-nio-6969-exec-4] updating DB group defaultGroup kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-39 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | grafana | logger=ngalert.scheduler t=2024-01-22T15:03:58.91402298Z level=info msg="Starting scheduler" tickInterval=10s policy-apex-pdp | string_value: "INFO:root:configuring Device...." policy-pap | [2024-01-22T15:04:38.318+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-4] 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-01-22T15:04:38Z, user=policyadmin)] kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 9 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=ticker t=2024-01-22T15:03:58.914127961Z level=info msg=starting first_tick=2024-01-22T15:04:00Z policy-apex-pdp | } policy-pap | [2024-01-22T15:04:51.733+00:00|INFO|OrderedServiceImpl|KAFKA-source-policy-pdp-pap] ***** OrderedServiceImpl implementers: kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-9 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- grafana | logger=ngalert.multiorg.alertmanager t=2024-01-22T15:03:58.914143221Z level=info msg="Starting MultiOrg Alertmanager" policy-apex-pdp | values { policy-pap | [] kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 24 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-24 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- grafana | logger=http.server t=2024-01-22T15:03:58.915512748Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-pap | [2024-01-22T15:04:51.733+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | } kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 31 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | grafana | logger=grafana.update.checker t=2024-01-22T15:03:58.938526764Z level=info msg="Update check succeeded" duration=26.408458ms policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"fe167202-e21e-4b4e-a54a-7355e83a2aaf","timestampMs":1705935891697,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup"} policy-apex-pdp | values { kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-31 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) grafana | logger=plugins.update.checker t=2024-01-22T15:03:58.989869232Z level=info msg="Update check succeeded" duration=77.469692ms policy-pap | [2024-01-22T15:04:51.734+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" policy-db-migrator | grafana | logger=sqlstore.transactions t=2024-01-22T15:03:59.139359103Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-apex-pdp | } policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 46 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"fe167202-e21e-4b4e-a54a-7355e83a2aaf","timestampMs":1705935891697,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup"} grafana | logger=sqlstore.transactions t=2024-01-22T15:03:59.156061843Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-apex-pdp | values { policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,307] 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 | 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-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 1 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-pap | [2024-01-22T15:04:51.739+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-pdp-pap] no listeners for autonomous message of type PdpStatus grafana | logger=infra.usagestats t=2024-01-22T15:04:56.925622577Z level=info msg="Usage stats are ready to report" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-apex-pdp | } kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-1 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:52.099+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 16 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-pap | [2024-01-22T15:04:52.099+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting listener policy-apex-pdp | values { policy-db-migrator | kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-16 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:52.100+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting timer policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" policy-db-migrator | policy-pap | [2024-01-22T15:04:52.100+00:00|INFO|TimerManager|KAFKA-source-policy-heartbeat] update timer registered Timer [name=75d218f5-8efe-48fa-9736-5c9c2eca8c7d, expireMs=1705935922100] policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 2 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | } policy-pap | [2024-01-22T15:04:52.102+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting enqueue policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,307] 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 | } policy-pap | [2024-01-22T15:04:52.102+00:00|INFO|TimerManager|Thread-9] update timer waiting 29998ms Timer [name=75d218f5-8efe-48fa-9736-5c9c2eca8c7d, expireMs=1705935922100] policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 25 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | } policy-pap | [2024-01-22T15:04:52.103+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate started policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,307] 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 | } policy-pap | [2024-01-22T15:04:52.132+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] policy-db-migrator | kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 40 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | fields { policy-db-migrator | kafka | [2024-01-22 15:04:31,307] 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 | key: "prepare-environment-logs" policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"75d218f5-8efe-48fa-9736-5c9c2eca8c7d","timestampMs":1705935892081,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 47 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | value { policy-pap | [2024-01-22T15:04:52.187+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,307] 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 | list_value { policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 17 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"75d218f5-8efe-48fa-9736-5c9c2eca8c7d","timestampMs":1705935892081,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | values { policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-17 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:52.196+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" policy-db-migrator | policy-apex-pdp | } kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 32 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | } policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"75d218f5-8efe-48fa-9736-5c9c2eca8c7d","timestampMs":1705935892081,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-32 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-apex-pdp | } policy-pap | [2024-01-22T15:04:52.211+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE kafka | [2024-01-22 15:04:31,307] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 37 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | } policy-pap | [2024-01-22T15:04:52.212+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE kafka | [2024-01-22 15:04:31,307] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-37 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 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 policy-apex-pdp | } policy-pap | [2024-01-22T15:04:52.258+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 7 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- 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":"75d218f5-8efe-48fa-9736-5c9c2eca8c7d","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"59844b2d-0577-42ec-a6bd-35b815c67c00","timestampMs":1705935892244,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-7 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-apex-pdp | } policy-pap | [2024-01-22T15:04:52.259+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 22 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | } policy-pap | [2024-01-22T15:04:52.259+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping enqueue kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-22 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-apex-pdp | policy-pap | [2024-01-22T15:04:52.260+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping timer kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 29 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:01.376+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-pap | [2024-01-22T15:04:52.260+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=75d218f5-8efe-48fa-9736-5c9c2eca8c7d, expireMs=1705935922100] kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-29 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 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 | [2024-01-22T15:05:01.395+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935901392, "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-01-22T15:04:52.260+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping listener kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 44 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:05.288+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-01-22T15:04:52.262+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-44 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:05.289+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": 1705935905288, "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 | {"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":"75d218f5-8efe-48fa-9736-5c9c2eca8c7d","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"59844b2d-0577-42ec-a6bd-35b815c67c00","timestampMs":1705935892244,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 14 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:05.291+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935905289, "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 | [2024-01-22T15:04:52.263+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 75d218f5-8efe-48fa-9736-5c9c2eca8c7d kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-14 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-apex-pdp | [2024-01-22T15:05:05.304+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] policy-pap | [2024-01-22T15:04:52.263+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 23 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | { policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"messageName":"PDP_STATUS","requestId":"51207ff0-d6ea-48ba-8198-c98bbffe1947","timestampMs":1705935892244,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-23 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 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 | "equip-vendor":"Vendor-A", policy-pap | [2024-01-22T15:04:52.261+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopped kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 38 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", policy-pap | [2024-01-22T15:04:52.274+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-38 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-apex-pdp | "in-maint":false, 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":[]} kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 8 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", policy-pap | [2024-01-22T15:04:52.275+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate successful policy-db-migrator | kafka | [2024-01-22 15:04:31,308] 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 | "resource-version":"1570746989505", policy-pap | [2024-01-22T15:04:52.275+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc start publishing next request policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 45 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | "nf-role":"ToR DC101", policy-pap | [2024-01-22T15:04:52.275+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange starting policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,308] 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 | "equip-type":"Router", policy-pap | [2024-01-22T15:04:52.275+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange starting listener 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 kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 15 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | "equip-model":"model-123456", policy-pap | [2024-01-22T15:04:52.275+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange starting timer policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,308] 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 | "frame-id":"3", policy-pap | [2024-01-22T15:04:52.275+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] state-change timer registered Timer [name=f35541c4-470f-43f0-9792-fd444249c3a5, expireMs=1705935922275] policy-db-migrator | kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 30 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | "pnf-name":"demo-pnf" policy-pap | [2024-01-22T15:04:52.275+00:00|INFO|TimerManager|Thread-10] state-change timer waiting 30000ms Timer [name=f35541c4-470f-43f0-9792-fd444249c3a5, expireMs=1705935922275] policy-db-migrator | kafka | [2024-01-22 15:04:31,308] 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 | } policy-pap | [2024-01-22T15:04:52.275+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange starting enqueue policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 0 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | policy-pap | [2024-01-22T15:04:52.275+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange started policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-0 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:52.276+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] policy-apex-pdp | [2024-01-22T15:05:05.313+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": 1705935905288, "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 | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 35 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"f35541c4-470f-43f0-9792-fd444249c3a5","timestampMs":1705935892082,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | [2024-01-22T15:05:05.318+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": "host1y6twn", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935905317, "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 | -------------- kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-35 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:52.302+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Error while fetching metadata with correlation id 4 : {policy-notification=LEADER_NOT_AVAILABLE} policy-apex-pdp | [2024-01-22T15:05:05.322+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-db-migrator | kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 5 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-pap | [2024-01-22T15:04:52.700+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | [2024-01-22T15:05:05.323+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-db-migrator | kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-5 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","policies":[{"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0"}],"messageName":"PDP_STATUS","requestId":"51207ff0-d6ea-48ba-8198-c98bbffe1947","timestampMs":1705935892244,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | commonHeader { policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 20 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-pap | [2024-01-22T15:04:52.700+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-pdp-pap] no listeners for autonomous message of type PdpStatus policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-20 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:52.704+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 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-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 27 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"f35541c4-470f-43f0-9792-fd444249c3a5","timestampMs":1705935892082,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | originatorId: "POLICY" policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,308] 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 | } policy-pap | [2024-01-22T15:04:52.704+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATE_CHANGE policy-db-migrator | kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 42 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | actionIdentifiers { policy-pap | [2024-01-22T15:04:52.916+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-db-migrator | kafka | [2024-01-22 15:04:31,308] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-42 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"f35541c4-470f-43f0-9792-fd444249c3a5","timestampMs":1705935892082,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 12 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | blueprintVersion: "1.0.4" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-pap | [2024-01-22T15:04:52.916+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_STATE_CHANGE kafka | [2024-01-22 15:04:31,308] 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 | actionName: "update-config" policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:53.166+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-01-22 15:04:31,308] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 21 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | mode: "sync" 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 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":"f35541c4-470f-43f0-9792-fd444249c3a5","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"58f49ba2-3ebe-4178-a4f0-908f95c5a7b2","timestampMs":1705935893153,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,308] 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 | } policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:53.167+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange stopping kafka | [2024-01-22 15:04:31,309] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 36 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | payload { policy-db-migrator | policy-pap | [2024-01-22T15:04:53.167+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange stopping enqueue policy-apex-pdp | fields { kafka | [2024-01-22 15:04:31,309] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-36 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-pap | [2024-01-22T15:04:53.167+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange stopping timer policy-apex-pdp | key: "update-config-request" kafka | [2024-01-22 15:04:31,309] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 6 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-pap | [2024-01-22T15:04:53.167+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] state-change timer cancelled Timer [name=f35541c4-470f-43f0-9792-fd444249c3a5, expireMs=1705935922275] policy-apex-pdp | value { kafka | [2024-01-22 15:04:31,309] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-6 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:53.167+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange stopping listener policy-apex-pdp | struct_value { kafka | [2024-01-22 15:04:31,309] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 43 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 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 policy-pap | [2024-01-22T15:04:53.167+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange stopped policy-apex-pdp | fields { kafka | [2024-01-22 15:04:31,309] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-43 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:53.167+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpStateChange successful policy-apex-pdp | key: "hostname" kafka | [2024-01-22 15:04:31,309] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 13 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-pap | [2024-01-22T15:04:53.168+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc start publishing next request policy-apex-pdp | value { kafka | [2024-01-22 15:04:31,309] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-13 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-pap | [2024-01-22T15:04:53.168+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting policy-apex-pdp | string_value: "host1y6twn" kafka | [2024-01-22 15:04:31,309] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 28 in epoch 0 (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-pap | [2024-01-22T15:04:53.168+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting listener policy-apex-pdp | } kafka | [2024-01-22 15:04:31,309] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-28 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:53.168+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting timer policy-apex-pdp | } kafka | [2024-01-22 15:04:31,313] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-3 in 9 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 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 policy-pap | [2024-01-22T15:04:53.168+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer registered Timer [name=e8524144-7f88-499b-869c-d52e75be9ca9, expireMs=1705935923168] policy-apex-pdp | fields { kafka | [2024-01-22 15:04:31,318] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-18 in 12 milliseconds for epoch 0, of which 11 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:53.168+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting enqueue policy-apex-pdp | key: "IP" kafka | [2024-01-22 15:04:31,318] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-41 in 11 milliseconds for epoch 0, of which 11 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-pap | [2024-01-22T15:04:53.168+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate started policy-apex-pdp | value { kafka | [2024-01-22 15:04:31,318] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-10 in 11 milliseconds for epoch 0, of which 11 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-pap | [2024-01-22T15:04:53.168+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] policy-apex-pdp | string_value: "10.10.10.10" kafka | [2024-01-22 15:04:31,318] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-33 in 11 milliseconds for epoch 0, of which 11 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"e8524144-7f88-499b-869c-d52e75be9ca9","timestampMs":1705935892692,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | } kafka | [2024-01-22 15:04:31,318] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-48 in 11 milliseconds for epoch 0, of which 11 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:53.173+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | } kafka | [2024-01-22 15:04:31,319] INFO [Broker id=1] Finished LeaderAndIsr request in 827ms correlationId 1 from controller 1 for 51 partitions (state.change.logger) 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-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":"f35541c4-470f-43f0-9792-fd444249c3a5","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"58f49ba2-3ebe-4178-a4f0-908f95c5a7b2","timestampMs":1705935893153,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | fields { kafka | [2024-01-22 15:04:31,319] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-19 in 12 milliseconds for epoch 0, of which 12 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:53.174+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id f35541c4-470f-43f0-9792-fd444249c3a5 policy-apex-pdp | key: "pnfName" kafka | [2024-01-22 15:04:31,319] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-34 in 12 milliseconds for epoch 0, of which 12 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-pap | [2024-01-22T15:04:53.178+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | value { kafka | [2024-01-22 15:04:31,319] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-4 in 12 milliseconds for epoch 0, of which 12 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"e8524144-7f88-499b-869c-d52e75be9ca9","timestampMs":1705935892692,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | string_value: "demo-pnf" kafka | [2024-01-22 15:04:31,320] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-11 in 13 milliseconds for epoch 0, of which 12 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-pap | [2024-01-22T15:04:53.178+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE policy-apex-pdp | } kafka | [2024-01-22 15:04:31,320] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-26 in 13 milliseconds for epoch 0, of which 13 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:53.182+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | } kafka | [2024-01-22 15:04:31,320] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-49 in 13 milliseconds for epoch 0, of which 13 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"e8524144-7f88-499b-869c-d52e75be9ca9","timestampMs":1705935892692,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | } 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-01-22 15:04:31,320] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-39 in 13 milliseconds for epoch 0, of which 13 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:53.182+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE policy-apex-pdp | } policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,321] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-9 in 14 milliseconds for epoch 0, of which 13 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:53.196+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | } policy-db-migrator | kafka | [2024-01-22 15:04:31,321] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-24 in 14 milliseconds for epoch 0, of which 14 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 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":"e8524144-7f88-499b-869c-d52e75be9ca9","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"55610254-d893-4fed-a9d6-392f83afc6b1","timestampMs":1705935893187,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | } policy-db-migrator | kafka | [2024-01-22 15:04:31,321] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-31 in 14 milliseconds for epoch 0, of which 14 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:53.196+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | policy-db-migrator | > upgrade 0100-pdp.sql kafka | [2024-01-22 15:04:31,321] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-46 in 14 milliseconds for epoch 0, of which 14 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 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":"e8524144-7f88-499b-869c-d52e75be9ca9","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"55610254-d893-4fed-a9d6-392f83afc6b1","timestampMs":1705935893187,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | [2024-01-22T15:05:05.338+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,322] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-1 in 15 milliseconds for epoch 0, of which 15 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:53.197+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping policy-apex-pdp | commonHeader { policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY kafka | [2024-01-22 15:04:31,322] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-16 in 15 milliseconds for epoch 0, of which 15 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:53.197+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id e8524144-7f88-499b-869c-d52e75be9ca9 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,322] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-2 in 15 milliseconds for epoch 0, of which 15 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:53.197+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping enqueue policy-apex-pdp | requestId: "123456" policy-db-migrator | kafka | [2024-01-22 15:04:31,322] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-25 in 15 milliseconds for epoch 0, of which 15 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:53.197+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping timer policy-apex-pdp | subRequestId: "123-123" policy-db-migrator | kafka | [2024-01-22 15:04:31,322] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-40 in 15 milliseconds for epoch 0, of which 15 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:53.197+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=e8524144-7f88-499b-869c-d52e75be9ca9, expireMs=1705935923168] policy-apex-pdp | originatorId: "CDS" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql kafka | [2024-01-22 15:04:31,323] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-47 in 16 milliseconds for epoch 0, of which 16 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:53.197+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping listener policy-apex-pdp | } policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,323] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-17 in 16 milliseconds for epoch 0, of which 16 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:04:53.197+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopped policy-apex-pdp | actionIdentifiers { policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) kafka | [2024-01-22 15:04:31,323] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=AbqY1ihrRl6TJWpzLYOLdA, 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=empYbNBmRw-qobOEm0sYBQ, 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) policy-pap | [2024-01-22T15:04:53.207+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate successful policy-apex-pdp | blueprintName: "controlloop-hostname-update" policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:53.207+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc has no more requests policy-apex-pdp | blueprintVersion: "1.0.4" kafka | [2024-01-22 15:04:31,323] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-32 in 16 milliseconds for epoch 0, of which 16 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-pap | [2024-01-22T15:04:54.517+00:00|INFO|SessionData|http-nio-6969-exec-9] cache group defaultGroup policy-apex-pdp | actionName: "update-config" kafka | [2024-01-22 15:04:31,323] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-37 in 15 milliseconds for epoch 0, of which 15 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-pap | [2024-01-22T15:04:54.724+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-9] Registering a deploy for policy onap.policies.apex.pnf.Test 1.0.0 policy-apex-pdp | mode: "sync" kafka | [2024-01-22 15:04:31,324] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-7 in 16 milliseconds for epoch 0, of which 16 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-pap | [2024-01-22T15:04:54.724+00:00|INFO|SessionData|http-nio-6969-exec-9] add update apex-0c81c472-2523-43f9-9aac-ce2bc68528bc defaultGroup apex policies=1 policy-apex-pdp | } kafka | [2024-01-22 15:04:31,324] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-22 in 16 milliseconds for epoch 0, of which 16 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:54.725+00:00|INFO|SessionData|http-nio-6969-exec-9] update cached group defaultGroup policy-apex-pdp | status { kafka | [2024-01-22 15:04:31,324] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-29 in 16 milliseconds for epoch 0, of which 16 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-pap | [2024-01-22T15:04:54.725+00:00|INFO|SessionData|http-nio-6969-exec-9] updating DB group defaultGroup policy-apex-pdp | code: 200 kafka | [2024-01-22 15:04:31,324] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-44 in 16 milliseconds for epoch 0, of which 16 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:54.757+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-9] 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-01-22T15:04:54Z, user=policyadmin)] policy-apex-pdp | message: "success" kafka | [2024-01-22 15:04:31,324] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-14 in 16 milliseconds for epoch 0, of which 16 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-pap | [2024-01-22T15:04:54.781+00:00|INFO|ServiceManager|http-nio-6969-exec-9] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED kafka | [2024-01-22 15:04:31,325] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-23 in 16 milliseconds for epoch 0, of which 16 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-pap | [2024-01-22T15:04:54.781+00:00|INFO|ServiceManager|http-nio-6969-exec-9] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting listener policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" kafka | [2024-01-22 15:04:31,325] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-38 in 17 milliseconds for epoch 0, of which 17 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-pap | [2024-01-22T15:04:54.781+00:00|INFO|ServiceManager|http-nio-6969-exec-9] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting timer policy-apex-pdp | } kafka | [2024-01-22 15:04:31,325] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-8 in 17 milliseconds for epoch 0, of which 17 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:54.781+00:00|INFO|TimerManager|http-nio-6969-exec-9] update timer registered Timer [name=38cc834b-b4ac-4cc8-a081-43328d852c90, expireMs=1705935924781] policy-apex-pdp | payload { kafka | [2024-01-22 15:04:31,325] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-45 in 17 milliseconds for epoch 0, of which 17 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 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 | [2024-01-22T15:04:54.781+00:00|INFO|ServiceManager|http-nio-6969-exec-9] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting enqueue policy-apex-pdp | fields { kafka | [2024-01-22 15:04:31,325] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-15 in 17 milliseconds for epoch 0, of which 17 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:54.781+00:00|INFO|ServiceManager|http-nio-6969-exec-9] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate started policy-pap | [2024-01-22T15:04:54.785+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] policy-db-migrator | kafka | [2024-01-22 15:04:31,326] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-30 in 18 milliseconds for epoch 0, of which 17 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-apex-pdp | key: "update-config-response" policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"38cc834b-b4ac-4cc8-a081-43328d852c90","timestampMs":1705935894724,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,326] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-0 in 18 milliseconds for epoch 0, of which 18 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-apex-pdp | value { policy-pap | [2024-01-22T15:04:54.802+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-01-22 15:04:31,326] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-35 in 18 milliseconds for epoch 0, of which 18 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-apex-pdp | struct_value { kafka | [2024-01-22 15:04:31,326] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-5 in 18 milliseconds for epoch 0, of which 18 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 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-apex-pdp | fields { policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"38cc834b-b4ac-4cc8-a081-43328d852c90","timestampMs":1705935894724,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,326] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-20 in 18 milliseconds for epoch 0, of which 18 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-apex-pdp | key: "execute-command-logs" policy-pap | [2024-01-22T15:04:54.803+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] kafka | [2024-01-22 15:04:31,327] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-27 in 18 milliseconds for epoch 0, of which 18 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-apex-pdp | value { kafka | [2024-01-22 15:04:31,327] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-42 in 19 milliseconds for epoch 0, of which 19 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | -------------- policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"38cc834b-b4ac-4cc8-a081-43328d852c90","timestampMs":1705935894724,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | list_value { kafka | [2024-01-22 15:04:31,333] 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) policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-pap | [2024-01-22T15:04:54.830+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE policy-apex-pdp | values { kafka | [2024-01-22 15:04:31,334] 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) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:54.830+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE policy-apex-pdp | string_value: "INFO:root:" kafka | [2024-01-22 15:04:31,334] 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) policy-db-migrator | policy-pap | [2024-01-22T15:04:55.389+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | } kafka | [2024-01-22 15:04:31,334] 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) policy-db-migrator | 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":"38cc834b-b4ac-4cc8-a081-43328d852c90","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"744993ec-c741-4719-9dcb-1a579527df8a","timestampMs":1705935895377,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | values { kafka | [2024-01-22 15:04:31,334] 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) policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-pap | [2024-01-22T15:04:55.389+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] policy-apex-pdp | string_value: "INFO:root:configuring Device...." kafka | [2024-01-22 15:04:31,334] 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) policy-db-migrator | -------------- 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":"38cc834b-b4ac-4cc8-a081-43328d852c90","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"744993ec-c741-4719-9dcb-1a579527df8a","timestampMs":1705935895377,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | } kafka | [2024-01-22 15:04:31,334] 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-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-pap | [2024-01-22T15:04:55.390+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping policy-apex-pdp | values { kafka | [2024-01-22 15:04:31,334] 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) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:55.390+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping enqueue policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" kafka | [2024-01-22 15:04:31,334] 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) policy-db-migrator | policy-pap | [2024-01-22T15:04:55.390+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping timer policy-apex-pdp | } kafka | [2024-01-22 15:04:31,334] 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) policy-db-migrator | policy-pap | [2024-01-22T15:04:55.390+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=38cc834b-b4ac-4cc8-a081-43328d852c90, expireMs=1705935924781] policy-apex-pdp | values { kafka | [2024-01-22 15:04:31,335] 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) policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-pap | [2024-01-22T15:04:55.390+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping listener policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" kafka | [2024-01-22 15:04:31,335] 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) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:55.390+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopped policy-apex-pdp | } kafka | [2024-01-22 15:04:31,335] 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) policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-pap | [2024-01-22T15:04:55.393+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 38cc834b-b4ac-4cc8-a081-43328d852c90 policy-apex-pdp | values { kafka | [2024-01-22 15:04:31,335] 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) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:04:55.406+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate successful 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-01-22 15:04:31,335] 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) policy-db-migrator | policy-pap | [2024-01-22T15:04:55.406+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc has no more requests policy-apex-pdp | } policy-db-migrator | kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | values { policy-pap | [2024-01-22T15:04:55.406+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 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-db-migrator | -------------- kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | } policy-pap | [2024-01-22T15:05:15.619+00:00|INFO|SessionData|http-nio-6969-exec-1] cache group defaultGroup policy-db-migrator | UPDATE jpapdpstatistics_enginestats a kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | } policy-pap | [2024-01-22T15:05:15.842+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 | JOIN pdpstatistics b kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | } policy-pap | [2024-01-22T15:05:15.842+00:00|INFO|SessionData|http-nio-6969-exec-1] add update apex-0c81c472-2523-43f9-9aac-ce2bc68528bc defaultGroup apex policies=1 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | } policy-pap | [2024-01-22T15:05:15.842+00:00|INFO|SessionData|http-nio-6969-exec-1] update cached group defaultGroup policy-db-migrator | SET a.id = b.id kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | fields { policy-pap | [2024-01-22T15:05:15.842+00:00|INFO|SessionData|http-nio-6969-exec-1] updating DB group defaultGroup policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | key: "prepare-environment-logs" policy-pap | [2024-01-22T15:05:15.943+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-01-22T15:05:15Z, user=policyadmin)] policy-db-migrator | kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | value { policy-pap | [2024-01-22T15:05:15.959+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting policy-db-migrator | kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | list_value { policy-pap | [2024-01-22T15:05:15.960+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting listener policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | values { policy-pap | [2024-01-22T15:05:15.960+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting timer policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,335] 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 | string_value: "Installed pip packages:\n requirements.txt\n\n" policy-pap | [2024-01-22T15:05:15.960+00:00|INFO|TimerManager|http-nio-6969-exec-1] update timer registered Timer [name=fdba65e1-cb02-4dba-9fef-a0873fd5d115, expireMs=1705935945960] policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | } policy-pap | [2024-01-22T15:05:15.960+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate starting enqueue policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | } policy-pap | [2024-01-22T15:05:15.960+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate started policy-db-migrator | kafka | [2024-01-22 15:04:31,335] 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) policy-pap | [2024-01-22T15:05:15.967+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] policy-db-migrator | kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | } policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql kafka | [2024-01-22 15:04:31,335] 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) policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"fdba65e1-cb02-4dba-9fef-a0873fd5d115","timestampMs":1705935915842,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | } policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,335] 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) policy-pap | [2024-01-22T15:05:15.980+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-apex-pdp | } 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-01-22 15:04:31,335] 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) policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"fdba65e1-cb02-4dba-9fef-a0873fd5d115","timestampMs":1705935915842,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-apex-pdp | } policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,335] 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) policy-pap | [2024-01-22T15:05:15.983+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE policy-apex-pdp | } policy-db-migrator | policy-pap | [2024-01-22T15:05:15.999+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | } policy-db-migrator | kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-pap | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"fdba65e1-cb02-4dba-9fef-a0873fd5d115","timestampMs":1705935915842,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | [2024-01-22T15:05:05.339+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) policy-db-migrator | -------------- policy-pap | [2024-01-22T15:05:16.002+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | [2024-01-22T15:05:05.356+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935905353, "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-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-pap | [2024-01-22T15:05:16.074+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | [2024-01-22T15:05:15.980+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] policy-db-migrator | -------------- 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":"fdba65e1-cb02-4dba-9fef-a0873fd5d115","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"c3a601e4-7c48-42d0-acc3-dbb650b7d7b7","timestampMs":1705935916067,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,335] 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) policy-db-migrator | policy-pap | [2024-01-22T15:05:16.075+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | {"source":"pap-90abb71c-d412-4ef3-979e-1089da73969a","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":"fdba65e1-cb02-4dba-9fef-a0873fd5d115","timestampMs":1705935915842,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} policy-db-migrator | policy-pap | [2024-01-22T15:05:16.075+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping enqueue kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | [2024-01-22T15:05:15.984+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:apex/tosca/policy/list policy-db-migrator | > upgrade 0210-sequence.sql policy-pap | [2024-01-22T15:05:16.075+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping timer kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | [2024-01-22T15:05:15.987+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.apex.pnf.metadataSet.Test 1.0.0 policy-db-migrator | -------------- policy-pap | [2024-01-22T15:05:16.075+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=fdba65e1-cb02-4dba-9fef-a0873fd5d115, expireMs=1705935945960] kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | [2024-01-22T15:05:15.996+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-0:0.0.1 . 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-01-22T15:05:16.075+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopping listener kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | [2024-01-22T15:05:15.996+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-1:0.0.1 . policy-db-migrator | -------------- policy-pap | [2024-01-22T15:05:16.075+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate stopped kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | [2024-01-22T15:05:15.996+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-2:0.0.1 . policy-db-migrator | policy-pap | [2024-01-22T15:05:16.075+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] kafka | [2024-01-22 15:04:31,335] 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) policy-apex-pdp | [2024-01-22T15:05:15.996+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-3:0.0.1 . policy-db-migrator | 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":"fdba65e1-cb02-4dba-9fef-a0873fd5d115","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"c3a601e4-7c48-42d0-acc3-dbb650b7d7b7","timestampMs":1705935916067,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:04:31,336] 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) policy-apex-pdp | [2024-01-22T15:05:15.996+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. policy-db-migrator | > upgrade 0220-sequence.sql policy-pap | [2024-01-22T15:05:16.076+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id fdba65e1-cb02-4dba-9fef-a0873fd5d115 kafka | [2024-01-22 15:04:31,336] 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) policy-apex-pdp | [2024-01-22T15:05:16.018+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-db-migrator | -------------- policy-pap | [2024-01-22T15:05:16.085+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] kafka | [2024-01-22 15:04:31,336] 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) policy-apex-pdp | [2024-01-22T15:05:16.018+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-0:0.0.1 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) kafka | [2024-01-22 15:04:31,333] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-12 in 25 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 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 | [2024-01-22T15:05:16.018+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-db-migrator | -------------- kafka | [2024-01-22 15:04:31,336] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-21 in 28 milliseconds for epoch 0, of which 28 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:05:16.086+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc PdpUpdate successful policy-apex-pdp | [2024-01-22T15:05:16.019+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-1:0.0.1 policy-db-migrator | kafka | [2024-01-22 15:04:31,337] 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) policy-pap | [2024-01-22T15:05:16.086+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-0c81c472-2523-43f9-9aac-ce2bc68528bc has no more requests policy-apex-pdp | [2024-01-22T15:05:16.019+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-2:0.0.1 policy-db-migrator | kafka | [2024-01-22 15:04:31,337] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-36 in 28 milliseconds for epoch 0, of which 27 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:05:22.101+00:00|INFO|TimerManager|Thread-9] update timer discarded (expired) Timer [name=75d218f5-8efe-48fa-9736-5c9c2eca8c7d, expireMs=1705935922100] policy-apex-pdp | [2024-01-22T15:05:16.019+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-3:0.0.1 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql kafka | [2024-01-22 15:04:31,338] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-6 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:05:22.276+00:00|INFO|TimerManager|Thread-10] state-change timer discarded (expired) Timer [name=f35541c4-470f-43f0-9792-fd444249c3a5, expireMs=1705935922275] policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleBooleanType:0.0.1 is used by multiple policies. policy-db-migrator | -------------- kafka | [2024-01-22 15:04:31,338] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-43 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:05:36.386+00:00|INFO|SessionData|http-nio-6969-exec-5] cache group defaultGroup policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_AAIRequestErrorType:0.0.1 is used by multiple policies. 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) kafka | [2024-01-22 15:04:31,338] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-13 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-pap | [2024-01-22T15:05:37.188+00:00|INFO|SessionData|http-nio-6969-exec-7] cache group defaultGroup policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSActionIdentifiersType:0.0.1 is used by multiple policies. policy-db-migrator | -------------- policy-pap | [2024-01-22T15:05:38.217+00:00|INFO|SessionData|http-nio-6969-exec-8] cache group defaultGroup kafka | [2024-01-22 15:04:31,338] 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) policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1 is used by multiple policies. policy-db-migrator | policy-pap | [2024-01-22T15:06:29.732+00:00|INFO|PdpModifyRequestMap|pool-3-thread-1] check for PDP records older than 360000ms kafka | [2024-01-22 15:04:31,339] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-28 in 30 milliseconds for epoch 0, of which 30 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:31,408] 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-20514159-d349-4745-87aa-777bd70e2420 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:31,424] 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-20514159-d349-4745-87aa-777bd70e2420 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSFailureResponseStatusType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:31,443] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group c676d884-f554-487a-8e53-52e0dae36e61 in Empty state. Created a new member id consumer-c676d884-f554-487a-8e53-52e0dae36e61-3-5f50e27b-b2b0-49f0-bf2e-fb8cab49e776 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 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-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSRequestCommonHeaderType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:31,451] INFO [GroupCoordinator 1]: Preparing to rebalance group c676d884-f554-487a-8e53-52e0dae36e61 in state PreparingRebalance with old generation 0 (__consumer_offsets-42) (reason: Adding new member consumer-c676d884-f554-487a-8e53-52e0dae36e61-3-5f50e27b-b2b0-49f0-bf2e-fb8cab49e776 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:32,064] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group 42dc174d-ec44-49ed-8258-1b0a49d03f03 in Empty state. Created a new member id consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2-d110b790-ed14-4804-b71d-1fe7b2f4e4a7 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSSuccessResponseStatusType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:32,068] INFO [GroupCoordinator 1]: Preparing to rebalance group 42dc174d-ec44-49ed-8258-1b0a49d03f03 in state PreparingRebalance with old generation 0 (__consumer_offsets-21) (reason: Adding new member consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2-d110b790-ed14-4804-b71d-1fe7b2f4e4a7 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_EventDetailsAlbumType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:34,437] INFO [GroupCoordinator 1]: Stabilized group policy-pap generation 1 (__consumer_offsets-24) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventComponentType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:34,452] INFO [GroupCoordinator 1]: Stabilized group c676d884-f554-487a-8e53-52e0dae36e61 generation 1 (__consumer_offsets-42) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventOtherFieldsType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:34,466] INFO [GroupCoordinator 1]: Assignment received from leader consumer-policy-pap-4-20514159-d349-4745-87aa-777bd70e2420 for group policy-pap for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventTargetType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:34,468] INFO [GroupCoordinator 1]: Assignment received from leader consumer-c676d884-f554-487a-8e53-52e0dae36e61-3-5f50e27b-b2b0-49f0-bf2e-fb8cab49e776 for group c676d884-f554-487a-8e53-52e0dae36e61 for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_VesEventType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:35,069] INFO [GroupCoordinator 1]: Stabilized group 42dc174d-ec44-49ed-8258-1b0a49d03f03 generation 1 (__consumer_offsets-21) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleLongType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:35,088] INFO [GroupCoordinator 1]: Assignment received from leader consumer-42dc174d-ec44-49ed-8258-1b0a49d03f03-2-d110b790-ed14-4804-b71d-1fe7b2f4e4a7 for group 42dc174d-ec44-49ed-8258-1b0a49d03f03 for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleStringType:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:52,286] INFO Creating topic policy-notification with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAIFailureResponseEvent:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:52,310] INFO [Controller id=1] New topics: [Set(policy-notification)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(policy-notification,Some(oMpG9ZowRrOqZb07ITfHFg),Map(policy-notification-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAIRequestEvent:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:52,310] INFO [Controller id=1] New partition creation callback for policy-notification-0 (kafka.controller.KafkaController) policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAISuccessResponseEvent:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:52,311] INFO [Controller id=1 epoch=1] Changed partition policy-notification-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:52,311] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifyRequestEvent:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:52,311] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-notification-0 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:52,311] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_LogEvent:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:52,331] 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) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_VesEvent:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:52,331] 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) policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-apex-pdp | [2024-01-22T15:05:16.054+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same album - SimpleCL_EventDetailsAlbum:0.0.1 is used by multiple policies. kafka | [2024-01-22 15:04:52,331] 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-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.055+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-01-22 15:04:52,331] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.056+00:00|INFO|CdsProcessorGrpcClient|KAFKA-source-policy-pdp-pap] CdsProcessorListener started kafka | [2024-01-22 15:04:52,332] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-notification-0 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.057+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-01-22 15:04:52,332] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-apex-pdp | [2024-01-22T15:05:16.058+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine kafka | [2024-01-22 15:04:52,333] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 3 from controller 1 for 1 partitions (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.064+00:00|INFO|ConsumerConfig|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] ConsumerConfig values: kafka | [2024-01-22 15:04:52,333] 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) policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-apex-pdp | allow.auto.create.topics = true kafka | [2024-01-22 15:04:52,334] 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) policy-db-migrator | -------------- policy-apex-pdp | auto.commit.interval.ms = 1000 kafka | [2024-01-22 15:04:52,334] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(policy-notification-0) (kafka.server.ReplicaFetcherManager) policy-db-migrator | policy-apex-pdp | auto.include.jmx.reporter = true kafka | [2024-01-22 15:04:52,335] 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) policy-db-migrator | -------------- policy-apex-pdp | auto.offset.reset = latest kafka | [2024-01-22 15:04:52,338] 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$) policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-apex-pdp | bootstrap.servers = [kafka:9092] kafka | [2024-01-22 15:04:52,340] INFO Created log for partition policy-notification-0 in /var/lib/kafka/data/policy-notification-0 with properties {} (kafka.log.LogManager) policy-db-migrator | -------------- policy-apex-pdp | check.crcs = true kafka | [2024-01-22 15:04:52,342] INFO [Partition policy-notification-0 broker=1] No checkpointed highwatermark is found for partition policy-notification-0 (kafka.cluster.Partition) policy-db-migrator | policy-apex-pdp | client.dns.lookup = use_all_dns_ips kafka | [2024-01-22 15:04:52,342] INFO [Partition policy-notification-0 broker=1] Log loaded for partition policy-notification-0 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | client.id = consumer-apex-grp2-4 kafka | [2024-01-22 15:04:52,343] INFO [Broker id=1] Leader policy-notification-0 with topic id Some(oMpG9ZowRrOqZb07ITfHFg) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | client.rack = kafka | [2024-01-22 15:04:52,380] 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) policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-apex-pdp | connections.max.idle.ms = 540000 kafka | [2024-01-22 15:04:52,381] INFO [Broker id=1] Finished LeaderAndIsr request in 48ms correlationId 3 from controller 1 for 1 partitions (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | default.api.timeout.ms = 60000 kafka | [2024-01-22 15:04:52,382] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=oMpG9ZowRrOqZb07ITfHFg, 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) policy-db-migrator | policy-apex-pdp | enable.auto.commit = true kafka | [2024-01-22 15:04:52,383] 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) policy-db-migrator | policy-apex-pdp | exclude.internal.topics = true kafka | [2024-01-22 15:04:52,383] 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) policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-apex-pdp | fetch.max.bytes = 52428800 kafka | [2024-01-22 15:04:52,384] 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) policy-db-migrator | -------------- policy-apex-pdp | fetch.max.wait.ms = 500 kafka | [2024-01-22 15:04:55,402] INFO Creating topic unauthenticated.dcae_cl_output with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-apex-pdp | fetch.min.bytes = 1 kafka | [2024-01-22 15:04:55,419] 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(5vTOS3IQRoSJG46Y8X1fOg),Map(unauthenticated.dcae_cl_output-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) policy-db-migrator | -------------- policy-apex-pdp | group.id = apex-grp2 kafka | [2024-01-22 15:04:55,420] INFO [Controller id=1] New partition creation callback for unauthenticated.dcae_cl_output-0 (kafka.controller.KafkaController) policy-db-migrator | policy-apex-pdp | group.instance.id = null kafka | [2024-01-22 15:04:55,420] 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) policy-db-migrator | -------------- policy-apex-pdp | heartbeat.interval.ms = 3000 kafka | [2024-01-22 15:04:55,420] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-apex-pdp | interceptor.classes = [] kafka | [2024-01-22 15:04:55,420] 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) policy-db-migrator | -------------- policy-apex-pdp | internal.leave.group.on.close = true kafka | [2024-01-22 15:04:55,420] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false kafka | [2024-01-22 15:04:55,426] 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-2777b0b8-f65e-4a6f-b5b7-294faa42478b and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | isolation.level = read_uncommitted kafka | [2024-01-22 15:04:55,429] 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-2777b0b8-f65e-4a6f-b5b7-294faa42478b with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer kafka | [2024-01-22 15:04:55,433] 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) policy-db-migrator | -------------- policy-apex-pdp | max.partition.fetch.bytes = 1048576 kafka | [2024-01-22 15:04:55,434] 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) policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-apex-pdp | max.poll.interval.ms = 300000 kafka | [2024-01-22 15:04:55,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) policy-db-migrator | -------------- policy-apex-pdp | max.poll.records = 500 kafka | [2024-01-22 15:04:55,434] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) policy-db-migrator | policy-apex-pdp | metadata.max.age.ms = 300000 kafka | [2024-01-22 15:04:55,434] 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) policy-db-migrator | -------------- policy-apex-pdp | metric.reporters = [] kafka | [2024-01-22 15:04:55,435] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-apex-pdp | metrics.num.samples = 2 kafka | [2024-01-22 15:04:55,436] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 5 from controller 1 for 1 partitions (state.change.logger) policy-db-migrator | -------------- policy-apex-pdp | metrics.recording.level = INFO kafka | [2024-01-22 15:04:55,436] 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) policy-db-migrator | policy-apex-pdp | metrics.sample.window.ms = 30000 kafka | [2024-01-22 15:04:55,436] 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) policy-db-migrator | policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] kafka | [2024-01-22 15:04:55,436] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(unauthenticated.dcae_cl_output-0) (kafka.server.ReplicaFetcherManager) policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-apex-pdp | receive.buffer.bytes = 65536 kafka | [2024-01-22 15:04:55,436] 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) policy-db-migrator | -------------- policy-apex-pdp | reconnect.backoff.max.ms = 1000 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT kafka | [2024-01-22 15:04:55,441] 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$) policy-apex-pdp | reconnect.backoff.ms = 50 policy-db-migrator | -------------- kafka | [2024-01-22 15:04:55,441] 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) policy-apex-pdp | request.timeout.ms = 30000 policy-db-migrator | kafka | [2024-01-22 15:04:55,442] INFO [Partition unauthenticated.dcae_cl_output-0 broker=1] No checkpointed highwatermark is found for partition unauthenticated.dcae_cl_output-0 (kafka.cluster.Partition) policy-apex-pdp | retry.backoff.ms = 100 policy-db-migrator | kafka | [2024-01-22 15:04:55,442] 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) policy-apex-pdp | sasl.client.callback.handler.class = null policy-db-migrator | > upgrade 0100-upgrade.sql kafka | [2024-01-22 15:04:55,442] INFO [Broker id=1] Leader unauthenticated.dcae_cl_output-0 with topic id Some(5vTOS3IQRoSJG46Y8X1fOg) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-apex-pdp | sasl.jaas.config = null policy-db-migrator | -------------- kafka | [2024-01-22 15:04:55,547] 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) policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit policy-db-migrator | select 'upgrade to 1100 completed' as msg kafka | [2024-01-22 15:04:55,547] INFO [Broker id=1] Finished LeaderAndIsr request in 112ms correlationId 5 from controller 1 for 1 partitions (state.change.logger) policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 policy-db-migrator | -------------- kafka | [2024-01-22 15:04:55,548] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=5vTOS3IQRoSJG46Y8X1fOg, 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) policy-apex-pdp | sasl.kerberos.service.name = null policy-db-migrator | kafka | [2024-01-22 15:04:55,550] 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) policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 policy-db-migrator | msg kafka | [2024-01-22 15:04:55,551] 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) policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 policy-db-migrator | upgrade to 1100 completed kafka | [2024-01-22 15:04:55,551] 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) policy-apex-pdp | sasl.login.callback.handler.class = null policy-db-migrator | kafka | [2024-01-22 15:04:58,431] INFO [GroupCoordinator 1]: Stabilized group apex-grp generation 1 (__consumer_offsets-14) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.login.class = null policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql kafka | [2024-01-22 15:04:58,434] INFO [GroupCoordinator 1]: Assignment received from leader consumer-apex-grp-3-2777b0b8-f65e-4a6f-b5b7-294faa42478b for group apex-grp for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | sasl.login.connect.timeout.ms = null policy-db-migrator | -------------- kafka | [2024-01-22 15:05:00,266] INFO Creating topic apex-cl-mgt with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) policy-apex-pdp | sasl.login.read.timeout.ms = null policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME kafka | [2024-01-22 15:05:00,276] INFO [Controller id=1] New topics: [HashSet(apex-cl-mgt)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(apex-cl-mgt,Some(OEDlAfUeT6SyDJJNi7e2Ag),Map(apex-cl-mgt-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 policy-db-migrator | -------------- kafka | [2024-01-22 15:05:00,276] INFO [Controller id=1] New partition creation callback for apex-cl-mgt-0 (kafka.controller.KafkaController) policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 policy-db-migrator | kafka | [2024-01-22 15:05:00,276] INFO [Controller id=1 epoch=1] Changed partition apex-cl-mgt-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 policy-db-migrator | kafka | [2024-01-22 15:05:00,276] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql kafka | [2024-01-22 15:05:00,276] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt-0 from NonExistentReplica to NewReplica (state.change.logger) policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 policy-db-migrator | -------------- kafka | [2024-01-22 15:05:00,277] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-apex-pdp | sasl.login.retry.backoff.ms = 100 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics kafka | [2024-01-22 15:05:00,295] 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) policy-apex-pdp | sasl.mechanism = GSSAPI policy-db-migrator | -------------- kafka | [2024-01-22 15:05:00,296] 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) policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 policy-db-migrator | kafka | [2024-01-22 15:05:00,296] 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 | sasl.oauthbearer.expected.audience = null policy-db-migrator | -------------- kafka | [2024-01-22 15:05:00,296] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) policy-apex-pdp | sasl.oauthbearer.expected.issuer = null policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) kafka | [2024-01-22 15:05:00,297] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt-0 from NewReplica to OnlineReplica (state.change.logger) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-db-migrator | -------------- kafka | [2024-01-22 15:05:00,297] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | kafka | [2024-01-22 15:05:00,297] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 7 from controller 1 for 1 partitions (state.change.logger) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-db-migrator | kafka | [2024-01-22 15:05:00,297] 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 | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-db-migrator | > upgrade 0120-audit_sequence.sql kafka | [2024-01-22 15:05:00,298] 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) policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null policy-db-migrator | -------------- kafka | [2024-01-22 15:05:00,298] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(apex-cl-mgt-0) (kafka.server.ReplicaFetcherManager) policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 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)) kafka | [2024-01-22 15:05:00,298] 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) policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub policy-db-migrator | -------------- kafka | [2024-01-22 15:05:00,302] 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$) policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null policy-db-migrator | kafka | [2024-01-22 15:05:00,302] INFO Created log for partition apex-cl-mgt-0 in /var/lib/kafka/data/apex-cl-mgt-0 with properties {} (kafka.log.LogManager) policy-apex-pdp | security.protocol = PLAINTEXT policy-db-migrator | -------------- kafka | [2024-01-22 15:05:00,303] INFO [Partition apex-cl-mgt-0 broker=1] No checkpointed highwatermark is found for partition apex-cl-mgt-0 (kafka.cluster.Partition) policy-apex-pdp | security.providers = null policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) kafka | [2024-01-22 15:05:00,303] INFO [Partition apex-cl-mgt-0 broker=1] Log loaded for partition apex-cl-mgt-0 with initial high watermark 0 (kafka.cluster.Partition) policy-apex-pdp | send.buffer.bytes = 131072 policy-db-migrator | -------------- policy-apex-pdp | session.timeout.ms = 30000 kafka | [2024-01-22 15:05:00,303] INFO [Broker id=1] Leader apex-cl-mgt-0 with topic id Some(OEDlAfUeT6SyDJJNi7e2Ag) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 kafka | [2024-01-22 15:05:00,308] 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) policy-db-migrator | policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 kafka | [2024-01-22 15:05:00,308] INFO [Broker id=1] Finished LeaderAndIsr request in 11ms correlationId 7 from controller 1 for 1 partitions (state.change.logger) policy-db-migrator | > upgrade 0130-statistics_sequence.sql kafka | [2024-01-22 15:05:00,309] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=OEDlAfUeT6SyDJJNi7e2Ag, 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) policy-db-migrator | -------------- policy-apex-pdp | ssl.cipher.suites = null kafka | [2024-01-22 15:05:00,310] 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) 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-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] kafka | [2024-01-22 15:05:00,310] 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) policy-db-migrator | -------------- policy-apex-pdp | ssl.endpoint.identification.algorithm = https kafka | [2024-01-22 15:05:00,311] 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) policy-db-migrator | policy-apex-pdp | ssl.engine.factory.class = null kafka | [2024-01-22 15:05:05,339] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-0f9c455f-624d-4599-b42d-50c61754a8d2 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | ssl.key.password = null kafka | [2024-01-22 15:05:05,340] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 0 (__consumer_offsets-3) (reason: Adding new member rdkafka-0f9c455f-624d-4599-b42d-50c61754a8d2 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-apex-pdp | ssl.keymanager.algorithm = SunX509 kafka | [2024-01-22 15:05:08,341] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 1 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | ssl.keystore.certificate.chain = null kafka | [2024-01-22 15:05:08,345] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-0f9c455f-624d-4599-b42d-50c61754a8d2 for group testgrp for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-db-migrator | -------------- kafka | [2024-01-22 15:05:08,468] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 1 (__consumer_offsets-3) (reason: Removing member rdkafka-0f9c455f-624d-4599-b42d-50c61754a8d2 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- kafka | [2024-01-22 15:05:08,468] INFO [GroupCoordinator 1]: Group testgrp with generation 2 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | ssl.keystore.key = null kafka | [2024-01-22 15:05:08,470] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-0f9c455f-624d-4599-b42d-50c61754a8d2, 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) policy-db-migrator | kafka | [2024-01-22 15:05:08,525] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-dd764088-7eaa-4d36-ac7c-94862ab4a03f and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | > upgrade 0100-pdpstatistics.sql kafka | [2024-01-22 15:05:08,527] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 2 (__consumer_offsets-3) (reason: Adding new member rdkafka-dd764088-7eaa-4d36-ac7c-94862ab4a03f with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | ssl.keystore.location = null kafka | [2024-01-22 15:05:11,528] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 3 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-apex-pdp | ssl.keystore.password = null kafka | [2024-01-22 15:05:11,532] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-dd764088-7eaa-4d36-ac7c-94862ab4a03f for group testgrp for generation 3. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | ssl.keystore.type = JKS kafka | [2024-01-22 15:05:11,540] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 3 (__consumer_offsets-3) (reason: Removing member rdkafka-dd764088-7eaa-4d36-ac7c-94862ab4a03f on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | ssl.protocol = TLSv1.3 kafka | [2024-01-22 15:05:11,540] INFO [GroupCoordinator 1]: Group testgrp with generation 4 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | ssl.provider = null kafka | [2024-01-22 15:05:11,541] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-dd764088-7eaa-4d36-ac7c-94862ab4a03f, 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) policy-db-migrator | DROP TABLE pdpstatistics policy-apex-pdp | ssl.secure.random.implementation = null kafka | [2024-01-22 15:05:11,600] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-1e959948-c5dd-4e26-ba37-a43d536cc17a and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | ssl.trustmanager.algorithm = PKIX kafka | [2024-01-22 15:05:11,601] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 4 (__consumer_offsets-3) (reason: Adding new member rdkafka-1e959948-c5dd-4e26-ba37-a43d536cc17a with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | ssl.truststore.certificates = null kafka | [2024-01-22 15:05:14,602] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 5 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | ssl.truststore.location = null kafka | [2024-01-22 15:05:14,605] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-1e959948-c5dd-4e26-ba37-a43d536cc17a for group testgrp for generation 5. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-apex-pdp | ssl.truststore.password = null kafka | [2024-01-22 15:05:14,613] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 5 (__consumer_offsets-3) (reason: Removing member rdkafka-1e959948-c5dd-4e26-ba37-a43d536cc17a on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | ssl.truststore.type = JKS kafka | [2024-01-22 15:05:14,613] INFO [GroupCoordinator 1]: Group testgrp with generation 6 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer kafka | [2024-01-22 15:05:14,614] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-1e959948-c5dd-4e26-ba37-a43d536cc17a, 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) policy-db-migrator | -------------- policy-apex-pdp | kafka | [2024-01-22 15:05:16,089] 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-f7636139-7f05-40ee-8b33-d24983601c68 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.067+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] kafka | [2024-01-22 15:05:16,091] 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-f7636139-7f05-40ee-8b33-d24983601c68 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 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":"fdba65e1-cb02-4dba-9fef-a0873fd5d115","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"c3a601e4-7c48-42d0-acc3-dbb650b7d7b7","timestampMs":1705935916067,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:05:19,092] INFO [GroupCoordinator 1]: Stabilized group apex-grp2 generation 1 (__consumer_offsets-8) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-apex-pdp | [2024-01-22T15:05:16.069+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka version: 3.6.0 kafka | [2024-01-22 15:05:19,095] INFO [GroupCoordinator 1]: Assignment received from leader consumer-apex-grp2-4-f7636139-7f05-40ee-8b33-d24983601c68 for group apex-grp2 for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.069+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka commitId: 60e845626d8a465a kafka | [2024-01-22 15:05:21,361] INFO Creating topic apex-cl-mgt2 with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) policy-db-migrator | DROP TABLE statistics_sequence policy-apex-pdp | [2024-01-22T15:05:16.069+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka startTimeMs: 1705935916069 kafka | [2024-01-22 15:05:21,372] INFO [Controller id=1] New topics: [HashSet(apex-cl-mgt2)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(apex-cl-mgt2,Some(AGUpNWj4R3OU8vQc9ronjg),Map(apex-cl-mgt2-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) policy-db-migrator | -------------- policy-apex-pdp | [2024-01-22T15:05:16.070+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-01-22 15:05:21,372] INFO [Controller id=1] New partition creation callback for apex-cl-mgt2-0 (kafka.controller.KafkaController) policy-db-migrator | policy-apex-pdp | [2024-01-22T15:05:16.076+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: 0l0tf6rdRCWCkmNbCC3tmw kafka | [2024-01-22 15:05:21,372] INFO [Controller id=1 epoch=1] Changed partition apex-cl-mgt2-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) policy-db-migrator | policyadmin: OK: upgrade (1300) policy-apex-pdp | [2024-01-22T15:05:16.077+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-01-22 15:05:21,372] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | name version policy-apex-pdp | [2024-01-22T15:05:16.083+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] kafka | [2024-01-22 15:05:21,372] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt2-0 from NonExistentReplica to NewReplica (state.change.logger) policy-db-migrator | policyadmin 1300 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":"fdba65e1-cb02-4dba-9fef-a0873fd5d115","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"c3a601e4-7c48-42d0-acc3-dbb650b7d7b7","timestampMs":1705935916067,"name":"apex-0c81c472-2523-43f9-9aac-ce2bc68528bc","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} kafka | [2024-01-22 15:05:21,372] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | ID script operation from_version to_version tag success atTime policy-apex-pdp | [2024-01-22T15:05:16.084+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS kafka | [2024-01-22 15:05:21,385] 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) policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:56 policy-apex-pdp | [2024-01-22T15:05:16.084+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-01-22 15:05:21,385] 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) policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:56 policy-apex-pdp | [2024-01-22T15:05:16.090+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-f7636139-7f05-40ee-8b33-d24983601c68 kafka | [2024-01-22 15:05:21,385] 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-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:56 policy-apex-pdp | [2024-01-22T15:05:16.090+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-01-22 15:05:21,385] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:56 policy-apex-pdp | [2024-01-22T15:05:16.090+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-01-22 15:05:21,386] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt2-0 from NewReplica to OnlineReplica (state.change.logger) policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:56 policy-apex-pdp | [2024-01-22T15:05:19.093+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-f7636139-7f05-40ee-8b33-d24983601c68', protocol='range'} kafka | [2024-01-22 15:05:21,386] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:56 policy-apex-pdp | [2024-01-22T15:05:19.094+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-f7636139-7f05-40ee-8b33-d24983601c68=Assignment(partitions=[unauthenticated.dcae_cl_output-0])} kafka | [2024-01-22 15:05:21,387] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 9 from controller 1 for 1 partitions (state.change.logger) policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:56 policy-apex-pdp | [2024-01-22T15:05:19.097+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-f7636139-7f05-40ee-8b33-d24983601c68', protocol='range'} kafka | [2024-01-22 15:05:21,388] 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) policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:56 policy-apex-pdp | [2024-01-22T15:05:19.098+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-01-22 15:05:21,388] 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) policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 policy-apex-pdp | [2024-01-22T15:05:19.098+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-01-22 15:05:21,388] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(apex-cl-mgt2-0) (kafka.server.ReplicaFetcherManager) policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 policy-apex-pdp | [2024-01-22T15:05:19.100+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-01-22 15:05:21,388] 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) policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 policy-apex-pdp | [2024-01-22T15:05:19.105+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-01-22 15:05:21,393] 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$) policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 policy-apex-pdp | [2024-01-22T15:05:21.319+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"}} policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 kafka | [2024-01-22 15:05:21,394] 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-01-22 15:05:21,394] INFO [Partition apex-cl-mgt2-0 broker=1] No checkpointed highwatermark is found for partition apex-cl-mgt2-0 (kafka.cluster.Partition) policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 kafka | [2024-01-22 15:05:21,394] INFO [Partition apex-cl-mgt2-0 broker=1] Log loaded for partition apex-cl-mgt2-0 with initial high watermark 0 (kafka.cluster.Partition) policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 kafka | [2024-01-22 15:05:21,395] INFO [Broker id=1] Leader apex-cl-mgt2-0 with topic id Some(AGUpNWj4R3OU8vQc9ronjg) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-apex-pdp | [2024-01-22T15:05:21.320+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": 1705935921319, "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 | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 policy-apex-pdp | [2024-01-22T15:05:21.320+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"}} policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 kafka | [2024-01-22 15:05:21,398] 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) policy-apex-pdp | [2024-01-22T15:05:21.321+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": 1705935921320, "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 | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 kafka | [2024-01-22 15:05:21,399] INFO [Broker id=1] Finished LeaderAndIsr request in 12ms correlationId 9 from controller 1 for 1 partitions (state.change.logger) policy-apex-pdp | [2024-01-22T15:05:21.322+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935921320, "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 | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 kafka | [2024-01-22 15:05:21,399] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=AGUpNWj4R3OU8vQc9ronjg, 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) policy-apex-pdp | [2024-01-22T15:05:21.323+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935921321, "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-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 kafka | [2024-01-22 15:05:21,401] 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) policy-apex-pdp | [2024-01-22T15:05:21.327+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. policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 kafka | [2024-01-22 15:05:21,401] 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) policy-apex-pdp | [2024-01-22T15:05:21.335+00:00|INFO|ProducerConfig|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] ProducerConfig values: policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 kafka | [2024-01-22 15:05:21,402] 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) policy-apex-pdp | acks = -1 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 kafka | [2024-01-22 15:05:26,473] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-397898ee-caca-4305-b556-da7d22fb0774 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | auto.include.jmx.reporter = true policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 policy-apex-pdp | batch.size = 16384 kafka | [2024-01-22 15:05:26,476] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 6 (__consumer_offsets-3) (reason: Adding new member rdkafka-397898ee-caca-4305-b556-da7d22fb0774 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 policy-apex-pdp | bootstrap.servers = [kafka:9092] kafka | [2024-01-22 15:05:29,478] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 7 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 policy-apex-pdp | buffer.memory = 33554432 kafka | [2024-01-22 15:05:29,481] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-397898ee-caca-4305-b556-da7d22fb0774 for group testgrp for generation 7. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:57 policy-apex-pdp | client.dns.lookup = use_all_dns_ips kafka | [2024-01-22 15:05:29,594] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 7 (__consumer_offsets-3) (reason: Removing member rdkafka-397898ee-caca-4305-b556-da7d22fb0774 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | client.id = producer-3 kafka | [2024-01-22 15:05:29,594] INFO [GroupCoordinator 1]: Group testgrp with generation 8 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | compression.type = none kafka | [2024-01-22 15:05:29,596] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-397898ee-caca-4305-b556-da7d22fb0774, 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) policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | connections.max.idle.ms = 540000 kafka | [2024-01-22 15:05:29,673] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-0312976f-f75a-4724-af6c-8edd4a92b279 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | delivery.timeout.ms = 120000 kafka | [2024-01-22 15:05:29,674] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 8 (__consumer_offsets-3) (reason: Adding new member rdkafka-0312976f-f75a-4724-af6c-8edd4a92b279 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | enable.idempotence = false kafka | [2024-01-22 15:05:32,675] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 9 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | interceptor.classes = [] kafka | [2024-01-22 15:05:32,680] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-0312976f-f75a-4724-af6c-8edd4a92b279 for group testgrp for generation 9. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer kafka | [2024-01-22 15:05:32,691] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 9 (__consumer_offsets-3) (reason: Removing member rdkafka-0312976f-f75a-4724-af6c-8edd4a92b279 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | linger.ms = 1 kafka | [2024-01-22 15:05:32,691] INFO [GroupCoordinator 1]: Group testgrp with generation 10 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | max.block.ms = 60000 kafka | [2024-01-22 15:05:32,692] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-0312976f-f75a-4724-af6c-8edd4a92b279, 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) policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | max.in.flight.requests.per.connection = 5 kafka | [2024-01-22 15:05:32,763] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-dece87f2-b3a5-4a04-9029-3a27517dde7b and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | max.request.size = 1048576 kafka | [2024-01-22 15:05:32,764] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 10 (__consumer_offsets-3) (reason: Adding new member rdkafka-dece87f2-b3a5-4a04-9029-3a27517dde7b with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 policy-apex-pdp | metadata.max.age.ms = 300000 kafka | [2024-01-22 15:05:35,766] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 11 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) kafka | [2024-01-22 15:05:35,770] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-dece87f2-b3a5-4a04-9029-3a27517dde7b for group testgrp for generation 11. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | metadata.max.idle.ms = 300000 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 kafka | [2024-01-22 15:05:35,780] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 11 (__consumer_offsets-3) (reason: Removing member rdkafka-dece87f2-b3a5-4a04-9029-3a27517dde7b on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | metric.reporters = [] kafka | [2024-01-22 15:05:35,780] INFO [GroupCoordinator 1]: Group testgrp with generation 12 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) policy-apex-pdp | metrics.num.samples = 2 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 kafka | [2024-01-22 15:05:35,781] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-dece87f2-b3a5-4a04-9029-3a27517dde7b, 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) policy-apex-pdp | metrics.recording.level = INFO policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 kafka | [2024-01-22 15:05:38,451] INFO Creating topic unauthenticated.dcae_policy_example_output with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) policy-apex-pdp | metrics.sample.window.ms = 30000 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 kafka | [2024-01-22 15:05:38,497] 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(36qgTp5rQ1qK1o5RIayMrA),Map(unauthenticated.dcae_policy_example_output-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) policy-apex-pdp | partitioner.adaptive.partitioning.enable = true policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 kafka | [2024-01-22 15:05:38,497] INFO [Controller id=1] New partition creation callback for unauthenticated.dcae_policy_example_output-0 (kafka.controller.KafkaController) policy-apex-pdp | partitioner.availability.timeout.ms = 0 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 kafka | [2024-01-22 15:05:38,497] 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) policy-apex-pdp | partitioner.class = null policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 kafka | [2024-01-22 15:05:38,498] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-apex-pdp | partitioner.ignore.keys = false policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 kafka | [2024-01-22 15:05:38,498] 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) policy-apex-pdp | receive.buffer.bytes = 32768 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 kafka | [2024-01-22 15:05:38,498] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-apex-pdp | reconnect.backoff.max.ms = 1000 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:58 kafka | [2024-01-22 15:05:38,506] 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) policy-apex-pdp | reconnect.backoff.ms = 50 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 kafka | [2024-01-22 15:05:38,506] 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) policy-apex-pdp | request.timeout.ms = 30000 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | retries = 0 kafka | [2024-01-22 15:05:38,506] 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-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | retry.backoff.ms = 100 kafka | [2024-01-22 15:05:38,506] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.client.callback.handler.class = null kafka | [2024-01-22 15:05:38,507] 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) policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.jaas.config = null kafka | [2024-01-22 15:05:38,507] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit kafka | [2024-01-22 15:05:38,507] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 11 from controller 1 for 1 partitions (state.change.logger) policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 kafka | [2024-01-22 15:05:38,507] 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) policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.kerberos.service.name = null kafka | [2024-01-22 15:05:38,509] 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) policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 kafka | [2024-01-22 15:05:38,509] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(unauthenticated.dcae_policy_example_output-0) (kafka.server.ReplicaFetcherManager) policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 kafka | [2024-01-22 15:05:38,509] 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) policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.login.callback.handler.class = null kafka | [2024-01-22 15:05:38,513] 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$) policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.login.class = null kafka | [2024-01-22 15:05:38,514] 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) policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.login.connect.timeout.ms = null kafka | [2024-01-22 15:05:38,515] 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) policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.login.read.timeout.ms = null kafka | [2024-01-22 15:05:38,515] 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) policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 kafka | [2024-01-22 15:05:38,515] INFO [Broker id=1] Leader unauthenticated.dcae_policy_example_output-0 with topic id Some(36qgTp5rQ1qK1o5RIayMrA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 kafka | [2024-01-22 15:05:38,519] 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) policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 kafka | [2024-01-22 15:05:38,520] INFO [Broker id=1] Finished LeaderAndIsr request in 13ms correlationId 11 from controller 1 for 1 partitions (state.change.logger) policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 kafka | [2024-01-22 15:05:38,521] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=36qgTp5rQ1qK1o5RIayMrA, 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) policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 kafka | [2024-01-22 15:05:38,522] 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) policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 kafka | [2024-01-22 15:05:38,522] 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) policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:03:59 policy-apex-pdp | sasl.mechanism = GSSAPI kafka | [2024-01-22 15:05:38,522] 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-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | sasl.oauthbearer.expected.audience = null policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | security.protocol = PLAINTEXT policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | security.providers = null policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | send.buffer.bytes = 131072 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:00 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.cipher.suites = null policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.endpoint.identification.algorithm = https policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.engine.factory.class = null policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.key.password = null policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.keystore.certificate.chain = null policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2201241503560800u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.keystore.key = null policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.keystore.location = null policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.keystore.password = null policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.keystore.type = JKS policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.protocol = TLSv1.3 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:01 policy-apex-pdp | ssl.provider = null policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:02 policy-apex-pdp | ssl.secure.random.implementation = null policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:02 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:02 policy-apex-pdp | ssl.truststore.certificates = null policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:02 policy-apex-pdp | ssl.truststore.location = null policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:02 policy-apex-pdp | ssl.truststore.password = null policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:02 policy-apex-pdp | ssl.truststore.type = JKS policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:02 policy-apex-pdp | transaction.timeout.ms = 60000 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2201241503560900u 1 2024-01-22 15:04:02 policy-apex-pdp | transactional.id = null policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2201241503561000u 1 2024-01-22 15:04:02 policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2201241503561000u 1 2024-01-22 15:04:02 policy-apex-pdp | policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2201241503561000u 1 2024-01-22 15:04:02 policy-apex-pdp | [2024-01-22T15:05:21.335+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2201241503561000u 1 2024-01-22 15:04:02 policy-apex-pdp | { policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2201241503561000u 1 2024-01-22 15:04:02 policy-apex-pdp | "equip-vendor":"Vendor-A", policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2201241503561000u 1 2024-01-22 15:04:02 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-01-22T15:05:21.340+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": 1705935921320, "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-01-22T15:05:21.343+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": "hostf0txd", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935921342, "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-01-22T15:05:21.348+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-01-22T15:05:21.349+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: "hostf0txd" 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-01-22T15:05:21.350+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka version: 3.6.0 policy-apex-pdp | [2024-01-22T15:05:21.350+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka commitId: 60e845626d8a465a policy-apex-pdp | [2024-01-22T15:05:21.350+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka startTimeMs: 1705935921350 policy-apex-pdp | [2024-01-22T15:05:21.364+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-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2201241503561000u 1 2024-01-22 15:04:02 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2201241503561000u 1 2024-01-22 15:04:02 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2201241503561000u 1 2024-01-22 15:04:03 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2201241503561100u 1 2024-01-22 15:04:03 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2201241503561200u 1 2024-01-22 15:04:03 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2201241503561200u 1 2024-01-22 15:04:03 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2201241503561200u 1 2024-01-22 15:04:03 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2201241503561200u 1 2024-01-22 15:04:03 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2201241503561300u 1 2024-01-22 15:04:03 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2201241503561300u 1 2024-01-22 15:04:03 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2201241503561300u 1 2024-01-22 15:04:03 policy-db-migrator | policyadmin: OK @ 1300 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-01-22T15:05:21.364+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-01-22T15:05:21.371+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-01-22T15:05:21.372+00:00|INFO|Metadata|kafka-producer-network-thread | producer-3] [Producer clientId=producer-3] Cluster ID: 0l0tf6rdRCWCkmNbCC3tmw policy-apex-pdp | [2024-01-22T15:05:21.380+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935921378, "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-01-22T15:05:21.380+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-01-22T15:05:21.386+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": 1705935921320, "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": "hostf0txd"} policy-apex-pdp | [2024-01-22T15:05:21.394+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": "hostqmgar4", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935921390, "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-01-22T15:05:21.398+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-01-22T15:05:21.403+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: "hostqmgar4" 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-01-22T15:05:21.419+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-01-22T15:05:21.419+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-01-22T15:05:21.433+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935921430, "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-01-22T15:05:26.425+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-01-22T15:05:26.426+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": 1705935926426, "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-01-22T15:05:26.427+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:3] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935926426, "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-01-22T15:05:26.430+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-01-22T15:05:26.431+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": 1705935926431, "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-01-22T15:05:26.433+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935926432, "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-01-22T15:05:26.444+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-01-22T15:05:26.449+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": 1705935926431, "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-01-22T15:05:26.452+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": "host8jfvkk", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935926451, "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-01-22T15:05:26.454+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-01-22T15:05:26.456+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-01-22T15:05:26.457+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: "host8jfvkk" 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-01-22T15:05:26.460+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": 1705935926431, "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": "host8jfvkk"} policy-apex-pdp | [2024-01-22T15:05:26.467+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-01-22T15:05:26.467+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-01-22T15:05:26.470+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": "host069xwb", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935926469, "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-01-22T15:05:26.474+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-01-22T15:05:26.475+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: "host069xwb" 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-01-22T15:05:26.480+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935926479, "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-01-22T15:05:26.490+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-01-22T15:05:26.491+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-01-22T15:05:26.501+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:1] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935926500, "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-01-22T15:05:35.815+00:00|INFO|RequestLog|qtp830863979-26] 172.17.0.1 - policyadmin [22/Jan/2024:15:05:35 +0000] "GET /metrics?null HTTP/1.1" 200 23836 "-" "python-requests/2.27.1" policy-apex-pdp | [2024-01-22T15:05:35.862+00:00|INFO|RequestLog|qtp830863979-28] 172.17.0.1 - policyadmin [22/Jan/2024:15:05:35 +0000] "GET /policy/apex-pdp/v1/healthcheck?null HTTP/1.1" 200 109 "-" "python-requests/2.27.1" policy-apex-pdp | [2024-01-22T15:05:36.646+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-01-22T15:05:36.647+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": 1705935936646, "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-01-22T15:05:36.648+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935936647, "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-01-22T15:05:36.652+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-01-22T15:05:36.654+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": 1705935936653, "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-01-22T15:05:36.655+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:2] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935936654, "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-01-22T15:05:36.662+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-01-22T15:05:36.665+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-01-22T15:05:36.671+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": 1705935936653, "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-01-22T15:05:36.673+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": 1705935936653, "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": "hostvqvf4x"} policy-apex-pdp | [2024-01-22T15:05:36.674+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": "hostvqvf4x", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935936673, "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-01-22T15:05:36.678+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-01-22T15:05:36.678+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": "hostxfh0b8", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935936677, "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-01-22T15:05:36.679+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: "hostvqvf4x" 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-01-22T15:05:36.682+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-01-22T15:05:36.683+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: "hostxfh0b8" 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-01-22T15:05:36.693+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-01-22T15:05:36.693+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-01-22T15:05:36.700+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-01-22T15:05:36.700+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-01-22T15:05:36.702+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935936701, "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-01-22T15:05:36.710+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705935936709, "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-01-22T15:05:37.318+00:00|INFO|RequestLog|qtp178659859-55] 172.17.0.1 - - [22/Jan/2024:15:05:37 +0000] "PUT /apex/FirstConsumer/EventIn HTTP/1.1" 200 588 "-" "python-requests/2.27.1" policy-apex-pdp | [2024-01-22T15:05:56.082+00:00|INFO|RequestLog|qtp830863979-32] 172.17.0.2 - policyadmin [22/Jan/2024:15:05:56 +0000] "GET /metrics HTTP/1.1" 200 24786 "-" "Prometheus/2.49.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 grafana ... Stopping kafka ... Stopping prometheus ... Stopping simulator ... Stopping compose_zookeeper_1 ... Stopping mariadb ... 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 grafana ... Removing policy-db-migrator ... Removing kafka ... Removing prometheus ... Removing simulator ... Removing compose_zookeeper_1 ... Removing mariadb ... Removing policy-apex-pdp ... done Removing grafana ... done Removing prometheus ... done Removing simulator ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing policy-api ... done Removing kafka ... done Removing compose_zookeeper_1 ... done Removing policy-pap ... 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.2JIdXhmFAK ]] + rsync -av /tmp/tmp.2JIdXhmFAK/ /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,889 bytes received 95 bytes 3,455,968.00 bytes/sec total size is 1,727,143 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 2115 killed; [ssh-agent] Stopped. Robot results publisher started... -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/jenkins16660255568928752066.sh ---> sysstat.sh [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins14150102841976918477.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/jenkins7837586006105345729.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-kwJj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-kwJj/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins2910247434711019432.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/config2628865201380524584tmp 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/jenkins13633180455596894967.sh ---> create-netrc.sh [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins7543644468180618735.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-kwJj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-kwJj/bin to PATH [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins18189663106953905771.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins812620279990646097.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-kwJj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 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.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-kwJj/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/jenkins8272005203162639647.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-kwJj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-kwJj/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/505 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-14305 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: 2800.000 BogoMIPS: 5600.00 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 874 24817 0 6475 30837 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:71:b1:17 brd ff:ff:ff:ff:ff:ff inet 10.30.107.32/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85862sec preferred_lft 85862sec inet6 fe80::f816:3eff:fe71:b117/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:1d:4c:a8:8e 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-14305) 01/22/24 _x86_64_ (8 CPU) 14:59:12 LINUX RESTART (8 CPU) 15:00:02 tps rtps wtps bread/s bwrtn/s 15:01:01 102.22 14.49 87.72 1009.82 30697.73 15:02:01 130.86 23.33 107.53 2808.20 33129.15 15:03:01 141.78 0.02 141.76 0.13 88662.69 15:04:01 350.96 11.66 339.29 771.72 84205.82 15:05:01 57.41 0.67 56.74 48.26 25243.59 15:06:01 21.49 0.00 21.49 0.00 21060.83 15:07:01 27.16 0.03 27.13 5.73 21860.79 15:08:01 73.79 2.35 71.44 124.91 7741.69 Average: 113.23 6.55 106.67 595.26 39091.52 15:00:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:01:01 29991208 31668196 2948012 8.95 75348 1907616 1466276 4.31 909292 1731344 147316 15:02:01 28185280 31660532 4753940 14.43 108736 3612564 1560424 4.59 996176 3349384 1496476 15:03:01 27223940 31679040 5715280 17.35 127768 4515248 1393824 4.10 999316 4251656 200032 15:04:01 24683424 30875672 8255796 25.06 154328 6141144 7082804 20.84 1911348 5741928 1292 15:05:01 22932780 29265484 10006440 30.38 156688 6275320 9047392 26.62 3613032 5776740 228 15:06:01 22905212 29242312 10034008 30.46 157012 6279140 9031680 26.57 3637312 5778420 272 15:07:01 23291604 29654788 9647616 29.29 157400 6307968 7415404 21.82 3249076 5793312 180 15:08:01 25399616 31562440 7539604 22.89 161324 6118716 1506520 4.43 1355084 5632096 31944 Average: 25576633 30701058 7362587 22.35 137326 5144714 4813040 14.16 2083830 4756860 234718 15:00:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:01:01 lo 1.08 1.08 0.12 0.12 0.00 0.00 0.00 0.00 15:01:01 ens3 63.02 40.70 962.93 9.15 0.00 0.00 0.00 0.00 15:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:01 lo 7.87 7.87 0.73 0.73 0.00 0.00 0.00 0.00 15:02:01 ens3 340.04 211.01 10409.15 19.12 0.00 0.00 0.00 0.00 15:02:01 br-ae6b5dc77fdc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:01 lo 1.53 1.53 0.18 0.18 0.00 0.00 0.00 0.00 15:03:01 ens3 489.54 218.71 7606.07 16.37 0.00 0.00 0.00 0.00 15:03:01 br-ae6b5dc77fdc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:04:01 lo 4.67 4.67 0.43 0.43 0.00 0.00 0.00 0.00 15:04:01 veth97a1670 0.00 0.22 0.00 0.01 0.00 0.00 0.00 0.00 15:04:01 vethfd6e53d 0.45 0.65 0.05 0.32 0.00 0.00 0.00 0.00 15:04:01 vethc23edbc 0.00 0.28 0.00 0.02 0.00 0.00 0.00 0.00 15:05:01 lo 6.22 6.22 13.80 13.80 0.00 0.00 0.00 0.00 15:05:01 veth97a1670 0.18 0.40 0.04 0.04 0.00 0.00 0.00 0.00 15:05:01 vethfd6e53d 0.12 0.32 0.01 0.02 0.00 0.00 0.00 0.00 15:05:01 vethc23edbc 0.53 0.63 0.05 1.44 0.00 0.00 0.00 0.00 15:06:01 lo 16.99 16.99 23.48 23.48 0.00 0.00 0.00 0.00 15:06:01 veth97a1670 0.83 1.08 0.21 0.14 0.00 0.00 0.00 0.00 15:06:01 vethfd6e53d 0.20 0.18 0.01 0.01 0.00 0.00 0.00 0.00 15:06:01 vethc23edbc 0.60 0.62 0.05 1.65 0.00 0.00 0.00 0.00 15:07:01 lo 7.53 7.53 0.54 0.54 0.00 0.00 0.00 0.00 15:07:01 veth97a1670 0.03 0.43 0.00 0.03 0.00 0.00 0.00 0.00 15:07:01 ens3 1802.28 994.92 35975.47 166.33 0.00 0.00 0.00 0.00 15:07:01 veth3e91c24 73.02 60.71 21.79 13.24 0.00 0.00 0.00 0.00 15:08:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 15:08:01 ens3 101.63 71.82 126.37 47.32 0.00 0.00 0.00 0.00 15:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.85 5.85 4.93 4.93 0.00 0.00 0.00 0.00 Average: ens3 195.36 104.71 4407.90 19.31 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-14305) 01/22/24 _x86_64_ (8 CPU) 14:59:12 LINUX RESTART (8 CPU) 15:00:02 CPU %user %nice %system %iowait %steal %idle 15:01:01 all 10.20 0.00 0.78 2.26 0.04 86.72 15:01:01 0 2.66 0.00 0.42 0.49 0.00 96.42 15:01:01 1 13.48 0.00 0.70 0.70 0.03 85.10 15:01:01 2 4.76 0.00 0.41 4.79 0.05 89.99 15:01:01 3 12.74 0.00 1.03 1.14 0.05 85.04 15:01:01 4 6.56 0.00 0.63 0.19 0.02 92.61 15:01:01 5 22.80 0.00 1.39 3.52 0.05 72.23 15:01:01 6 13.23 0.00 0.78 0.07 0.05 85.88 15:01:01 7 5.30 0.00 0.97 7.17 0.03 86.52 15:02:01 all 11.51 0.00 2.68 3.44 0.06 82.30 15:02:01 0 26.89 0.00 3.74 2.37 0.10 66.90 15:02:01 1 6.86 0.00 1.87 10.81 0.05 80.41 15:02:01 2 6.28 0.00 2.64 4.46 0.07 86.55 15:02:01 3 19.09 0.00 3.67 2.30 0.07 74.87 15:02:01 4 6.27 0.00 1.97 5.04 0.05 86.67 15:02:01 5 6.97 0.00 2.04 2.04 0.03 88.91 15:02:01 6 5.66 0.00 1.95 0.20 0.03 92.15 15:02:01 7 14.00 0.00 3.52 0.37 0.08 82.03 15:03:01 all 4.21 0.00 2.02 12.56 0.04 81.17 15:03:01 0 3.98 0.00 2.15 0.97 0.05 92.84 15:03:01 1 4.21 0.00 1.95 6.31 0.02 87.51 15:03:01 2 5.08 0.00 1.68 3.25 0.03 89.96 15:03:01 3 5.12 0.00 2.93 72.12 0.07 19.77 15:03:01 4 3.53 0.00 2.27 4.27 0.03 89.90 15:03:01 5 3.65 0.00 2.25 9.42 0.05 84.63 15:03:01 6 4.35 0.00 1.33 4.42 0.03 89.87 15:03:01 7 3.75 0.00 1.65 0.20 0.02 94.39 15:04:01 all 12.27 0.00 4.30 8.81 0.09 74.54 15:04:01 0 14.16 0.00 5.78 1.38 0.08 78.60 15:04:01 1 12.12 0.00 3.93 2.48 0.08 81.38 15:04:01 2 13.09 0.00 4.14 3.11 0.10 79.55 15:04:01 3 12.05 0.00 4.25 26.04 0.10 57.55 15:04:01 4 11.64 0.00 3.67 1.20 0.08 83.41 15:04:01 5 12.60 0.00 4.91 28.59 0.10 53.79 15:04:01 6 10.45 0.00 3.41 2.95 0.08 83.10 15:04:01 7 12.05 0.00 4.28 4.94 0.08 78.65 15:05:01 all 29.05 0.00 2.87 1.48 0.09 66.51 15:05:01 0 34.14 0.00 3.49 0.30 0.10 61.97 15:05:01 1 25.74 0.00 2.55 0.10 0.10 71.51 15:05:01 2 37.19 0.00 3.80 0.72 0.10 58.19 15:05:01 3 30.92 0.00 2.66 0.35 0.10 65.96 15:05:01 4 26.51 0.00 2.85 0.10 0.08 70.45 15:05:01 5 28.03 0.00 2.65 3.40 0.08 65.83 15:05:01 6 23.70 0.00 2.22 6.28 0.10 67.70 15:05:01 7 26.14 0.00 2.68 0.62 0.10 70.45 15:06:01 all 4.45 0.00 0.59 1.27 0.06 93.64 15:06:01 0 4.67 0.00 0.60 0.02 0.05 94.65 15:06:01 1 4.08 0.00 0.72 0.28 0.07 94.85 15:06:01 2 4.66 0.00 0.60 0.00 0.05 94.69 15:06:01 3 4.11 0.00 0.45 0.00 0.05 95.38 15:06:01 4 4.58 0.00 0.72 0.12 0.07 94.52 15:06:01 5 5.59 0.00 0.43 0.00 0.05 93.93 15:06:01 6 3.80 0.00 0.55 9.65 0.05 85.95 15:06:01 7 4.09 0.00 0.65 0.08 0.08 95.09 15:07:01 all 2.03 0.00 0.55 1.31 0.06 96.06 15:07:01 0 3.39 0.00 0.67 0.00 0.05 95.89 15:07:01 1 1.65 0.00 0.50 2.52 0.05 95.27 15:07:01 2 1.71 0.00 0.47 0.17 0.05 97.61 15:07:01 3 2.08 0.00 0.57 0.00 0.05 97.30 15:07:01 4 2.23 0.00 0.62 0.34 0.07 96.75 15:07:01 5 1.12 0.00 0.45 0.47 0.07 97.89 15:07:01 6 2.07 0.00 0.69 6.96 0.07 90.21 15:07:01 7 1.96 0.00 0.42 0.00 0.05 97.57 15:08:01 all 8.56 0.00 0.88 0.73 0.04 89.80 15:08:01 0 7.43 0.00 0.92 0.17 0.03 91.45 15:08:01 1 8.21 0.00 1.08 2.02 0.03 88.65 15:08:01 2 4.88 0.00 0.67 0.32 0.02 94.12 15:08:01 3 30.43 0.00 1.42 0.70 0.07 67.38 15:08:01 4 3.87 0.00 0.98 1.67 0.03 93.44 15:08:01 5 1.33 0.00 0.72 0.35 0.02 97.58 15:08:01 6 9.41 0.00 0.80 0.52 0.05 89.23 15:08:01 7 2.95 0.00 0.43 0.08 0.03 96.50 Average: all 10.28 0.00 1.83 3.97 0.06 83.86 Average: 0 12.17 0.00 2.22 0.71 0.06 84.84 Average: 1 9.53 0.00 1.66 3.15 0.05 85.60 Average: 2 9.70 0.00 1.80 2.09 0.06 86.35 Average: 3 14.59 0.00 2.12 12.74 0.07 70.47 Average: 4 8.14 0.00 1.71 1.61 0.05 88.48 Average: 5 10.23 0.00 1.85 5.92 0.06 81.94 Average: 6 9.08 0.00 1.46 3.89 0.06 85.52 Average: 7 8.78 0.00 1.82 1.67 0.06 87.66